blob: 021b773c6640f6e3a5b853ed8e51f7852f5b5c80 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
struct Tree;
/*
struct Data {
size_t length;
void *data;
};
*/
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);
// void *
// tree_search();
|