add code for sending events and fix the code for receiving events
[project/ubus.git] / ubusd.h
diff --git a/ubusd.h b/ubusd.h
index 00ffd04..e3a8e49 100644 (file)
--- a/ubusd.h
+++ b/ubusd.h
@@ -12,6 +12,8 @@
 #define UBUSD_CLIENT_BACKLOG   32
 #define UBUS_OBJ_HASH_BITS     4
 
+extern struct blob_buf b;
+
 struct ubus_msg_buf {
        uint32_t refcount; /* ~0: uses external data buffer */
        struct ubus_msghdr hdr;