projects
/
project
/
firewall3.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Decouple handle destroying from committing, add fw3_ipt_close() instead
[project/firewall3.git]
/
iptables.h
diff --git
a/iptables.h
b/iptables.h
index
e86162d
..
b97e5c5
100644
(file)
--- a/
iptables.h
+++ b/
iptables.h
@@
-126,6
+126,8
@@
void fw3_ipt_flush(struct fw3_ipt_handle *h);
void fw3_ipt_commit(struct fw3_ipt_handle *h);
+void fw3_ipt_close(struct fw3_ipt_handle *h);
+
struct fw3_ipt_rule *fw3_ipt_rule_new(struct fw3_ipt_handle *h);
void fw3_ipt_rule_proto(struct fw3_ipt_rule *r, struct fw3_protocol *proto);