summaryrefslogtreecommitdiffstats
path: root/plugin/firewall/eurephiafw_struct.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/firewall/eurephiafw_struct.h')
-rw-r--r--plugin/firewall/eurephiafw_struct.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/firewall/eurephiafw_struct.h b/plugin/firewall/eurephiafw_struct.h
index e4c3100..e31e930 100644
--- a/plugin/firewall/eurephiafw_struct.h
+++ b/plugin/firewall/eurephiafw_struct.h
@@ -73,6 +73,10 @@ typedef enum {fwADD, /**< Add a new VPN client to the firewall VPN ch
fwSHUTDOWN, /**< Initialiase the firewall VPN chain */
} eFWmode;
+
+/**
+ * Update request for the firewall plug-in
+ */
typedef struct {
eFWmode mode; /**< Defines what the update will do with the firewall (mandatory) */
char ipaddress[36]; /**< IP address to include (used by fwADD,fwDELETE and fwBLACKLIST) */