diff options
author | 2018-10-24 15:27:57 -0700 | |
---|---|---|
committer | 2018-10-24 17:31:30 -0700 | |
commit | 693f46841a2d91b35ac3c9268b69f9ca33feee81 (patch) | |
tree | 459bbe3aaf5bc06a6452b2c89ff45df303037215 /include/grpc/grpc.h | |
parent | 0d5db17da6a639068183828dc4ed6e292fc97cc3 (diff) |
Add GetServer to core
Diffstat (limited to 'include/grpc/grpc.h')
-rw-r--r-- | include/grpc/grpc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/grpc/grpc.h b/include/grpc/grpc.h index 514d9ddc4b..d3b74cabab 100644 --- a/include/grpc/grpc.h +++ b/include/grpc/grpc.h @@ -506,6 +506,9 @@ 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_server_id); +/* Returns a single Server, or else a NOT_FOUND code. */ +GRPCAPI char* grpc_channelz_get_server(intptr_t server_id); + /* Gets all server sockets that exist in the server. */ GRPCAPI char* grpc_channelz_get_server_sockets(intptr_t server_id, intptr_t start_socket_id); |