20 #ifndef DEBIAN_INSTALLER__TREE_H
21 #define DEBIAN_INSTALLER__TREE_H
23 #include <debian-installer/types.h>
di_tree * di_tree_new_full(di_compare_func key_compare_func, di_destroy_notify key_destroy_func, di_destroy_notify value_destroy_func)
Definition: tree.c:69
void di_tree_destroy(di_tree *tree)
Definition: tree.c:96
di_ksize_t di_tree_size(di_tree *tree)
Definition: tree.c:275
void * di_tree_lookup(di_tree *tree, const void *key)
Definition: tree.c:297
void di_tree_foreach(di_tree *tree, di_hfunc *func, void *user_data)
Definition: tree.c:270
void di_tree_insert(di_tree *tree, void *key, void *value)
Definition: tree.c:250
di_tree * di_tree_new(di_compare_func key_compare_func)
Definition: tree.c:64
uint32_t di_ksize_t
Definition: types.h:78
int di_compare_func(const void *key1, const void *key2)
Definition: types.h:38
void di_destroy_notify(void *data)
Definition: types.h:50
Tree.
Definition: tree.c:41
di_compare_func * key_compare_func
Definition: tree.c:44
di_destroy_notify * key_destroy_func
Definition: tree.c:45
di_destroy_notify * value_destroy_func
Definition: tree.c:46