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

Go to the source code of this file.

Data Structures

struct  discord_auth_response
 

Macros

#define JSMN_STRICT
 
#define JSMN_HEADER
 
#define JSONB_HEADER
 

Functions

void discord_auth_response_init (struct discord_auth_response *self)
 
void discord_auth_response_cleanup (struct discord_auth_response *self)
 
long discord_auth_response_from_jsmnf (jsmnf_pair *root, const char *js, struct discord_auth_response *self)
 
size_t discord_auth_response_from_json (const char buf[], size_t size, struct discord_auth_response *self)
 
jsonbcode discord_auth_response_to_jsonb (jsonb *b, char buf[], size_t size, const struct discord_auth_response *self)
 
size_t discord_auth_response_to_json (char buf[], size_t size, const struct discord_auth_response *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

Function Documentation

◆ discord_auth_response_init()

void discord_auth_response_init ( struct discord_auth_response self)

◆ discord_auth_response_cleanup()

void discord_auth_response_cleanup ( struct discord_auth_response self)

◆ discord_auth_response_from_jsmnf()

long discord_auth_response_from_jsmnf ( jsmnf_pair *  root,
const char *  js,
struct discord_auth_response self 
)

◆ discord_auth_response_from_json()

size_t discord_auth_response_from_json ( const char  buf[],
size_t  size,
struct discord_auth_response self 
)

◆ discord_auth_response_to_jsonb()

jsonbcode discord_auth_response_to_jsonb ( jsonb b,
char  buf[],
size_t  size,
const struct discord_auth_response self 
)

◆ discord_auth_response_to_json()

size_t discord_auth_response_to_json ( char  buf[],
size_t  size,
const struct discord_auth_response self 
)