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