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 | strings |
struct | json_values |
struct | snowflakes |
struct | bitmasks |
struct | integers |
Macros | |
#define | JSMN_STRICT |
#define | JSMN_HEADER |
#define | JSONB_HEADER |
Functions | |
void | strings_cleanup (struct strings *self) |
void | json_values_cleanup (struct json_values *self) |
void | snowflakes_cleanup (struct snowflakes *self) |
void | bitmasks_cleanup (struct bitmasks *self) |
void | integers_cleanup (struct integers *self) |
long | strings_from_jsmnf (jsmnf_pair *root, const char *js, struct strings *self) |
size_t | strings_from_json (const char buf[], size_t size, struct strings *self) |
long | json_values_from_jsmnf (jsmnf_pair *root, const char *js, struct json_values *self) |
size_t | json_values_from_json (const char buf[], size_t size, struct json_values *self) |
long | snowflakes_from_jsmnf (jsmnf_pair *root, const char *js, struct snowflakes *self) |
size_t | snowflakes_from_json (const char buf[], size_t size, struct snowflakes *self) |
long | bitmasks_from_jsmnf (jsmnf_pair *root, const char *js, struct bitmasks *self) |
size_t | bitmasks_from_json (const char buf[], size_t size, struct bitmasks *self) |
long | integers_from_jsmnf (jsmnf_pair *root, const char *js, struct integers *self) |
size_t | integers_from_json (const char buf[], size_t size, struct integers *self) |
jsonbcode | strings_to_jsonb (jsonb *b, char buf[], size_t size, const struct strings *self) |
size_t | strings_to_json (char buf[], size_t size, const struct strings *self) |
jsonbcode | json_values_to_jsonb (jsonb *b, char buf[], size_t size, const struct json_values *self) |
size_t | json_values_to_json (char buf[], size_t size, const struct json_values *self) |
jsonbcode | snowflakes_to_jsonb (jsonb *b, char buf[], size_t size, const struct snowflakes *self) |
size_t | snowflakes_to_json (char buf[], size_t size, const struct snowflakes *self) |
jsonbcode | bitmasks_to_jsonb (jsonb *b, char buf[], size_t size, const struct bitmasks *self) |
size_t | bitmasks_to_json (char buf[], size_t size, const struct bitmasks *self) |
jsonbcode | integers_to_jsonb (jsonb *b, char buf[], size_t size, const struct integers *self) |
size_t | integers_to_json (char buf[], size_t size, const struct integers *self) |
Generated code.
#define JSMN_STRICT |
#define JSMN_HEADER |
#define JSONB_HEADER |
void strings_cleanup | ( | struct strings * | self | ) |
void json_values_cleanup | ( | struct json_values * | self | ) |
void snowflakes_cleanup | ( | struct snowflakes * | self | ) |
void bitmasks_cleanup | ( | struct bitmasks * | self | ) |
void integers_cleanup | ( | struct integers * | self | ) |
long strings_from_jsmnf | ( | jsmnf_pair * | root, |
const char * | js, | ||
struct strings * | self | ||
) |
size_t strings_from_json | ( | const char | buf[], |
size_t | size, | ||
struct strings * | self | ||
) |
long json_values_from_jsmnf | ( | jsmnf_pair * | root, |
const char * | js, | ||
struct json_values * | self | ||
) |
size_t json_values_from_json | ( | const char | buf[], |
size_t | size, | ||
struct json_values * | self | ||
) |
long snowflakes_from_jsmnf | ( | jsmnf_pair * | root, |
const char * | js, | ||
struct snowflakes * | self | ||
) |
size_t snowflakes_from_json | ( | const char | buf[], |
size_t | size, | ||
struct snowflakes * | self | ||
) |
long bitmasks_from_jsmnf | ( | jsmnf_pair * | root, |
const char * | js, | ||
struct bitmasks * | self | ||
) |
size_t bitmasks_from_json | ( | const char | buf[], |
size_t | size, | ||
struct bitmasks * | self | ||
) |
long integers_from_jsmnf | ( | jsmnf_pair * | root, |
const char * | js, | ||
struct integers * | self | ||
) |
size_t integers_from_json | ( | const char | buf[], |
size_t | size, | ||
struct integers * | self | ||
) |
size_t strings_to_json | ( | char | buf[], |
size_t | size, | ||
const struct strings * | self | ||
) |
jsonbcode json_values_to_jsonb | ( | jsonb * | b, |
char | buf[], | ||
size_t | size, | ||
const struct json_values * | self | ||
) |
size_t json_values_to_json | ( | char | buf[], |
size_t | size, | ||
const struct json_values * | self | ||
) |
jsonbcode snowflakes_to_jsonb | ( | jsonb * | b, |
char | buf[], | ||
size_t | size, | ||
const struct snowflakes * | self | ||
) |
size_t snowflakes_to_json | ( | char | buf[], |
size_t | size, | ||
const struct snowflakes * | self | ||
) |
size_t bitmasks_to_json | ( | char | buf[], |
size_t | size, | ||
const struct bitmasks * | self | ||
) |
size_t integers_to_json | ( | char | buf[], |
size_t | size, | ||
const struct integers * | self | ||
) |