};
static struct ubus_object_type file_type =
- UBUS_OBJECT_TYPE("luci-rpc-file", file_methods);
+ UBUS_OBJECT_TYPE("rpcd-plugin-file", file_methods);
static struct ubus_object obj = {
.name = "file",
};
static struct ubus_object_type iwinfo_type =
- UBUS_OBJECT_TYPE("luci-rpc-iwinfo", iwinfo_methods);
+ UBUS_OBJECT_TYPE("rpcd-plugin-iwinfo", iwinfo_methods);
static struct ubus_object obj = {
.name = "iwinfo",
return NULL;
}
- if (asprintf((char **)&obj_type->name, "luci-rpc-plugin-%s", name) < 0) {
+ if (asprintf((char **)&obj_type->name, "rpcd-plugin-exec-%s", name) < 0) {
free(obj);
free(obj_type);
return NULL;
};
static struct ubus_object_type session_type =
- UBUS_OBJECT_TYPE("luci-rpc-session", session_methods);
+ UBUS_OBJECT_TYPE("rpcd-plugin-session", session_methods);
static struct ubus_object obj = {
.name = "session",
};
static struct ubus_object_type sys_type =
- UBUS_OBJECT_TYPE("luci-rpc-sys", sys_methods);
+ UBUS_OBJECT_TYPE("rpcd-plugin-sys", sys_methods);
static struct ubus_object obj = {
.name = "rpc-sys",
};
static struct ubus_object_type uci_type =
- UBUS_OBJECT_TYPE("luci-rpc-uci", uci_methods);
+ UBUS_OBJECT_TYPE("rpcd-plugin-uci", uci_methods);
static struct ubus_object obj = {
.name = "uci",