diff options
Diffstat (limited to 'iptables.h')
-rw-r--r-- | iptables.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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); |