From f9f3405cdad70aa21990e123e7875a59dbc59ea6 Mon Sep 17 00:00:00 2001 From: gandalf Date: Mon, 5 May 2003 19:33:40 +0000 Subject: Fix the previous fix No more segfaults or compilewarnings. --- include/libiptc/libip6tc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/libiptc/libip6tc.h') diff --git a/include/libiptc/libip6tc.h b/include/libiptc/libip6tc.h index 2904db5..7a247c4 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); -- cgit v1.2.3