aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/radix.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-04-23 12:41:17 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-04-23 12:41:17 +0100
commitfc23f700aa82df48915a117d3c6d823f5ad82332 (patch)
treef1fd48a6bfd81f079a3320b82165551049d31a0f /src/libutil/radix.h
parent0bdb02adef792705f01eb2e9f1a153ceec26f4a7 (diff)
downloadrspamd-fc23f700aa82df48915a117d3c6d823f5ad82332.tar.gz
rspamd-fc23f700aa82df48915a117d3c6d823f5ad82332.zip
[Minor] Allow to create radix tree from the pool
Diffstat (limited to 'src/libutil/radix.h')
-rw-r--r--src/libutil/radix.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/radix.h b/src/libutil/radix.h
index c04528000..be75b1b7f 100644
--- a/src/libutil/radix.h
+++ b/src/libutil/radix.h
@@ -71,6 +71,8 @@ void radix_destroy_compressed (radix_compressed_t *tree);
*/
radix_compressed_t *radix_create_compressed (void);
+radix_compressed_t *radix_create_compressed_with_pool (rspamd_mempool_t *pool);
+
/**
* Insert list of ip addresses and masks to the radix tree
* @param list string line of addresses