/*
- * luci-rpcd - LuCI UBUS RPC server
+ * rpcd - UBUS RPC server
*
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
*
#ifndef __RPC_LUCI2_H
#define __RPC_LUCI2_H
+#include <libubox/blobmsg_json.h>
#include <libubus.h>
#include <uci.h>
#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