Loading lib/splay.h +7 −3 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
lib/splay.h +7 −3 Original line number Diff line number Diff line Loading @@ -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 Loading