summaryrefslogtreecommitdiffstats
path: root/include/libipset
diff options
context:
space:
mode:
Diffstat (limited to 'include/libipset')
-rw-r--r--include/libipset/session.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libipset/session.h b/include/libipset/session.h
index 467bb2f..988233e 100644
--- a/include/libipset/session.h
+++ b/include/libipset/session.h
@@ -97,6 +97,8 @@ extern int ipset_cmd(struct ipset_session *session, enum ipset_cmd cmd,
typedef int (*ipset_outfn)(const char *fmt, ...)
__attribute__ ((format (printf, 1, 2)));
+extern int ipset_session_outfn(struct ipset_session *session,
+ ipset_outfn outfn);
extern struct ipset_session *ipset_session_init(ipset_outfn outfn);
extern int ipset_session_fini(struct ipset_session *session);