diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2002-12-02 02:37:01 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2002-12-02 02:37:01 -0500 |
commit | f6e997b7f73d01db84665bc924ba2d065e314e43 (patch) | |
tree | e5a6682d03360506ad1db6b3d1f5934a5911db50 /WWW/Library/Implementation/HTBTree.h | |
parent | 0cb11571ef3a2820a888b47eaa0ea3083e3b9b0f (diff) | |
download | lynx-snapshots-f6e997b7f73d01db84665bc924ba2d065e314e43.tar.gz |
snapshot of project "lynx", label v2-8-5dev_11
Diffstat (limited to 'WWW/Library/Implementation/HTBTree.h')
-rw-r--r-- | WWW/Library/Implementation/HTBTree.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/WWW/Library/Implementation/HTBTree.h b/WWW/Library/Implementation/HTBTree.h index d4b2ac08..cbbfad43 100644 --- a/WWW/Library/Implementation/HTBTree.h +++ b/WWW/Library/Implementation/HTBTree.h @@ -15,7 +15,7 @@ #ifndef HTUTILS_H #include <HTUtils.h> #endif - + /* Data structures @@ -76,6 +76,16 @@ extern void HTBTree_add PARAMS((HTBTree* tree, void * object)); /* +Search an object in a binary tree + + returns Pointer to equivalent object in a tree or NULL if none. + */ + +extern void * HTBTree_search PARAMS((HTBTree* tree, void * object)); + + +/* + Find user object for element */ @@ -91,7 +101,7 @@ Find next element in depth-first order ele if NULL, start with leftmost element. if != 0 give next object to the right. - returns Pointer to element ot NULL if none left. + returns Pointer to element or NULL if none left. */ extern HTBTElement * HTBTree_next PARAMS((HTBTree* tree, HTBTElement * ele)); |