aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2018-09-12 11:34:00 -0700
committerGravatar ncteisen <ncteisen@gmail.com>2018-09-18 14:57:02 -0700
commitbd9d97a2003322f523d54f7bc9fa89dff3e36ab5 (patch)
treed28d72744d0c31208e9db9a651479f804265ae91 /include/grpc
parente914bbac72e866db04600d123e37e0087a08d5f7 (diff)
Channelz socket support
Diffstat (limited to 'include/grpc')
-rw-r--r--include/grpc/grpc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/grpc/grpc.h b/include/grpc/grpc.h
index ce421e93bd..fc0a0d3cce 100644
--- a/include/grpc/grpc.h
+++ b/include/grpc/grpc.h
@@ -510,6 +510,10 @@ GRPCAPI char* grpc_channelz_get_channel(intptr_t channel_id);
is allocated and must be freed by the application. */
GRPCAPI char* grpc_channelz_get_subchannel(intptr_t subchannel_id);
+/* Returns a single Socket, or else a NOT_FOUND code. The returned string
+ is allocated and must be freed by the application. */
+GRPCAPI char* grpc_channelz_get_socket(intptr_t socket_id);
+
#ifdef __cplusplus
}
#endif