summaryrefslogtreecommitdiff
path: root/src/php_snuffleupagus.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/php_snuffleupagus.h')
-rw-r--r--src/php_snuffleupagus.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/php_snuffleupagus.h b/src/php_snuffleupagus.h
index d7c3e27..fb90d1c 100644
--- a/src/php_snuffleupagus.h
+++ b/src/php_snuffleupagus.h
@@ -58,10 +58,12 @@ extern zend_module_entry snuffleupagus_module_entry;
58#endif 58#endif
59 59
60ZEND_BEGIN_MODULE_GLOBALS(snuffleupagus) 60ZEND_BEGIN_MODULE_GLOBALS(snuffleupagus)
61bool in_eval;
61sp_config config; 62sp_config config;
62bool is_config_valid; 63bool is_config_valid;
63HashTable *disabled_functions_hook; 64HashTable *disabled_functions_hook;
64HashTable *sp_internal_functions_hook; 65HashTable *sp_internal_functions_hook;
66HashTable *sp_eval_filter_functions_hook;
65ZEND_END_MODULE_GLOBALS(snuffleupagus) 67ZEND_END_MODULE_GLOBALS(snuffleupagus)
66 68
67#define SNUFFLEUPAGUS_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(snuffleupagus, v) 69#define SNUFFLEUPAGUS_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(snuffleupagus, v)
@@ -83,6 +85,7 @@ ZEND_TSRMLS_CACHE_EXTERN()
83#endif 85#endif
84 86
85PHP_FUNCTION(check_disabled_function); 87PHP_FUNCTION(check_disabled_function);
88PHP_FUNCTION(eval_filter_callback);
86 89
87static inline void sp_terminate() { zend_bailout(); } 90static inline void sp_terminate() { zend_bailout(); }
88 91