From: Ben Pfaff Date: Tue, 4 May 2010 19:36:05 +0000 (-0700) Subject: Make wdp.h C++ friendly. X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=1dc0c95e782acf9763993b9ea2cf63ebc99a3de2;p=sliver-openvswitch.git Make wdp.h C++ friendly. From partner. --- diff --git a/ofproto/wdp.h b/ofproto/wdp.h index ee1efea00..ac9c01076 100644 --- 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 */