aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc/grpc.h
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2016-11-04 08:43:36 -0700
committerGravatar Mark D. Roth <roth@google.com>2016-11-04 08:43:36 -0700
commitf79ce7d2016ecdd8e7b063de4a8fa9914e7148e6 (patch)
treec94ff11b035d315e5727c59b815295f9a4676d6a /include/grpc/grpc.h
parente5b4d4f35b9a5ee4e1553cc3cdc136af9992e334 (diff)
Code review changes.
Diffstat (limited to 'include/grpc/grpc.h')
-rw-r--r--include/grpc/grpc.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/grpc/grpc.h b/include/grpc/grpc.h
index 9dfcca9766..a228683d41 100644
--- a/include/grpc/grpc.h
+++ b/include/grpc/grpc.h
@@ -237,9 +237,12 @@ GRPCAPI struct census_context *grpc_census_call_get_context(grpc_call *call);
created for. */
GRPCAPI char *grpc_channel_get_target(grpc_channel *channel);
-/** Request info about the channel. */
+/** Request info about the channel.
+ \a channel_info indicates what information is being requested and
+ how that information will be returned.
+ \a channel_info is owned by the caller. */
GRPCAPI void grpc_channel_get_info(grpc_channel *channel,
- grpc_channel_info *channel_info);
+ const grpc_channel_info *channel_info);
/** Create a client channel to 'target'. Additional channel level configuration
MAY be provided by grpc_channel_args, though the expectation is that most