diff options
Diffstat (limited to 'src/tree.h')
-rw-r--r-- | src/tree.h | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -0,0 +1,16 @@ +struct Tree; + +int +tree_new(const size_t value_size, const struct Tree **const out); + +void +tree_free(const struct Tree **const t); + +int +tree_add(const struct Tree *const t, const void *const value); + +bool +tree_remove(const struct Tree *const t, const void *const value); + +bool +tree_contains(const struct Tree *const, const void *const value); |