Back to index

php5  5.3.10
mb_gpc.h
Go to the documentation of this file.
00001 /*
00002    +----------------------------------------------------------------------+
00003    | PHP Version 5                                                        |
00004    +----------------------------------------------------------------------+
00005    | Copyright (c) 2001 The PHP Group                                     |
00006    +----------------------------------------------------------------------+
00007    | This source file is subject to version 3.01 of the PHP license,      |
00008    | that is bundled with this package in the file LICENSE, and is        |
00009    | available through the world-wide-web at the following url:           |
00010    | http://www.php.net/license/3_01.txt                                  |
00011    | If you did not receive a copy of the PHP license and are unable to   |
00012    | obtain it through the world-wide-web, please send a note to          |
00013    | license@php.net so we can mail you a copy immediately.               |
00014    +----------------------------------------------------------------------+
00015    | Author: Rui Hirokawa <hirokawa@php.net>                              |
00016    |         Moriyoshi Koizumi <moriyoshi@php.net>                        |
00017    +----------------------------------------------------------------------+
00018  */
00019 
00020 /* $Id: mb_gpc.h 242949 2007-09-26 15:44:16Z cvs2svn $ */
00021 
00022 /* {{{ includes */
00023 #ifdef HAVE_CONFIG_H
00024 #include "config.h"
00025 #endif
00026 
00027 #include "php.h"
00028 /* }}} */
00029 
00030 #if HAVE_MBSTRING
00031 /* {{{ typedefs */
00032 typedef struct _php_mb_encoding_handler_info_t {
00033        int data_type;
00034        const char *separator;
00035        unsigned int force_register_globals: 1;
00036        unsigned int report_errors: 1;
00037        enum mbfl_no_language to_language;
00038        enum mbfl_no_encoding to_encoding;
00039        enum mbfl_no_language from_language;
00040        int num_from_encodings;
00041        const enum mbfl_no_encoding *from_encodings;
00042 } php_mb_encoding_handler_info_t;
00043 
00044 /* }}}*/
00045 
00046 /* {{{ prototypes */
00047 SAPI_POST_HANDLER_FUNC(php_mb_post_handler);
00048 MBSTRING_API SAPI_TREAT_DATA_FUNC(mbstr_treat_data);
00049 
00050 int _php_mb_enable_encoding_translation(int flag);
00051 enum mbfl_no_encoding _php_mb_encoding_handler_ex(const php_mb_encoding_handler_info_t *info, zval *arg, char *res TSRMLS_DC);
00052 /* }}} */
00053 #endif /* HAVE_MBSTRING */
00054 
00055 /*
00056  * Local variables:
00057  * tab-width: 4
00058  * c-basic-offset: 4
00059  * End:
00060  * vim600: fdm=marker
00061  * vim: noet sw=4 ts=4
00062  */