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 #ifndef GRPC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_HPACK_MAPPING_H 30 #define GRPC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_HPACK_MAPPING_H 31 32 #include <grpc/support/port_platform.h> 33 34 #include "src/core/lib/transport/static_metadata.h" 35 36 extern const uint8_t grpc_hpack_static_mdelem_indices[GRPC_STATIC_MDELEM_COUNT]; 37 38 #endif /* GRPC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_HPACK_MAPPING_H */ 39