Skip to content
Newer
Older
100644 105 lines (81 sloc) 2.65 KB
c5724cb @zsuraski License update
zsuraski authored Jul 16, 1999
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 Apr 9, 1999
20 #ifndef _PHP_GLOBALS_H
21 #define _PHP_GLOBALS_H
22
c5af324 @zsuraski More thread safety work
zsuraski authored Apr 21, 1999
23 #include "zend_globals.h"
24
011813c @zsuraski *** empty log message ***
zsuraski authored Apr 9, 1999
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 Jun 4, 1999
34 extern PHPAPI int core_globals_id;
011813c @zsuraski *** empty log message ***
zsuraski authored Apr 9, 1999
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()
5a2189f work around gcc bug, otherwise compiler would die with
Sascha Schumann authored Sep 5, 1999
42 extern ZEND_API struct _php_core_globals core_globals;
011813c @zsuraski *** empty log message ***
zsuraski authored Apr 9, 1999
43 #endif
44
45
46 struct _php_core_globals {
54ec3a8 @rlerdorf Cleanups
rlerdorf authored Sep 4, 1999
47 zend_bool magic_quotes_gpc;
48 zend_bool magic_quotes_runtime;
49 zend_bool magic_quotes_sybase;
7685b44 @zsuraski Move asp_tags and short_open_tag to the new php_ini mechanism
zsuraski authored Apr 10, 1999
50
54ec3a8 @rlerdorf Cleanups
rlerdorf authored Sep 4, 1999
51 zend_bool asp_tags;
52 zend_bool short_tags;
53 zend_bool output_buffering;
79f9f0c @zsuraski Move safe_mode to the new php_ini mechanism
zsuraski authored Apr 10, 1999
54
54ec3a8 @rlerdorf Cleanups
rlerdorf authored Sep 4, 1999
55 zend_bool safe_mode;
56 zend_bool sql_safe_mode;
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored Jun 15, 1999
57 char *safe_mode_exec_dir;
54ec3a8 @rlerdorf Cleanups
rlerdorf authored Sep 4, 1999
58 zend_bool enable_dl;
bb6dff9 @zsuraski Buh-bye php3_ini
zsuraski authored Apr 10, 1999
59
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored Jun 15, 1999
60 long memory_limit;
e3d2234 @zsuraski A lot of php3_ini -> php_ini work
zsuraski authored Apr 10, 1999
61
54ec3a8 @rlerdorf Cleanups
rlerdorf authored Sep 4, 1999
62 zend_bool track_errors;
63 zend_bool display_errors;
64 zend_bool log_errors;
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored Jun 15, 1999
65 char *error_log;
bb6dff9 @zsuraski Buh-bye php3_ini
zsuraski authored Apr 10, 1999
66
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored Jun 15, 1999
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 Apr 10, 1999
72
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored Jun 15, 1999
73 char *upload_tmp_dir;
74 long upload_max_filesize;
e3d2234 @zsuraski A lot of php3_ini -> php_ini work
zsuraski authored Apr 10, 1999
75
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored Jun 15, 1999
76 char *auto_prepend_file;
77 char *auto_append_file;
bb6dff9 @zsuraski Buh-bye php3_ini
zsuraski authored Apr 10, 1999
78
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored Jun 15, 1999
79 char *arg_separator;
80 char *gpc_order;
bb6dff9 @zsuraski Buh-bye php3_ini
zsuraski authored Apr 10, 1999
81
54ec3a8 @rlerdorf Cleanups
rlerdorf authored Sep 4, 1999
82 zend_bool track_vars;
bb6dff9 @zsuraski Buh-bye php3_ini
zsuraski authored Apr 10, 1999
83
54ec3a8 @rlerdorf Cleanups
rlerdorf authored Sep 4, 1999
84 zend_bool y2k_compliance;
0994667 @zsuraski Thread-safe header_is_being_sent
zsuraski authored Apr 23, 1999
85
0bede91 @rlerdorf First part of the connection_status work. No user-callable functions
rlerdorf authored Sep 4, 1999
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 Jun 15, 1999
89 unsigned char header_is_being_sent;
f88464e @zsuraski Win32/ZTS compiles again
zsuraski authored Jun 19, 1999
90
91 /* for fsock */
92 HashTable ht_fsock_keys;
93 HashTable ht_fsock_socks;
011813c @zsuraski *** empty log message ***
zsuraski authored Apr 9, 1999
94 };
95
96
0994667 @zsuraski Thread-safe header_is_being_sent
zsuraski authored Apr 23, 1999
97 #endif /* _PHP_GLOBALS_H */
336392e * now using php4.ini instead of php3.ini
Stig Bakken authored Jun 15, 1999
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.