aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/symbols_cache.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-12 17:36:58 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-12 17:36:58 +0100
commit2785fadecc3d0a2a849ba17bc0ab14a48bee7e4c (patch)
treea056a26243c8c251b7fe8f864abe949e32dcaaf6 /src/libserver/symbols_cache.h
parent437727abc962967796b726814dcdf9d3c713a475 (diff)
downloadrspamd-2785fadecc3d0a2a849ba17bc0ab14a48bee7e4c.tar.gz
rspamd-2785fadecc3d0a2a849ba17bc0ab14a48bee7e4c.zip
[Feature] Allow to disable composite rules from settings
Diffstat (limited to 'src/libserver/symbols_cache.h')
-rw-r--r--src/libserver/symbols_cache.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libserver/symbols_cache.h b/src/libserver/symbols_cache.h
index 1a4c0c3ed..290e754d0 100644
--- a/src/libserver/symbols_cache.h
+++ b/src/libserver/symbols_cache.h
@@ -231,4 +231,14 @@ gboolean rspamd_symbols_cache_set_cbdata (struct symbols_cache *cache,
gboolean rspamd_symbols_cache_process_settings (struct rspamd_task *task,
struct symbols_cache *cache);
+
+/**
+ * Checks if a symbol specified has been checked (or disabled)
+ * @param task
+ * @param cache
+ * @param symbol
+ * @return
+ */
+gboolean rspamd_symbols_cache_is_checked (struct rspamd_task *task,
+ struct symbols_cache *cache, const gchar *symbol);
#endif