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 cb6bba0..e3a8e49 100644 (file)
--- a/ubusd.h
+++ b/ubusd.h
@@ -9,10 +9,11 @@
 #include "ubusd_obj.h"
 #include "ubusmsg.h"
 
-#define UBUS_UNIX_SOCKET "./ubus.sock"
 #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;