34 #ifndef GRPC_INTERNAL_CORE_TRANSPORT_METADATA_H
35 #define GRPC_INTERNAL_CORE_TRANSPORT_METADATA_H
99 int perform_key_canonicalization);
122 int canonicalize_key);
127 void (*if_destroy_func)(
void *));
132 #ifdef GRPC_METADATA_REFCOUNT_DEBUG
133 #define GRPC_MDSTR_REF(s) grpc_mdstr_ref((s), __FILE__, __LINE__)
134 #define GRPC_MDSTR_UNREF(s) grpc_mdstr_unref((s), __FILE__, __LINE__)
135 #define GRPC_MDELEM_REF(s) grpc_mdelem_ref((s), __FILE__, __LINE__)
136 #define GRPC_MDELEM_UNREF(s) grpc_mdelem_unref((s), __FILE__, __LINE__)
142 #define GRPC_MDSTR_REF(s) grpc_mdstr_ref((s))
143 #define GRPC_MDSTR_UNREF(s) grpc_mdstr_unref((s))
144 #define GRPC_MDELEM_REF(s) grpc_mdelem_ref((s))
145 #define GRPC_MDELEM_UNREF(s) grpc_mdelem_unref((s))
167 #ifdef GRPC_METADATA_REFCOUNT_DEBUG
168 #define GRPC_MDCTX_LOCKED_MDELEM_UNREF(ctx, elem) \
169 grpc_mdctx_locked_mdelem_unref((ctx), (elem), __FILE__, __LINE__)
172 const char *file,
int line);
174 #define GRPC_MDCTX_LOCKED_MDELEM_UNREF(ctx, elem) \
175 grpc_mdctx_locked_mdelem_unref((ctx), (elem))
182 #define GRPC_MDSTR_KV_HASH(k_hash, v_hash) (GPR_ROTL((k_hash), 2) ^ (v_hash))
const char * value
Definition: hpack_table.c:44
grpc_mdstr *const key
Definition: metadata.h:79
const gpr_uint32 hash
Definition: metadata.h:72
Definition: metadata.h:70
Definition: metadata.c:98
Definition: metadata.h:78
const gpr_slice slice
Definition: metadata.h:71
grpc_mdstr *const value
Definition: metadata.h:80
const char * key
Definition: hpack_table.c:43