aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc
diff options
context:
space:
mode:
authorGravatar Noah Eisen <ncteisen@gmail.com>2018-09-10 11:12:52 -0700
committerGravatar GitHub <noreply@github.com>2018-09-10 11:12:52 -0700
commit2edfddb66f84841fb39d01e335d19f13a09519cf (patch)
tree179d269af2150e2566f08f1afcc160c3a796280f /include/grpc
parent1a09a5931e41cd44e442775f4f20b9b7349507c6 (diff)
parent2ff5be8c08c75a2c2c0152694788aa1e5ed3d50d (diff)
Merge pull request #16055 from ncteisen/channelz-subchannels
Channelz Part 4: Add Subchannel 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 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