Rename from "luci-rpcd" to "rpcd"
This commit is contained in:
parent
84642137f0
commit
07c2f0a9b1
16 changed files with 21 additions and 21 deletions
|
@ -1,6 +1,6 @@
|
||||||
cmake_minimum_required(VERSION 2.6)
|
cmake_minimum_required(VERSION 2.6)
|
||||||
|
|
||||||
PROJECT(luci-rpcd C)
|
PROJECT(rpcd C)
|
||||||
ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -Wmissing-declarations)
|
ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -Wmissing-declarations)
|
||||||
|
|
||||||
OPTION(FILE_SUPPORT "File plugin support" ON)
|
OPTION(FILE_SUPPORT "File plugin support" ON)
|
||||||
|
@ -16,8 +16,8 @@ ENDIF()
|
||||||
|
|
||||||
FIND_LIBRARY(json NAMES json-c json)
|
FIND_LIBRARY(json NAMES json-c json)
|
||||||
|
|
||||||
ADD_EXECUTABLE(luci-rpcd main.c exec.c session.c uci.c plugin.c)
|
ADD_EXECUTABLE(rpcd main.c exec.c session.c uci.c plugin.c)
|
||||||
TARGET_LINK_LIBRARIES(luci-rpcd ubox ubus uci dl blobmsg_json ${json})
|
TARGET_LINK_LIBRARIES(rpcd ubox ubus uci dl blobmsg_json ${json})
|
||||||
|
|
||||||
SET(PLUGINS "")
|
SET(PLUGINS "")
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ IF (IWINFO_SUPPORT)
|
||||||
SET_TARGET_PROPERTIES(iwinfo_plugin PROPERTIES OUTPUT_NAME iwinfo PREFIX "")
|
SET_TARGET_PROPERTIES(iwinfo_plugin PROPERTIES OUTPUT_NAME iwinfo PREFIX "")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
INSTALL(TARGETS luci-rpcd ${PLUGINS}
|
INSTALL(TARGETS rpcd ${PLUGINS}
|
||||||
RUNTIME DESTINATION sbin
|
RUNTIME DESTINATION sbin
|
||||||
LIBRARY DESTINATION lib
|
LIBRARY DESTINATION lib
|
||||||
)
|
)
|
||||||
|
|
2
exec.c
2
exec.c
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* luci-rpcd - LuCI UBUS RPC server
|
* rpcd - UBUS RPC server
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
||||||
*
|
*
|
||||||
|
|
2
exec.h
2
exec.h
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* luci-rpcd - LuCI UBUS RPC server
|
* rpcd - UBUS RPC server
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
||||||
*
|
*
|
||||||
|
|
2
file.c
2
file.c
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* luci-rpcd - LuCI UBUS RPC server
|
* rpcd - UBUS RPC server
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
||||||
*
|
*
|
||||||
|
|
2
file.h
2
file.h
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* luci-rpcd - LuCI UBUS RPC server
|
* rpcd - UBUS RPC server
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
||||||
*
|
*
|
||||||
|
|
2
iwinfo.c
2
iwinfo.c
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* luci-rpcd - LuCI UBUS RPC server
|
* rpcd - UBUS RPC server
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
||||||
*
|
*
|
||||||
|
|
2
iwinfo.h
2
iwinfo.h
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* luci-rpcd - LuCI UBUS RPC server
|
* rpcd - UBUS RPC server
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
||||||
*
|
*
|
||||||
|
|
2
luci2.c
2
luci2.c
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* luci-rpcd - LuCI UBUS RPC server
|
* rpcd - UBUS RPC server
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
||||||
*
|
*
|
||||||
|
|
2
luci2.h
2
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>
|
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
||||||
*
|
*
|
||||||
|
|
2
main.c
2
main.c
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* luci-rpcd - LuCI UBUS RPC server
|
* rpcd - UBUS RPC server
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Felix Fietkau <nbd@openwrt.org>
|
* Copyright (C) 2013 Felix Fietkau <nbd@openwrt.org>
|
||||||
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
||||||
|
|
2
plugin.c
2
plugin.c
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* luci-rpcd - LuCI UBUS RPC server
|
* rpcd - UBUS RPC server
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
||||||
*
|
*
|
||||||
|
|
6
plugin.h
6
plugin.h
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* luci-rpcd - LuCI UBUS RPC server
|
* rpcd - UBUS RPC server
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
||||||
*
|
*
|
||||||
|
@ -38,10 +38,10 @@
|
||||||
#include "session.h"
|
#include "session.h"
|
||||||
|
|
||||||
/* location of plugin executables */
|
/* location of plugin executables */
|
||||||
#define RPC_PLUGIN_DIRECTORY "/usr/libexec/luci-rpcd"
|
#define RPC_PLUGIN_DIRECTORY "/usr/libexec/rpcd"
|
||||||
|
|
||||||
/* location of plugin libraries */
|
/* location of plugin libraries */
|
||||||
#define RPC_LIBRARY_DIRECTORY "/usr/lib/luci-rpcd"
|
#define RPC_LIBRARY_DIRECTORY "/usr/lib/rpcd"
|
||||||
|
|
||||||
struct rpc_daemon_ops {
|
struct rpc_daemon_ops {
|
||||||
bool (*access)(const char *sid, const char *scope,
|
bool (*access)(const char *sid, const char *scope,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* luci-rpcd - LuCI UBUS RPC server
|
* rpcd - UBUS RPC server
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Felix Fietkau <nbd@openwrt.org>
|
* Copyright (C) 2013 Felix Fietkau <nbd@openwrt.org>
|
||||||
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* luci-rpcd - LuCI UBUS RPC server
|
* rpcd - UBUS RPC server
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Felix Fietkau <nbd@openwrt.org>
|
* Copyright (C) 2013 Felix Fietkau <nbd@openwrt.org>
|
||||||
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
||||||
|
|
2
uci.c
2
uci.c
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* luci-rpcd - LuCI UBUS RPC server
|
* rpcd - UBUS RPC server
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
||||||
*
|
*
|
||||||
|
|
2
uci.h
2
uci.h
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* luci-rpcd - LuCI UBUS RPC server
|
* rpcd - UBUS RPC server
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
* Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue