aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/transport/stream_op.h
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2015-07-10 17:48:22 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2015-07-10 17:48:22 -0700
commit20a3538ddcdc194c14ad7c04b237a2ec7f022df3 (patch)
tree9d99a72e2e9d96e6ec4d82100b29d3da2dfb4d4f /src/core/transport/stream_op.h
parenta21e2c8f912f5701c5bd9905b41548677d4b1413 (diff)
More bugfixes to compress_filter.
Introduced grpc_metadata_batch_move and added grpc_compress_filter to grpc_server_create
Diffstat (limited to 'src/core/transport/stream_op.h')
-rw-r--r--src/core/transport/stream_op.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/transport/stream_op.h b/src/core/transport/stream_op.h
index 964d39d14f..f27ef1b66b 100644
--- a/src/core/transport/stream_op.h
+++ b/src/core/transport/stream_op.h
@@ -102,6 +102,11 @@ void grpc_metadata_batch_destroy(grpc_metadata_batch *batch);
void grpc_metadata_batch_merge(grpc_metadata_batch *target,
grpc_metadata_batch *add);
+/** Moves the metadata information from \a src to \a dst. Upon return, \a src is
+ * zeroed. */
+void grpc_metadata_batch_move(grpc_metadata_batch *dst,
+ grpc_metadata_batch *src);
+
/** Add \a storage to the beginning of \a batch. storage->md is
assumed to be valid.
\a storage is owned by the caller and must survive for the