summaryrefslogtreecommitdiffstats
path: root/src/libserver/rspamd_symcache.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-04-19 23:18:25 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-04-19 23:18:25 +0100
commitaf563a9c416845d9b4c40dd07d5c038cb47495d3 (patch)
tree8be520385ea8d79bf03982b5cde33f90cd2e6690 /src/libserver/rspamd_symcache.h
parent68592632c80ad5ddfa69b7cda92568adb92fe7f0 (diff)
downloadrspamd-af563a9c416845d9b4c40dd07d5c038cb47495d3.tar.gz
rspamd-af563a9c416845d9b4c40dd07d5c038cb47495d3.zip
[Project] Remove obsoleted methods
Diffstat (limited to 'src/libserver/rspamd_symcache.h')
-rw-r--r--src/libserver/rspamd_symcache.h45
1 files changed, 0 insertions, 45 deletions
diff --git a/src/libserver/rspamd_symcache.h b/src/libserver/rspamd_symcache.h
index 71cb6e285..62a4c8714 100644
--- a/src/libserver/rspamd_symcache.h
+++ b/src/libserver/rspamd_symcache.h
@@ -243,23 +243,6 @@ void rspamd_symcache_add_delayed_dependency (struct rspamd_symcache *cache,
const gchar *from, const gchar *to);
/**
- * Disable specific symbol in the cache
- * @param cache
- * @param symbol
- */
-void rspamd_symcache_disable_symbol_perm (struct rspamd_symcache *cache,
- const gchar *symbol,
- gboolean resolve_parent);
-
-/**
- * Enable specific symbol in the cache
- * @param cache
- * @param symbol
- */
-void rspamd_symcache_enable_symbol_perm (struct rspamd_symcache *cache,
- const gchar *symbol);
-
-/**
* Get abstract callback data for a symbol (or its parent symbol)
* @param cache cache object
* @param symbol symbol name
@@ -540,34 +523,6 @@ const gchar* rspamd_symcache_item_name (struct rspamd_symcache_item *item);
*/
const struct rspamd_symcache_item_stat *
rspamd_symcache_item_stat (struct rspamd_symcache_item *item);
-/**
- * Returns if an item is enabled (for virtual it also means that parent should be enabled)
- * @param item
- * @return
- */
-gboolean rspamd_symcache_item_is_enabled (struct rspamd_symcache_item *item);
-/**
- * Returns parent for virtual symbols (or NULL)
- * @param item
- * @return
- */
-struct rspamd_symcache_item * rspamd_symcache_item_get_parent (
- struct rspamd_symcache_item *item);
-/**
- * Returns direct deps for an element
- * @param item
- * @return array of struct rspamd_symcache_item *
- */
-const GPtrArray* rspamd_symcache_item_get_deps (
- struct rspamd_symcache_item *item);
-/**
- * Returns direct reverse deps for an element
- * @param item
- * @return array of struct rspamd_symcache_item *
- */
-const GPtrArray* rspamd_symcache_item_get_rdeps (
- struct rspamd_symcache_item *item);
-
/**
* Enable profiling for task (e.g. when a slow rule has been found)