Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 57 lines (43 sloc) 2.37 kb
aceaabc @zsuraski PHP 4.0
zsuraski authored
1 /*
2 +----------------------------------------------------------------------+
3893351 Update headers.
Sebastian Bergmann authored
3 | PHP Version 4 |
aceaabc @zsuraski PHP 4.0
zsuraski authored
4 +----------------------------------------------------------------------+
03d440e MFH: Bump year.
Sebastian Bergmann authored
5 | Copyright (c) 1997-2003 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
d87cc97 @zsuraski Redesigned thread safety mechanism - nua nua
zsuraski authored
31 PHPAPI int php_request_startup(TSRMLS_D);
7942eaf @zsuraski * Plenty of thread safety and Win32 work.
zsuraski authored
32 PHPAPI void php_request_shutdown(void *dummy);
c456da5 @andigutmans - Hopefully fix the shutdown_memory_manager() stuff. Part of my previous
andigutmans authored
33 PHPAPI void php_request_shutdown_for_exec(void *dummy);
76312b4 @zsuraski another startup initialization fix - only ISAPI and CGI SAPI's tested,
zsuraski authored
34 PHPAPI int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_modules, uint num_additional_modules);
b349df6 some more eliminate-fetches-or-escalate-them-at-least
Sascha Schumann authored
35 PHPAPI void php_module_shutdown(TSRMLS_D);
ae1b7bf @Fix warnings compiling in maintainer mode. (Stig)
Stig Bakken authored
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
d87cc97 @zsuraski Redesigned thread safety mechanism - nua nua
zsuraski authored
41 PHPAPI int php_execute_script(zend_file_handle *primary_file TSRMLS_DC);
42 PHPAPI int php_handle_special_queries(TSRMLS_D);
43 PHPAPI int php_lint_script(zend_file_handle *file TSRMLS_DC);
d8a4278 @zsuraski - Update .dsp's
zsuraski authored
44
13183ed Add php_handle_aborted_connection()
Sascha Schumann authored
45 PHPAPI void php_handle_aborted_connection(void);
d87cc97 @zsuraski Redesigned thread safety mechanism - nua nua
zsuraski authored
46 PHPAPI int php_handle_auth_data(const char *auth TSRMLS_DC);
aceaabc @zsuraski PHP 4.0
zsuraski authored
47
a769454 reenable php_html_puts
Sascha Schumann authored
48 PHPAPI void php_html_puts(const char *str, uint siz TSRMLS_DC);
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.