X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubus.git;a=blobdiff_plain;f=ubusd.h;fp=ubusd.h;h=4959a91f1d8200ee38cd7e002abad4623fc023ec;hp=87cc831383022aa605053df95e5e591c9aa28336;hb=1643f728e7c99362d1925d6085a376f18cf46b5e;hpb=c4c0a2256d959dec987ece74c05f77e5e418a84c diff --git a/ubusd.h b/ubusd.h index 87cc831..4959a91 100644 --- a/ubusd.h +++ b/ubusd.h @@ -13,6 +13,7 @@ #define UBUS_OBJ_HASH_BITS 4 extern struct blob_buf b; +extern struct avl_tree clients; struct ubus_msg_buf { uint32_t refcount; /* ~0: uses external data buffer */ @@ -48,8 +49,6 @@ void ubus_msg_send(struct ubus_client *cl, struct ubus_msg_buf *ub, bool free); struct ubus_msg_buf *ubus_msg_ref(struct ubus_msg_buf *ub); void ubus_msg_free(struct ubus_msg_buf *ub); -struct ubus_client *ubusd_get_client_by_id(uint32_t id); - void ubusd_receive_message(struct ubus_client *cl, struct ubus_msg_buf *ub); bool ubusd_send_hello(struct ubus_client *cl);