summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2010-07-12 10:07:01 +0200
committerDavid Sommerseth <dazo@users.sourceforge.net>2010-07-12 10:07:01 +0200
commit269d8822d4bb75562d48672cae50c83e1e499632 (patch)
tree3df3746c005e16895258315866d39e536dcd09e1
parent9a7d7249d558c5902e648864ce4ed9da9c8e1cf4 (diff)
downloadeurephia-269d8822d4bb75562d48672cae50c83e1e499632.tar.gz
eurephia-269d8822d4bb75562d48672cae50c83e1e499632.tar.xz
eurephia-269d8822d4bb75562d48672cae50c83e1e499632.zip
Fixed a few doxygen complaints - missing documentation
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
-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) */