+static inline struct ubus_object *ubusd_find_object(uint32_t objid)
+{
+ struct ubus_object *obj;
+ struct ubus_id *id;
+
+ id = ubus_find_id(&objects, objid);
+ if (!id)
+ return NULL;
+
+ obj = container_of(id, struct ubus_object, id);
+ return obj;
+}
+
+void ubus_watch_new(struct ubus_object *obj, struct ubus_object *target, const char *method);
+void ubus_watch_free(struct ubus_watch *w);
+void ubus_proto_notify_watch(struct ubus_watch *w);
+