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
datapath: omit _mod from module names
[sliver-openvswitch.git]
/
lib
/
json.h
diff --git
a/lib/json.h
b/lib/json.h
index
41257b0
..
5c32c06
100644
(file)
--- a/
lib/json.h
+++ b/
lib/json.h
@@
-32,6
+32,10
@@
#include "shash.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct ds;
/* Type of a JSON value. */
@@
-128,4
+132,8
@@
void json_to_ds(const struct json *, int flags, struct ds *);
bool json_string_unescape(const char *in, size_t in_len, char **outp);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* json.h */