File reformatter/json_reformat.c

References Functions: reformat_boolean() reformatter/json_reformat.c
  reformat_end_array() reformatter/json_reformat.c
  reformat_end_map() reformatter/json_reformat.c
  reformat_map_key() reformatter/json_reformat.c
  reformat_null() reformatter/json_reformat.c
  reformat_number() reformatter/json_reformat.c
  reformat_start_array() reformatter/json_reformat.c
  reformat_start_map() reformatter/json_reformat.c
  reformat_string() reformatter/json_reformat.c

Included Files


Local Variables

s_streamReformat
static int s_streamReformat
Used in: main()  
  reformat_boolean()  
  reformat_end_array()  
  reformat_end_map()  
  reformat_map_key()  
  reformat_null()  
  reformat_number()  
  reformat_start_array()  
  reformat_start_map()  
  reformat_string()  

callbacks
static yajl_callbacks callbacks

Used in: main()  

Global Function main()

int main ( int argc, char** argv )
Calls: usage() reformatter/json_reformat.c
  yajl_alloc() src/yajl.c
  yajl_complete_parse() src/yajl.c
  yajl_config() src/yajl.c
  yajl_free() src/yajl.c
  yajl_free_error() src/yajl.c
  yajl_gen_alloc() src/yajl_gen.c
  yajl_gen_clear() src/yajl_gen.c
  yajl_gen_config() src/yajl_gen.c
  yajl_gen_free() src/yajl_gen.c
  yajl_gen_get_buf() src/yajl_gen.c
  yajl_get_error() src/yajl.c
  yajl_parse() src/yajl.c
  fprintf(), fread(), fwrite(), strlen()
References Variables: callbacks reformatter/json_reformat.c
  s_streamReformat reformatter/json_reformat.c

Local Function reformat_boolean()

static int reformat_boolean ( void* ctx, int boolean )
Calls: yajl_gen_bool() src/yajl_gen.c
  yajl_gen_reset() src/yajl_gen.c
Used in:   reformatter/json_reformat.c
References Variables: s_streamReformat reformatter/json_reformat.c

Local Function reformat_end_array()

static int reformat_end_array ( void* ctx )
Calls: yajl_gen_array_close() src/yajl_gen.c
  yajl_gen_reset() src/yajl_gen.c
Used in:   reformatter/json_reformat.c
References Variables: s_streamReformat reformatter/json_reformat.c

Local Function reformat_end_map()

static int reformat_end_map ( void* ctx )
Calls: yajl_gen_map_close() src/yajl_gen.c
  yajl_gen_reset() src/yajl_gen.c
Used in:   reformatter/json_reformat.c
References Variables: s_streamReformat reformatter/json_reformat.c

Local Function reformat_map_key()

static int reformat_map_key ( void* ctx, const unsigned char* stringVal, size_t stringLen )
Calls: yajl_gen_reset() src/yajl_gen.c
  yajl_gen_string() src/yajl_gen.c
Used in:   reformatter/json_reformat.c
References Variables: s_streamReformat reformatter/json_reformat.c

Local Function reformat_null()

static int reformat_null ( void* ctx )
Calls: yajl_gen_null() src/yajl_gen.c
  yajl_gen_reset() src/yajl_gen.c
Used in:   reformatter/json_reformat.c
References Variables: s_streamReformat reformatter/json_reformat.c

Local Function reformat_number()

static int reformat_number ( void* ctx, const char* s, size_t l )
Calls: yajl_gen_number() src/yajl_gen.c
  yajl_gen_reset() src/yajl_gen.c
Used in:   reformatter/json_reformat.c
References Variables: s_streamReformat reformatter/json_reformat.c

Local Function reformat_start_array()

static int reformat_start_array ( void* ctx )
Calls: yajl_gen_array_open() src/yajl_gen.c
  yajl_gen_reset() src/yajl_gen.c
Used in:   reformatter/json_reformat.c
References Variables: s_streamReformat reformatter/json_reformat.c

Local Function reformat_start_map()

static int reformat_start_map ( void* ctx )
Calls: yajl_gen_map_open() src/yajl_gen.c
  yajl_gen_reset() src/yajl_gen.c
Used in:   reformatter/json_reformat.c
References Variables: s_streamReformat reformatter/json_reformat.c

Local Function reformat_string()

static int reformat_string ( void* ctx, const unsigned char* stringVal, size_t stringLen )
Calls: yajl_gen_reset() src/yajl_gen.c
  yajl_gen_string() src/yajl_gen.c
Used in:   reformatter/json_reformat.c
References Variables: s_streamReformat reformatter/json_reformat.c

Local Function usage()

static void usage ( const char* progname )
Calls: exit(), fprintf()
Called by: main() reformatter/json_reformat.c