X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=ubusd.h;h=867cde9a384bacacec2a39ec366ca8abbd670aba;hb=c413be9b376c685e4a5b04b1d0d9d716dfbeb460;hp=4d879201e2f5b6bf17cbba072b89f83ad612d35f;hpb=afd47189e8644aacc411628f35d098db6d971a46;p=project%2Fubus.git diff --git a/ubusd.h b/ubusd.h index 4d87920..867cde9 100644 --- a/ubusd.h +++ b/ubusd.h @@ -70,6 +70,7 @@ extern const char *ubusd_acl_dir; struct ubus_msg_buf *ubus_msg_new(void *data, int len, bool shared); void ubus_msg_send(struct ubus_client *cl, struct ubus_msg_buf *ub); +ssize_t ubus_msg_writev(int fd, struct ubus_msg_buf *ub, size_t offset); void ubus_msg_free(struct ubus_msg_buf *ub); struct blob_attr **ubus_parse_msg(struct blob_attr *msg);