cvs: php4 /ext/session mod_mm.c

From: Date: Wed, 23 May 2001 17:10:40 +0000
Subject: cvs: php4 /ext/session mod_mm.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-5963@lists.php.net to get a copy of this message
andi Wed May 23 10:10:40 2001 EDT Modified files: /php4/ext/session mod_mm.c Log: - Nuke GINIT Index: php4/ext/session/mod_mm.c diff -u php4/ext/session/mod_mm.c:1.15 php4/ext/session/mod_mm.c:1.16 --- php4/ext/session/mod_mm.c:1.15 Thu May 3 08:48:49 2001 +++ php4/ext/session/mod_mm.c Wed May 23 10:10:40 2001 @@ -204,7 +204,7 @@ mm_destroy(data->mm); } -PHP_GINIT_FUNCTION(ps_mm) +PHP_MINIT_FUNCTION(ps_mm) { ps_mm_instance = calloc(sizeof(*ps_mm_instance), 1); if (ps_mm_initialize(ps_mm_instance, PS_MM_PATH) != SUCCESS) { @@ -215,7 +215,7 @@ return SUCCESS; } -PHP_GSHUTDOWN_FUNCTION(ps_mm) +PHP_MSHUTDOWN_FUNCTION(ps_mm) { if (ps_mm_instance) { ps_mm_destroy(ps_mm_instance); @@ -346,11 +346,10 @@ zend_module_entry php_session_mm_module = { "Session MM", NULL, + PHP_MINIT(ps_mm), PHP_MSHUTDOWN(ps_mm), NULL, NULL, - NULL, NULL, NULL, - PHP_GINIT(ps_mm), PHP_GSHUTDOWN(ps_mm), - STANDARD_MODULE_PROPERTIES_EX + STANDARD_MODULE_PROPERTIES }; #endif

« previous php.cvs (#5963) next »