diff options
| author | Ben Fuhrmannek | 2021-08-06 20:17:38 +0200 |
|---|---|---|
| committer | Ben Fuhrmannek | 2021-08-06 20:17:38 +0200 |
| commit | 260f17f112e2d081783c6dc102f81666ac2435d9 (patch) | |
| tree | 959d5e83c91b77b52017d809656a8655fd017fa4 /src/sp_utils.h | |
| parent | 2b6086486be69533d0077585c7726b3efa175fe6 (diff) | |
restructured function hooks, implemented unhook
Diffstat (limited to 'src/sp_utils.h')
| -rw-r--r-- | src/sp_utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sp_utils.h b/src/sp_utils.h index 5537a34..ec79e8b 100644 --- a/src/sp_utils.h +++ b/src/sp_utils.h | |||
| @@ -82,6 +82,7 @@ void sp_log_disable(const char *restrict, const char *restrict, | |||
| 82 | void sp_log_disable_ret(const char *restrict, const zend_string *restrict, | 82 | void sp_log_disable_ret(const char *restrict, const zend_string *restrict, |
| 83 | const sp_disabled_function *); | 83 | const sp_disabled_function *); |
| 84 | bool hook_function(const char *, HashTable *, zif_handler); | 84 | bool hook_function(const char *, HashTable *, zif_handler); |
| 85 | void unhook_functions(HashTable *ht); | ||
| 85 | int hook_regexp(const sp_pcre *, HashTable *, zif_handler); | 86 | int hook_regexp(const sp_pcre *, HashTable *, zif_handler); |
| 86 | bool check_is_in_eval_whitelist(const zend_string *const function_name); | 87 | bool check_is_in_eval_whitelist(const zend_string *const function_name); |
| 87 | int sp_log_request(const zend_string *restrict folder, | 88 | int sp_log_request(const zend_string *restrict folder, |
