Annotation of embedaddon/php/ext/json/utf8_decode.h, revision 1.1
1.1 ! misho 1: /* utf8_decode.h */
! 2:
! 3: #define UTF8_END -1
! 4: #define UTF8_ERROR -2
! 5:
! 6: typedef struct json_utf8_decode
! 7: {
! 8: int the_index;
! 9: char *the_input;
! 10: int the_length;
! 11: int the_char;
! 12: int the_byte;
! 13: } json_utf8_decode;
! 14:
! 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);
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>