X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubus.git;a=blobdiff_plain;f=ubusd_obj.h;h=6e5c2c90c20724b5467a17a3c474ac0cad66673f;hp=2064084ca31c56e1d02801b147b0f7897ec4acad;hb=fa989780bda3ad10fcbb637390d59afe2b32ba81;hpb=d80ebf55afcde808265e4702c162d6b40d649260 diff --git a/ubusd_obj.h b/ubusd_obj.h index 2064084..6e5c2c9 100644 --- a/ubusd_obj.h +++ b/ubusd_obj.h @@ -26,13 +26,17 @@ struct ubus_object { struct ubus_id id; struct list_head list; + struct list_head event_patterns; + struct ubus_object_type *type; struct avl_node path; struct ubus_client *client; + int (*recv_msg)(struct ubus_client *client, const char *method, struct blob_attr *msg); }; struct ubus_object *ubusd_create_object(struct ubus_client *cl, struct blob_attr **attr); +struct ubus_object *ubusd_create_object_internal(struct ubus_object_type *type, uint32_t id); void ubusd_free_object(struct ubus_object *obj); #endif