lib: Adapt headers for use in C++.
[openvswitch] / lib / vconn.h
index 3f8bc47b87876128e51b81e6128bb33b1c960cc3..3c1ffe9c2bb71074c756583b4371c95b26131d96 100644 (file)
 
 #include "flow.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct list;
 struct ofpbuf;
 struct ofp_action_header;
@@ -78,4 +82,8 @@ void pvconn_close(struct pvconn *);
 int pvconn_accept(struct pvconn *, int min_version, struct vconn **);
 void pvconn_wait(struct pvconn *);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* vconn.h */