summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/eurephia-auth.c3
-rw-r--r--plugin/eurephia.c2
-rw-r--r--plugin/eurephiadb_session.c2
-rw-r--r--plugin/firewall/eurephiafw.c2
-rw-r--r--plugin/firewall/eurephiafw_helpers.c2
-rw-r--r--plugin/firewall/iptables/efw-iptables.c4
6 files changed, 14 insertions, 1 deletions
diff --git a/plugin/eurephia-auth.c b/plugin/eurephia-auth.c
index 98658c3..81eb046 100644
--- a/plugin/eurephia-auth.c
+++ b/plugin/eurephia-auth.c
@@ -25,6 +25,9 @@
#include <sqlite3.h>
#include "openvpn-plugin.h"
+#define EUREPHIA_FWINTF
+#include <eurephiafw_struct.h>
+#include <eurephia_context.h>
#include <eurephiadb.h>
#include <eurephia.h>
diff --git a/plugin/eurephia.c b/plugin/eurephia.c
index 26d60b3..91e44da 100644
--- a/plugin/eurephia.c
+++ b/plugin/eurephia.c
@@ -23,6 +23,8 @@
#include <string.h>
#include <getopt.h>
+#define EUREPHIA_FWINTF
+#include <eurephiafw_struct.h>
#include <eurephia_context.h>
#include <eurephiadb.h>
#include <eurephiadb_driver.h>
diff --git a/plugin/eurephiadb_session.c b/plugin/eurephiadb_session.c
index 952e016..ab03e37 100644
--- a/plugin/eurephiadb_session.c
+++ b/plugin/eurephiadb_session.c
@@ -27,6 +27,8 @@
#include <time.h>
#include <openssl/rand.h>
+#define EUREPHIA_FWINTF
+#include <eurephiafw_struct.h>
#include <eurephia_context.h>
#include "eurephia_nullsafe.h"
#include "eurephia_log.h"
diff --git a/plugin/firewall/eurephiafw.c b/plugin/firewall/eurephiafw.c
index f1b15a1..ae383cc 100644
--- a/plugin/firewall/eurephiafw.c
+++ b/plugin/firewall/eurephiafw.c
@@ -30,6 +30,8 @@
#include <sys/wait.h>
#include <time.h>
+#define EUREPHIA_FWINTF
+#include <eurephiafw_struct.h>
#include <eurephia_context.h>
#include "eurephia_log.h"
#include "eurephiafw.h"
diff --git a/plugin/firewall/eurephiafw_helpers.c b/plugin/firewall/eurephiafw_helpers.c
index 29d2f06..00bf516 100644
--- a/plugin/firewall/eurephiafw_helpers.c
+++ b/plugin/firewall/eurephiafw_helpers.c
@@ -28,6 +28,8 @@
#include <semaphore.h>
#include <mqueue.h>
+#define EUREPHIA_FWINTF
+#include <eurephiafw_struct.h>
#include <eurephia_context.h>
#include "eurephia_log.h"
#include "eurephiafw.h"
diff --git a/plugin/firewall/iptables/efw-iptables.c b/plugin/firewall/iptables/efw-iptables.c
index f7ebb0d..a5171f7 100644
--- a/plugin/firewall/iptables/efw-iptables.c
+++ b/plugin/firewall/iptables/efw-iptables.c
@@ -28,9 +28,11 @@
#include <sys/wait.h>
#include <time.h>
+#define EUREPHIA_FWINTF
+#include <eurephiafw_struct.h>
+#include <eurephia_context.h>
#include <eurephia_nullsafe.h>
#include <eurephia_log.h>
-#include <eurephia_context.h>
#include <eurephiafw_helpers.h>
#define INTERFACEVER "1.0"