summaryrefslogtreecommitdiffstats
path: root/src/libserver/rspamd_symcache.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-03-22 20:06:36 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-03-22 20:06:36 +0000
commit59df0cec677fb67bbf766f5dc1b387b03fed691b (patch)
tree05a7469e5a8c1eaf3eb6b740113c62d3d1546edf /src/libserver/rspamd_symcache.h
parentfbf41a8c872d63123512dda2629c2ed99adccfe2 (diff)
downloadrspamd-59df0cec677fb67bbf766f5dc1b387b03fed691b.tar.gz
rspamd-59df0cec677fb67bbf766f5dc1b387b03fed691b.zip
[Fix] Core: Fix squeezed dependencies handling for virtual symbols
Diffstat (limited to 'src/libserver/rspamd_symcache.h')
-rw-r--r--src/libserver/rspamd_symcache.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libserver/rspamd_symcache.h b/src/libserver/rspamd_symcache.h
index a038d6a9d..0228e4f5a 100644
--- a/src/libserver/rspamd_symcache.h
+++ b/src/libserver/rspamd_symcache.h
@@ -251,6 +251,15 @@ struct rspamd_abstract_callback_data* rspamd_symcache_get_cbdata (
struct rspamd_symcache *cache, const gchar *symbol);
/**
+ * Returns symbol's parent name (or symbol name itself)
+ * @param cache
+ * @param symbol
+ * @return
+ */
+const gchar *rspamd_symcache_get_parent (struct rspamd_symcache *cache,
+ const gchar *symbol);
+
+/**
* Adds flags to a symbol
* @param cache
* @param symbol