Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 62 lines (50 sloc) 2.773 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 +----------------------------------------------------------------------+
4e19825 @felipensp - Year++
felipensp authored
5 | Copyright (c) 1997-2012 The PHP Group |
aceaabc @zsuraski PHP 4.0
zsuraski authored
6 +----------------------------------------------------------------------+
5bd9322 bump year and license version
foobar authored
7 | This source file is subject to version 3.01 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: |
5bd9322 bump year and license version
foobar authored
10 | http://www.php.net/license/3_01.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);
2c6b2f6 - Forgot to commit these.
Moriyoshi Koizumi authored
38 PHPAPI void php_request_shutdown_for_hook(void *dummy);
7942eaf @zsuraski * Plenty of thread safety and Win32 work.
zsuraski authored
39
f47c784 Improved PHP extension loading mechanism with support for module depe…
Dmitry Stogov authored
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
41
d87cc97 @zsuraski Redesigned thread safety mechanism - nua nua
zsuraski authored
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
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
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
46
13183ed Add php_handle_aborted_connection()
Sascha Schumann authored
47 PHPAPI void php_handle_aborted_connection(void);
d87cc97 @zsuraski Redesigned thread safety mechanism - nua nua
zsuraski authored
48 PHPAPI int php_handle_auth_data(const char *auth TSRMLS_DC);
aceaabc @zsuraski PHP 4.0
zsuraski authored
49
a769454 reenable php_html_puts
Sascha Schumann authored
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
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
52
6ffb0dc - Fix leaks with registered shutdown functions.
foobar authored
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
55
56 /* environment module */
02d3b39 @zsuraski More php3_ annihilation
zsuraski authored
57 extern int php_init_environ(void);
58 extern int php_shutdown_environ(void);
3d6426e Fix use of EXTERN_C macros
Ard Biesheuvel authored
59 END_EXTERN_C()
aceaabc @zsuraski PHP 4.0
zsuraski authored
60
61 #endif
Something went wrong with that request. Please try again.