Drop iptables-restore and create rules through libiptc and libxtables
[project/firewall3.git] / options.h
index 0a22cb6..f6168f5 100644 (file)
--- a/options.h
+++ b/options.h
@@ -92,8 +92,13 @@ enum fw3_limit_unit
        FW3_LIMIT_UNIT_MINUTE = 1,
        FW3_LIMIT_UNIT_HOUR   = 2,
        FW3_LIMIT_UNIT_DAY    = 3,
+
+       __FW3_LIMIT_UNIT_MAX
 };
 
+extern const char *fw3_limit_units[__FW3_LIMIT_UNIT_MAX];
+
+
 enum fw3_ipset_method
 {
        FW3_IPSET_METHOD_UNSPEC = 0,