diff options
Diffstat (limited to 'src/libserver/re_cache.h')
-rw-r--r-- | src/libserver/re_cache.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libserver/re_cache.h b/src/libserver/re_cache.h index 90acd1501..c14b29ef0 100644 --- a/src/libserver/re_cache.h +++ b/src/libserver/re_cache.h @@ -171,4 +171,10 @@ gboolean rspamd_re_cache_is_valid_hyperscan_file (struct rspamd_re_cache *cache, */ gboolean rspamd_re_cache_load_hyperscan (struct rspamd_re_cache *cache, const char *cache_dir); + +/** + * Registers lua selector in the cache + */ +void rspamd_re_cache_add_selector (struct rspamd_re_cache *cache, + const gchar *sname, gint ref); #endif |