[PHP4BETA] CVS update: php4

From: Date: Sun, 02 May 1999 19:16:23 +0000
Subject: [PHP4BETA] CVS update: php4
Groups: php.version4 
Request: Send a blank email to php-version4+get-622@lists.php.net to get a copy of this message
Date: Sunday May 2, 1999 @ 15:16 Author: zeev Update of /repository/php4 In directory php:/tmp/cvs-serv25393 Modified Files: mod_php3.c Log Message: Apache compile fix Index: php4/mod_php3.c diff -u php4/mod_php3.c:1.13 php4/mod_php3.c:1.14 --- php4/mod_php3.c:1.13 Sun May 2 14:07:40 1999 +++ php4/mod_php3.c Sun May 2 15:16:21 1999 @@ -28,7 +28,7 @@ | PHP4 patches by Zeev Suraski <zeev@zend.com> | +----------------------------------------------------------------------+ */ -/* $Id: mod_php3.c,v 1.13 1999/05/02 18:07:40 andi Exp $ */ +/* $Id: mod_php3.c,v 1.14 1999/05/02 19:16:21 zeev Exp $ */ #include "httpd.h" #include "http_config.h" @@ -54,6 +54,16 @@ #define PHP_INI_PERDIR (1<<1) #define PHP_INI_SYSTEM (1<<2) +/* These are taken out of main.h + * they must be updated if main.h changes! + */ + +int apache_php3_module_main(request_rec * r, int fd, int display_source_mode); +int php_module_startup(sapi_module_struct *sf); +void php_module_shutdown(); +void php_module_shutdown_for_exec(); +int php_module_shutdown_wrapper(sapi_module_struct *sapi_globals); + #include "util_script.h" #include "php_version.h" @@ -87,10 +97,6 @@ php_apache_info_struct php_apache_info; /* active config */ -int apache_php3_module_main(request_rec * r, int fd, int display_source_mode); -int php_module_startup(sapi_module_struct *sf); -void php_module_shutdown(); -void php_module_shutdown_for_exec(); void php3_save_umask() @@ -113,7 +119,12 @@ sapi_module_struct sapi_module = { - zend_apache_ub_write + "PHP Language", /* name */ + + php_module_startup, /* startup */ + php_module_shutdown_wrapper, /* shutdown */ + + zend_apache_ub_write, /* unbuffered write */ }; -- PHP 4 Beta

« previous php.version4 (#622) next »