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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libipset/ui.h b/include/libipset/ui.h
index 2b7119e..4846dc1 100644
--- a/include/libipset/ui.h
+++ b/include/libipset/ui.h
@@ -20,6 +20,10 @@ struct ipset_commands {
const char *help;
};
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern const struct ipset_commands ipset_commands[];
struct ipset_session;
@@ -45,4 +49,8 @@ extern void ipset_shift_argv(int *argc, char *argv[], int from);
extern void ipset_port_usage(void);
extern int ipset_parse_file(struct ipset_session *s, int opt, const char *str);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* LIBIPSET_UI_H */