aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/transport/metadata.h
diff options
context:
space:
mode:
authorGravatar Nicolas Noble <nicolasnoble@users.noreply.github.com>2016-04-06 16:40:49 -0700
committerGravatar Nicolas Noble <nicolasnoble@users.noreply.github.com>2016-04-06 16:40:49 -0700
commit41d124fe66bd08c3e00a082f282b78ca16eb8903 (patch)
treedaaebb170ab610b94754ea6e9539630430b985e3 /src/core/lib/transport/metadata.h
parent2879aa1b1db9a72299c62cb9e9f2aa74e3e3e762 (diff)
parent39afce836de1fb6e49c0eefc5ed77a4d44f1837a (diff)
Merge pull request #6029 from yang-g/hpack_table
Use base64 encoded length for decoder table size calculation of binary headers
Diffstat (limited to 'src/core/lib/transport/metadata.h')
-rw-r--r--src/core/lib/transport/metadata.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/lib/transport/metadata.h b/src/core/lib/transport/metadata.h
index 6a02437fdf..8630b0e0e8 100644
--- a/src/core/lib/transport/metadata.h
+++ b/src/core/lib/transport/metadata.h
@@ -110,6 +110,8 @@ grpc_mdelem *grpc_mdelem_from_string_and_buffer(const char *key,
const uint8_t *value,
size_t value_length);
+size_t grpc_mdelem_get_size_in_hpack_table(grpc_mdelem *elem);
+
/* Mutator and accessor for grpc_mdelem user data. The destructor function
is used as a type tag and is checked during user_data fetch. */
void *grpc_mdelem_get_user_data(grpc_mdelem *md,