add functions for internal object allocation
[project/ubus.git] / ubusmsg.h
index 3e107973312d7fdbed5ce004d49877f94fe91a6a..9da330e5287b749ec7b56f46549ff1572d64a194 100644 (file)
--- a/ubusmsg.h
+++ b/ubusmsg.h
@@ -8,6 +8,9 @@
 
 #define UBUS_MAX_MSGLEN        65535
 
+#define UBUS_SYSTEM_OBJECT_EVENT       1
+#define UBUS_SYSTEM_OBJECT_MAX         1024
+
 struct ubus_msghdr {
        uint8_t version;
        uint8_t type;