diff options
author | Rui Hirokawa <hirokawa@php.net> | 2003-06-28 23:37:18 +0000 |
---|---|---|
committer | Rui Hirokawa <hirokawa@php.net> | 2003-06-28 23:37:18 +0000 |
commit | 2b44c63d5084c134c7c80b5f411b25f741d7354d (patch) | |
tree | 153ec5679c1ec5df20617eccca28367496512a49 /ext/mbstring/mbstring.h | |
parent | aacd3d2f1bddd397143890ce46f2b5b1c2480e6b (diff) | |
download | php-git-2b44c63d5084c134c7c80b5f411b25f741d7354d.tar.gz |
Fixed corruption of multibyte character including 0x5c as second
byte in multipart/form-data.
Diffstat (limited to 'ext/mbstring/mbstring.h')
-rw-r--r-- | ext/mbstring/mbstring.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/mbstring/mbstring.h b/ext/mbstring/mbstring.h index fdecde7a9f..8e4bd2b911 100644 --- a/ext/mbstring/mbstring.h +++ b/ext/mbstring/mbstring.h @@ -136,6 +136,13 @@ MBSTRING_API int php_mb_check_encoding_list(const char *encoding_list TSRMLS_DC) MBSTRING_API size_t php_mb_mbchar_bytes_ex(const char *s, const mbfl_encoding *enc); MBSTRING_API size_t php_mb_mbchar_bytes(const char *s TSRMLS_DC); +MBSTRING_API size_t php_mb_gpc_mbchar_bytes(const char *s TSRMLS_DC); + +MBSTRING_API int php_mb_encoding_detector_ex(const char *arg_string, int arg_length, + char *arg_list TSRMLS_DC); + +MBSTRING_API int php_mb_encoding_converter_ex(char **str, int *len, const char *encoding_to, + const char *encoding_from TSRMLS_DC); ZEND_BEGIN_MODULE_GLOBALS(mbstring) enum mbfl_no_language language; |