aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/http/parser.h
diff options
context:
space:
mode:
authorGravatar Sree Kuchibhotla <sreek@google.com>2017-10-09 16:59:37 -0700
committerGravatar Sree Kuchibhotla <sreek@google.com>2017-10-09 16:59:37 -0700
commit8454252631e48369901da74b62233b020abd661a (patch)
tree78221da7960392d0e1398be7868f915ba4a3baa5 /src/core/lib/http/parser.h
parent0d0fa06488e09bb404511af15523f2e75a2e86c8 (diff)
parentb6142ef1a6dc70565f468346c7935f43dbcb55fa (diff)
Merge branch 'master' into cq_stats
Diffstat (limited to 'src/core/lib/http/parser.h')
-rw-r--r--src/core/lib/http/parser.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/core/lib/http/parser.h b/src/core/lib/http/parser.h
index c8dced3901..5484948bea 100644
--- a/src/core/lib/http/parser.h
+++ b/src/core/lib/http/parser.h
@@ -27,6 +27,10 @@
/* Maximum length of a header string of the form 'Key: Value\r\n' */
#define GRPC_HTTP_PARSER_MAX_HEADER_LENGTH 4096
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* A single header to be passed in a request */
typedef struct grpc_http_header {
char *key;
@@ -109,4 +113,8 @@ void grpc_http_response_destroy(grpc_http_response *response);
extern grpc_tracer_flag grpc_http1_trace;
-#endif /* GRPC_CORE_LIB_HTTP_PARSER_H */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* GRPC_CORE_LIB_HTTP_PARSER_H */ \ No newline at end of file