summaryrefslogtreecommitdiff
path: root/src/sp_utils.h
diff options
context:
space:
mode:
authorxXx-caillou-xXx2017-12-20 18:09:53 +0100
committerjvoisin2017-12-20 18:09:53 +0100
commite7f541396715ee2895abcf73044b91ae9b746201 (patch)
treeba0e9765e7f14f04b92585df1f3fcd1830ab4b00 /src/sp_utils.h
parent8d6cc4f2b63c3f0dc31fe6cecd34ac023ea1cccb (diff)
Better parsing of the rules
Thanks to this huge commit from @xXx-caillou-xXx, we can now write amazingly flexible rules.
Diffstat (limited to 'src/sp_utils.h')
-rw-r--r--src/sp_utils.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/sp_utils.h b/src/sp_utils.h
index a17ac4f..e54f307 100644
--- a/src/sp_utils.h
+++ b/src/sp_utils.h
@@ -57,14 +57,12 @@ void sp_log_msg(char const *feature, char const *level, const char* fmt, ...);
57int compute_hash(const char *const filename, char *file_hash); 57int compute_hash(const char *const filename, char *file_hash);
58char *sp_convert_to_string(zval *); 58char *sp_convert_to_string(zval *);
59bool sp_match_value(const char *, const char *, const pcre *); 59bool sp_match_value(const char *, const char *, const pcre *);
60int sp_match_array_key(const zval *, const char *, const pcre *); 60bool sp_match_array_key(const zval *, const char *, const pcre *);
61int sp_match_array_key_recurse(const zval *, sp_node_t *, const char *, 61bool sp_match_array_value(const zval *, const char *, const pcre *);
62 const pcre *);
63void sp_log_disable(const char *restrict, const char *restrict, 62void sp_log_disable(const char *restrict, const char *restrict,
64 const char *restrict, const sp_disabled_function *); 63 const char *restrict, const sp_disabled_function *);
65void sp_log_disable_ret(const char *restrict, const char *restrict, 64void sp_log_disable_ret(const char *restrict, const char *restrict,
66 const sp_disabled_function *); 65 const sp_disabled_function *);
67char *sp_getenv(char *);
68int is_regexp_matching(const pcre *, const char *); 66int is_regexp_matching(const pcre *, const char *);
69int hook_function(const char *, HashTable *, 67int hook_function(const char *, HashTable *,
70 void (*)(INTERNAL_FUNCTION_PARAMETERS), bool); 68 void (*)(INTERNAL_FUNCTION_PARAMETERS), bool);