From aafdf48e99576ac71fb574a8da2e0a01768cded6 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 21 Sep 2005 14:46:04 +0000 Subject: [PATCH] Add tavl_end and tavl_next --- include/avl.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/avl.h b/include/avl.h index 0b6ed41298..70bdbcd6cb 100644 --- a/include/avl.h +++ b/include/avl.h @@ -132,6 +132,15 @@ tavl_find LDAP_P((Avlnode *, const void*, AVL_CMP)); LDAP_AVL_F( Avlnode* ) tavl_find2 LDAP_P((Avlnode *, const void*, AVL_CMP)); +#define TAVL_DIR_LEFT 0 +#define TAVL_DIR_RIGHT 1 + +LDAP_AVL_F( Avlnode* ) +tavl_end LDAP_P((Avlnode *, int direction )); + +LDAP_AVL_F( Avlnode* ) +tavl_next LDAP_P((Avlnode *, int direction )); + /* apply traversal types */ #define AVL_PREORDER 1 #define AVL_INORDER 2 -- 2.39.5