ofp-util: Rename struct flow_mod to struct ofputil_flow_mod.
[openvswitch] / lib / classifier.h
index b1162aeb89c89be4d4d13d6ce0e15a12855d2ee1..2e6d8b9b95bbe9cf7175be9779ebc4736d3ed500 100644 (file)
 #include "openflow/nicira-ext.h"
 #include "openflow/openflow.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* A flow classifier. */
 struct classifier {
     int n_rules;                /* Total number of rules. */
@@ -164,4 +168,8 @@ struct cls_rule *cls_cursor_next(struct cls_cursor *, struct cls_rule *);
           : 0);                                                         \
          (RULE) = (NEXT))
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* classifier.h */