diff options
Diffstat (limited to 'include/libiptc')
-rw-r--r-- | include/libiptc/libiptc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libiptc/libiptc.h b/include/libiptc/libiptc.h index 82745f93..50765d98 100644 --- a/include/libiptc/libiptc.h +++ b/include/libiptc/libiptc.h @@ -34,6 +34,9 @@ int iptc_is_chain(const char *chain, const iptc_handle_t handle); /* Take a snapshot of the rules. Returns NULL on error. */ iptc_handle_t iptc_init(const char *tablename); +/* Cleanup after iptc_init(). */ +void iptc_free(iptc_handle_t *h); + /* Iterator functions to run through the chains. Returns NULL at end. */ const char *iptc_first_chain(iptc_handle_t *handle); const char *iptc_next_chain(iptc_handle_t *handle); |