X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fjson.h;h=5c32c06cd42f166ef58aae3b031dd9558604742b;hb=17f7f7e02cfd44dc7755fbebcfb942c07f937858;hp=41257b0d7e610fe3da88e042f917aa7e266557c4;hpb=a4af00400a835eb87569ba40e21874c05e872c0f;p=openvswitch diff --git a/lib/json.h b/lib/json.h index 41257b0d..5c32c06c 100644 --- 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 */