Busybox: Upgrade to 1.21.1 (stable). lsof active.
[tomato.git] / release / src / router / php / ext / json / utf8_decode.h
blobcc0fc79f6c6a20f25be4e1d53c9b181f6d3be3ab
1 /* utf8_decode.h */
3 #define UTF8_END -1
4 #define UTF8_ERROR -2
6 typedef struct json_utf8_decode
8 int the_index;
9 char *the_input;
10 int the_length;
11 int the_char;
12 int the_byte;
13 } json_utf8_decode;
15 extern int utf8_decode_at_byte(json_utf8_decode *utf8);
16 extern int utf8_decode_at_character(json_utf8_decode *utf8);
17 extern void utf8_decode_init(json_utf8_decode *utf8, char p[], int length);
18 extern int utf8_decode_next(json_utf8_decode *utf8);