summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2010-08-26 17:55:38 +0200
committerDavid Sommerseth <dazo@users.sourceforge.net>2010-08-26 17:55:38 +0200
commitd5134aeb56a68fdcf45ff8347d308a88ca4bc5e8 (patch)
treedc355b587e9af98a2ff4afb91bfff4709403b230 /plugin
parent43607466b843d77dee8be906c92793f09920fc31 (diff)
downloadeurephia-d5134aeb56a68fdcf45ff8347d308a88ca4bc5e8.tar.gz
eurephia-d5134aeb56a68fdcf45ff8347d308a88ca4bc5e8.tar.xz
eurephia-d5134aeb56a68fdcf45ff8347d308a88ca4bc5e8.zip
Fixed Doxygen complaints
Removed some #defines which was not needed and added missing comments. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Diffstat (limited to 'plugin')
-rw-r--r--plugin/firewall/iptables/efw-iptables.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugin/firewall/iptables/efw-iptables.c b/plugin/firewall/iptables/efw-iptables.c
index ed0ec9d..be65d5e 100644
--- a/plugin/firewall/iptables/efw-iptables.c
+++ b/plugin/firewall/iptables/efw-iptables.c
@@ -47,6 +47,9 @@
#define INTERFACEVER "1.0" /**< The version of this firewall interface (driver) */
#define INTERFACEAPIVER 1 /**< Define the API level this firewall interface uses. */
+/**
+ * eFWmode string translation table
+ */
static const char *eFWmode_str[7] = {
"ADD",
"DELETE",
@@ -166,7 +169,7 @@ void eFW_RunFirewall(void *fwargs) {
*
* @param ctx eurephiaCTX - This is just a shadow context, to make logging possible
* @param fwcmd The command to be executed, can be 'A'-add, 'D'-delete, 'F'-flush, 'B'-blacklist, 'I'-init
- * @param input Contains a string with information for the command. Format varies with command mode.
+ * @param req Pointer a eFWupdateRequest struct with the iptables update details
*
* @return Returns 1 on success, otherwise 0. If 0 is sent, it means the firewall process should shut down,
* and it should only be used in very critical situations.