summaryrefslogtreecommitdiffstats
path: root/include/libipset/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libipset/ui.h')
-rw-r--r--include/libipset/ui.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libipset/ui.h b/include/libipset/ui.h
index f8eeae0..b05b737 100644
--- a/include/libipset/ui.h
+++ b/include/libipset/ui.h
@@ -7,6 +7,8 @@
#ifndef LIBIPSET_UI_H
#define LIBIPSET_UI_H
+#include <libipset/linux_ip_set.h> /* enum ipset_cmd */
+
/* Commands in userspace */
struct ipset_commands {
enum ipset_cmd cmd;
@@ -37,5 +39,6 @@ extern bool ipset_match_cmd(const char *arg, const char * const name[]);
extern bool ipset_match_option(const char *arg, const char * const name[]);
extern bool ipset_match_envopt(const char *arg, const char * const name[]);
extern void ipset_shift_argv(int *argc, char *argv[], int from);
+extern void ipset_port_usage(void);
#endif /* LIBIPSET_UI_H */