i3
Macros | Typedefs
yajl_utils.h File Reference
#include <config.h>
#include <yajl/yajl_gen.h>
#include <yajl/yajl_parse.h>
#include <yajl/yajl_version.h>
Include dependency graph for yajl_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define y(x, ...)   yajl_gen_##x(gen, ##__VA_ARGS__)
 
#define ystr(str)   yajl_gen_string(gen, (unsigned char *)str, strlen(str))
 
#define ygenalloc()   yajl_gen_alloc(NULL)
 
#define yalloc(callbacks, client)   yajl_alloc(callbacks, NULL, client)
 

Typedefs

typedef size_t ylength
 

Macro Definition Documentation

◆ y

#define y ( x,
... )   yajl_gen_##x(gen, ##__VA_ARGS__)

Definition at line 19 of file yajl_utils.h.

◆ yalloc

#define yalloc ( callbacks,
client )   yajl_alloc(callbacks, NULL, client)

Definition at line 23 of file yajl_utils.h.

Referenced by IPC_HANDLER(), and IPC_HANDLER().

◆ ygenalloc

#define ygenalloc ( )    yajl_gen_alloc(NULL)

◆ ystr

#define ystr ( str)    yajl_gen_string(gen, (unsigned char *)str, strlen(str))

Definition at line 20 of file yajl_utils.h.

Typedef Documentation

◆ ylength

typedef size_t ylength

Definition at line 24 of file yajl_utils.h.