summaryrefslogtreecommitdiff
path: root/src/sp_utils.h
diff options
context:
space:
mode:
authorkkadosh2018-03-19 16:39:47 +0000
committerblotus2018-03-19 17:39:47 +0100
commit39929ce509361ee72746a9b971bdc531fbf0b843 (patch)
treec3455c4e4428d3b613e926b28619396960a2713e /src/sp_utils.h
parent3659eb1542270d25c36fb3f38600e85cb8b6a22b (diff)
The filename filter is now matching on callsite instead of implemsite (#167)
* Add match on the file where the function is called * Add the test * Constify some params * Fix potentiel null deref * Return more before if execute_data is NULL
Diffstat (limited to 'src/sp_utils.h')
-rw-r--r--src/sp_utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sp_utils.h b/src/sp_utils.h
index b92f16d..61a23f9 100644
--- a/src/sp_utils.h
+++ b/src/sp_utils.h
@@ -49,7 +49,8 @@ bool sp_match_value(const char *, const char *, const sp_pcre *);
49bool sp_match_array_key(const zval *, const char *, const sp_pcre *); 49bool sp_match_array_key(const zval *, const char *, const sp_pcre *);
50bool sp_match_array_value(const zval *, const char *, const sp_pcre *); 50bool sp_match_array_value(const zval *, const char *, const sp_pcre *);
51void sp_log_disable(const char *restrict, const char *restrict, 51void sp_log_disable(const char *restrict, const char *restrict,
52 const char *restrict, const sp_disabled_function *); 52 const char *restrict, const sp_disabled_function *,
53 unsigned int, const char*restrict);
53void sp_log_disable_ret(const char *restrict, const char *restrict, 54void sp_log_disable_ret(const char *restrict, const char *restrict,
54 const sp_disabled_function *); 55 const sp_disabled_function *);
55int hook_function(const char *, HashTable *, 56int hook_function(const char *, HashTable *,