diff options
author | gandalf <gandalf> | 2003-05-05 19:33:40 +0000 |
---|---|---|
committer | gandalf <gandalf> | 2003-05-05 19:33:40 +0000 |
commit | f9f3405cdad70aa21990e123e7875a59dbc59ea6 (patch) | |
tree | 84dfa4f27819d743b20800292b24ce8dde3c7b69 /include/libiptc | |
parent | 3e1fd82ac5877049bed0b4d28b3134e73c36a729 (diff) |
Fix the previous fix
No more segfaults or compilewarnings.
Diffstat (limited to 'include/libiptc')
-rw-r--r-- | include/libiptc/libip6tc.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); |