diff options
author | Muxi Yan <mxyan@google.com> | 2017-07-21 16:23:08 -0700 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2017-07-21 16:23:08 -0700 |
commit | c97fc14a0ece99339f56b313b862f1a28f48c8b8 (patch) | |
tree | 3ab8cc2c3d9744c61f97be53a818ec709c800cd9 /include/grpc/compression.h | |
parent | 6a9833b377a4d76f70cbd67253954ecac0dcdc7c (diff) |
Revert "Stream compression configuration"
This reverts commit a4dc077d3c1eef677102f68496732b7dd2374875.
Diffstat (limited to 'include/grpc/compression.h')
-rw-r--r-- | include/grpc/compression.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/include/grpc/compression.h b/include/grpc/compression.h index c30f28e924..d47074c9b7 100644 --- a/include/grpc/compression.h +++ b/include/grpc/compression.h @@ -30,16 +30,12 @@ extern "C" { #endif -/** Parses \a value as a grpc_compression_algorithm instance, updating \a - * algorithm. Returns 1 upon success, 0 otherwise. */ +/** 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. */ GRPCAPI int grpc_compression_algorithm_parse( grpc_slice value, grpc_compression_algorithm *algorithm); -/** Parses \a value as a grpc_compression_algorithm instance for stream - * compression, updating \a algorithm. Returns 1 upon success, 0 otherwise. */ -GRPCAPI int grpc_stream_compression_algorithm_parse( - grpc_slice value, grpc_compression_algorithm *algorithm); - /** Updates \a name with the encoding name corresponding to a valid \a * algorithm. Note that \a name is statically allocated and must *not* be freed. * Returns 1 upon success, 0 otherwise. */ |