Concord - C Discord API library
A Discord API wrapper library written in C
|
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"
Go to the source code of this file.
Data Structures | |
struct | discord_team |
struct | discord_team_member |
struct | discord_team_members |
Macros | |
#define | JSMN_STRICT |
#define | JSMN_HEADER |
#define | JSONB_HEADER |
Enumerations | |
enum | discord_membership_state { DISCORD_MEMBERSHIP_INVITED = 1 , DISCORD_MEMBERSHIP_ACCEPTED = 2 } |
Functions | |
void | discord_team_init (struct discord_team *self) |
void | discord_team_cleanup (struct discord_team *self) |
long | discord_team_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_team *self) |
size_t | discord_team_from_json (const char buf[], size_t size, struct discord_team *self) |
jsonbcode | discord_team_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_team *self) |
size_t | discord_team_to_json (char buf[], size_t size, const struct discord_team *self) |
Generated code.
#define JSMN_STRICT |
#define JSMN_HEADER |
#define JSONB_HEADER |
void discord_team_init | ( | struct discord_team * | self | ) |
void discord_team_cleanup | ( | struct discord_team * | self | ) |
long discord_team_from_jsmnf | ( | jsmnf_pair * | root, |
const char * | js, | ||
struct discord_team * | self | ||
) |
size_t discord_team_from_json | ( | const char | buf[], |
size_t | size, | ||
struct discord_team * | self | ||
) |
jsonbcode discord_team_to_jsonb | ( | jsonb * | b, |
char | buf[], | ||
size_t | size, | ||
const struct discord_team * | self | ||
) |
size_t discord_team_to_json | ( | char | buf[], |
size_t | size, | ||
const struct discord_team * | self | ||
) |