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
;
10 struct ubus_subscriber sub
;
14 void udebug_ubus_init(struct udebug_ubus
*ctx
, struct ubus_context
*ubus
,
15 const char *service
, udebug_config_cb cb
);
16 void udebug_ubus_free(struct udebug_ubus
*ctx
);