summaryrefslogtreecommitdiff
path: root/ext/json/utf8_decode.h
diff options
context:
space:
mode:
authorJakub Zelenka <bukka@php.net>2014-11-13 20:20:46 +0000
committerJakub Zelenka <bukka@php.net>2014-11-13 20:20:46 +0000
commitd07bf913281058a595e0194076314cd76c0277b6 (patch)
treee9ed67fc9114aee4b16a41efadeabc53794803b9 /ext/json/utf8_decode.h
parent12cf41ca356800d5ff77b08d7b2410ea6b07a71c (diff)
downloadphp-git-d07bf913281058a595e0194076314cd76c0277b6.tar.gz
Initial import of jsond
Diffstat (limited to 'ext/json/utf8_decode.h')
-rw-r--r--ext/json/utf8_decode.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/ext/json/utf8_decode.h b/ext/json/utf8_decode.h
deleted file mode 100644
index 0908edd2d4..0000000000
--- a/ext/json/utf8_decode.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/* utf8_decode.h */
-
-#define UTF8_END -1
-#define UTF8_ERROR -2
-
-typedef struct json_utf8_decode
-{
- char *the_input;
- int the_index;
- int the_length;
- int the_char;
- int the_byte;
-} json_utf8_decode;
-
-extern int utf8_decode_at_byte(json_utf8_decode *utf8);
-extern int utf8_decode_at_character(json_utf8_decode *utf8);
-extern void utf8_decode_init(json_utf8_decode *utf8, char p[], int length);
-extern int utf8_decode_next(json_utf8_decode *utf8);