diff options
| author | jvoisin | 2017-12-28 11:27:06 +0100 |
|---|---|---|
| committer | jvoisin | 2017-12-28 11:27:06 +0100 |
| commit | 89432f57aa9769d2efd5b8934241d10b005afd1a (patch) | |
| tree | 017061381147cb34c47ee9325cc3ab26a30c24db /src/sp_disabled_functions.h | |
| parent | ad4c76191bded05c419524a6fe03a14157b767ff (diff) | |
Implement hooking on user-defined functions return values
This should close #99, thanks to @blotus for the implementation idea!
Diffstat (limited to 'src/sp_disabled_functions.h')
| -rw-r--r-- | src/sp_disabled_functions.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sp_disabled_functions.h b/src/sp_disabled_functions.h index e9180c9..e43afe8 100644 --- a/src/sp_disabled_functions.h +++ b/src/sp_disabled_functions.h | |||
| @@ -3,5 +3,6 @@ | |||
| 3 | 3 | ||
| 4 | int hook_disabled_functions(); | 4 | int hook_disabled_functions(); |
| 5 | bool should_disable(zend_execute_data*, const char *, const char *, const char *); | 5 | bool should_disable(zend_execute_data*, const char *, const char *, const char *); |
| 6 | bool should_drop_on_ret(zval*, const zend_execute_data* const); | ||
| 6 | 7 | ||
| 7 | #endif /* __SP_DISABLE_FUNCTIONS_H */ | 8 | #endif /* __SP_DISABLE_FUNCTIONS_H */ |
