aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/channel/channel_args.h
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2015-08-24 12:33:05 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2015-08-24 12:33:05 -0700
commitfe5f25490d4e290ecf2fc52de64c1230429fd0a3 (patch)
treecc515354f572c29e02deee5d953e99094d660307 /src/core/channel/channel_args.h
parenta4c4f02a63eb70fcd21a102cde9aa536dcd17f67 (diff)
Improvements to the grpc_channel_args_compression_algorithm_set_state api
Diffstat (limited to 'src/core/channel/channel_args.h')
-rw-r--r--src/core/channel/channel_args.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/channel/channel_args.h b/src/core/channel/channel_args.h
index e557f9a9d9..06a6012dee 100644
--- a/src/core/channel/channel_args.h
+++ b/src/core/channel/channel_args.h
@@ -70,9 +70,12 @@ grpc_channel_args *grpc_channel_args_set_compression_algorithm(
/** Sets the support for the given compression algorithm. By default, all
* compression algorithms are enabled. It's an error to disable an algorithm set
* by grpc_channel_args_set_compression_algorithm.
- * */
+ *
+ * Returns an instance will the updated algorithm states. The \a a pointer is
+ * modified to point to the returned instance (which may be different from the
+ * input value of \a a). */
grpc_channel_args *grpc_channel_args_compression_algorithm_set_state(
- grpc_channel_args *a,
+ grpc_channel_args **a,
grpc_compression_algorithm algorithm,
int enabled);