1 #ifndef GRASS_RBTREEDEFS_H 2 #define GRASS_RBTREEDEFS_H
void rbtree_clear(struct RB_TREE *)
void * rbtree_find(struct RB_TREE *, const void *)
void * rbtree_traverse_start(struct RB_TRAV *, const void *)
int rbtree_init_trav(struct RB_TRAV *, struct RB_TREE *)
struct RB_TREE * rbtree_create(rb_compare_fn *, size_t)
int rbtree_insert(struct RB_TREE *, void *)
int rbtree_debug(struct RB_TREE *, struct RB_NODE *)
void * rbtree_traverse(struct RB_TRAV *)
void * rbtree_traverse_backwd(struct RB_TRAV *trav)
int rb_compare_fn(const void *rb_a, const void *rb_b)
void rbtree_destroy(struct RB_TREE *)
int rbtree_remove(struct RB_TREE *, const void *)