From db8e17986d5b7ce786a6a686e1f8616bc5fb77cb Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Tue, 9 Jun 2015 14:47:32 -0700 Subject: Add comment --- src/core/surface/channel.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/surface/channel.h b/src/core/surface/channel.h index fb57313041..dace4dfb41 100644 --- a/src/core/surface/channel.h +++ b/src/core/surface/channel.h @@ -42,6 +42,10 @@ grpc_channel *grpc_channel_create_from_filters( grpc_channel_stack *grpc_channel_get_channel_stack(grpc_channel *channel); grpc_mdctx *grpc_channel_get_metadata_context(grpc_channel *channel); +/** Get a grpc_mdelem of grpc-status: X where X is the numeric value of + status_code. + + The returned elem is owned by the caller. */ grpc_mdelem *grpc_channel_get_reffed_status_elem(grpc_channel *channel, int status_code); grpc_mdstr *grpc_channel_get_status_string(grpc_channel *channel); -- cgit v1.2.3