Concord - C Discord API library
A Discord API wrapper library written in C
|
Commonly used datatypes. More...
Data Structures | |
struct | ccord_szbuf |
Generic sized buffer. More... | |
struct | ccord_szbuf_readonly |
Read-only generic sized buffer. More... | |
struct | ccord_szbuf_reusable |
Reusable generic sized buffer. More... | |
Typedefs | |
typedef uint64_t | u64unix_ms |
Unix time in milliseconds. More... | |
typedef uint64_t | u64snowflake |
Snowflake datatype. More... | |
typedef uint64_t | u64bitmask |
Bitmask primitive. More... | |
typedef char | json_char |
Raw JSON string. More... | |
Commonly used datatypes.
typedef uint64_t u64unix_ms |
Unix time in milliseconds.
Commonly used for fields that may store timestamps
typedef uint64_t u64snowflake |
Snowflake datatype.
Used in APIs such as Twitter and Discord for their unique IDs
typedef uint64_t u64bitmask |
Bitmask primitive.
Used for fields that may store values of, or perform bitwise operations
typedef char json_char |
Raw JSON string.
Used for fields that have dynamic or unreliable types. A string made out of json_char
should be used to keep a raw JSON, which can then be parsed with the assistance of a JSON library.