• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2015 gRPC authors.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 /*
18  * WARNING: Auto-generated code.
19  *
20  * To make changes to this file, change
21  * tools/codegen/core/gen_static_metadata.py, and then re-run it.
22  *
23  * This file contains the mapping from the index of each metadata element in the
24  * grpc static metadata table to the index of that element in the hpack static
25  * metadata table. If the element is not contained in the static hpack table,
26  * then the returned index is 0.
27  */
28 
29 #include <grpc/support/port_platform.h>
30 
31 #include "src/core/ext/transport/chttp2/transport/hpack_mapping.h"
32 
33 const uint8_t grpc_hpack_static_mdelem_indices[GRPC_STATIC_MDELEM_COUNT] = {
34     0,  0,  0,  0,  0,  0,  0,  0,  3,  8,  13, 6,  7,  0,  1,  2,  0,  4,
35     5,  9,  10, 11, 12, 14, 15, 0,  16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
36     0,  0,  26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
37     42, 43, 44, 0,  0,  45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
38     58, 59, 60, 61, 0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
39 };
40