Concord - C Discord API library
A Discord API wrapper library written in C
emoji.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 emoji.h:

Go to the source code of this file.

Data Structures

struct  discord_emoji
 
struct  discord_emojis
 
struct  discord_create_guild_emoji
 
struct  discord_modify_guild_emoji
 
struct  discord_delete_guild_emoji
 

Macros

#define JSMN_STRICT
 
#define JSMN_HEADER
 
#define JSONB_HEADER
 

Functions

void discord_emoji_init (struct discord_emoji *self)
 
void discord_emoji_cleanup (struct discord_emoji *self)
 
void discord_emojis_cleanup (struct discord_emojis *self)
 
void discord_create_guild_emoji_init (struct discord_create_guild_emoji *self)
 
void discord_create_guild_emoji_cleanup (struct discord_create_guild_emoji *self)
 
void discord_modify_guild_emoji_init (struct discord_modify_guild_emoji *self)
 
void discord_modify_guild_emoji_cleanup (struct discord_modify_guild_emoji *self)
 
long discord_emoji_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_emoji *self)
 
size_t discord_emoji_from_json (const char buf[], size_t size, struct discord_emoji *self)
 
long discord_emojis_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_emojis *self)
 
size_t discord_emojis_from_json (const char buf[], size_t size, struct discord_emojis *self)
 
long discord_create_guild_emoji_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_create_guild_emoji *self)
 
size_t discord_create_guild_emoji_from_json (const char buf[], size_t size, struct discord_create_guild_emoji *self)
 
long discord_modify_guild_emoji_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_modify_guild_emoji *self)
 
size_t discord_modify_guild_emoji_from_json (const char buf[], size_t size, struct discord_modify_guild_emoji *self)
 
jsonbcode discord_emoji_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_emoji *self)
 
size_t discord_emoji_to_json (char buf[], size_t size, const struct discord_emoji *self)
 
jsonbcode discord_emojis_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_emojis *self)
 
size_t discord_emojis_to_json (char buf[], size_t size, const struct discord_emojis *self)
 
jsonbcode discord_create_guild_emoji_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_create_guild_emoji *self)
 
size_t discord_create_guild_emoji_to_json (char buf[], size_t size, const struct discord_create_guild_emoji *self)
 
jsonbcode discord_modify_guild_emoji_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_modify_guild_emoji *self)
 
size_t discord_modify_guild_emoji_to_json (char buf[], size_t size, const struct discord_modify_guild_emoji *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

Function Documentation

◆ discord_emoji_init()

void discord_emoji_init ( struct discord_emoji self)

◆ discord_emoji_cleanup()

void discord_emoji_cleanup ( struct discord_emoji self)

◆ discord_emojis_cleanup()

void discord_emojis_cleanup ( struct discord_emojis self)

◆ discord_create_guild_emoji_init()

void discord_create_guild_emoji_init ( struct discord_create_guild_emoji self)

◆ discord_create_guild_emoji_cleanup()

void discord_create_guild_emoji_cleanup ( struct discord_create_guild_emoji self)

◆ discord_modify_guild_emoji_init()

void discord_modify_guild_emoji_init ( struct discord_modify_guild_emoji self)

◆ discord_modify_guild_emoji_cleanup()

void discord_modify_guild_emoji_cleanup ( struct discord_modify_guild_emoji self)

◆ discord_emoji_from_jsmnf()

long discord_emoji_from_jsmnf ( jsmnf_pair *  root,
const char *  js,
struct discord_emoji self 
)

◆ discord_emoji_from_json()

size_t discord_emoji_from_json ( const char  buf[],
size_t  size,
struct discord_emoji self 
)

◆ discord_emojis_from_jsmnf()

long discord_emojis_from_jsmnf ( jsmnf_pair *  root,
const char *  js,
struct discord_emojis self 
)

◆ discord_emojis_from_json()

size_t discord_emojis_from_json ( const char  buf[],
size_t  size,
struct discord_emojis self 
)

◆ discord_create_guild_emoji_from_jsmnf()

long discord_create_guild_emoji_from_jsmnf ( jsmnf_pair *  root,
const char *  js,
struct discord_create_guild_emoji self 
)

◆ discord_create_guild_emoji_from_json()

size_t discord_create_guild_emoji_from_json ( const char  buf[],
size_t  size,
struct discord_create_guild_emoji self 
)

◆ discord_modify_guild_emoji_from_jsmnf()

long discord_modify_guild_emoji_from_jsmnf ( jsmnf_pair *  root,
const char *  js,
struct discord_modify_guild_emoji self 
)

◆ discord_modify_guild_emoji_from_json()

size_t discord_modify_guild_emoji_from_json ( const char  buf[],
size_t  size,
struct discord_modify_guild_emoji self 
)

◆ discord_emoji_to_jsonb()

jsonbcode discord_emoji_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_emoji self 
)

◆ discord_emoji_to_json()

size_t discord_emoji_to_json ( char  buf[],
size_t  size,
const struct discord_emoji self 
)

◆ discord_emojis_to_jsonb()

jsonbcode discord_emojis_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_emojis self 
)

◆ discord_emojis_to_json()

size_t discord_emojis_to_json ( char  buf[],
size_t  size,
const struct discord_emojis self 
)

◆ discord_create_guild_emoji_to_jsonb()

jsonbcode discord_create_guild_emoji_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_create_guild_emoji self 
)

◆ discord_create_guild_emoji_to_json()

size_t discord_create_guild_emoji_to_json ( char  buf[],
size_t  size,
const struct discord_create_guild_emoji self 
)

◆ discord_modify_guild_emoji_to_jsonb()

jsonbcode discord_modify_guild_emoji_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_modify_guild_emoji self 
)

◆ discord_modify_guild_emoji_to_json()

size_t discord_modify_guild_emoji_to_json ( char  buf[],
size_t  size,
const struct discord_modify_guild_emoji self 
)