Concord - C Discord API library
A Discord API wrapper library written in C
guild_scheduled_event.h File Reference

Generated code. More...

#include <stddef.h>
#include <stdbool.h>
#include <inttypes.h>
#include "carray.h"
#include "cog-utils.h"
#include "types.h"
#include "jsmn.h"
#include "jsmn-find.h"
#include "json-build.h"
Include dependency graph for guild_scheduled_event.h:

Go to the source code of this file.

Data Structures

struct  discord_guild_scheduled_event
 
struct  discord_guild_scheduled_event_entity_metadata
 
struct  discord_guild_scheduled_events
 
struct  discord_guild_scheduled_event_user
 
struct  discord_guild_scheduled_event_users
 
struct  discord_list_guild_scheduled_events
 
struct  discord_create_guild_scheduled_event
 
struct  discord_get_guild_scheduled_event
 
struct  discord_modify_guild_scheduled_event
 
struct  discord_get_guild_scheduled_event_users
 

Macros

#define JSMN_STRICT
 
#define JSMN_HEADER
 
#define JSONB_HEADER
 

Enumerations

enum  discord_guild_scheduled_event_privacy_level { DISCORD_GUILD_SCHEDULED_EVENT_GUILD_ONLY = 2 }
 
enum  discord_guild_scheduled_event_entity_types { DISCORD_GUILD_SCHEDULED_EVENT_ENTITY_STAGE_INSTANCE = 1 , DISCORD_GUILD_SCHEDULED_EVENT_ENTITY_VOICE = 2 , DISCORD_GUILD_SCHEDULED_EVENT_ENTITY_EXTERNAL = 3 }
 
enum  discord_guild_scheduled_event_status { DISCORD_GUILD_SCHEDULED_EVENT_SCHEDULED = 1 , DISCORD_GUILD_SCHEDULED_EVENT_ACTIVE = 2 , DISCORD_GUILD_SCHEDULED_EVENT_COMPLETED = 3 , DISCORD_GUILD_SCHEDULED_EVENT_CANCELED = 4 }
 

Functions

void discord_guild_scheduled_event_init (struct discord_guild_scheduled_event *self)
 
void discord_guild_scheduled_event_cleanup (struct discord_guild_scheduled_event *self)
 
void discord_guild_scheduled_events_cleanup (struct discord_guild_scheduled_events *self)
 
void discord_guild_scheduled_event_users_cleanup (struct discord_guild_scheduled_event_users *self)
 
void discord_create_guild_scheduled_event_init (struct discord_create_guild_scheduled_event *self)
 
void discord_create_guild_scheduled_event_cleanup (struct discord_create_guild_scheduled_event *self)
 
void discord_modify_guild_scheduled_event_init (struct discord_modify_guild_scheduled_event *self)
 
void discord_modify_guild_scheduled_event_cleanup (struct discord_modify_guild_scheduled_event *self)
 
long discord_guild_scheduled_event_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_guild_scheduled_event *self)
 
size_t discord_guild_scheduled_event_from_json (const char buf[], size_t size, struct discord_guild_scheduled_event *self)
 
long discord_guild_scheduled_events_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_guild_scheduled_events *self)
 
size_t discord_guild_scheduled_events_from_json (const char buf[], size_t size, struct discord_guild_scheduled_events *self)
 
long discord_guild_scheduled_event_users_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_guild_scheduled_event_users *self)
 
size_t discord_guild_scheduled_event_users_from_json (const char buf[], size_t size, struct discord_guild_scheduled_event_users *self)
 
long discord_create_guild_scheduled_event_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_create_guild_scheduled_event *self)
 
size_t discord_create_guild_scheduled_event_from_json (const char buf[], size_t size, struct discord_create_guild_scheduled_event *self)
 
long discord_modify_guild_scheduled_event_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_modify_guild_scheduled_event *self)
 
