summaryrefslogtreecommitdiff
path: root/src/libcharon/plugins/vici/libvici.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcharon/plugins/vici/libvici.h')
-rw-r--r--src/libcharon/plugins/vici/libvici.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libcharon/plugins/vici/libvici.h b/src/libcharon/plugins/vici/libvici.h
index d69597881..964752f53 100644
--- a/src/libcharon/plugins/vici/libvici.h
+++ b/src/libcharon/plugins/vici/libvici.h
@@ -86,6 +86,10 @@
#include <stdio.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* Opaque vici connection contex.
*/
@@ -465,4 +469,8 @@ void vici_init();
*/
void vici_deinit();
+#ifdef __cplusplus
+}
+#endif
+
#endif /** LIBVICI_H_ @}*/