File src/yajl_encode.c


Included Files


Global Function yajl_string_decode()

void yajl_string_decode ( yajl_buf buf, const unsigned char* str, size_t len )
Prototyped in: src/yajl_encode.h
Calls: Utf32toUtf8() src/yajl_encode.c
  hexToDigit() src/yajl_encode.c
  yajl_buf_append() src/yajl_buf.c
  __assert13(), strlen()
Called by: yajl_do_parse() src/yajl_parser.c

Global Function yajl_string_encode()

void yajl_string_encode ( const yajl_print_t print, void* ctx, const unsigned char* str, size_t len, unsigned int escape_solidus )
Prototyped in: src/yajl_encode.h
Calls: CharToHex() src/yajl_encode.c
  strlen()
Called by: yajl_gen_string() src/yajl_gen.c

Global Function yajl_string_validate_utf8()

int yajl_string_validate_utf8 ( const unsigned char* s, size_t len )
Prototyped in: src/yajl_encode.h
Called by: yajl_gen_string() src/yajl_gen.c

Local Function CharToHex()

static void CharToHex ( unsigned int c, unsigned char* hexBuf )
Called by: yajl_string_encode() src/yajl_encode.c

Local Function Utf32toUtf8()

static void Utf32toUtf8 ( unsigned int codepoint, char* utf8Buf )
Called by: yajl_string_decode() src/yajl_encode.c

Local Function hexToDigit()

static void hexToDigit ( unsigned int* val, const unsigned char* hex )
Calls: __assert13()
Called by: yajl_string_decode() src/yajl_encode.c