39 #include <sys/types.h> 122 #elif defined(BORLAND_CB) 132 #define AVL_BEFORE (0) 133 #define AVL_AFTER (1) 160 int (*compar) (
const void *,
const void *),
size_t size,
size_t offset);
212 #define AVL_NEXT(tree, node) avl_walk(tree, node, AVL_AFTER) 213 #define AVL_PREV(tree, node) avl_walk(tree, node, AVL_BEFORE)
ACL_API void * avl_nearest(avl_tree_t *tree, avl_index_t where, int direction)
ACL_API acl_boolean_t avl_update_lt(avl_tree_t *, void *)
ACL_API void * avl_last(avl_tree_t *tree)
ACL_API acl_boolean_t avl_update_gt(avl_tree_t *, void *)
ACL_API void avl_destroy(avl_tree_t *tree)
ACL_API void avl_create(avl_tree_t *tree, int(*compar)(const void *, const void *), size_t size, size_t offset)
ACL_API void avl_insert(avl_tree_t *tree, void *node, avl_index_t where)
ACL_API void * avl_find(avl_tree_t *tree, void *node, avl_index_t *where)
ACL_API acl_boolean_t avl_is_empty(avl_tree_t *tree)
ACL_API ulong_t avl_numnodes(avl_tree_t *tree)
ACL_API void avl_add(avl_tree_t *tree, void *node)
ACL_API void * avl_first(avl_tree_t *tree)
ACL_API void avl_remove(avl_tree_t *tree, void *node)
ACL_API acl_boolean_t avl_update(avl_tree_t *, void *)
ACL_API void avl_insert_here(avl_tree_t *tree, void *new_data, void *here, int direction)
ACL_API void * avl_destroy_nodes(avl_tree_t *tree, void **cookie)