X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fjson.h;h=cfe9457ef82c641d76c47e4df7ec43a114c76c89;hb=0ef165ecb57943e17a8ee8270df68ffb8d032e29;hp=41257b0d7e610fe3da88e042f917aa7e266557c4;hpb=a0bc29a541fc7dc6e20137d5558e2094d614e6ab;p=sliver-openvswitch.git diff --git a/lib/json.h b/lib/json.h index 41257b0d7..cfe9457ef 100644 --- a/lib/json.h +++ b/lib/json.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2010 Nicira Networks. + * Copyright (c) 2009, 2010 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -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 */