diff options
| author | xXx-caillou-xXx | 2018-07-13 11:38:51 +0200 |
|---|---|---|
| committer | jvoisin | 2018-07-13 09:38:51 +0000 |
| commit | 94649dee9e8b8b6c6c28b79d565ae7b388e3d6d9 (patch) | |
| tree | 106df2ad6824ec1c352fd57f577372778e64385b /src/sp_disabled_functions.h | |
| parent | 7963580d72a358975133f86f01de2d2eab08ba38 (diff) | |
Allow rules matching on echo and print
Diffstat (limited to 'src/sp_disabled_functions.h')
| -rw-r--r-- | src/sp_disabled_functions.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sp_disabled_functions.h b/src/sp_disabled_functions.h index 4e795a1..83b1551 100644 --- a/src/sp_disabled_functions.h +++ b/src/sp_disabled_functions.h | |||
| @@ -1,7 +1,10 @@ | |||
| 1 | #ifndef __SP_DISABLE_FUNCTIONS_H | 1 | #ifndef __SP_DISABLE_FUNCTIONS_H |
| 2 | #define __SP_DISABLE_FUNCTIONS_H | 2 | #define __SP_DISABLE_FUNCTIONS_H |
| 3 | 3 | ||
| 4 | extern zend_write_func_t zend_write_default; | ||
| 5 | |||
| 4 | int hook_disabled_functions(); | 6 | int hook_disabled_functions(); |
| 7 | int hook_echo(const char*, size_t); | ||
| 5 | bool should_disable(zend_execute_data *, const char *, const zend_string *, | 8 | bool should_disable(zend_execute_data *, const char *, const zend_string *, |
| 6 | const char *, const sp_list_node *, const zend_string *); | 9 | const char *, const sp_list_node *, const zend_string *); |
| 7 | bool should_disable_ht(zend_execute_data *, const char *, const zend_string *, | 10 | bool should_disable_ht(zend_execute_data *, const char *, const zend_string *, |
