Concord - C Discord API library
A Discord API wrapper library written in C
types.h
Go to the documentation of this file.
1
3#ifndef CONCORD_TYPES_H
4#define CONCORD_TYPES_H
5
6#include <stddef.h>
7#include <stdint.h>
8
22typedef uint64_t u64unix_ms;
28typedef uint64_t u64snowflake;
29
35typedef uint64_t u64bitmask;
36
44typedef char json_char;
45
49 char *start;
51 size_t size;
52};
53
57 const char *start;
59 size_t size;
60};
61
65 char *start;
67 size_t size;
69 size_t realsize;
70};
71
74#endif /* CONCORD_TYPES_H */
uint64_t u64snowflake
Snowflake datatype.
Definition: types.h:28
uint64_t u64bitmask
Bitmask primitive.
Definition: types.h:35
uint64_t u64unix_ms
Unix time in milliseconds.
Definition: types.h:22
char json_char
Raw JSON string.
Definition: types.h:44
Read-only generic sized buffer.
Definition: types.h:55
size_t size
Definition: types.h:59
const char * start
Definition: types.h:57
Reusable generic sized buffer.
Definition: types.h:63
size_t realsize
Definition: types.h:69
char * start
Definition: types.h:65
size_t size
Definition: types.h:67
Generic sized buffer.
Definition: types.h:47
size_t size
Definition: types.h:51
char * start
Definition: types.h:49