Skip to content
Newer
Older
100644 62 lines (50 sloc) 2.71 KB
aceaabc @zsuraski PHP 4.0
zsuraski authored Apr 7, 1999
1 /*
2 +----------------------------------------------------------------------+
ccfc46b - Happy new year and PHP 5 for rest of the files too..
foobar authored Jan 8, 2004
3 | PHP Version 5 |
aceaabc @zsuraski PHP 4.0
zsuraski authored Apr 7, 1999
4 +----------------------------------------------------------------------+
0203cc3 @felipensp - Year++
felipensp authored Jan 1, 2011
5 | Copyright (c) 1997-2011 The PHP Group |
aceaabc @zsuraski PHP 4.0
zsuraski authored Apr 7, 1999
6 +----------------------------------------------------------------------+
5bd9322 bump year and license version
foobar authored Jan 1, 2006
7 | This source file is subject to version 3.01 of the PHP license, |
c5724cb @zsuraski License update
zsuraski authored Jul 16, 1999
8 | that is bundled with this package in the file LICENSE, and is |
f68c7ff updating license information in the headers.
James Cox authored Jun 10, 2003
9 | available through the world-wide-web at the following url: |
5bd9322 bump year and license version
foobar authored Jan 1, 2006
10 | http://www.php.net/license/3_01.txt |
c5724cb @zsuraski License update
zsuraski authored Jul 16, 1999
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 Apr 7, 1999
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 Jul 3, 2000
22 #ifndef PHP_MAIN_H
23 #define PHP_MAIN_H
aceaabc @zsuraski PHP 4.0
zsuraski authored Apr 7, 1999
24
25 #include "zend_globals.h"
c5af324 @zsuraski More thread safety work
zsuraski authored Apr 21, 1999
26 #include "php_globals.h"
7942eaf @zsuraski * Plenty of thread safety and Win32 work.
zsuraski authored Apr 26, 1999
27 #include "SAPI.h"
aceaabc @zsuraski PHP 4.0
zsuraski authored Apr 7, 1999
28
3d6426e Fix use of EXTERN_C macros
Ard Biesheuvel authored Sep 2, 2003
29 BEGIN_EXTERN_C()
d87cc97 @zsuraski Redesigned thread safety mechanism - nua nua
zsuraski authored Jul 28, 2001
30 PHPAPI int php_request_startup(TSRMLS_D);
7942eaf @zsuraski * Plenty of thread safety and Win32 work.
zsuraski authored Apr 26, 1999
31 PHPAPI void php_request_shutdown(void *dummy);
c456da5 @andigutmans - Hopefully fix the shutdown_memory_manager() stuff. Part of my previous
andigutmans authored Feb 26, 2002
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 Sep 18, 2002
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 Aug 5, 2001
34 PHPAPI void php_module_shutdown(TSRMLS_D);
ae1b7bf @Fix warnings compiling in maintainer mode. (Stig)
Stig Bakken authored Dec 5, 1999
35 PHPAPI void php_module_shutdown_for_exec(void);
5dbe924 @andigutmans - Make ISAPI hook in as an extension too.
andigutmans authored May 2, 1999
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 Dec 10, 2002
37 PHPAPI int php_request_startup_for_hook(TSRMLS_D);
891acc3 - Forgot to commit these.
Moriyoshi Koizumi authored Jun 20, 2011
38 PHPAPI void php_request_shutdown_for_hook(void *dummy);
7942eaf @zsuraski * Plenty of thread safety and Win32 work.
zsuraski authored Apr 26, 1999
39
f47c784 Improved PHP extension loading mechanism with support for module depe…
Dmitry Stogov authored Jun 17, 2005
40 PHPAPI int php_register_extensions(zend_module_entry **ptr, int count TSRMLS_DC);
8abf724 Provide basis for shared libraries/dlls to contain internal extensions
Sam Ruby authored Dec 7, 1999
41
d87cc97 @zsuraski Redesigned thread safety mechanism - nua nua
zsuraski authored Jul 28, 2001
42 PHPAPI int php_execute_script(zend_file_handle *primary_file TSRMLS_DC);
99c7ddc added support functions for the apache_hooks SAPI
George Schlossnagle authored Nov 18, 2002
43 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 Jul 28, 2001
44 PHPAPI int php_handle_special_queries(TSRMLS_D);
45 PHPAPI int php_lint_script(zend_file_handle *file TSRMLS_DC);
d8a4278 @zsuraski - Update .dsp's
zsuraski authored Jul 29, 2000
46
13183ed Add php_handle_aborted_connection()
Sascha Schumann authored Oct 29, 2000
47 PHPAPI void php_handle_aborted_connection(void);
d87cc97 @zsuraski Redesigned thread safety mechanism - nua nua
zsuraski authored Jul 28, 2001
48 PHPAPI int php_handle_auth_data(const char *auth TSRMLS_DC);
aceaabc @zsuraski PHP 4.0
zsuraski authored Apr 7, 1999
49
a769454 reenable php_html_puts
Sascha Schumann authored May 12, 2002
50 PHPAPI void php_html_puts(const char *str, uint siz TSRMLS_DC);
c5fb061 Provide means for opening file for zend with error supression. Allows…
Ilia Alshanetsky authored Jan 8, 2007
51 PHPAPI int php_stream_open_for_zend_ex(const char *filename, zend_file_handle *handle, int mode TSRMLS_DC);
a769454 reenable php_html_puts
Sascha Schumann authored May 12, 2002
52
6ffb0dc - Fix leaks with registered shutdown functions.
foobar authored Jan 9, 2005
53 extern void php_call_shutdown_functions(TSRMLS_D);
54 extern void php_free_shutdown_functions(TSRMLS_D);
aceaabc @zsuraski PHP 4.0
zsuraski authored Apr 7, 1999
55
56 /* environment module */
02d3b39 @zsuraski More php3_ annihilation
zsuraski authored Dec 17, 1999
57 extern int php_init_environ(void);
58 extern int php_shutdown_environ(void);
3d6426e Fix use of EXTERN_C macros
Ard Biesheuvel authored Sep 2, 2003
59 END_EXTERN_C()
aceaabc @zsuraski PHP 4.0
zsuraski authored Apr 7, 1999
60
61 #endif
Something went wrong with that request. Please try again.