diff options
Diffstat (limited to 'source3/lib/adt_tree.c')
-rw-r--r-- | source3/lib/adt_tree.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source3/lib/adt_tree.c b/source3/lib/adt_tree.c index b184394614..343173b4f4 100644 --- a/source3/lib/adt_tree.c +++ b/source3/lib/adt_tree.c @@ -20,6 +20,20 @@ #include "includes.h" #include "adt_tree.h" +struct tree_node { + struct tree_node *parent; + struct tree_node **children; + int num_children; + char *key; + void *data_p; +}; + +struct sorted_tree { + struct tree_node *root; + + /* not used currently (is it needed?) */ + int (*compare)(void* x, void *y); +}; /************************************************************************** *************************************************************************/ |