Back to index

php5  5.3.10
zend_ini_scanner.h
Go to the documentation of this file.
00001 /*
00002    +----------------------------------------------------------------------+
00003    | Zend Engine                                                          |
00004    +----------------------------------------------------------------------+
00005    | Copyright (c) 1998-2012 Zend Technologies Ltd. (http://www.zend.com) |
00006    +----------------------------------------------------------------------+
00007    | This source file is subject to version 2.00 of the Zend 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.zend.com/license/2_00.txt.                                |
00011    | If you did not receive a copy of the Zend license and are unable to  |
00012    | obtain it through the world-wide-web, please send a note to          |
00013    | license@zend.com so we can mail you a copy immediately.              |
00014    +----------------------------------------------------------------------+
00015    | Authors: Andi Gutmans <andi@zend.com>                                |
00016    |          Zeev Suraski <zeev@zend.com>                                |
00017    +----------------------------------------------------------------------+
00018 */
00019 
00020 /* $Id: zend_ini_scanner.h 321634 2012-01-01 13:15:04Z felipe $ */
00021 
00022 #ifndef _ZEND_INI_SCANNER_H
00023 #define _ZEND_INI_SCANNER_H
00024 
00025 /* Scanner modes */
00026 #define ZEND_INI_SCANNER_NORMAL 0 /* Normal mode. [DEFAULT] */
00027 #define ZEND_INI_SCANNER_RAW    1 /* Raw mode. Option values are not parsed */
00028 
00029 BEGIN_EXTERN_C()
00030 int zend_ini_scanner_get_lineno(TSRMLS_D);
00031 char *zend_ini_scanner_get_filename(TSRMLS_D);
00032 int zend_ini_open_file_for_scanning(zend_file_handle *fh, int scanner_mode TSRMLS_DC);
00033 int zend_ini_prepare_string_for_scanning(char *str, int scanner_mode TSRMLS_DC);
00034 int ini_lex(zval *ini_lval TSRMLS_DC);
00035 void shutdown_ini_scanner(TSRMLS_D);
00036 END_EXTERN_C()
00037 
00038 #endif /* _ZEND_INI_SCANNER_H */
00039 
00040 /*
00041  * Local variables:
00042  * tab-width: 4
00043  * c-basic-offset: 4
00044  * indent-tabs-mode: t
00045  * End:
00046  */