From 2b44c63d5084c134c7c80b5f411b25f741d7354d Mon Sep 17 00:00:00 2001 From: Rui Hirokawa Date: Sat, 28 Jun 2003 23:37:18 +0000 Subject: Fixed corruption of multibyte character including 0x5c as second byte in multipart/form-data. --- ext/mbstring/mbstring.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ext/mbstring/mbstring.h') 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; -- cgit v1.2.1