summaryrefslogtreecommitdiff
path: root/php_suhosin7.h
diff options
context:
space:
mode:
Diffstat (limited to 'php_suhosin7.h')
-rw-r--r--php_suhosin7.h25
1 files changed, 16 insertions, 9 deletions
diff --git a/php_suhosin7.h b/php_suhosin7.h
index 75244fe..6c515ba 100644
--- a/php_suhosin7.h
+++ b/php_suhosin7.h
@@ -205,16 +205,16 @@ ZEND_BEGIN_MODULE_GLOBALS(suhosin7)
205 zend_bool disallow_post_ws; 205 zend_bool disallow_post_ws;
206 206
207/* fileupload */ 207/* fileupload */
208 // zend_long upload_limit; 208 zend_long upload_max_newlines;
209 // zend_long upload_max_newlines; 209 zend_long upload_limit;
210 // zend_long num_uploads; 210 zend_long num_uploads;
211 // zend_bool upload_disallow_elf; 211 zend_bool upload_disallow_elf;
212 // zend_bool upload_disallow_binary; 212 zend_bool upload_disallow_binary;
213 // zend_bool upload_remove_binary; 213 zend_bool upload_remove_binary;
214#ifdef SUHOSIN7_EXPERIMENTAL 214#ifdef SUHOSIN7_EXPERIMENTAL
215 // zend_bool upload_allow_utf8; 215 zend_bool upload_allow_utf8;
216#endif 216#endif
217 // char *upload_verification_script; 217 char *upload_verification_script;
218 218
219 zend_bool no_more_variables; 219 zend_bool no_more_variables;
220 zend_bool no_more_get_variables; 220 zend_bool no_more_get_variables;
@@ -389,12 +389,18 @@ void suhosin_hook_header_handler();
389void suhosin_unhook_header_handler(); 389void suhosin_unhook_header_handler();
390void suhosin_hook_execute(); 390void suhosin_hook_execute();
391// void suhosin_hook_sha256(); 391// void suhosin_hook_sha256();
392void suhosin_hook_ex_imp();
393
392#ifdef HAVE_PHP_SESSION 394#ifdef HAVE_PHP_SESSION
393void suhosin_hook_session(); 395void suhosin_hook_session();
394#endif 396#endif
395 397
398void suhosin_hook_post_handlers();
399
396// ifilter.c 400// ifilter.c
397void suhosin_normalize_varname(char *varname); 401void suhosin_normalize_varname(char *varname);
402size_t suhosin_strnspn(const char *input, size_t n, const char *accept);
403size_t suhosin_strncspn(const char *input, size_t n, const char *reject);
398 404
399// cookiecrypt.c 405// cookiecrypt.c
400char *suhosin_cookie_decryptor(char *raw_cookie); 406char *suhosin_cookie_decryptor(char *raw_cookie);
@@ -413,6 +419,7 @@ void suhosin_aes_gkey(int nb,int nk,char *key);
413void suhosin_aes_encrypt(char *buff); 419void suhosin_aes_encrypt(char *buff);
414void suhosin_aes_decrypt(char *buff); 420void suhosin_aes_decrypt(char *buff);
415 421
422
416// 423//
417 424
418static inline void suhosin_bailout() 425static inline void suhosin_bailout()
@@ -431,7 +438,7 @@ static inline char *suhosin_get_active_function_name() {
431} 438}
432 439
433#ifdef SUHOSIN_STRCASESTR 440#ifdef SUHOSIN_STRCASESTR
434char *suhosin_strcasestr(char *haystack, char *needle) 441char *suhosin_strcasestr(char *haystack, char *needle);
435#else 442#else
436#define suhosin_strcasestr(a, b) strcasestr(a, b) 443#define suhosin_strcasestr(a, b) strcasestr(a, b)
437#endif 444#endif