diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-10 17:03:51 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-10 17:03:51 +0000 |
commit | 335ab27a5f6c0f393248d5b545c075f60d4cb623 (patch) | |
tree | 51ac76fbe4e235a7db314983c107dd20b49be705 /src/libserver/re_cache.h | |
parent | 4d5a265529bcdf5115cbb9fcc5688bf32232eb32 (diff) | |
download | rspamd-335ab27a5f6c0f393248d5b545c075f60d4cb623.tar.gz rspamd-335ab27a5f6c0f393248d5b545c075f60d4cb623.zip |
Allow to disable hyperscan and use pcre only
Diffstat (limited to 'src/libserver/re_cache.h')
-rw-r--r-- | src/libserver/re_cache.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libserver/re_cache.h b/src/libserver/re_cache.h index 8e3505ba7..062982df2 100644 --- a/src/libserver/re_cache.h +++ b/src/libserver/re_cache.h @@ -30,6 +30,7 @@ struct rspamd_re_cache; struct rspamd_re_runtime; struct rspamd_task; +struct rspamd_config; enum rspamd_re_type { RSPAMD_RE_HEADER, @@ -78,7 +79,8 @@ void rspamd_re_cache_replace (struct rspamd_re_cache *cache, /** * Initialize and optimize re cache structure */ -void rspamd_re_cache_init (struct rspamd_re_cache *cache); +void rspamd_re_cache_init (struct rspamd_re_cache *cache, + struct rspamd_config *cfg); /** * Get runtime data for a cache |