summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/eurephia_driverapi.h7
-rw-r--r--plugin/firewall/eurephiafw_struct.h4
2 files changed, 11 insertions, 0 deletions
diff --git a/common/eurephia_driverapi.h b/common/eurephia_driverapi.h
index 14083d9..8ae0a88 100644
--- a/common/eurephia_driverapi.h
+++ b/common/eurephia_driverapi.h
@@ -33,6 +33,13 @@
#ifndef DRIVER_MODE
+/**
+ * Function declaration for eurephia drivers. A better way to export driver functions
+ * correctly.
+ *
+ * @param funcname Name of the function in the driver
+ *
+ */
#define EUREPHIA_DRIVERAPI_FUNC(funcname) (*funcname)
#else // ifdef DRIVER_MODE
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) */