71
71
#define is_tree_inited(tree) ((tree)->root != 0)
74
TREE_ELEMENT *tree_insert(TREE *tree,void *key, uint key_size,
74
TREE_ELEMENT *tree_insert(TREE *tree,void *key, uint32_t key_size,
76
76
void *tree_search(TREE *tree, void *key, void *custom_arg);
77
77
int tree_walk(TREE *tree,tree_walk_action action,
78
78
void *argument, TREE_WALK visit);
79
int tree_delete(TREE *tree, void *key, uint key_size, void *custom_arg);
79
int tree_delete(TREE *tree, void *key, uint32_t key_size, void *custom_arg);
80
80
void *tree_search_key(TREE *tree, const void *key,
81
81
TREE_ELEMENT **parents, TREE_ELEMENT ***last_pos,
82
82
enum ha_rkey_function flag, void *custom_arg);