From 03f3ae3e31d1b9e27830f29b388b2f3beb47aa06 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 14 Feb 2016 13:38:27 +0000 Subject: Print more info about radix tries --- src/libutil/radix.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/libutil/radix.h') diff --git a/src/libutil/radix.h b/src/libutil/radix.h index b2c4ed44f..41309fe72 100644 --- a/src/libutil/radix.h +++ b/src/libutil/radix.h @@ -95,6 +95,13 @@ gboolean radix_add_generic_iplist (const gchar *ip_list, */ gsize radix_get_size (radix_compressed_t *tree); +/** + * Return string that describes this radix tree (memory, nodes, compression etc) + * @param tree + * @return constant string + */ +const gchar * radix_get_info (radix_compressed_t *tree); + /** * Returns memory pool associated with the radix tree */ -- cgit v1.2.3