diff --git a/src/utils_avltree.h b/src/utils_avltree.h
index 355ced2493b971112f8fcb17f560f4cbeb1b6393..10fb5cbecf6ab46c9cc3a851f01732b5614d85b1 100644 (file)
--- a/src/utils_avltree.h
+++ b/src/utils_avltree.h
int c_avl_iterator_prev (c_avl_iterator_t *iter, void **key, void **value);
void c_avl_iterator_destroy (c_avl_iterator_t *iter);
+/*
+ * NAME
+ * c_avl_size
+ *
+ * DESCRIPTION
+ * Return the size (number of nodes) of the specified tree.
+ *
+ * PARAMETERS
+ * `t' AVL-tree to get the size of.
+ *
+ * RETURN VALUE
+ * Number of nodes in the tree, 0 if the tree is empty or NULL.
+ */
+int c_avl_size (c_avl_tree_t *t);
+
#endif /* UTILS_AVLTREE_H */