diff options
author | Zeev Suraski <zeev@php.net> | 1999-05-09 12:24:21 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-05-09 12:24:21 +0000 |
commit | bfbe86187e594ac1cc67518b4f1fc54e1cbacba8 (patch) | |
tree | e7314292a3c0bef1e1befbd7eda32f4dd02375d2 /Zend/zend_modules.h | |
parent | bc415d5a8883bbe5b15c12e9a30f916c8010204a (diff) | |
download | php-git-bfbe86187e594ac1cc67518b4f1fc54e1cbacba8.tar.gz |
Almost forgot to commit those
Diffstat (limited to 'Zend/zend_modules.h')
-rw-r--r-- | Zend/zend_modules.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Zend/zend_modules.h b/Zend/zend_modules.h index f4805f0663..b0838953ec 100644 --- a/Zend/zend_modules.h +++ b/Zend/zend_modules.h @@ -19,6 +19,7 @@ #define INIT_FUNC_ARGS int type, int module_number #define SHUTDOWN_FUNC_ARGS int type, int module_number +#define ZEND_MODULE_INFO_FUNC_ARGS zend_module_entry *module #define STANDARD_MODULE_PROPERTIES 0, 0, 0, NULL, 0 @@ -26,19 +27,21 @@ #define MODULE_PERSISTENT 1 #define MODULE_TEMPORARY 2 -typedef struct { +typedef struct _zend_module_entry zend_module_entry; + +struct _zend_module_entry { char *name; zend_function_entry *functions; int (*module_startup_func)(INIT_FUNC_ARGS); int (*module_shutdown_func)(SHUTDOWN_FUNC_ARGS); int (*request_startup_func)(INIT_FUNC_ARGS); int (*request_shutdown_func)(SHUTDOWN_FUNC_ARGS); - void (*info_func)(void); - int request_started,module_started; + void (*info_func)(ZEND_MODULE_INFO_FUNC_ARGS); + int request_started, module_started; unsigned char type; void *handle; int module_number; -} zend_module_entry; +}; extern HashTable module_registry; |