Skip to content
Newer
Older
100644 57 lines (44 sloc) 2.37 KB
aceaabc @zsuraski PHP 4.0
zsuraski authored
1 /*
2 +----------------------------------------------------------------------+
c5724cb @zsuraski License update
zsuraski authored
3 | PHP version 4.0 |
aceaabc @zsuraski PHP 4.0
zsuraski authored
4 +----------------------------------------------------------------------+
eb6ba01 @andigutmans - Fix copyright notices with 2001
andigutmans authored
5 | Copyright (c) 1997-2001 The PHP Group |
aceaabc @zsuraski PHP 4.0
zsuraski authored
6 +----------------------------------------------------------------------+
e043439 @zsuraski Update the license with the new clause 6
zsuraski authored
7 | This source file is subject to version 2.02 of the PHP license, |
c5724cb @zsuraski License update
zsuraski authored
8 | that is bundled with this package in the file LICENSE, and is |
9 | available at through the world-wide-web at |
e043439 @zsuraski Update the license with the new clause 6
zsuraski authored
10 | http://www.php.net/license/2_02.txt. |
c5724cb @zsuraski License update
zsuraski authored
11 | If you did not receive a copy of the PHP license and are unable to |
12 | obtain it through the world-wide-web, please send a note to |
13 | license@php.net so we can mail you a copy immediately. |
aceaabc @zsuraski PHP 4.0
zsuraski authored
14 +----------------------------------------------------------------------+
15 | Authors: Andi Gutmans <andi@zend.com> |
16 | Zeev Suraski <zeev@zend.com> |
17 +----------------------------------------------------------------------+
18 */
19
20
21 /* $Id$ */
22
23
0db7994 Rename macros which begin with underscore to valid macros.
Sascha Schumann authored
24 #ifndef PHP_MAIN_H
25 #define PHP_MAIN_H
aceaabc @zsuraski PHP 4.0
zsuraski authored
26
27 #include "zend_globals.h"
c5af324 @zsuraski More thread safety work
zsuraski authored
28 #include "php_globals.h"
7942eaf @zsuraski * Plenty of thread safety and Win32 work.
zsuraski authored
29 #include "SAPI.h"
aceaabc @zsuraski PHP 4.0
zsuraski authored
30
aee864e @zsuraski Get CGI to work with the new headers code.
zsuraski authored
31 PHPAPI int php_request_startup(CLS_D ELS_DC PLS_DC SLS_DC);
7942eaf @zsuraski * Plenty of thread safety and Win32 work.
zsuraski authored
32 PHPAPI void php_request_shutdown(void *dummy);
33 PHPAPI void php_request_shutdown_for_exec(void *dummy);
5dbe924 @andigutmans - Make ISAPI hook in as an extension too.
andigutmans authored
34 PHPAPI int php_module_startup(sapi_module_struct *sf);
ae1b7bf @Fix warnings compiling in maintainer mode. (Stig)
Stig Bakken authored
35 PHPAPI void php_module_shutdown(void);
36 PHPAPI void php_module_shutdown_for_exec(void);
5dbe924 @andigutmans - Make ISAPI hook in as an extension too.
andigutmans authored
37 PHPAPI int php_module_shutdown_wrapper(sapi_module_struct *sapi_globals);
7942eaf @zsuraski * Plenty of thread safety and Win32 work.
zsuraski authored
38
8abf724 Provide basis for shared libraries/dlls to contain internal extensions
Sam Ruby authored
39 PHPAPI int php_startup_extensions(zend_module_entry **ptr, int count);
40 PHPAPI int php_global_startup_extensions(zend_module_entry **ptr, int count);
41 PHPAPI int php_global_shutdown_extensions(zend_module_entry **ptr, int count);
42
0222f92 Return the exit status from php_execute_script()
Sascha Schumann authored
43 PHPAPI int php_execute_script(zend_file_handle *primary_file CLS_DC ELS_DC PLS_DC);
f367b3d Move some code to php_handle_special_queries().
Sascha Schumann authored
44 PHPAPI int php_handle_special_queries(SLS_D PLS_DC);
d8a4278 @zsuraski - Update .dsp's
zsuraski authored
45 PHPAPI int php_lint_script(zend_file_handle *file CLS_DC ELS_DC PLS_DC);
46
13183ed Add php_handle_aborted_connection()
Sascha Schumann authored
47 PHPAPI void php_handle_aborted_connection(void);
85b5223 Utility function for sapi modules (it is not in SAPI.c, because it
Sascha Schumann authored
48 PHPAPI int php_handle_auth_data(const char *auth SLS_DC);
aceaabc @zsuraski PHP 4.0
zsuraski authored
49
dfd0f88 @rlerdorf More maintainer-mode cleanups
rlerdorf authored
50 extern void php_call_shutdown_functions(void);
aceaabc @zsuraski PHP 4.0
zsuraski authored
51
52 /* environment module */
02d3b39 @zsuraski More php3_ annihilation
zsuraski authored
53 extern int php_init_environ(void);
54 extern int php_shutdown_environ(void);
aceaabc @zsuraski PHP 4.0
zsuraski authored
55
56 #endif
Something went wrong with that request. Please try again.