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

Go to the source code of this file.

Data Structures

struct  discord_invite
 
struct  discord_invites
 
struct  discord_invite_metadata
 
struct  discord_invite_stage_instance
 
struct  discord_get_invite
 
struct  discord_delete_invite
 

Macros

#define JSMN_STRICT
 
#define JSMN_HEADER
 
#define JSONB_HEADER
 

Enumerations

enum  discord_invite_target_types { DISCORD_INVITE_TARGET_STREAM = 1 , DISCORD_INVITE_TARGET_EMBEDDED_APPLICATION = 2 }
 

Functions

void discord_invite_init (struct discord_invite *self)
 
void discord_invite_cleanup (struct discord_invite *self)
 
void discord_invites_cleanup (struct discord_invites *self)
 
void discord_get_invite_init (struct discord_get_invite *self)
 
void discord_get_invite_cleanup (struct discord_get_invite *self)
 
long discord_invite_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_invite *self)
 
size_t discord_invite_from_json (const char buf[], size_t size, struct discord_invite *self)
 
long discord_invites_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_invites *self)
 
size_t discord_invites_from_json (const char buf[], size_t size, struct discord_invites *self)
 
long discord_get_invite_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_get_invite *self)
 
size_t discord_get_invite_from_json (const char buf[], size_t size, struct discord_get_invite *self)
 
jsonbcode discord_invite_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_invite *self)
 
size_t discord_invite_to_json (char buf[], size_t size, const struct discord_invite *self)
 
jsonbcode discord_invites_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_invites *self)
 
size_t discord_invites_to_json (char buf[], size_t size, const struct discord_invites *self)
 
jsonbcode discord_get_invite_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_get_invite *self)
 
size_t discord_get_invite_to_json (char buf[], size_t size, const struct discord_get_invite *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_invite_target_types

Enumerator
DISCORD_INVITE_TARGET_STREAM 
DISCORD_INVITE_TARGET_EMBEDDED_APPLICATION 

Function Documentation

◆ discord_invite_init()

void discord_invite_init ( struct discord_invite self)

◆ discord_invite_cleanup()

void discord_invite_cleanup ( struct discord_invite self)

◆ discord_invites_cleanup()

void discord_invites_cleanup ( struct discord_invites self)

◆ discord_get_invite_init()

void discord_get_invite_init ( struct discord_get_invite self)

◆ discord_get_invite_cleanup()

void discord_get_invite_cleanup ( struct discord_get_invite self)

◆ discord_invite_from_jsmnf()

long discord_invite_from_jsmnf ( jsmnf_pair *  root,
const char *  js,
struct discord_invite self 
)

◆ discord_invite_from_json()

size_t discord_invite_from_json ( const char  buf[],
size_t  size,
struct discord_invite self 
)

◆ discord_invites_from_jsmnf()

long discord_invites_from_jsmnf ( jsmnf_pair *  root,
const char *  js,
struct discord_invites self 
)

◆ discord_invites_from_json()

size_t discord_invites_from_json ( const char  buf[],
size_t  size,
struct discord_invites self 
)

◆ discord_get_invite_from_jsmnf()

long discord_get_invite_from_jsmnf ( jsmnf_pair *  root,
const char *  js,
struct discord_get_invite self 
)

◆ discord_get_invite_from_json()

size_t discord_get_invite_from_json ( const char  buf[],
size_t  size,
struct discord_get_invite self 
)

◆ discord_invite_to_jsonb()

jsonbcode discord_invite_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_invite self 
)

◆ discord_invite_to_json()

size_t discord_invite_to_json ( char  buf[],
size_t  size,
const struct discord_invite self 
)

◆ discord_invites_to_jsonb()

jsonbcode discord_invites_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_invites self 
)

◆ discord_invites_to_json()

size_t discord_invites_to_json ( char  buf[],
size_t  size,
const struct discord_invites self 
)

◆ discord_get_invite_to_jsonb()

jsonbcode discord_get_invite_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_get_invite self 
)

◆ discord_get_invite_to_json()

size_t discord_get_invite_to_json ( char  buf[],
size_t  size,
const struct discord_get_invite self 
)