projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
netflow: Move packet definitions to header file.
[openvswitch]
/
lib
/
sset.h
diff --git
a/lib/sset.h
b/lib/sset.h
index 88100673ff0aa25934a966c502b5907639ff69d1..a739fce00c75357e9f8d4563cac42c4698fb04a2 100644
(file)
--- a/
lib/sset.h
+++ b/
lib/sset.h
@@
-19,6
+19,10
@@
#include "hmap.h"
#include "hmap.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct sset_node {
struct hmap_node hmap_node;
char name[1];
struct sset_node {
struct hmap_node hmap_node;
char name[1];
@@
-85,4
+89,8
@@
bool sset_equals(const struct sset *, const struct sset *);
SSET_NAME_FROM_HMAP_NODE( \
hmap_next(&(SSET)->map, &SSET_NODE_FROM_NAME(NAME)->hmap_node))
SSET_NAME_FROM_HMAP_NODE( \
hmap_next(&(SSET)->map, &SSET_NODE_FROM_NAME(NAME)->hmap_node))
+#ifdef __cplusplus
+}
+#endif
+
#endif /* sset.h */
#endif /* sset.h */