summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-02-07 15:47:07 +0100
committerVolker Lendecke <vl@samba.org>2010-02-13 13:26:11 +0100
commit3ab78e31f095639a77ea3c086e765d91424fa6fa (patch)
tree78019f93643788d30302bff09f9934ea26f6faed /source3/lib
parent22607320841100148dbaed17983be7703d2172b1 (diff)
downloadsamba-3ab78e31f095639a77ea3c086e765d91424fa6fa.tar.gz
samba-3ab78e31f095639a77ea3c086e765d91424fa6fa.tar.bz2
samba-3ab78e31f095639a77ea3c086e765d91424fa6fa.zip
s3: Make adt_tree data definitions private to adt_tree.c
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/adt_tree.c14
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);
+};
/**************************************************************************
*************************************************************************/