aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/regexp.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-05 09:50:25 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-05 09:50:25 +0000
commit6aeab25b1d1e1d49b94ee152ded2c011c6f7d5e1 (patch)
tree71c36fdb81260537aeb493e364374b691110a035 /src/libutil/regexp.h
parent58ff3a43b71928263415a8a874943de9de158018 (diff)
downloadrspamd-6aeab25b1d1e1d49b94ee152ded2c011c6f7d5e1.tar.gz
rspamd-6aeab25b1d1e1d49b94ee152ded2c011c6f7d5e1.zip
Implement cache functions.
Diffstat (limited to 'src/libutil/regexp.h')
-rw-r--r--src/libutil/regexp.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libutil/regexp.h b/src/libutil/regexp.h
index 4ca4196a0..e44fbee01 100644
--- a/src/libutil/regexp.h
+++ b/src/libutil/regexp.h
@@ -105,4 +105,14 @@ rspamd_regexp_t* rspamd_regexp_cache_create (struct rspamd_regexp_cache *cache,
*/
void rspamd_regexp_cache_destroy (struct rspamd_regexp_cache *cache);
+/**
+ * Initialize superglobal regexp cache and library
+ */
+void rspamd_regexp_library_init (void);
+
+/**
+ * Cleanup internal library structures
+ */
+void rspamd_regexp_library_finalize (void);
+
#endif /* REGEXP_H_ */