From 45aeb65baa5793a1177bb823bd6bdd0b959d25f8 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 14 Apr 2016 19:09:04 +0100 Subject: [Feature] Implement caching for hyperscan multipattern --- src/libutil/multipattern.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/libutil/multipattern.h') 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 @@ -56,6 +56,12 @@ typedef gint (*rspamd_multipattern_cb_t) (struct rspamd_multipattern *mp, gsize len, 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 -- cgit v1.2.3