1 #include <libubox/udebug.h>
5 typedef void (*udebug_config_cb
)(struct udebug_ubus
*ctx
, struct blob_attr
*data
, bool enabled
);
8 struct ubus_context
*ubus
;
9 struct uloop_timeout t
;
11 struct ubus_subscriber sub
;
15 void udebug_ubus_init(struct udebug_ubus
*ctx
, struct ubus_context
*ubus
,
16 const char *service
, udebug_config_cb cb
);
17 void udebug_ubus_free(struct udebug_ubus
*ctx
);