lua: add 'defer_request' and 'complete_deferred_request' functions
[project/ubus.git] / ubusd.h
diff --git a/ubusd.h b/ubusd.h
index 32fe852..5031ed4 100644 (file)
--- a/ubusd.h
+++ b/ubusd.h
@@ -64,6 +64,8 @@ struct ubus_path {
        const char name[];
 };
 
+extern const char *ubusd_acl_dir;
+
 struct ubus_msg_buf *ubus_msg_new(void *data, int len, bool shared);
 void ubus_msg_send(struct ubus_client *cl, struct ubus_msg_buf *ub, bool free);
 void ubus_msg_free(struct ubus_msg_buf *ub);
@@ -84,4 +86,8 @@ int ubusd_send_event(struct ubus_client *cl, const char *id,
 
 void ubusd_acl_init(void);
 
+void ubusd_monitor_init(void);
+void ubusd_monitor_message(struct ubus_client *cl, struct ubus_msg_buf *ub, bool send);
+void ubusd_monitor_disconnect(struct ubus_client *cl);
+
 #endif