summaryrefslogtreecommitdiff
path: root/iptables.h
diff options
context:
space:
mode:
Diffstat (limited to 'iptables.h')
-rw-r--r--iptables.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/iptables.h b/iptables.h
index fb4a899..402baf2 100644
--- a/iptables.h
+++ b/iptables.h
@@ -50,11 +50,13 @@ void fw3_ipt_set_policy(struct fw3_ipt_handle *h, const char *chain,
void fw3_ipt_flush_chain(struct fw3_ipt_handle *h, const char *chain);
-void fw3_ipt_delete_chain(struct fw3_ipt_handle *h, const char *chain);
+void fw3_ipt_delete_chain(struct fw3_ipt_handle *h, bool if_unused,
+ const char *chain);
void fw3_ipt_delete_id_rules(struct fw3_ipt_handle *h, const char *chain);
-void fw3_ipt_create_chain(struct fw3_ipt_handle *h, const char *fmt, ...);
+void fw3_ipt_create_chain(struct fw3_ipt_handle *h, bool ignore_existing,
+ const char *fmt, ...);
void fw3_ipt_flush(struct fw3_ipt_handle *h);