X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubus.git;a=blobdiff_plain;f=libubus.h;h=bab919ff5ff39d9a1beead60e09a10e59e0e763d;hp=5fb565be1b47330cefdc0c66d1d8c62699098350;hb=f8d55af76b7a758a134bc816d9a34a7ca4325e32;hpb=da11ec6b9d3eeffb709e3615dd0daa26c926838e diff --git a/libubus.h b/libubus.h index 5fb565b..bab919f 100644 --- a/libubus.h +++ b/libubus.h @@ -175,7 +175,7 @@ void ubus_invoke_async(struct ubus_context *ctx, uint32_t obj, const char *metho struct blob_attr *msg, struct ubus_request *req); /* make an object visible to remote connections */ -int ubus_publish(struct ubus_context *ctx, struct ubus_object *obj); +int ubus_add_object(struct ubus_context *ctx, struct ubus_object *obj); /* send a reply to an incoming object method call */ int ubus_send_reply(struct ubus_context *ctx, struct ubus_request_data *req,