summaryrefslogtreecommitdiff
path: root/Zend/zend_ini_scanner.h
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_ini_scanner.h')
-rw-r--r--Zend/zend_ini_scanner.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/Zend/zend_ini_scanner.h b/Zend/zend_ini_scanner.h
index 76ca771058..3ba6e120f5 100644
--- a/Zend/zend_ini_scanner.h
+++ b/Zend/zend_ini_scanner.h
@@ -22,13 +22,18 @@
#ifndef _ZEND_INI_SCANNER_H
#define _ZEND_INI_SCANNER_H
+/* Scanner modes */
+#define ZEND_INI_SCANNER_NORMAL 0 /* Normal mode. [DEFAULT] */
+#define ZEND_INI_SCANNER_RAW 1 /* Raw mode. Option values are not parsed */
+
BEGIN_EXTERN_C()
int zend_ini_scanner_get_lineno(TSRMLS_D);
char *zend_ini_scanner_get_filename(TSRMLS_D);
-int zend_ini_open_file_for_scanning(zend_file_handle *fh TSRMLS_DC);
-int zend_ini_prepare_string_for_scanning(char *str TSRMLS_DC);
+int zend_ini_open_file_for_scanning(zend_file_handle *fh, int scanner_mode TSRMLS_DC);
+int zend_ini_prepare_string_for_scanning(char *str, int scanner_mode TSRMLS_DC);
void zend_ini_close_file(zend_file_handle *fh TSRMLS_DC);
int ini_lex(zval *ini_lval TSRMLS_DC);
+void shutdown_ini_scanner(TSRMLS_D);
END_EXTERN_C()
#endif /* _ZEND_INI_SCANNER_H */