1999-07-16 21:13:16 +08:00
|
|
|
/*
|
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
| PHP version 4.0 |
|
|
|
|
+----------------------------------------------------------------------+
|
2001-02-26 14:11:02 +08:00
|
|
|
| Copyright (c) 1997-2001 The PHP Group |
|
1999-07-16 21:13:16 +08:00
|
|
|
+----------------------------------------------------------------------+
|
2000-05-18 23:34:45 +08:00
|
|
|
| This source file is subject to version 2.02 of the PHP license, |
|
1999-07-16 21:13:16 +08:00
|
|
|
| that is bundled with this package in the file LICENSE, and is |
|
|
|
|
| available at through the world-wide-web at |
|
2000-05-18 23:34:45 +08:00
|
|
|
| http://www.php.net/license/2_02.txt. |
|
1999-07-16 21:13:16 +08:00
|
|
|
| If you did not receive a copy of the PHP license and are unable to |
|
|
|
|
| obtain it through the world-wide-web, please send a note to |
|
|
|
|
| license@php.net so we can mail you a copy immediately. |
|
|
|
|
+----------------------------------------------------------------------+
|
2000-10-30 06:42:01 +08:00
|
|
|
| Author: Zeev Suraski <zeev@zend.com> |
|
1999-07-16 21:13:16 +08:00
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
*/
|
|
|
|
|
2000-07-03 07:46:51 +08:00
|
|
|
#ifndef PHP_INI_H
|
|
|
|
#define PHP_INI_H
|
1999-04-08 05:05:13 +08:00
|
|
|
|
2000-10-29 19:38:26 +08:00
|
|
|
#include "zend_ini.h"
|
1999-04-08 05:05:13 +08:00
|
|
|
|
2001-01-03 06:49:31 +08:00
|
|
|
int php_init_config(char *php_ini_path_override);
|
2000-10-31 07:39:14 +08:00
|
|
|
int php_shutdown_config(void);
|
2001-03-18 07:35:32 +08:00
|
|
|
void php_ini_delayed_modules_startup(void);
|
2001-01-08 02:56:24 +08:00
|
|
|
zval *cfg_get_entry(char *name, uint name_length);
|
2000-10-31 07:39:14 +08:00
|
|
|
|
2000-10-29 19:38:26 +08:00
|
|
|
#define PHP_INI_USER ZEND_INI_USER
|
|
|
|
#define PHP_INI_PERDIR ZEND_INI_PERDIR
|
|
|
|
#define PHP_INI_SYSTEM ZEND_INI_SYSTEM
|
1999-04-08 05:05:13 +08:00
|
|
|
|
2000-10-29 19:38:26 +08:00
|
|
|
#define PHP_INI_ALL ZEND_INI_ALL
|
1999-04-09 05:32:57 +08:00
|
|
|
|
2000-10-29 19:38:26 +08:00
|
|
|
#define php_ini_entry zend_ini_entry
|
1999-04-10 03:09:29 +08:00
|
|
|
|
2000-10-29 19:38:26 +08:00
|
|
|
#define PHP_INI_MH ZEND_INI_MH
|
|
|
|
#define PHP_INI_DISP ZEND_INI_DISP
|
1999-04-08 05:05:13 +08:00
|
|
|
|
2000-10-29 19:38:26 +08:00
|
|
|
#define PHP_INI_BEGIN ZEND_INI_BEGIN
|
|
|
|
#define PHP_INI_END ZEND_INI_END
|
1999-04-08 05:05:13 +08:00
|
|
|
|
2000-10-29 19:38:26 +08:00
|
|
|
#define PHP_INI_ENTRY3_EX ZEND_INI_ENTRY3_EX
|
|
|
|
#define PHP_INI_ENTRY3 ZEND_INI_ENTRY3
|
|
|
|
#define PHP_INI_ENTRY2_EX ZEND_INI_ENTRY2_EX
|
|
|
|
#define PHP_INI_ENTRY2 ZEND_INI_ENTRY2
|
|
|
|
#define PHP_INI_ENTRY1_EX ZEND_INI_ENTRY1_EX
|
|
|
|
#define PHP_INI_ENTRY1 ZEND_INI_ENTRY1
|
|
|
|
#define PHP_INI_ENTRY_EX ZEND_INI_ENTRY_EX
|
|
|
|
#define PHP_INI_ENTRY ZEND_INI_ENTRY
|
1999-05-09 16:48:05 +08:00
|
|
|
|
2000-10-29 19:38:26 +08:00
|
|
|
#define STD_PHP_INI_ENTRY STD_ZEND_INI_ENTRY
|
|
|
|
#define STD_PHP_INI_ENTRY_EX STD_ZEND_INI_ENTRY_EX
|
|
|
|
#define STD_PHP_INI_BOOLEAN STD_ZEND_INI_BOOLEAN
|
1999-04-09 05:32:57 +08:00
|
|
|
|
2000-10-29 19:38:26 +08:00
|
|
|
#define PHP_INI_DISPLAY_ORIG ZEND_INI_DISPLAY_ORIG
|
|
|
|
#define PHP_INI_DISPLAY_ACTIVE ZEND_INI_DISPLAY_ACTIVE
|
1999-04-09 05:32:57 +08:00
|
|
|
|
2000-10-29 19:38:26 +08:00
|
|
|
#define PHP_INI_STAGE_STARTUP ZEND_INI_STAGE_STARTUP
|
|
|
|
#define PHP_INI_STAGE_SHUTDOWN ZEND_INI_STAGE_SHUTDOWN
|
|
|
|
#define PHP_INI_STAGE_ACTIVATE ZEND_INI_STAGE_ACTIVATE
|
|
|
|
#define PHP_INI_STAGE_DEACTIVATE ZEND_INI_STAGE_DEACTIVATE
|
|
|
|
#define PHP_INI_STAGE_RUNTIME ZEND_INI_STAGE_RUNTIME
|
1999-04-09 05:32:57 +08:00
|
|
|
|
2000-10-29 19:38:26 +08:00
|
|
|
#define php_ini_boolean_displayer_cb zend_ini_boolean_displayer_cb
|
|
|
|
#define php_ini_color_displayer_cb zend_ini_color_displayer_cb
|
2000-06-03 11:05:29 +08:00
|
|
|
|
2000-10-29 19:38:26 +08:00
|
|
|
#define php_alter_ini_entry zend_alter_ini_entry
|
1999-05-09 16:48:05 +08:00
|
|
|
|
2000-10-29 19:38:26 +08:00
|
|
|
#define php_ini_long zend_ini_long
|
|
|
|
#define php_ini_double zend_ini_double
|
|
|
|
#define php_ini_string zend_ini_string
|
2000-02-26 23:36:23 +08:00
|
|
|
|
2000-07-03 07:46:51 +08:00
|
|
|
#endif /* PHP_INI_H */
|