aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/transport/metadata.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-08-09 09:09:33 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-08-09 09:09:33 -0700
commitacad79f0c87dd1855020c39238a12476c904da51 (patch)
tree54317c576effa957702eb99670c80fbf1effb1fe /src/core/lib/transport/metadata.h
parent4103a1b0f2e70ac6eee07f87f35c6b9c0a8562d1 (diff)
parent3e104bbe5ccba7a5c4fd30be598da32074ea95aa (diff)
Merge github.com:grpc/grpc into grand-unified-closures
Diffstat (limited to 'src/core/lib/transport/metadata.h')
-rw-r--r--src/core/lib/transport/metadata.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/lib/transport/metadata.h b/src/core/lib/transport/metadata.h
index 6d82f4d681..2b0921c8d7 100644
--- a/src/core/lib/transport/metadata.h
+++ b/src/core/lib/transport/metadata.h
@@ -37,6 +37,10 @@
#include <grpc/support/slice.h>
#include <grpc/support/useful.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* This file provides a mechanism for tracking metadata through the grpc stack.
It's not intended for consumption outside of the library.
@@ -164,4 +168,8 @@ void grpc_mdctx_global_shutdown(void);
extern gpr_slice (*grpc_chttp2_base64_encode_and_huffman_compress)(
gpr_slice input);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* GRPC_CORE_LIB_TRANSPORT_METADATA_H */