1 /* 2 +----------------------------------------------------------------------+ 3 | PHP Version 5 | 4 +----------------------------------------------------------------------+ 5 | Copyright (c) 2001 The PHP Group | 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 10 | http://www.php.net/license/3_01.txt | 11 | If you did not receive a copy of the PHP license and are unable to | 12 | obtain it through the world-wide-web, please send a note to | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 15 | Author: Rui Hirokawa <hirokawa@php.net> | 16 | Moriyoshi Koizumi <moriyoshi@php.net> | 17 +----------------------------------------------------------------------+ 18 */ 19 20 /* $Id$ */ 21 22 /* {{{ includes */ 23 #ifdef HAVE_CONFIG_H 24 #include "config.h" 25 #endif 26 27 #include "php.h" 28 /* }}} */ 29 30 #if HAVE_MBSTRING 31 /* {{{ typedefs */ 32 typedef struct _php_mb_encoding_handler_info_t { 33 int data_type; 34 const char *separator; 35 unsigned int force_register_globals: 1; 36 unsigned int report_errors: 1; 37 enum mbfl_no_language to_language; 38 enum mbfl_no_encoding to_encoding; 39 enum mbfl_no_language from_language; 40 int num_from_encodings; 41 const enum mbfl_no_encoding *from_encodings; 42 } php_mb_encoding_handler_info_t; 43 44 /* }}}*/ 45 46 /* {{{ prototypes */ 47 SAPI_POST_HANDLER_FUNC(php_mb_post_handler); 48 MBSTRING_API SAPI_TREAT_DATA_FUNC(mbstr_treat_data); 49 50 int _php_mb_enable_encoding_translation(int flag); 51 enum mbfl_no_encoding _php_mb_encoding_handler_ex(const php_mb_encoding_handler_info_t *info, zval *arg, char *res TSRMLS_DC); 52 /* }}} */ 53 #endif /* HAVE_MBSTRING */ 54 55 /* 56 * Local variables: 57 * tab-width: 4 58 * c-basic-offset: 4 59 * End: 60 * vim600: fdm=marker 61 * vim: noet sw=4 ts=4 62 */ 63