aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/multipattern.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-14 19:09:04 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-14 19:09:04 +0100
commit45aeb65baa5793a1177bb823bd6bdd0b959d25f8 (patch)
treedde35fe6e398a322ba9f3f8aa61342e8015ec9b3 /src/libutil/multipattern.h
parentee1e8c27b804061f0e981ddc0b575291e4148c31 (diff)
downloadrspamd-45aeb65baa5793a1177bb823bd6bdd0b959d25f8.tar.gz
rspamd-45aeb65baa5793a1177bb823bd6bdd0b959d25f8.zip
[Feature] Implement caching for hyperscan multipattern
Diffstat (limited to 'src/libutil/multipattern.h')
-rw-r--r--src/libutil/multipattern.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libutil/multipattern.h b/src/libutil/multipattern.h
index e956b9182..d8f534b54 100644
--- a/src/libutil/multipattern.h
+++ b/src/libutil/multipattern.h
@@ -57,6 +57,12 @@ typedef gint (*rspamd_multipattern_cb_t) (struct rspamd_multipattern *mp,
void *context);
/**
+ * Init multipart library and set the appropriate cache dir
+ * @param cache_dir
+ */
+void rspamd_multipattern_library_init (const gchar *cache_dir);
+
+/**
* Creates empty multipattern structure
* @param flags
* @return