Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 60 lines (48 sloc) 2.598 kb
aceaabc @zsuraski PHP 4.0
zsuraski authored
1 /*
2 +----------------------------------------------------------------------+
ccfc46b - Happy new year and PHP 5 for rest of the files too..
foobar authored
3 | PHP Version 5 |
aceaabc @zsuraski PHP 4.0
zsuraski authored
4 +----------------------------------------------------------------------+
ccfc46b - Happy new year and PHP 5 for rest of the files too..
foobar authored
5 | Copyright (c) 1997-2004 The PHP Group |
aceaabc @zsuraski PHP 4.0
zsuraski authored
6 +----------------------------------------------------------------------+
f68c7ff updating license information in the headers.
James Cox authored
7 | This source file is subject to version 3.0 of the PHP license, |
c5724cb @zsuraski License update
zsuraski authored
8 | that is bundled with this package in the file LICENSE, and is |
f68c7ff updating license information in the headers.
James Cox authored
9 | available through the world-wide-web at the following url: |
10 | http://www.php.net/license/3_0.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 /* $Id$ */
21
0db7994 Rename macros which begin with underscore to valid macros.
Sascha Schumann authored
22 #ifndef PHP_MAIN_H
23 #define PHP_MAIN_H
aceaabc @zsuraski PHP 4.0
zsuraski authored
24
25 #include "zend_globals.h"
c5af324 @zsuraski More thread safety work
zsuraski authored
26 #include "php_globals.h"
7942eaf @zsuraski * Plenty of thread safety and Win32 work.
zsuraski authored
27 #include "SAPI.h"
aceaabc @zsuraski PHP 4.0
zsuraski authored
28
3d6426e Fix use of EXTERN_C macros
Ard Biesheuvel authored
29 BEGIN_EXTERN_C()
d87cc97 @zsuraski Redesigned thread safety mechanism - nua nua
zsuraski authored
30 PHPAPI int php_request_startup(TSRMLS_D);
7942eaf @zsuraski * Plenty of thread safety and Win32 work.
zsuraski authored
31 PHPAPI void php_request_shutdown(void *dummy);
c456da5 @andigutmans - Hopefully fix the shutdown_memory_manager() stuff. Part of my previous
andigutmans authored
32 PHPAPI void php_request_shutdown_for_exec(void *dummy);
76312b4 @zsuraski another startup initialization fix - only ISAPI and CGI SAPI's tested,
zsuraski authored
33 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
34 PHPAPI void php_module_shutdown(TSRMLS_D);
ae1b7bf @Fix warnings compiling in maintainer mode. (Stig)
Stig Bakken authored
35 PHPAPI void php_module_shutdown_for_exec(void);
5dbe924 @andigutmans - Make ISAPI hook in as an extension too.
andigutmans authored
36 PHPAPI int php_module_shutdown_wrapper(sapi_module_struct *sapi_globals);
60a5aee Fixed a few compile warnings and one compile error.
Ilia Alshanetsky authored
37 PHPAPI int php_request_startup_for_hook(TSRMLS_D);
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);
99c7ddc added support functions for the apache_hooks SAPI
George Schlossnagle authored
42 PHPAPI int php_execute_simple_script(zend_file_handle *primary_file, zval **ret TSRMLS_DC);
d87cc97 @zsuraski Redesigned thread safety mechanism - nua nua
zsuraski authored
43 PHPAPI int php_handle_special_queries(TSRMLS_D);
44 PHPAPI int php_lint_script(zend_file_handle *file TSRMLS_DC);
d8a4278 @zsuraski - Update .dsp's
zsuraski authored
45
13183ed Add php_handle_aborted_connection()
Sascha Schumann authored
46 PHPAPI void php_handle_aborted_connection(void);
d87cc97 @zsuraski Redesigned thread safety mechanism - nua nua
zsuraski authored
47 PHPAPI int php_handle_auth_data(const char *auth TSRMLS_DC);
aceaabc @zsuraski PHP 4.0
zsuraski authored
48
a769454 reenable php_html_puts
Sascha Schumann authored
49 PHPAPI void php_html_puts(const char *str, uint siz TSRMLS_DC);
50
a4108b7 MFH: - Fix leaks with registered shutdown functions.
foobar authored
51 extern void php_call_shutdown_functions(TSRMLS_D);
52 extern void php_free_shutdown_functions(TSRMLS_D);
aceaabc @zsuraski PHP 4.0
zsuraski authored
53
54 /* environment module */
02d3b39 @zsuraski More php3_ annihilation
zsuraski authored
55 extern int php_init_environ(void);
56 extern int php_shutdown_environ(void);
3d6426e Fix use of EXTERN_C macros
Ard Biesheuvel authored
57 END_EXTERN_C()
aceaabc @zsuraski PHP 4.0
zsuraski authored
58
59 #endif
Something went wrong with that request. Please try again.