aboutsummaryrefslogtreecommitdiff
path: root/ofproto/ofproto.h
diff options
context:
space:
mode:
Diffstat (limited to 'ofproto/ofproto.h')
-rw-r--r--ofproto/ofproto.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h
index 6377e51e..3a9617af 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;
@@ -123,4 +127,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 */