git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NEWS: Point out userspace is compatible with Linux 3.3 OVS kernel module.
[sliver-openvswitch.git]
/
lib
/
sset.h
diff --git
a/lib/sset.h
b/lib/sset.h
index
8810067
..
a739fce
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 */