ubus: add count test to validate large message sizes
[project/ubus.git] / libubus.h
index 33a99aa..a63ce31 100644 (file)
--- a/libubus.h
+++ b/libubus.h
@@ -155,6 +155,8 @@ struct ubus_context {
        void (*connection_lost)(struct ubus_context *ctx);
 
        struct ubus_msghdr_buf msgbuf;
+       uint32_t msgbuf_data_len;
+       int msgbuf_reduction_counter;
 };
 
 struct ubus_object_data {