git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2626006
)
Make wdp.h C++ friendly.
author
Ben Pfaff
<blp@nicira.com>
Tue, 4 May 2010 19:36:05 +0000
(12:36 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 4 May 2010 19:36:05 +0000
(12:36 -0700)
From partner.
ofproto/wdp.h
patch
|
blob
|
history
diff --git
a/ofproto/wdp.h
b/ofproto/wdp.h
index
ee1efea
..
ac9c010
100644
(file)
--- a/
ofproto/wdp.h
+++ b/
ofproto/wdp.h
@@
-20,6
+20,10
@@
#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 */