aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/transport/transport_impl.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-08-31 12:23:53 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-08-31 12:23:53 -0700
commitccad38227f63797318d7cffcba8a2df783394ccd (patch)
tree64632504188bf906796763f585c11055098aab58 /src/core/lib/transport/transport_impl.h
parent6e739745e298bf205eb2553d3a3c8a3eed06fff1 (diff)
parent451b92a754900a800a7728a3d63462058026ac2c (diff)
Merge github.com:grpc/grpc into stats
Diffstat (limited to 'src/core/lib/transport/transport_impl.h')
-rw-r--r--src/core/lib/transport/transport_impl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/lib/transport/transport_impl.h b/src/core/lib/transport/transport_impl.h
index bbae69c223..fc772c6dd1 100644
--- a/src/core/lib/transport/transport_impl.h
+++ b/src/core/lib/transport/transport_impl.h
@@ -59,6 +59,9 @@ typedef struct grpc_transport_vtable {
/* implementation of grpc_transport_destroy */
void (*destroy)(grpc_exec_ctx *exec_ctx, grpc_transport *self);
+ /* implementation of grpc_transport_get_peer */
+ char *(*get_peer)(grpc_exec_ctx *exec_ctx, grpc_transport *self);
+
/* implementation of grpc_transport_get_endpoint */
grpc_endpoint *(*get_endpoint)(grpc_exec_ctx *exec_ctx, grpc_transport *self);
} grpc_transport_vtable;