diff options
author | 2017-08-11 16:11:26 -0700 | |
---|---|---|
committer | 2017-08-11 16:11:26 -0700 | |
commit | d36283ab594c4cf8fdffac700efeffa2705e6dc0 (patch) | |
tree | a4fdae5abb82cefef67f2a72018de64b5941e4c0 /include/grpc/compression.h | |
parent | 69b8fe02b6a45a2731c17e91d6f22d85026fcd2f (diff) |
Address review comments
Diffstat (limited to 'include/grpc/compression.h')
-rw-r--r-- | include/grpc/compression.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/include/grpc/compression.h b/include/grpc/compression.h index 15ae16c56c..3a8de4b7b8 100644 --- a/include/grpc/compression.h +++ b/include/grpc/compression.h @@ -30,15 +30,13 @@ extern "C" { #endif -/** Parses the first \a name_length bytes of \a name as a - * grpc_compression_algorithm instance, updating \a algorithm. Returns 1 upon - * success, 0 otherwise. */ +/** Parses the \a slice as a grpc_compression_algorithm instance and updating \a + * algorithm. Returns 1 upon success, 0 otherwise. */ GRPCAPI int grpc_compression_algorithm_parse( grpc_slice value, grpc_compression_algorithm *algorithm); -/** Parses the first \a name_length bytes of \a name as a - * grpc_stream_compression_algorithm instance, updating \a algorithm. Returns 1 - * upon success, 0 otherwise. */ +/** Parses the \a slice as a grpc_stream_compression_algorithm instance and + * updating \a algorithm. Returns 1 upon success, 0 otherwise. */ int grpc_stream_compression_algorithm_parse( grpc_slice name, grpc_stream_compression_algorithm *algorithm); |