summaryrefslogtreecommitdiff
path: root/src/tree.h
blob: 34e52f44a09ddc7e0a53371616665b367e07edfc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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);