luci2: add luci2.ui namespace
[project/rpcd.git] / luci2.h
diff --git a/luci2.h b/luci2.h
index bcbdb41..0e7fc89 100644 (file)
--- a/luci2.h
+++ b/luci2.h
@@ -19,6 +19,7 @@
 #ifndef __RPC_LUCI2_H
 #define __RPC_LUCI2_H
 
+#include <libubox/blobmsg_json.h>
 #include <libubus.h>
 #include <uci.h>
 
@@ -26,6 +27,9 @@
 #define RPC_LUCI2_MAX_LOGSIZE          (128 * 1024)
 #define RPC_LUCI2_DEF_LOGSIZE       (16 * 1024)
 
+/* location of menu definitions */
+#define RPC_LUCI2_MENU_FILES        "/usr/share/luci2/menu.d/*.json"
+
 int rpc_luci2_api_init(struct ubus_context *ctx);
 
 #endif