diff options
Diffstat (limited to 'src/libserver/rspamd_symcache.h')
-rw-r--r-- | src/libserver/rspamd_symcache.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/libserver/rspamd_symcache.h b/src/libserver/rspamd_symcache.h index b5e029a6b..965895221 100644 --- a/src/libserver/rspamd_symcache.h +++ b/src/libserver/rspamd_symcache.h @@ -249,7 +249,23 @@ void rspamd_symcache_enable_symbol_perm (struct rspamd_symcache *cache, struct rspamd_abstract_callback_data* rspamd_symcache_get_cbdata ( struct rspamd_symcache *cache, const gchar *symbol); +/** + * Adds flags to a symbol + * @param cache + * @param symbol + * @param flags + * @return + */ +gboolean rspamd_symcache_add_symbol_flags (struct rspamd_symcache *cache, + const gchar *symbol, + guint flags); + +gboolean rspamd_symcache_set_symbol_flags (struct rspamd_symcache *cache, + const gchar *symbol, + guint flags); +guint rspamd_symcache_get_symbol_flags (struct rspamd_symcache *cache, + const gchar *symbol); /** * Process settings for task * @param task |