From 3ab78e31f095639a77ea3c086e765d91424fa6fa Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 7 Feb 2010 15:47:07 +0100 Subject: s3: Make adt_tree data definitions private to adt_tree.c --- source3/lib/adt_tree.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'source3/lib') 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); +}; /************************************************************************** *************************************************************************/ -- cgit