X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubus.git;a=blobdiff_plain;f=libubus.h;h=cdcc579b5799f70c97b94ec06e2175e5dd08852a;hp=53b78f699d322f0a59b9029b962be28142dc0cf2;hb=12a8f978cb91dcc24a23a31fe3cdbbb0e5efad96;hpb=e76b1a29ca3b6d44c62fbb3a7c080e0c45a69d12 diff --git a/libubus.h b/libubus.h index 53b78f6..cdcc579 100644 --- a/libubus.h +++ b/libubus.h @@ -177,8 +177,8 @@ int ubus_invoke(struct ubus_context *ctx, uint32_t obj, const char *method, struct blob_attr *msg, ubus_data_handler_t cb, void *priv); /* asynchronous version of ubus_invoke() */ -void ubus_invoke_async(struct ubus_context *ctx, uint32_t obj, const char *method, - struct blob_attr *msg, struct ubus_request *req); +int ubus_invoke_async(struct ubus_context *ctx, uint32_t obj, const char *method, + struct blob_attr *msg, struct ubus_request *req); /* send a reply to an incoming object method call */ int ubus_send_reply(struct ubus_context *ctx, struct ubus_request_data *req,