CACAO
|
Go to the source code of this file.
Data Structures | |
struct | avl_tree_t |
struct | avl_node_t |
Macros | |
#define | AVL_LEFT 0 |
#define | AVL_RIGHT 1 |
Functions | |
avl_tree_t * | avl_create (avl_comparator *comparator) |
static avl_node_t * | avl_newnode (void *data) |
static void | avl_rotate_left (avl_node_t **node) |
static void | avl_rotate_right (avl_node_t **node) |
static void | avl_adjust_balance (avl_node_t *node) |
static s4 | avl_insert_intern (avl_tree_t *tree, avl_node_t **node, void *data) |
bool | avl_insert (avl_tree_t *tree, void *data) |
void * | avl_find (avl_tree_t *tree, void *data) |
void | avl_dump (avl_node_t *node, s4 indent) |
|
static |
avl_tree_t* avl_create | ( | avl_comparator * | comparator | ) |
void avl_dump | ( | avl_node_t * | node, |
s4 | indent | ||
) |
void* avl_find | ( | avl_tree_t * | tree, |
void * | data | ||
) |
bool avl_insert | ( | avl_tree_t * | tree, |
void * | data | ||
) |
|
static |
|
static |
|
static |
|
static |