Rename from "luci-rpcd" to "rpcd"
[project/rpcd.git] / luci2.h
diff --git a/luci2.h b/luci2.h
index bcbdb41..41c8321 100644 (file)
--- a/luci2.h
+++ b/luci2.h
@@ -1,5 +1,5 @@
 /*
- * luci-rpcd - LuCI UBUS RPC server
+ * rpcd - UBUS RPC server
  *
  *   Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
  *
@@ -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,7 @@
 #define RPC_LUCI2_MAX_LOGSIZE          (128 * 1024)
 #define RPC_LUCI2_DEF_LOGSIZE       (16 * 1024)
 
-int rpc_luci2_api_init(struct ubus_context *ctx);
+/* location of menu definitions */
+#define RPC_LUCI2_MENU_FILES        "/usr/share/luci2/menu.d/*.json"
 
 #endif