diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-03-17 11:45:35 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-03-17 11:45:35 +0000 |
commit | 044a7abd8a9ba2e63d80438609b5a36cb6c866d6 (patch) | |
tree | e8f7a05ce5061d57070b971a1ad44678ca8d6410 /src/libutil/regexp.h | |
parent | 1999b5b9ed2006874582eba93cc6961559fa9ddb (diff) | |
download | rspamd-044a7abd8a9ba2e63d80438609b5a36cb6c866d6.tar.gz rspamd-044a7abd8a9ba2e63d80438609b5a36cb6c866d6.zip |
[Minor] Add safe-guard for a number of regular expressions to be cached
Diffstat (limited to 'src/libutil/regexp.h')
-rw-r--r-- | src/libutil/regexp.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/libutil/regexp.h b/src/libutil/regexp.h index 239df03b4..94cc3d28e 100644 --- a/src/libutil/regexp.h +++ b/src/libutil/regexp.h @@ -210,17 +210,6 @@ rspamd_regexp_t *rspamd_regexp_cache_query (struct rspamd_regexp_cache *cache, const gchar *flags); /** - * Insert item to the cache using custom pattern and flags - * @param cache - * @param pattern - * @param flags - * @param re - */ -void rspamd_regexp_cache_insert (struct rspamd_regexp_cache *cache, - const gchar *pattern, - const gchar *flags, rspamd_regexp_t *re); - -/** * Create or get cached regexp from the specified cache * @param cache regexp cache. if NULL, the superglobal cache is used (*not* thread-safe) * @param pattern regexp pattern |