/*
* rpcd - UBUS RPC server
*
- * Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
+ * Copyright (C) 2013-2014 Jo-Philipp Wich <jow@openwrt.org>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
#include <libubox/blobmsg_json.h>
#include <libubus.h>
+#include <json/json.h>
-#include "exec.h"
-#include "session.h"
+#include <rpcd/exec.h>
+#include <rpcd/session.h>
/* location of plugin executables */
-#define RPC_PLUGIN_DIRECTORY "/usr/libexec/rpcd"
+#define RPC_PLUGIN_DIRECTORY "/usr/libexec/rpcd"
/* location of plugin libraries */
-#define RPC_LIBRARY_DIRECTORY "/usr/lib/rpcd"
+#define RPC_LIBRARY_DIRECTORY "/usr/lib/rpcd"
struct rpc_daemon_ops {
bool (*session_access)(const char *sid, const char *scope,