diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-14 13:38:27 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-14 13:38:27 +0000 |
commit | 03f3ae3e31d1b9e27830f29b388b2f3beb47aa06 (patch) | |
tree | b4235ccb5fe7935648cc7dc1ffb1150c44197195 /src/libutil/radix.h | |
parent | d212dc2bf89ec79a85fed3e368d171edd77aa7be (diff) | |
download | rspamd-03f3ae3e31d1b9e27830f29b388b2f3beb47aa06.tar.gz rspamd-03f3ae3e31d1b9e27830f29b388b2f3beb47aa06.zip |
Print more info about radix tries
Diffstat (limited to 'src/libutil/radix.h')
-rw-r--r-- | src/libutil/radix.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 @@ -96,6 +96,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 */ rspamd_mempool_t* radix_get_pool (radix_compressed_t *tree); |