aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/re_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/re_cache.h')
-rw-r--r--src/libserver/re_cache.h4
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