X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=libubus.h;h=9f21647d80feea40690447a5a2381eaaa4fdd57c;hb=f9f602533a454891dc5a6f1df1bd0e624295ab1f;hp=e0f8ab24abaef190c512716cacd4ffbce1a1d7ee;hpb=38aa926349b8ab7c39920f5858d3fd3ddb1ed2b9;p=project%2Fubus.git diff --git a/libubus.h b/libubus.h index e0f8ab2..9f21647 100644 --- a/libubus.h +++ b/libubus.h @@ -185,6 +185,9 @@ int ubus_send_reply(struct ubus_context *ctx, struct ubus_request_data *req, struct blob_attr *msg); /* ----------- events ----------- */ +int ubus_send_event(struct ubus_context *ctx, const char *id, + struct blob_attr *data); + int ubus_register_event_handler(struct ubus_context *ctx, struct ubus_event_handler *ev, const char *pattern);