summaryrefslogtreecommitdiffstats
path: root/plugin/firewall
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2008-11-27 17:31:49 +0100
committerDavid Sommerseth <dazo@users.sourceforge.net>2008-11-27 17:31:49 +0100
commit570a80dfadd2513f628b4d540fc719883fa8674a (patch)
tree5578666ac6c2189b079cc93fba6343e64cfbe5a3 /plugin/firewall
parente6b8cb93fad578321eb3d33dd14490b18069886f (diff)
downloadeurephia-570a80dfadd2513f628b4d540fc719883fa8674a.tar.gz
eurephia-570a80dfadd2513f628b4d540fc719883fa8674a.tar.xz
eurephia-570a80dfadd2513f628b4d540fc719883fa8674a.zip
Renamed eurephia_struct.h to eurephia_context.h
Since this include file now only consists of eurephiaCTX definition, it was moved to the common/ directory and renamed. Moved the SESSION_* definitions out of this file and into plugin/eurephiadb_session.h where they belong. Moved the Posix MQ definitions into plugin/firewall/eurephiafw_struct.h where they belong. eurephia_context.h is now containing only context related things.
Diffstat (limited to 'plugin/firewall')
-rw-r--r--plugin/firewall/eurephiafw.c2
-rw-r--r--plugin/firewall/eurephiafw_helpers.c2
-rw-r--r--plugin/firewall/eurephiafw_struct.h3
-rw-r--r--plugin/firewall/iptables/efw-iptables.c2
4 files changed, 6 insertions, 3 deletions
diff --git a/plugin/firewall/eurephiafw.c b/plugin/firewall/eurephiafw.c
index 1aba1c7..f1b15a1 100644
--- a/plugin/firewall/eurephiafw.c
+++ b/plugin/firewall/eurephiafw.c
@@ -30,7 +30,7 @@
#include <sys/wait.h>
#include <time.h>
-#include "eurephia_struct.h"
+#include <eurephia_context.h>
#include "eurephia_log.h"
#include "eurephiafw.h"
#include "eurephiafw_intf.h"
diff --git a/plugin/firewall/eurephiafw_helpers.c b/plugin/firewall/eurephiafw_helpers.c
index ceb6d25..29d2f06 100644
--- a/plugin/firewall/eurephiafw_helpers.c
+++ b/plugin/firewall/eurephiafw_helpers.c
@@ -28,7 +28,7 @@
#include <semaphore.h>
#include <mqueue.h>
-#include "eurephia_struct.h"
+#include <eurephia_context.h>
#include "eurephia_log.h"
#include "eurephiafw.h"
#include "eurephiafw_helpers.h"
diff --git a/plugin/firewall/eurephiafw_struct.h b/plugin/firewall/eurephiafw_struct.h
index 149d47d..b714975 100644
--- a/plugin/firewall/eurephiafw_struct.h
+++ b/plugin/firewall/eurephiafw_struct.h
@@ -21,6 +21,9 @@
#ifndef EUREPHIAFW_STRUCT_H_
#define EUREPHIAFW_STRUCT_H_
+#include <mqueue.h>
+#include <semaphore.h>
+
#include <eurephia_values_struct.h>
//
diff --git a/plugin/firewall/iptables/efw-iptables.c b/plugin/firewall/iptables/efw-iptables.c
index a0807f9..f7ebb0d 100644
--- a/plugin/firewall/iptables/efw-iptables.c
+++ b/plugin/firewall/iptables/efw-iptables.c
@@ -30,7 +30,7 @@
#include <eurephia_nullsafe.h>
#include <eurephia_log.h>
-#include <eurephia_struct.h>
+#include <eurephia_context.h>
#include <eurephiafw_helpers.h>
#define INTERFACEVER "1.0"