diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-09-15 14:35:33 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-09-15 14:35:33 +0100 |
commit | 8faa65961ae7dae4e0782f1cccf05630d4f8750a (patch) | |
tree | 9b4b5228356d8ececa590c68fd659fd8ba5fa3eb /src/libserver/re_cache.h | |
parent | 4e3cace514317d2535a7b811ecb9b4d962502d48 (diff) | |
download | rspamd-8faa65961ae7dae4e0782f1cccf05630d4f8750a.tar.gz rspamd-8faa65961ae7dae4e0782f1cccf05630d4f8750a.zip |
[Project] Implement selectors registration for regular expressions
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 |