aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/radix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/radix.h')
-rw-r--r--src/libutil/radix.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libutil/radix.h b/src/libutil/radix.h
index 52dc96952..f89d30103 100644
--- a/src/libutil/radix.h
+++ b/src/libutil/radix.h
@@ -82,6 +82,15 @@ uintptr_t radix32tree_find (radix_tree_t *tree, guint32 key);
uintptr_t radix32_tree_find_addr (radix_tree_t *tree, rspamd_inet_addr_t *addr);
/**
+ * Find specified address in tree (works for any address)
+ * @param tree
+ * @param addr
+ * @return
+ */
+uintptr_t radix_find_compressed_addr (radix_compressed_t *tree,
+ rspamd_inet_addr_t *addr);
+
+/**
* Traverse via the whole tree calling specified callback
*/
void radix32tree_traverse (radix_tree_t *tree,