aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc/grpc.h
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2018-08-13 23:43:48 -0700
committerGravatar ncteisen <ncteisen@gmail.com>2018-08-14 17:26:40 -0700
commit3aa987a29a02f59116f3e7d07cfa6a4835c211b4 (patch)
tree314a39de050eaaa8a9b940b39940a41122ab0dea /include/grpc/grpc.h
parentb8f030bc0b507903e9d156fb44d161015273d0c6 (diff)
Add channelz server support
Diffstat (limited to 'include/grpc/grpc.h')
-rw-r--r--include/grpc/grpc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/grpc/grpc.h b/include/grpc/grpc.h
index 412778f7f7..cb32808c56 100644
--- a/include/grpc/grpc.h
+++ b/include/grpc/grpc.h
@@ -483,6 +483,9 @@ GRPCAPI const grpc_arg_pointer_vtable* grpc_resource_quota_arg_vtable(void);
The returned string is allocated and must be freed by the application. */
GRPCAPI char* grpc_channelz_get_top_channels(intptr_t start_channel_id);
+/* Gets all servers that exist in the process. */
+GRPCAPI char* grpc_channelz_get_servers(intptr_t start_channel_id);
+
/* Returns a single Channel, or else a NOT_FOUND code. The returned string
is allocated and must be freed by the application. */
GRPCAPI char* grpc_channelz_get_channel(intptr_t channel_id);