commit 89e476d992c4d94b1e9089cbef636a63054fea00
parent 18c2c98ad5b541fb721a905aac747c1a8d7457a2
Author: Marcel Holtmann <marcel@holtmann.org>
Date: Fri, 13 Dec 2019 09:02:42 +0100
client: Use include path from top source directory
Diffstat:
15 files changed, 56 insertions(+), 56 deletions(-)
diff --git a/client/ad-hoc.c b/client/ad-hoc.c
@@ -26,10 +26,10 @@
#include <ell/ell.h>
-#include "command.h"
-#include "dbus-proxy.h"
-#include "device.h"
-#include "display.h"
+#include "client/command.h"
+#include "client/dbus-proxy.h"
+#include "client/device.h"
+#include "client/display.h"
struct ad_hoc {
bool started;
diff --git a/client/adapter.c b/client/adapter.c
@@ -26,10 +26,10 @@
#include <ell/ell.h>
-#include "command.h"
-#include "dbus-proxy.h"
-#include "display.h"
-#include "properties.h"
+#include "client/command.h"
+#include "client/dbus-proxy.h"
+#include "client/display.h"
+#include "client/properties.h"
struct adapter {
bool powered;
diff --git a/client/agent-manager.c b/client/agent-manager.c
@@ -27,9 +27,9 @@
#include <ell/ell.h>
#include <unistd.h>
-#include "agent.h"
-#include "dbus-proxy.h"
-#include "agent-manager.h"
+#include "client/agent.h"
+#include "client/dbus-proxy.h"
+#include "client/agent-manager.h"
#define IWD_AGENT_MANAGER_PATH "/net/connman/iwd"
diff --git a/client/agent.c b/client/agent.c
@@ -26,10 +26,10 @@
#include <ell/ell.h>
-#include "agent.h"
-#include "dbus-proxy.h"
-#include "display.h"
-#include "command.h"
+#include "client/agent.h"
+#include "client/dbus-proxy.h"
+#include "client/display.h"
+#include "client/command.h"
#define IWD_AGENT_INTERFACE "net.connman.iwd.Agent"
diff --git a/client/ap.c b/client/ap.c
@@ -26,10 +26,10 @@
#include <ell/ell.h>
-#include "command.h"
-#include "dbus-proxy.h"
-#include "device.h"
-#include "display.h"
+#include "client/command.h"
+#include "client/dbus-proxy.h"
+#include "client/device.h"
+#include "client/display.h"
struct ap {
bool started;
diff --git a/client/command.c b/client/command.c
@@ -31,8 +31,8 @@
#include <ell/ell.h>
#include <readline/readline.h>
-#include "command.h"
-#include "display.h"
+#include "client/command.h"
+#include "client/display.h"
static struct l_queue *command_families;
static struct l_queue *command_options;
diff --git a/client/dbus-proxy.c b/client/dbus-proxy.c
@@ -27,11 +27,11 @@
#include <stdio.h>
#include <ell/ell.h>
-#include "agent-manager.h"
-#include "dbus-proxy.h"
-#include "display.h"
-#include "command.h"
-#include "properties.h"
+#include "client/agent-manager.h"
+#include "client/dbus-proxy.h"
+#include "client/display.h"
+#include "client/command.h"
+#include "client/properties.h"
#define IWD_SERVICE "net.connman.iwd"
#define IWD_ROOT_PATH "/"
diff --git a/client/device.c b/client/device.c
@@ -26,12 +26,12 @@
#include <ell/ell.h>
-#include "command.h"
-#include "dbus-proxy.h"
-#include "device.h"
-#include "display.h"
-#include "network.h"
-#include "properties.h"
+#include "client/command.h"
+#include "client/dbus-proxy.h"
+#include "client/device.h"
+#include "client/display.h"
+#include "client/network.h"
+#include "client/properties.h"
struct device {
bool powered;
diff --git a/client/display.c b/client/display.c
@@ -32,9 +32,9 @@
#include <readline/readline.h>
#include <ell/ell.h>
-#include "agent.h"
-#include "command.h"
-#include "display.h"
+#include "client/agent.h"
+#include "client/command.h"
+#include "client/display.h"
#define IWD_PROMPT COLOR_GREEN "[iwd]" COLOR_OFF "# "
#define LINE_LEN 81
diff --git a/client/known-networks.c b/client/known-networks.c
@@ -29,11 +29,11 @@
#include <time.h>
#include <ell/ell.h>
-#include "command.h"
-#include "dbus-proxy.h"
-#include "display.h"
-#include "properties.h"
-#include "network.h"
+#include "client/command.h"
+#include "client/dbus-proxy.h"
+#include "client/display.h"
+#include "client/properties.h"
+#include "client/network.h"
struct known_network {
char *identity;
diff --git a/client/main.c b/client/main.c
@@ -28,9 +28,9 @@
#include <signal.h>
#include <ell/ell.h>
-#include "command.h"
-#include "display.h"
-#include "dbus-proxy.h"
+#include "client/command.h"
+#include "client/display.h"
+#include "client/dbus-proxy.h"
static void signal_handler(uint32_t signo, void *user_data)
{
diff --git a/client/network.c b/client/network.c
@@ -26,9 +26,9 @@
#include <ell/ell.h>
-#include "dbus-proxy.h"
-#include "display.h"
-#include "network.h"
+#include "client/dbus-proxy.h"
+#include "client/display.h"
+#include "client/network.h"
struct network {
bool connected;
diff --git a/client/properties.c b/client/properties.c
@@ -26,7 +26,7 @@
#include <ell/ell.h>
-#include "properties.h"
+#include "client/properties.h"
const char *properties_on_off_opts[3] = { "on", "off", NULL };
const char *properties_yes_no_opts[3] = { "yes", "no", NULL };
diff --git a/client/station.c b/client/station.c
@@ -26,11 +26,11 @@
#include <ell/ell.h>
-#include "command.h"
-#include "dbus-proxy.h"
-#include "device.h"
-#include "network.h"
-#include "display.h"
+#include "client/command.h"
+#include "client/dbus-proxy.h"
+#include "client/device.h"
+#include "client/network.h"
+#include "client/display.h"
struct station {
bool scanning;
diff --git a/client/wsc.c b/client/wsc.c
@@ -26,10 +26,10 @@
#include <ell/ell.h>
-#include "command.h"
-#include "dbus-proxy.h"
-#include "device.h"
-#include "display.h"
+#include "client/command.h"
+#include "client/dbus-proxy.h"
+#include "client/device.h"
+#include "client/display.h"
static struct proxy_interface_type wsc_interface_type = {
.interface = IWD_WSC_INTERFACE,