size_t discord_modify_guild_scheduled_event_from_json (const char buf[], size_t size, struct discord_modify_guild_scheduled_event *self)
 
jsonbcode discord_guild_scheduled_event_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_guild_scheduled_event *self)
 
size_t discord_guild_scheduled_event_to_json (char buf[], size_t size, const struct discord_guild_scheduled_event *self)
 
jsonbcode discord_guild_scheduled_events_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_guild_scheduled_events *self)
 
size_t discord_guild_scheduled_events_to_json (char buf[], size_t size, const struct discord_guild_scheduled_events *self)
 
jsonbcode discord_guild_scheduled_event_users_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_guild_scheduled_event_users *self)
 
size_t discord_guild_scheduled_event_users_to_json (char buf[], size_t size, const struct discord_guild_scheduled_event_users *self)
 
jsonbcode discord_create_guild_scheduled_event_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_create_guild_scheduled_event *self)
 
size_t discord_create_guild_scheduled_event_to_json (char buf[], size_t size, const struct discord_create_guild_scheduled_event *self)
 
jsonbcode discord_modify_guild_scheduled_event_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_modify_guild_scheduled_event *self)
 
size_t discord_modify_guild_scheduled_event_to_json (char buf[], size_t size, const struct discord_modify_guild_scheduled_event *self)
 

Detailed Description

Generated code.

Author
Cogmasters

Macro Definition Documentation

◆ JSMN_STRICT

#define JSMN_STRICT

◆ JSMN_HEADER

#define JSMN_HEADER

◆ JSONB_HEADER

#define JSONB_HEADER

Enumeration Type Documentation

◆ discord_guild_scheduled_event_privacy_level

Enumerator
DISCORD_GUILD_SCHEDULED_EVENT_GUILD_ONLY 

the scheduled event is only accessible to guild members

◆ discord_guild_scheduled_event_entity_types

Enumerator
DISCORD_GUILD_SCHEDULED_EVENT_ENTITY_STAGE_INSTANCE 
DISCORD_GUILD_SCHEDULED_EVENT_ENTITY_VOICE 
DISCORD_GUILD_SCHEDULED_EVENT_ENTITY_EXTERNAL 

◆ discord_guild_scheduled_event_status

Enumerator
DISCORD_GUILD_SCHEDULED_EVENT_SCHEDULED 
DISCORD_GUILD_SCHEDULED_EVENT_ACTIVE 
DISCORD_GUILD_SCHEDULED_EVENT_COMPLETED 
DISCORD_GUILD_SCHEDULED_EVENT_CANCELED 

Function Documentation

◆ discord_guild_scheduled_event_init()

void discord_guild_scheduled_event_init ( struct discord_guild_scheduled_event self)

◆ discord_guild_scheduled_event_cleanup()

void discord_guild_scheduled_event_cleanup ( struct discord_guild_scheduled_event self)

◆ discord_guild_scheduled_events_cleanup()

void discord_guild_scheduled_events_cleanup ( struct discord_guild_scheduled_events self)

◆ discord_guild_scheduled_event_users_cleanup()

void discord_guild_scheduled_event_users_cleanup ( struct discord_guild_scheduled_event_users self)

◆ discord_create_guild_scheduled_event_init()

void discord_create_guild_scheduled_event_init ( struct discord_create_guild_scheduled_event self)

◆ discord_create_guild_scheduled_event_cleanup()

void discord_create_guild_scheduled_event_cleanup ( struct discord_create_guild_scheduled_event self)

◆ discord_modify_guild_scheduled_event_init()

void discord_modify_guild_scheduled_event_init ( struct discord_modify_guild_scheduled_event self)

◆ discord_modify_guild_scheduled_event_cleanup()

void discord_modify_guild_scheduled_event_cleanup ( struct discord_modify_guild_scheduled_event self)

◆ discord_guild_scheduled_event_from_jsmnf()

