X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fdpif.h;h=478928446447c5123949f8719341726577bf8bad;hb=a4230dedddd1909f84947b9c6cdf88a23e10a301;hp=b1717937e99782da6866b5b0c5bf3116895eb04f;hpb=2ad2eb042517b975d761d456cceb5c9325c4aaa7;p=openvswitch diff --git a/lib/dpif.h b/lib/dpif.h index b1717937..47892844 100644 --- a/lib/dpif.h +++ b/lib/dpif.h @@ -23,6 +23,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + struct dpif; struct ofpbuf; struct svec; @@ -97,4 +101,8 @@ void dpif_recv_wait(struct dpif *); void dpif_get_netflow_ids(const struct dpif *, uint8_t *engine_type, uint8_t *engine_id); +#ifdef __cplusplus +} +#endif + #endif /* dpif.h */