aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/http/format_request.h
diff options
context:
space:
mode:
authorGravatar Michael Darakananda <pongad@google.com>2017-10-10 15:07:28 +1100
committerGravatar Michael Darakananda <pongad@google.com>2017-10-10 15:07:28 +1100
commitdf6e3750b24a584daa823e01b2a69ac65f59af83 (patch)
tree659cbc6c0021d03564b516110abd4b09bd17ce82 /src/core/lib/http/format_request.h
parentb268629245788bee994e96cb585a3ab2c78bafa8 (diff)
parentb6142ef1a6dc70565f468346c7935f43dbcb55fa (diff)
Merge branch 'master' into fix-php
Diffstat (limited to 'src/core/lib/http/format_request.h')
-rw-r--r--src/core/lib/http/format_request.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/core/lib/http/format_request.h b/src/core/lib/http/format_request.h
index 12b42e42fa..a559aac660 100644
--- a/src/core/lib/http/format_request.h
+++ b/src/core/lib/http/format_request.h
@@ -22,6 +22,10 @@
#include <grpc/slice.h>
#include "src/core/lib/http/httpcli.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
grpc_slice grpc_httpcli_format_get_request(const grpc_httpcli_request *request);
grpc_slice grpc_httpcli_format_post_request(const grpc_httpcli_request *request,
const char *body_bytes,
@@ -29,4 +33,8 @@ grpc_slice grpc_httpcli_format_post_request(const grpc_httpcli_request *request,
grpc_slice grpc_httpcli_format_connect_request(
const grpc_httpcli_request *request);
-#endif /* GRPC_CORE_LIB_HTTP_FORMAT_REQUEST_H */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* GRPC_CORE_LIB_HTTP_FORMAT_REQUEST_H */ \ No newline at end of file