refactor ubusd.c into reusable ubusd_library
[project/ubus.git] / ubusd.h
diff --git a/ubusd.h b/ubusd.h
index 4d879201e2f5b6bf17cbba072b89f83ad612d35f..867cde9a384bacacec2a39ec366ca8abbd670aba 100644 (file)
--- 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);