summaryrefslogtreecommitdiffstats
path: root/lib/plist.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plist.h')
-rw-r--r--lib/plist.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/plist.h b/lib/plist.h
index 8a4fa8d3c..ba2846d74 100644
--- a/lib/plist.h
+++ b/lib/plist.h
@@ -27,6 +27,10 @@
#include "stream.h"
#include "vty.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
enum prefix_list_type {
PREFIX_DENY,
PREFIX_PERMIT,
@@ -75,4 +79,8 @@ extern void prefix_bgp_orf_remove_all(afi_t, char *);
extern int prefix_bgp_show_prefix_list(struct vty *vty, afi_t afi, char *name,
bool use_json);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _QUAGGA_PLIST_H */