X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fofproto.h;h=d9e71d762e43f17f4577f7eb24545704d9a1631f;hb=5a9e7099ebd720c9b9aa4b308f75645b33b1b15b;hp=e735cc60a91da5215513ef2d075dd918dec103e9;hpb=5a719c38c219b46a3f9c263ceae268a70071c03c;p=openvswitch diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h index e735cc60..d9e71d76 100644 --- a/ofproto/ofproto.h +++ b/ofproto/ofproto.h @@ -24,6 +24,10 @@ #include "netflow.h" #include "tag.h" +#ifdef __cplusplus +extern "C" { +#endif + struct odp_actions; struct ofhooks; struct ofproto; @@ -127,4 +131,8 @@ struct ofhooks { void ofproto_revalidate(struct ofproto *, tag_type); struct tag_set *ofproto_get_revalidate_set(struct ofproto *); +#ifdef __cplusplus +} +#endif + #endif /* ofproto.h */