Rename from "luci-rpcd" to "rpcd"

This commit is contained in:
Jo-Philipp Wich 2013-09-02 17:09:57 +02:00
parent 84642137f0
commit 07c2f0a9b1
16 changed files with 21 additions and 21 deletions

View file

@ -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
View file

@ -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
View file

@ -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
View file

@ -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
View file

@ -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>
* *

View file

@ -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>
* *

View file

@ -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>
* *

View file

@ -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>
* *

View file

@ -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
View file

@ -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>

View file

@ -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>
* *

View file

@ -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,

View file

@ -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>

View file

@ -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
View file

@ -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
View file

@ -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>
* *