Make wdp.h C++ friendly.
authorBen Pfaff <blp@nicira.com>
Tue, 4 May 2010 19:36:05 +0000 (12:36 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 4 May 2010 19:36:05 +0000 (12:36 -0700)
From partner.

ofproto/wdp.h

index ee1efea..ac9c010 100644 (file)
 #include "classifier.h"
 #include "list.h"
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 struct ofpbuf;
 struct svec;
 struct wdp;
@@ -219,4 +223,8 @@ void wdp_recv_wait(struct wdp *);
 void wdp_get_netflow_ids(const struct wdp *,
                            uint8_t *engine_type, uint8_t *engine_id);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif /* wdp.h */