aboutsummaryrefslogtreecommitdiff
path: root/lib/splay.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-05-27 22:26:41 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-05-27 22:26:41 +0000
commit973d63f4f29591b4589013775a9e5536285f0d9c (patch)
tree0f20d222a9a7507b7f0ea15fb1ce19d566c62f2f /lib/splay.h
parent405d98ee6391d8bdb1c0d3efcc7f6e4358c6465f (diff)
one modified proto and one removed proto
Diffstat (limited to 'lib/splay.h')
-rw-r--r--lib/splay.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/splay.h b/lib/splay.h
index 7a6000c18..092c0b7fe 100644
--- a/lib/splay.h
+++ b/lib/splay.h
@@ -34,15 +34,19 @@ struct Curl_tree {
struct Curl_tree *Curl_splay(int i, struct Curl_tree *t);
struct Curl_tree *Curl_splayinsert(int key, struct Curl_tree *t,
struct Curl_tree *new);
+#if 0
struct Curl_tree *Curl_splayremove(int key, struct Curl_tree *t,
struct Curl_tree **removed);
+#endif
+
struct Curl_tree *Curl_splaygetbest(int key, struct Curl_tree *t,
struct Curl_tree **removed);
-struct Curl_tree *Curl_splayremovebyaddr(struct Curl_tree *t,
- struct Curl_tree *remove);
+int Curl_splayremovebyaddr(struct Curl_tree *t,
+ struct Curl_tree *remove,
+ struct Curl_tree **newroot);
#ifdef CURLDEBUG
-int Curl_splayprint(struct Curl_tree * t, int d, char output);
+void Curl_splayprint(struct Curl_tree * t, int d, char output);
#else
#define Curl_splayprint(x,y,z)
#endif