MACSio  0.9
Multi-purpose, Application-Centric, Scalable I/O Proxy App
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
test_set_serializer.c File Reference
#include <assert.h>
#include <stdio.h>
#include <string.h>
#include "json.h"
#include "printbuf.h"

Go to the source code of this file.

Data Structures

struct  myinfo
 

Functions

static void freeit (json_object *jso, void *userdata)
 
static int custom_serializer (struct json_object *o, struct printbuf *pb, int level, int flags)
 
int main (int argc, char **argv)
 

Variables

static int freeit_was_called = 0
 

Data Structure Documentation

struct myinfo

Definition at line 8 of file test_set_serializer.c.

Data Fields
int value

Function Documentation

static void freeit ( json_object jso,
void *  userdata 
)
static

Definition at line 13 of file test_set_serializer.c.

static int custom_serializer ( struct json_object o,
struct printbuf pb,
int  level,
int  flags 
)
static

Definition at line 20 of file test_set_serializer.c.

int main ( int  argc,
char **  argv 
)

Definition at line 29 of file test_set_serializer.c.

Variable Documentation

int freeit_was_called = 0
static

Definition at line 12 of file test_set_serializer.c.