summaryrefslogtreecommitdiffstats
path: root/include/libiptc/libip6tc.h
diff options
context:
space:
mode:
authorMartin Josefsson <gandalf@wlug.westbo.se>2003-05-05 19:33:40 +0000
committerMartin Josefsson <gandalf@wlug.westbo.se>2003-05-05 19:33:40 +0000
commit8371e15a49d422755fbd185ab8415b9b12ec9d9a (patch)
tree84dfa4f27819d743b20800292b24ce8dde3c7b69 /include/libiptc/libip6tc.h
parenta5bb0a65c15ab040bc6b6ee2d6637fec50e80b13 (diff)
Fix the previous fix
No more segfaults or compilewarnings.
Diffstat (limited to 'include/libiptc/libip6tc.h')
-rw-r--r--include/libiptc/libip6tc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libiptc/libip6tc.h b/include/libiptc/libip6tc.h
index 2904db57..7a247c46 100644
--- a/include/libiptc/libip6tc.h
+++ b/include/libiptc/libip6tc.h
@@ -26,6 +26,9 @@ int ip6tc_is_chain(const char *chain, const ip6tc_handle_t handle);
/* Take a snapshot of the rules. Returns NULL on error. */
ip6tc_handle_t ip6tc_init(const char *tablename);
+/* Cleanup after ip6tc_init(). */
+void ip6tc_free(ip6tc_handle_t *h);
+
/* Iterator functions to run through the chains. Returns NULL at end. */
const char *ip6tc_first_chain(ip6tc_handle_t *handle);
const char *ip6tc_next_chain(ip6tc_handle_t *handle);