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 00ffd0463e7b0fdb539bda80a8369ab2e9c63777..e3a8e49e123ca79ff1ef412dbc2b3d15c017c98e 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;