diff options
author | Harald Radi <phanto@php.net> | 2003-01-12 13:14:23 +0000 |
---|---|---|
committer | Harald Radi <phanto@php.net> | 2003-01-12 13:14:23 +0000 |
commit | 13c2254e212b9710a7d3709c4afceb87a3365843 (patch) | |
tree | 837db9d6dae26308e34b53cb928ceec3ca6a5dc6 /Zend/zend_ini.h | |
parent | 5a468ce877edc5e7f8c144516a2a6ebfcdbb0180 (diff) | |
download | php-git-13c2254e212b9710a7d3709c4afceb87a3365843.tar.gz |
partially revert previous commit and
change zend_modules.h to include
a forward declaration to zend_ini_entry
Diffstat (limited to 'Zend/zend_ini.h')
-rw-r--r-- | Zend/zend_ini.h | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/Zend/zend_ini.h b/Zend/zend_ini.h index 9d6a1cb827..e6cd22a770 100644 --- a/Zend/zend_ini.h +++ b/Zend/zend_ini.h @@ -56,7 +56,31 @@ #endif -#include "zend_ini_entry.h" +typedef struct _zend_ini_entry zend_ini_entry; + +#define ZEND_INI_MH(name) int name(zend_ini_entry *entry, char *new_value, uint new_value_length, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage TSRMLS_DC) +#define ZEND_INI_DISP(name) void name(zend_ini_entry *ini_entry, int type) + +struct _zend_ini_entry { + int module_number; + int modifyable; + char *name; + uint name_length; + ZEND_INI_MH((*on_modify)); + void *mh_arg1; + void *mh_arg2; + void *mh_arg3; + + char *value; + uint value_length; + + char *orig_value; + uint orig_value_length; + int modified; + + void (*displayer)(zend_ini_entry *ini_entry, int type); +}; + ZEND_API int zend_ini_startup(TSRMLS_D); ZEND_API int zend_ini_shutdown(TSRMLS_D); |