add auto (re)connect logic to libubus
[project/ubus.git] / ubusmsg.h
index f7c115d..c9b92e7 100644 (file)
--- a/ubusmsg.h
+++ b/ubusmsg.h
@@ -29,7 +29,6 @@ struct ubus_msghdr {
        uint8_t type;
        uint16_t seq;
        uint32_t peer;
-       struct blob_attr data[];
 } __packetdata;
 
 enum ubus_msg_type {
@@ -91,6 +90,8 @@ enum ubus_msg_attr {
        UBUS_ATTR_ACTIVE,
        UBUS_ATTR_NO_REPLY,
 
+       UBUS_ATTR_SUBSCRIBERS,
+
        /* must be last */
        UBUS_ATTR_MAX,
 };