diff options
Diffstat (limited to 'src/php_snuffleupagus.h')
| -rw-r--r-- | src/php_snuffleupagus.h | 3 |
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 | ||
| 60 | ZEND_BEGIN_MODULE_GLOBALS(snuffleupagus) | 60 | ZEND_BEGIN_MODULE_GLOBALS(snuffleupagus) |
| 61 | bool in_eval; | ||
| 61 | sp_config config; | 62 | sp_config config; |
| 62 | bool is_config_valid; | 63 | bool is_config_valid; |
| 63 | HashTable *disabled_functions_hook; | 64 | HashTable *disabled_functions_hook; |
| 64 | HashTable *sp_internal_functions_hook; | 65 | HashTable *sp_internal_functions_hook; |
| 66 | HashTable *sp_eval_filter_functions_hook; | ||
| 65 | ZEND_END_MODULE_GLOBALS(snuffleupagus) | 67 | ZEND_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 | ||
| 85 | PHP_FUNCTION(check_disabled_function); | 87 | PHP_FUNCTION(check_disabled_function); |
| 88 | PHP_FUNCTION(eval_filter_callback); | ||
| 86 | 89 | ||
| 87 | static inline void sp_terminate() { zend_bailout(); } | 90 | static inline void sp_terminate() { zend_bailout(); } |
| 88 | 91 | ||
