aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc/compression.h
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2015-06-30 23:29:03 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2015-06-30 23:29:03 -0700
commitd7d9ce27c523798384051246e18e3f00b29dd8c9 (patch)
tree3bea869080c65f73f1c92ded39c6b7e1434394fe /include/grpc/compression.h
parentfc0fa3381c7b7088936ce6f41a8f8c41ef3c38ac (diff)
WIP in *_end2end_test.cc. Tests pass. Fixed leaks and introduced concept of compression request thru MD
Diffstat (limited to 'include/grpc/compression.h')
-rw-r--r--include/grpc/compression.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/grpc/compression.h b/include/grpc/compression.h
index 1cff5d2d7e..dd7e1d0a12 100644
--- a/include/grpc/compression.h
+++ b/include/grpc/compression.h
@@ -34,6 +34,10 @@
#ifndef GRPC_COMPRESSION_H
#define GRPC_COMPRESSION_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/** To be used in channel arguments */
#define GRPC_COMPRESSION_LEVEL_ARG "grpc.compression_level"
@@ -76,4 +80,8 @@ grpc_compression_level grpc_compression_level_for_algorithm(
grpc_compression_algorithm grpc_compression_algorithm_for_level(
grpc_compression_level level);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* GRPC_COMPRESSION_H */