add options to override the ubus socket name for the cli and the example program
[project/ubus.git] / ubusd_id.h
index ca69d9a..740e5d6 100644 (file)
@@ -10,7 +10,8 @@ struct ubus_id {
 };
 
 void ubus_init_id_tree(struct avl_tree *tree);
-bool ubus_alloc_id(struct avl_tree *tree, struct ubus_id *id);
+void ubus_init_string_tree(struct avl_tree *tree, bool dup);
+bool ubus_alloc_id(struct avl_tree *tree, struct ubus_id *id, uint32_t val);
 
 static inline void ubus_free_id(struct avl_tree *tree, struct ubus_id *id)
 {