summaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-04-26 14:00:49 +0000
committerZeev Suraski <zeev@php.net>1999-04-26 14:00:49 +0000
commit7942eaf38138ef8751a447dadb930a129528fb6b (patch)
treecee4b5eca81082809a9e5bb903173952f45e9501 /main.h
parent050cb7cfe3da61621b6d01a0b013642543f44521 (diff)
downloadphp-git-7942eaf38138ef8751a447dadb930a129528fb6b.tar.gz
* Plenty of thread safety and Win32 work.
* Changed PHP4 to compile as a DLL, both ISAPI and the the CGI run with the same DLL. * Switched to using the DLL runtime library under Win32. PHP will NOT work if compiled against the static library! * Removed yesterday's php4libts project (with php4dllts, it's obsolete). This *does* affect thread-unsafe Windows as well - the thread unsafe CGI is also dependant on the thread-unsafe DLL.
Diffstat (limited to 'main.h')
-rw-r--r--main.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/main.h b/main.h
index d80236031e..d450ac5986 100644
--- a/main.h
+++ b/main.h
@@ -37,13 +37,16 @@
#include "zend_globals.h"
#include "php_globals.h"
+#include "SAPI.h"
-int php3_request_startup(CLS_D ELS_DC PLS_DC);
-extern void php3_request_shutdown(void *dummy);
-extern void php3_request_shutdown_for_exec(void *dummy);
-extern int php3_module_startup();
-extern void php3_module_shutdown();
-extern void php3_module_shutdown_for_exec(void);
+PHPAPI int php_request_startup(CLS_D ELS_DC PLS_DC);
+PHPAPI void php_request_shutdown(void *dummy);
+PHPAPI void php_request_shutdown_for_exec(void *dummy);
+PHPAPI int php_module_startup(sapi_functions_struct *sf);
+PHPAPI void php_module_shutdown();
+PHPAPI void php_module_shutdown_for_exec(void);
+
+PHPAPI void php_execute_script(zend_file_handle *primary_file CLS_DC ELS_DC PLS_DC);
extern void php3_call_shutdown_functions(void);