aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/rspamd_symcache.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-06 12:29:25 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-06 12:29:25 +0100
commitcb40d91448fee3cd8069a155e42effd39c8b0f92 (patch)
treed86e9f2b5c476e70e6949f8bcd8a05478f41d233 /src/libserver/rspamd_symcache.c
parentff024667584fa62f342507647ef0beab5917cf58 (diff)
downloadrspamd-cb40d91448fee3cd8069a155e42effd39c8b0f92.tar.gz
rspamd-cb40d91448fee3cd8069a155e42effd39c8b0f92.zip
[Project] Add C method to process ANN tokens vector
Diffstat (limited to 'src/libserver/rspamd_symcache.c')
-rw-r--r--src/libserver/rspamd_symcache.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libserver/rspamd_symcache.c b/src/libserver/rspamd_symcache.c
index d6fa726c6..3de339654 100644
--- a/src/libserver/rspamd_symcache.c
+++ b/src/libserver/rspamd_symcache.c
@@ -3390,4 +3390,14 @@ rspamd_symcache_process_settings_elt (struct rspamd_symcache *cache,
}
}
}
+}
+
+enum rspamd_symbol_type
+rspamd_symcache_item_flags (struct rspamd_symcache_item *item)
+{
+ if (item) {
+ return item->type;
+ }
+
+ return 0;
} \ No newline at end of file