summaryrefslogtreecommitdiff
path: root/php_suhosin.h
diff options
context:
space:
mode:
authorBen Fuhrmannek2016-09-23 17:35:03 +0200
committerBen Fuhrmannek2016-09-23 17:35:03 +0200
commit200e697807b4de3af042edb3dea4d3db8fba9f03 (patch)
treed62cbe31b3c8789b92fc19f72039a7a4e57750d8 /php_suhosin.h
parent5f2b52cbc278bcf587160a21790d5c6ebe181178 (diff)
whitespace / code indentation
Diffstat (limited to 'php_suhosin.h')
-rw-r--r--php_suhosin.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/php_suhosin.h b/php_suhosin.h
index 326ceb2..a3d6de1 100644
--- a/php_suhosin.h
+++ b/php_suhosin.h
@@ -36,7 +36,7 @@
36 {FILE *f;f=fopen(SUHOSIN_LOG, "a+");if(f){fprintf(f,"[%u] ",getpid());fprintf(f, msg);fprintf(f,"\n");fclose(f);}} 36 {FILE *f;f=fopen(SUHOSIN_LOG, "a+");if(f){fprintf(f,"[%u] ",getpid());fprintf(f, msg);fprintf(f,"\n");fclose(f);}}
37#else 37#else
38#define SDEBUG(msg...) 38#define SDEBUG(msg...)
39#endif 39#endif
40#endif 40#endif
41 41
42#ifndef PHP_VERSION_ID 42#ifndef PHP_VERSION_ID
@@ -124,7 +124,7 @@ ZEND_BEGIN_MODULE_GLOBALS(suhosin)
124 zend_uint in_code_type; 124 zend_uint in_code_type;
125 long execution_depth; 125 long execution_depth;
126 zend_bool simulation; 126 zend_bool simulation;
127 zend_bool stealth; 127 zend_bool stealth;
128 zend_bool protectkey; 128 zend_bool protectkey;
129 zend_bool executor_allow_symlink; 129 zend_bool executor_allow_symlink;
130 char *filter_action; 130 char *filter_action;
@@ -135,7 +135,7 @@ ZEND_BEGIN_MODULE_GLOBALS(suhosin)
135 long sql_opencomment; 135 long sql_opencomment;
136 long sql_union; 136 long sql_union;
137 long sql_mselect; 137 long sql_mselect;
138 138
139 long max_execution_depth; 139 long max_execution_depth;
140 zend_bool abort_request; 140 zend_bool abort_request;
141 long executor_include_max_traversal; 141 long executor_include_max_traversal;
@@ -212,7 +212,7 @@ ZEND_BEGIN_MODULE_GLOBALS(suhosin)
212 zend_bool upload_allow_utf8; 212 zend_bool upload_allow_utf8;
213#endif 213#endif
214 char *upload_verification_script; 214 char *upload_verification_script;
215 215
216 zend_bool no_more_variables; 216 zend_bool no_more_variables;
217 zend_bool no_more_get_variables; 217 zend_bool no_more_get_variables;
218 zend_bool no_more_post_variables; 218 zend_bool no_more_post_variables;
@@ -237,13 +237,13 @@ ZEND_BEGIN_MODULE_GLOBALS(suhosin)
237 char *log_filename; 237 char *log_filename;
238 zend_bool log_file_time; 238 zend_bool log_file_time;
239 long log_max_error_length; 239 long log_max_error_length;
240 240
241/* header handler */ 241/* header handler */
242 zend_bool allow_multiheader; 242 zend_bool allow_multiheader;
243 243
244/* mailprotect */ 244/* mailprotect */
245 long mailprotect; 245 long mailprotect;
246 246
247/* memory_limit */ 247/* memory_limit */
248 long memory_limit; 248 long memory_limit;
249 long hard_memory_limit; 249 long hard_memory_limit;
@@ -263,18 +263,18 @@ ZEND_BEGIN_MODULE_GLOBALS(suhosin)
263 BYTE fi[24],ri[24]; 263 BYTE fi[24],ri[24];
264 WORD fkey[120]; 264 WORD fkey[120];
265 WORD rkey[120]; 265 WORD rkey[120];
266 266
267 zend_bool session_encrypt; 267 zend_bool session_encrypt;
268 char* session_cryptkey; 268 char* session_cryptkey;
269 zend_bool session_cryptua; 269 zend_bool session_cryptua;
270 zend_bool session_cryptdocroot; 270 zend_bool session_cryptdocroot;
271 long session_cryptraddr; 271 long session_cryptraddr;
272 long session_checkraddr; 272 long session_checkraddr;
273 273
274 long session_max_id_length; 274 long session_max_id_length;
275 275
276 char* decrypted_cookie; 276 char* decrypted_cookie;
277 char* raw_cookie; 277 char* raw_cookie;
278 zend_bool cookie_encrypt; 278 zend_bool cookie_encrypt;
279 char* cookie_cryptkey; 279 char* cookie_cryptkey;
280 zend_bool cookie_cryptua; 280 zend_bool cookie_cryptua;
@@ -283,30 +283,30 @@ ZEND_BEGIN_MODULE_GLOBALS(suhosin)
283 long cookie_checkraddr; 283 long cookie_checkraddr;
284 HashTable *cookie_plainlist; 284 HashTable *cookie_plainlist;
285 HashTable *cookie_cryptlist; 285 HashTable *cookie_cryptlist;
286 286
287 zend_bool coredump; 287 zend_bool coredump;
288 zend_bool apc_bug_workaround; 288 zend_bool apc_bug_workaround;
289 zend_bool already_scanned; 289 zend_bool already_scanned;
290 zend_bool do_not_scan; 290 zend_bool do_not_scan;
291 291
292 zend_bool server_encode; 292 zend_bool server_encode;
293 zend_bool server_strip; 293 zend_bool server_strip;
294 294
295 zend_bool disable_display_errors; 295 zend_bool disable_display_errors;
296 296
297 php_uint32 r_state[625]; 297 php_uint32 r_state[625];
298 php_uint32 *r_next; 298 php_uint32 *r_next;
299 int r_left; 299 int r_left;
300 zend_bool srand_ignore; 300 zend_bool srand_ignore;
301 zend_bool mt_srand_ignore; 301 zend_bool mt_srand_ignore;
302 php_uint32 mt_state[625]; 302 php_uint32 mt_state[625];
303 php_uint32 *mt_next; 303 php_uint32 *mt_next;
304 int mt_left; 304 int mt_left;
305 305
306 char *seedingkey; 306 char *seedingkey;
307 zend_bool reseed_every_request; 307 zend_bool reseed_every_request;
308 308
309 zend_bool r_is_seeded; 309 zend_bool r_is_seeded;
310 zend_bool mt_is_seeded; 310 zend_bool mt_is_seeded;
311 311
312 /* PERDIR Handling */ 312 /* PERDIR Handling */