diff options
author | ncteisen <ncteisen@gmail.com> | 2018-09-12 11:34:00 -0700 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2018-09-18 14:57:02 -0700 |
commit | bd9d97a2003322f523d54f7bc9fa89dff3e36ab5 (patch) | |
tree | d28d72744d0c31208e9db9a651479f804265ae91 /include/grpc | |
parent | e914bbac72e866db04600d123e37e0087a08d5f7 (diff) |
Channelz socket support
Diffstat (limited to 'include/grpc')
-rw-r--r-- | include/grpc/grpc.h | 4 |
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 |