summaryrefslogtreecommitdiffstats
path: root/plugin/firewall/eurephiafw.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/firewall/eurephiafw.h')
-rw-r--r--plugin/firewall/eurephiafw.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugin/firewall/eurephiafw.h b/plugin/firewall/eurephiafw.h
index 860411b..d0b762e 100644
--- a/plugin/firewall/eurephiafw.h
+++ b/plugin/firewall/eurephiafw.h
@@ -32,15 +32,11 @@
#ifndef EUREPHIAFW_H_
#define EUREPHIAFW_H_
-#define FWRULE_ADD 0x101 /**< Add a new firewall rule */
-#define FWRULE_DELETE 0x102 /**< Delete an existing firewall rule */
-#define FWRULE_BLACKLIST 0x103 /**< Blacklist an IP address in the firewall */
-
int eFW_load(eurephiaCTX *ctx, const char *intf);
int eFW_unload(eurephiaCTX *ctx);
void eFW_StartFirewall(eurephiaCTX *ctx);
void eFW_StopFirewall(eurephiaCTX *ctx);
-int eFW_UpdateFirewall(eurephiaCTX *ctx, int mode, const char *macaddr, const char *fwdest, const char *fwprofile);
+int eFW_UpdateFirewall(eurephiaCTX *ctx, eFWupdateRequest *request);
#endif /* !EUREPHIAFW_H_ */