aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/transport/metadata_batch.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-11-22 14:54:10 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-11-22 14:54:10 -0800
commitb0f3bca0ef9ee8c1ea6bb2bde7281a1df5914216 (patch)
tree6fc1fcbbd883b7fe550d92a8f3c58fc3d80dc29f /src/core/lib/transport/metadata_batch.h
parenta7d37a371a965470c917ccf50eb858f66bcc6eaa (diff)
Everything compiles...
Diffstat (limited to 'src/core/lib/transport/metadata_batch.h')
-rw-r--r--src/core/lib/transport/metadata_batch.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/lib/transport/metadata_batch.h b/src/core/lib/transport/metadata_batch.h
index 1cc3814044..a95a8887f4 100644
--- a/src/core/lib/transport/metadata_batch.h
+++ b/src/core/lib/transport/metadata_batch.h
@@ -55,13 +55,12 @@ typedef struct grpc_linked_mdelem {
} grpc_linked_mdelem;
typedef struct grpc_mdelem_list {
+ size_t count;
grpc_linked_mdelem *head;
grpc_linked_mdelem *tail;
} grpc_mdelem_list;
typedef struct grpc_metadata_batch {
- /* number of elements in the batch */
- size_t count;
/** Metadata elements in this batch */
grpc_mdelem_list list;
grpc_metadata_batch_callouts idx;
@@ -86,7 +85,8 @@ void grpc_metadata_batch_remove(grpc_metadata_batch *batch,
grpc_linked_mdelem *storage);
/** Substitute a new mdelem for an old value */
-grpc_error *grpc_metadata_batch_substitute(grpc_metadata_batch *batch,
+grpc_error *grpc_metadata_batch_substitute(grpc_exec_ctx *exec_ctx,
+ grpc_metadata_batch *batch,
grpc_linked_mdelem *storage,
grpc_mdelem new_value);