From 8371e15a49d422755fbd185ab8415b9b12ec9d9a Mon Sep 17 00:00:00 2001 From: Martin Josefsson 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') 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); -- cgit v1.2.3