CMakeLists.txt: bump minimum cmake version
[project/ubus.git] / libubus-internal.h
index c4067d3438177ffdaa22bdc23575def9f3177bcf..24477a03214421c12016fb209b64e2549f1717b5 100644 (file)
@@ -17,7 +17,8 @@
 extern struct blob_buf b;
 extern const struct ubus_method watch_method;
 
-struct blob_attr **ubus_parse_msg(struct blob_attr *msg);
+struct blob_attr **ubus_parse_msg(struct blob_attr *msg, size_t len);
+bool ubus_validate_hdr(struct ubus_msghdr *hdr);
 void ubus_handle_data(struct uloop_fd *u, unsigned int events);
 int ubus_send_msg(struct ubus_context *ctx, uint32_t seq,
                  struct blob_attr *msg, int cmd, uint32_t peer, int fd);