summaryrefslogtreecommitdiff
path: root/src/splaytree.h
diff options
context:
space:
mode:
authorstbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9>2015-09-18 15:15:18 +0000
committerstbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9>2015-09-18 15:15:18 +0000
commit8b2630a82fbecfd57fa38aebb397a755936690e5 (patch)
treea9cfcd7bb5bea87d63fc8ef81c8456a130a249bc /src/splaytree.h
parente57c8295ebe92b58ca3e68fa8ea8f70d4b0b4cee (diff)
downloadlighttpd-master.tar.gz
add README to point to lighttpd-1.4.x as stableHEADmaster
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@3041 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/splaytree.h')
-rw-r--r--src/splaytree.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/splaytree.h b/src/splaytree.h
deleted file mode 100644
index e9c1c68e..00000000
--- a/src/splaytree.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifndef _SPLAY_TREE_H_
-#define _SPLAY_TREE_H_
-
-typedef struct tree_node {
- struct tree_node * left, * right;
- int key;
- int size; /* maintained to be the number of nodes rooted here */
-
- void *data;
-} splay_tree;
-
-
-LI_EXPORT splay_tree * splaytree_splay (splay_tree *t, int key);
-LI_EXPORT splay_tree * splaytree_insert(splay_tree *t, int key, void *data);
-LI_EXPORT splay_tree * splaytree_delete(splay_tree *t, int key);
-LI_EXPORT splay_tree * splaytree_size(splay_tree *t);
-
-#define splaytree_size(x) (((x)==NULL) ? 0 : ((x)->size))
-/* This macro returns the size of a node. Unlike "x->size", */
-/* it works even if x=NULL. The test could be avoided by using */
-/* a special version of NULL which was a real node with size 0. */
-
-
-#endif