17 #include <libubox/avl.h>
31 avl_delete(tree, &id->
avl);
38 avl = avl_find(tree, &
id);
42 return container_of(avl,
struct ubus_id, avl);
void ubus_init_id_tree(struct avl_tree *tree)
void ubus_init_string_tree(struct avl_tree *tree, bool dup)
static void ubus_free_id(struct avl_tree *tree, struct ubus_id *id)
static struct ubus_id * ubus_find_id(struct avl_tree *tree, uint32_t id)
bool ubus_alloc_id(struct avl_tree *tree, struct ubus_id *id, uint32_t val)