aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc/compression.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-01-29 07:59:35 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-01-29 07:59:35 -0800
commitd6546c964062580d2c0fea9bd50290b73ade6b09 (patch)
tree540555f579aeec4b7630183b70f36b5ed781da5b /include/grpc/compression.h
parent9b42637047e640e1a139ab5bfd04ef025f7879b5 (diff)
clang-format
Diffstat (limited to 'include/grpc/compression.h')
-rw-r--r--include/grpc/compression.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/include/grpc/compression.h b/include/grpc/compression.h
index 5bb97ae901..a2b65b0e8a 100644
--- a/include/grpc/compression.h
+++ b/include/grpc/compression.h
@@ -46,19 +46,20 @@ extern "C" {
/** 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. */
-GRPC_API int grpc_compression_algorithm_parse(const char *name, size_t name_length,
- grpc_compression_algorithm *algorithm);
+GRPC_API int grpc_compression_algorithm_parse(
+ const char *name, size_t name_length,
+ grpc_compression_algorithm *algorithm);
/** Updates \a name with the encoding name corresponding to a valid \a
* algorithm. Returns 1 upon success, 0 otherwise. */
-GRPC_API int grpc_compression_algorithm_name(grpc_compression_algorithm algorithm,
- char **name);
+GRPC_API int grpc_compression_algorithm_name(
+ grpc_compression_algorithm algorithm, char **name);
/** Returns the compression algorithm corresponding to \a level.
*
* It abort()s for unknown levels . */
-GRPC_API grpc_compression_algorithm grpc_compression_algorithm_for_level(
- grpc_compression_level level);
+GRPC_API grpc_compression_algorithm
+grpc_compression_algorithm_for_level(grpc_compression_level level);
GRPC_API void grpc_compression_options_init(grpc_compression_options *opts);