diff options
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 4e50cd0bac..a8b71ffec2 100644 --- a/include/grpc/grpc.h +++ b/include/grpc/grpc.h @@ -503,6 +503,10 @@ GRPCAPI char* grpc_channelz_get_top_channels(intptr_t start_channel_id); is allocated and must be freed by the application. */ GRPCAPI char* grpc_channelz_get_channel(intptr_t channel_id); +/* Returns a single Subchannel, or else a NOT_FOUND code. The returned string + is allocated and must be freed by the application. */ +GRPCAPI char* grpc_channelz_get_subchannel(intptr_t subchannel_id); + #ifdef __cplusplus } #endif |