long discord_guild_scheduled_event_from_jsmnf ( jsmnf_pair *  root,
const char *  js,
struct discord_guild_scheduled_event self 
)

◆ discord_guild_scheduled_event_from_json()

size_t discord_guild_scheduled_event_from_json ( const char  buf[],
size_t  size,
struct discord_guild_scheduled_event self 
)

◆ discord_guild_scheduled_events_from_jsmnf()

long discord_guild_scheduled_events_from_jsmnf ( jsmnf_pair *  root,
const char *  js,
struct discord_guild_scheduled_events self 
)

◆ discord_guild_scheduled_events_from_json()

size_t discord_guild_scheduled_events_from_json ( const char  buf[],
size_t  size,
struct discord_guild_scheduled_events self 
)

◆ discord_guild_scheduled_event_users_from_jsmnf()

long discord_guild_scheduled_event_users_from_jsmnf ( jsmnf_pair *  root,
const char *  js,
struct discord_guild_scheduled_event_users self 
)

◆ discord_guild_scheduled_event_users_from_json()

size_t discord_guild_scheduled_event_users_from_json ( const char  buf[],
size_t  size,
struct discord_guild_scheduled_event_users self 
)

◆ discord_create_guild_scheduled_event_from_jsmnf()

long discord_create_guild_scheduled_event_from_jsmnf ( jsmnf_pair *  root,
const char *  js,
struct discord_create_guild_scheduled_event self 
)

◆ discord_create_guild_scheduled_event_from_json()

size_t discord_create_guild_scheduled_event_from_json ( const char  buf[],
size_t  size,
struct discord_create_guild_scheduled_event self 
)

◆ discord_modify_guild_scheduled_event_from_jsmnf()

long discord_modify_guild_scheduled_event_from_jsmnf ( jsmnf_pair *  root,
const char *  js,
struct discord_modify_guild_scheduled_event self 
)

◆ discord_modify_guild_scheduled_event_from_json()

size_t discord_modify_guild_scheduled_event_from_json ( const char  buf[],
size_t  size,
struct discord_modify_guild_scheduled_event self 
)

◆ discord_guild_scheduled_event_to_jsonb()

jsonbcode discord_guild_scheduled_event_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_guild_scheduled_event self 
)

◆ discord_guild_scheduled_event_to_json()

size_t discord_guild_scheduled_event_to_json ( char  buf[],
size_t  size,
const struct discord_guild_scheduled_event self 
)

◆ discord_guild_scheduled_events_to_jsonb()

jsonbcode discord_guild_scheduled_events_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_guild_scheduled_events self 
)

◆ discord_guild_scheduled_events_to_json()

size_t discord_guild_scheduled_events_to_json ( char  buf[],
size_t  size,
const struct discord_guild_scheduled_events self 
)

◆ discord_guild_scheduled_event_users_to_jsonb()

jsonbcode discord_guild_scheduled_event_users_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_guild_scheduled_event_users self 
)

◆ discord_guild_scheduled_event_users_to_json()

size_t discord_guild_scheduled_event_users_to_json ( char  buf[],
size_t  size,
const struct discord_guild_scheduled_event_users self 
)

◆ discord_create_guild_scheduled_event_to_jsonb()

jsonbcode discord_create_guild_scheduled_event_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_create_guild_scheduled_event self 
)

◆ discord_create_guild_scheduled_event_to_json()

size_t discord_create_guild_scheduled_event_to_json ( char  buf[],
size_t  size,
const struct discord_create_guild_scheduled_event self 
)

◆ discord_modify_guild_scheduled_event_to_jsonb()

jsonbcode discord_modify_guild_scheduled_event_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_modify_guild_scheduled_event self 
)

◆ discord_modify_guild_scheduled_event_to_json()

size_t discord_modify_guild_scheduled_event_to_json ( char  buf[],
size_t  size,
const struct discord_modify_guild_scheduled_event self 
)