diff options
author | 2016-06-16 14:52:41 -0700 | |
---|---|---|
committer | 2016-06-16 14:52:41 -0700 | |
commit | 035cb3a3d4fe9634834b5814827e49adc9cf6b69 (patch) | |
tree | 865354cf9bc552ff2321cb158fdb259c9a191ba5 /src/core/lib/transport/transport.h | |
parent | 9fe5ef5f9d17289f57ee1d5436314c3153b80975 (diff) |
Pass peer string to ChannelData ctor when available.
Diffstat (limited to 'src/core/lib/transport/transport.h')
-rw-r--r-- | src/core/lib/transport/transport.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/lib/transport/transport.h b/src/core/lib/transport/transport.h index ed06fc3ed2..107bb802f6 100644 --- a/src/core/lib/transport/transport.h +++ b/src/core/lib/transport/transport.h @@ -43,6 +43,10 @@ #include "src/core/lib/transport/byte_stream.h" #include "src/core/lib/transport/metadata_batch.h" +#ifdef __cplusplus +extern "C" { +#endif + /* forward declarations */ typedef struct grpc_transport grpc_transport; @@ -264,4 +268,8 @@ void grpc_transport_destroy(grpc_exec_ctx *exec_ctx, grpc_transport *transport); char *grpc_transport_get_peer(grpc_exec_ctx *exec_ctx, grpc_transport *transport); +#ifdef __cplusplus +} +#endif + #endif /* GRPC_CORE_LIB_TRANSPORT_TRANSPORT_H */ |