Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 105 lines (81 sloc) 2.636 kB
c5724cb @zsuraski License update
zsuraski authored
1 /*
2 +----------------------------------------------------------------------+
3 | PHP version 4.0 |
4 +----------------------------------------------------------------------+
5 | Copyright (c) 1997, 1998, 1999 The PHP Group |
6 +----------------------------------------------------------------------+
7 | This source file is subject to version 2.0 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
9 | available at through the world-wide-web at |
10 | http://www.php.net/license/2_0.txt. |
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. |
14 +----------------------------------------------------------------------+
15 | Authors: Zeev Suraski <zeev@zend.com> |
16 +----------------------------------------------------------------------+
17 */
18
19
011813c @zsuraski *** empty log message ***
zsuraski authored
20 #ifndef _PHP_GLOBALS_H
21 #define _PHP_GLOBALS_H
22
c5af324 @zsuraski More thread safety work
zsuraski authored
23 #include "zend_globals.h"
24
011813c @zsuraski *** empty log message ***
zsuraski authored
25 typedef struct _php_core_globals php_core_globals;
26
27 #ifdef ZTS
28 # define PLS_D php_core_globals *core_globals
29 # define PLS_DC , PLS_D
30 # define PLS_C core_globals
31 # define PLS_CC , PLS_C
32 # define PG(v) (core_globals->v)
33 # define PLS_FETCH() php_core_globals *core_globals = ts_resource(core_globals_id)
3cad348 @zsuraski * Add a new workspace for dynamic PHP extensions.
zsuraski authored
34 extern PHPAPI int core_globals_id;
011813c @zsuraski *** empty log message ***
zsuraski authored
35 #else
36 # define PLS_D
37 # define PLS_DC
38 # define PLS_C
39 # define PLS_CC
40 # define PG(v) (core_globals.v)
41 # define PLS_FETCH()
42 extern ZEND_API php_core_globals core_globals;
43 #endif
44
45
46 struct _php_core_globals {
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored
47 long magic_quotes_gpc;
48 long magic_quotes_runtime;
49 long magic_quotes_sybase;
7685b44 @zsuraski Move asp_tags and short_open_tag to the new php_ini mechanism
zsuraski authored
50
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored
51 long asp_tags;
52 long short_tags;
7e250d0 @zsuraski Add output_buffering directive
zsuraski authored
53 long output_buffering;
79f9f0c @zsuraski Move safe_mode to the new php_ini mechanism
zsuraski authored
54
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored
55 long safe_mode;
56 long sql_safe_mode;
57 char *safe_mode_exec_dir;
58 long enable_dl;
bb6dff9 @zsuraski Buh-bye php3_ini
zsuraski authored
59
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored
60 long memory_limit;
e3d2234 @zsuraski A lot of php3_ini -> php_ini work
zsuraski authored
61
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored
62 long track_errors;
63 long display_errors;
64 long log_errors;
65 char *error_log;
bb6dff9 @zsuraski Buh-bye php3_ini
zsuraski authored
66
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored
67 char *doc_root;
68 char *user_dir;
69 char *include_path;
70 char *open_basedir;
71 char *extension_dir;
bb6dff9 @zsuraski Buh-bye php3_ini
zsuraski authored
72
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored
73 char *upload_tmp_dir;
74 long upload_max_filesize;
e3d2234 @zsuraski A lot of php3_ini -> php_ini work
zsuraski authored
75
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored
76 char *auto_prepend_file;
77 char *auto_append_file;
bb6dff9 @zsuraski Buh-bye php3_ini
zsuraski authored
78
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored
79 char *arg_separator;
80 char *gpc_order;
bb6dff9 @zsuraski Buh-bye php3_ini
zsuraski authored
81
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored
82 long track_vars;
bb6dff9 @zsuraski Buh-bye php3_ini
zsuraski authored
83
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored
84 long y2k_compliance;
0994667 @zsuraski Thread-safe header_is_being_sent
zsuraski authored
85
0bede91 @rlerdorf First part of the connection_status work. No user-callable functions
rlerdorf authored
86 short connection_status;
87 short ignore_user_abort;
88
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored
89 unsigned char header_is_being_sent;
f88464e @zsuraski Win32/ZTS compiles again
zsuraski authored
90
91 /* for fsock */
92 HashTable ht_fsock_keys;
93 HashTable ht_fsock_socks;
011813c @zsuraski *** empty log message ***
zsuraski authored
94 };
95
96
0994667 @zsuraski Thread-safe header_is_being_sent
zsuraski authored
97 #endif /* _PHP_GLOBALS_H */
336392e * now using php4.ini instead of php3.ini
Stig Bakken authored
98
99 /*
100 * Local variables:
101 * tab-width: 4
102 * c-basic-offset: 4
103 * End:
104 */
Something went wrong with that request. Please try again.