aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/radix.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-03 16:02:13 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-03 16:02:13 +0100
commit11d411e3850a36c3185c79d5fa091868b7ef4a81 (patch)
tree87534cfa8997b5889d465a3ce3d1f2eea4983044 /src/libutil/radix.h
parentf67ac5a70a1121eea7d16fd9ce0eb684cfbb48fe (diff)
downloadrspamd-11d411e3850a36c3185c79d5fa091868b7ef4a81.tar.gz
rspamd-11d411e3850a36c3185c79d5fa091868b7ef4a81.zip
Allow to get memory pool for radix tree.
Diffstat (limited to 'src/libutil/radix.h')
-rw-r--r--src/libutil/radix.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libutil/radix.h b/src/libutil/radix.h
index a7ea7f868..4200cf65e 100644
--- a/src/libutil/radix.h
+++ b/src/libutil/radix.h
@@ -104,4 +104,9 @@ gboolean radix_add_generic_iplist (const gchar *ip_list,
*/
gsize radix_get_size (radix_compressed_t *tree);
+/**
+ * Returns memory pool associated with the radix tree
+ */
+rspamd_mempool_t* radix_get_pool (radix_compressed_t *tree);
+
#endif