diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-06-09 14:47:32 -0700 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-06-09 14:47:32 -0700 |
commit | db8e17986d5b7ce786a6a686e1f8616bc5fb77cb (patch) | |
tree | 883d0aa4b78b0a764534f0d86eca9a98da08d37a | |
parent | 0d911aad6912b21803d7ff826f46fcb048107c0a (diff) |
Add comment
-rw-r--r-- | src/core/surface/channel.h | 4 |
1 files changed, 4 insertions, 0 deletions
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); |