X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubus.git;a=blobdiff_plain;f=libubus.h;h=5db2992e94d8b5cafe231dfaffb9d056dc1b342a;hp=290b5c3327abbc4419ba81cd83b4a72556f1e21d;hb=4f8b3c8d46ef18b5a53e8da3c4e4cda7f603deb7;hpb=83a6386edea4c246b7514f90118cd31dac573eba diff --git a/libubus.h b/libubus.h index 290b5c3..5db2992 100644 --- a/libubus.h +++ b/libubus.h @@ -125,23 +125,14 @@ struct ubus_request { void *priv; }; -#define BLOBMSG_END_TABLE BLOBMSG_TYPE_UNSPEC struct ubus_context *ubus_connect(const char *path); void ubus_free(struct ubus_context *ctx); const char *ubus_strerror(int error); -/* ----------- helpers for message handling ----------- */ - -struct blob_attr **ubus_parse_msg(struct blob_attr *msg); - /* ----------- raw request handling ----------- */ -/* start a raw request */ -int ubus_start_request(struct ubus_context *ctx, struct ubus_request *req, - struct blob_attr *msg, int cmd, uint32_t peer); - /* wait for a request to complete and return its status */ int ubus_complete_request(struct ubus_context *ctx, struct ubus_request *req);