Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 1 | /* |
Bogdan Drutu | e9319da | 2016-02-09 14:39:01 -0800 | [diff] [blame] | 2 | * |
Craig Tiller | c506e24 | 2016-01-04 15:59:29 -0800 | [diff] [blame] | 3 | * Copyright 2015-2016, Google Inc. |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 4 | * All rights reserved. |
Bogdan Drutu | 806f434 | 2016-02-08 18:10:49 -0800 | [diff] [blame] | 5 | * |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 6 | * Redistribution and use in source and binary forms, with or without |
| 7 | * modification, are permitted provided that the following conditions are |
| 8 | * met: |
Bogdan Drutu | 806f434 | 2016-02-08 18:10:49 -0800 | [diff] [blame] | 9 | * |
Bogdan Drutu | c7ea439 | 2016-02-09 14:41:22 -0800 | [diff] [blame] | 10 | * * Redistributions of source code must retain the above copyright |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 11 | * notice, this list of conditions and the following disclaimer. |
Bogdan Drutu | c7ea439 | 2016-02-09 14:41:22 -0800 | [diff] [blame] | 12 | * * Redistributions in binary form must reproduce the above |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 13 | * copyright notice, this list of conditions and the following disclaimer |
| 14 | * in the documentation and/or other materials provided with the |
| 15 | * distribution. |
Bogdan Drutu | c7ea439 | 2016-02-09 14:41:22 -0800 | [diff] [blame] | 16 | * * Neither the name of Google Inc. nor the names of its |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 17 | * contributors may be used to endorse or promote products derived from |
| 18 | * this software without specific prior written permission. |
Bogdan Drutu | 806f434 | 2016-02-08 18:10:49 -0800 | [diff] [blame] | 19 | * |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 20 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 21 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 22 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 23 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 24 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 25 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 26 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 27 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 28 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 29 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 30 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Bogdan Drutu | c7ea439 | 2016-02-09 14:41:22 -0800 | [diff] [blame] | 31 | * |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 32 | */ |
Craig Tiller | be52c6e | 2016-01-04 15:35:26 -0800 | [diff] [blame] | 33 | |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 34 | /* |
| 35 | * WARNING: Auto-generated code. |
Bogdan Drutu | 806f434 | 2016-02-08 18:10:49 -0800 | [diff] [blame] | 36 | * |
| 37 | * To make changes to this file, change |
| 38 | * tools/codegen/core/gen_static_metadata.py, |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 39 | * and then re-run it. |
Bogdan Drutu | 806f434 | 2016-02-08 18:10:49 -0800 | [diff] [blame] | 40 | * |
| 41 | * See metadata.h for an explanation of the interface here, and metadata.c for |
| 42 | * an |
Craig Tiller | 8695812 | 2015-11-19 07:55:03 -0800 | [diff] [blame] | 43 | * explanation of what's going on. |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 44 | */ |
| 45 | |
Craig Tiller | 9a4dddd | 2016-03-25 17:08:13 -0700 | [diff] [blame] | 46 | #ifndef GRPC_CORE_LIB_TRANSPORT_STATIC_METADATA_H |
| 47 | #define GRPC_CORE_LIB_TRANSPORT_STATIC_METADATA_H |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 48 | |
| 49 | #include "src/core/transport/metadata.h" |
| 50 | |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 51 | #define GRPC_STATIC_MDSTR_COUNT 89 |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 52 | extern grpc_mdstr grpc_static_mdstr_table[GRPC_STATIC_MDSTR_COUNT]; |
| 53 | /* "0" */ |
| 54 | #define GRPC_MDSTR_0 (&grpc_static_mdstr_table[0]) |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 55 | /* "1" */ |
| 56 | #define GRPC_MDSTR_1 (&grpc_static_mdstr_table[1]) |
| 57 | /* "2" */ |
| 58 | #define GRPC_MDSTR_2 (&grpc_static_mdstr_table[2]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 59 | /* "200" */ |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 60 | #define GRPC_MDSTR_200 (&grpc_static_mdstr_table[3]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 61 | /* "204" */ |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 62 | #define GRPC_MDSTR_204 (&grpc_static_mdstr_table[4]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 63 | /* "206" */ |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 64 | #define GRPC_MDSTR_206 (&grpc_static_mdstr_table[5]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 65 | /* "304" */ |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 66 | #define GRPC_MDSTR_304 (&grpc_static_mdstr_table[6]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 67 | /* "400" */ |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 68 | #define GRPC_MDSTR_400 (&grpc_static_mdstr_table[7]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 69 | /* "404" */ |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 70 | #define GRPC_MDSTR_404 (&grpc_static_mdstr_table[8]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 71 | /* "500" */ |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 72 | #define GRPC_MDSTR_500 (&grpc_static_mdstr_table[9]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 73 | /* "accept" */ |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 74 | #define GRPC_MDSTR_ACCEPT (&grpc_static_mdstr_table[10]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 75 | /* "accept-charset" */ |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 76 | #define GRPC_MDSTR_ACCEPT_CHARSET (&grpc_static_mdstr_table[11]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 77 | /* "accept-encoding" */ |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 78 | #define GRPC_MDSTR_ACCEPT_ENCODING (&grpc_static_mdstr_table[12]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 79 | /* "accept-language" */ |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 80 | #define GRPC_MDSTR_ACCEPT_LANGUAGE (&grpc_static_mdstr_table[13]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 81 | /* "accept-ranges" */ |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 82 | #define GRPC_MDSTR_ACCEPT_RANGES (&grpc_static_mdstr_table[14]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 83 | /* "access-control-allow-origin" */ |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 84 | #define GRPC_MDSTR_ACCESS_CONTROL_ALLOW_ORIGIN (&grpc_static_mdstr_table[15]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 85 | /* "age" */ |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 86 | #define GRPC_MDSTR_AGE (&grpc_static_mdstr_table[16]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 87 | /* "allow" */ |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 88 | #define GRPC_MDSTR_ALLOW (&grpc_static_mdstr_table[17]) |
| 89 | /* "application/grpc" */ |
| 90 | #define GRPC_MDSTR_APPLICATION_SLASH_GRPC (&grpc_static_mdstr_table[18]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 91 | /* ":authority" */ |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 92 | #define GRPC_MDSTR_AUTHORITY (&grpc_static_mdstr_table[19]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 93 | /* "authorization" */ |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 94 | #define GRPC_MDSTR_AUTHORIZATION (&grpc_static_mdstr_table[20]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 95 | /* "cache-control" */ |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 96 | #define GRPC_MDSTR_CACHE_CONTROL (&grpc_static_mdstr_table[21]) |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 97 | /* "census-bin" */ |
Bogdan Drutu | 079a179 | 2016-02-08 16:51:17 -0800 | [diff] [blame] | 98 | #define GRPC_MDSTR_CENSUS_BIN (&grpc_static_mdstr_table[22]) |
| 99 | /* "census-binary-bin" */ |
| 100 | #define GRPC_MDSTR_CENSUS_BINARY_BIN (&grpc_static_mdstr_table[23]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 101 | /* "content-disposition" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 102 | #define GRPC_MDSTR_CONTENT_DISPOSITION (&grpc_static_mdstr_table[24]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 103 | /* "content-encoding" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 104 | #define GRPC_MDSTR_CONTENT_ENCODING (&grpc_static_mdstr_table[25]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 105 | /* "content-language" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 106 | #define GRPC_MDSTR_CONTENT_LANGUAGE (&grpc_static_mdstr_table[26]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 107 | /* "content-length" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 108 | #define GRPC_MDSTR_CONTENT_LENGTH (&grpc_static_mdstr_table[27]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 109 | /* "content-location" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 110 | #define GRPC_MDSTR_CONTENT_LOCATION (&grpc_static_mdstr_table[28]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 111 | /* "content-range" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 112 | #define GRPC_MDSTR_CONTENT_RANGE (&grpc_static_mdstr_table[29]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 113 | /* "content-type" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 114 | #define GRPC_MDSTR_CONTENT_TYPE (&grpc_static_mdstr_table[30]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 115 | /* "cookie" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 116 | #define GRPC_MDSTR_COOKIE (&grpc_static_mdstr_table[31]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 117 | /* "date" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 118 | #define GRPC_MDSTR_DATE (&grpc_static_mdstr_table[32]) |
Craig Tiller | f6e40fd | 2015-11-19 08:56:29 -0800 | [diff] [blame] | 119 | /* "deflate" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 120 | #define GRPC_MDSTR_DEFLATE (&grpc_static_mdstr_table[33]) |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 121 | /* "deflate,gzip" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 122 | #define GRPC_MDSTR_DEFLATE_COMMA_GZIP (&grpc_static_mdstr_table[34]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 123 | /* "" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 124 | #define GRPC_MDSTR_EMPTY (&grpc_static_mdstr_table[35]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 125 | /* "etag" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 126 | #define GRPC_MDSTR_ETAG (&grpc_static_mdstr_table[36]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 127 | /* "expect" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 128 | #define GRPC_MDSTR_EXPECT (&grpc_static_mdstr_table[37]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 129 | /* "expires" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 130 | #define GRPC_MDSTR_EXPIRES (&grpc_static_mdstr_table[38]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 131 | /* "from" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 132 | #define GRPC_MDSTR_FROM (&grpc_static_mdstr_table[39]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 133 | /* "GET" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 134 | #define GRPC_MDSTR_GET (&grpc_static_mdstr_table[40]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 135 | /* "grpc" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 136 | #define GRPC_MDSTR_GRPC (&grpc_static_mdstr_table[41]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 137 | /* "grpc-accept-encoding" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 138 | #define GRPC_MDSTR_GRPC_ACCEPT_ENCODING (&grpc_static_mdstr_table[42]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 139 | /* "grpc-encoding" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 140 | #define GRPC_MDSTR_GRPC_ENCODING (&grpc_static_mdstr_table[43]) |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 141 | /* "grpc-internal-encoding-request" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 142 | #define GRPC_MDSTR_GRPC_INTERNAL_ENCODING_REQUEST (&grpc_static_mdstr_table[44]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 143 | /* "grpc-message" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 144 | #define GRPC_MDSTR_GRPC_MESSAGE (&grpc_static_mdstr_table[45]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 145 | /* "grpc-status" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 146 | #define GRPC_MDSTR_GRPC_STATUS (&grpc_static_mdstr_table[46]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 147 | /* "grpc-timeout" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 148 | #define GRPC_MDSTR_GRPC_TIMEOUT (&grpc_static_mdstr_table[47]) |
Craig Tiller | f6e40fd | 2015-11-19 08:56:29 -0800 | [diff] [blame] | 149 | /* "gzip" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 150 | #define GRPC_MDSTR_GZIP (&grpc_static_mdstr_table[48]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 151 | /* "gzip, deflate" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 152 | #define GRPC_MDSTR_GZIP_COMMA_DEFLATE (&grpc_static_mdstr_table[49]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 153 | /* "host" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 154 | #define GRPC_MDSTR_HOST (&grpc_static_mdstr_table[50]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 155 | /* "http" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 156 | #define GRPC_MDSTR_HTTP (&grpc_static_mdstr_table[51]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 157 | /* "https" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 158 | #define GRPC_MDSTR_HTTPS (&grpc_static_mdstr_table[52]) |
Craig Tiller | f6e40fd | 2015-11-19 08:56:29 -0800 | [diff] [blame] | 159 | /* "identity" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 160 | #define GRPC_MDSTR_IDENTITY (&grpc_static_mdstr_table[53]) |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 161 | /* "identity,deflate" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 162 | #define GRPC_MDSTR_IDENTITY_COMMA_DEFLATE (&grpc_static_mdstr_table[54]) |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 163 | /* "identity,deflate,gzip" */ |
Bogdan Drutu | 806f434 | 2016-02-08 18:10:49 -0800 | [diff] [blame] | 164 | #define GRPC_MDSTR_IDENTITY_COMMA_DEFLATE_COMMA_GZIP \ |
| 165 | (&grpc_static_mdstr_table[55]) |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 166 | /* "identity,gzip" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 167 | #define GRPC_MDSTR_IDENTITY_COMMA_GZIP (&grpc_static_mdstr_table[56]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 168 | /* "if-match" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 169 | #define GRPC_MDSTR_IF_MATCH (&grpc_static_mdstr_table[57]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 170 | /* "if-modified-since" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 171 | #define GRPC_MDSTR_IF_MODIFIED_SINCE (&grpc_static_mdstr_table[58]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 172 | /* "if-none-match" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 173 | #define GRPC_MDSTR_IF_NONE_MATCH (&grpc_static_mdstr_table[59]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 174 | /* "if-range" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 175 | #define GRPC_MDSTR_IF_RANGE (&grpc_static_mdstr_table[60]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 176 | /* "if-unmodified-since" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 177 | #define GRPC_MDSTR_IF_UNMODIFIED_SINCE (&grpc_static_mdstr_table[61]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 178 | /* "last-modified" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 179 | #define GRPC_MDSTR_LAST_MODIFIED (&grpc_static_mdstr_table[62]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 180 | /* "link" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 181 | #define GRPC_MDSTR_LINK (&grpc_static_mdstr_table[63]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 182 | /* "location" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 183 | #define GRPC_MDSTR_LOCATION (&grpc_static_mdstr_table[64]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 184 | /* "max-forwards" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 185 | #define GRPC_MDSTR_MAX_FORWARDS (&grpc_static_mdstr_table[65]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 186 | /* ":method" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 187 | #define GRPC_MDSTR_METHOD (&grpc_static_mdstr_table[66]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 188 | /* ":path" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 189 | #define GRPC_MDSTR_PATH (&grpc_static_mdstr_table[67]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 190 | /* "POST" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 191 | #define GRPC_MDSTR_POST (&grpc_static_mdstr_table[68]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 192 | /* "proxy-authenticate" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 193 | #define GRPC_MDSTR_PROXY_AUTHENTICATE (&grpc_static_mdstr_table[69]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 194 | /* "proxy-authorization" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 195 | #define GRPC_MDSTR_PROXY_AUTHORIZATION (&grpc_static_mdstr_table[70]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 196 | /* "range" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 197 | #define GRPC_MDSTR_RANGE (&grpc_static_mdstr_table[71]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 198 | /* "referer" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 199 | #define GRPC_MDSTR_REFERER (&grpc_static_mdstr_table[72]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 200 | /* "refresh" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 201 | #define GRPC_MDSTR_REFRESH (&grpc_static_mdstr_table[73]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 202 | /* "retry-after" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 203 | #define GRPC_MDSTR_RETRY_AFTER (&grpc_static_mdstr_table[74]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 204 | /* ":scheme" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 205 | #define GRPC_MDSTR_SCHEME (&grpc_static_mdstr_table[75]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 206 | /* "server" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 207 | #define GRPC_MDSTR_SERVER (&grpc_static_mdstr_table[76]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 208 | /* "set-cookie" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 209 | #define GRPC_MDSTR_SET_COOKIE (&grpc_static_mdstr_table[77]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 210 | /* "/" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 211 | #define GRPC_MDSTR_SLASH (&grpc_static_mdstr_table[78]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 212 | /* "/index.html" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 213 | #define GRPC_MDSTR_SLASH_INDEX_DOT_HTML (&grpc_static_mdstr_table[79]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 214 | /* ":status" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 215 | #define GRPC_MDSTR_STATUS (&grpc_static_mdstr_table[80]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 216 | /* "strict-transport-security" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 217 | #define GRPC_MDSTR_STRICT_TRANSPORT_SECURITY (&grpc_static_mdstr_table[81]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 218 | /* "te" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 219 | #define GRPC_MDSTR_TE (&grpc_static_mdstr_table[82]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 220 | /* "trailers" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 221 | #define GRPC_MDSTR_TRAILERS (&grpc_static_mdstr_table[83]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 222 | /* "transfer-encoding" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 223 | #define GRPC_MDSTR_TRANSFER_ENCODING (&grpc_static_mdstr_table[84]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 224 | /* "user-agent" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 225 | #define GRPC_MDSTR_USER_AGENT (&grpc_static_mdstr_table[85]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 226 | /* "vary" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 227 | #define GRPC_MDSTR_VARY (&grpc_static_mdstr_table[86]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 228 | /* "via" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 229 | #define GRPC_MDSTR_VIA (&grpc_static_mdstr_table[87]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 230 | /* "www-authenticate" */ |
Hongyu Chen | 134cac2 | 2015-12-10 16:19:24 -0800 | [diff] [blame] | 231 | #define GRPC_MDSTR_WWW_AUTHENTICATE (&grpc_static_mdstr_table[88]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 232 | |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 233 | #define GRPC_STATIC_MDELEM_COUNT 78 |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 234 | extern grpc_mdelem grpc_static_mdelem_table[GRPC_STATIC_MDELEM_COUNT]; |
Bogdan Drutu | b3153f3 | 2016-02-09 12:13:07 -0800 | [diff] [blame] | 235 | extern uintptr_t grpc_static_mdelem_user_data[GRPC_STATIC_MDELEM_COUNT]; |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 236 | /* "accept-charset": "" */ |
| 237 | #define GRPC_MDELEM_ACCEPT_CHARSET_EMPTY (&grpc_static_mdelem_table[0]) |
| 238 | /* "accept": "" */ |
| 239 | #define GRPC_MDELEM_ACCEPT_EMPTY (&grpc_static_mdelem_table[1]) |
| 240 | /* "accept-encoding": "" */ |
| 241 | #define GRPC_MDELEM_ACCEPT_ENCODING_EMPTY (&grpc_static_mdelem_table[2]) |
| 242 | /* "accept-encoding": "gzip, deflate" */ |
Bogdan Drutu | 806f434 | 2016-02-08 18:10:49 -0800 | [diff] [blame] | 243 | #define GRPC_MDELEM_ACCEPT_ENCODING_GZIP_COMMA_DEFLATE \ |
| 244 | (&grpc_static_mdelem_table[3]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 245 | /* "accept-language": "" */ |
| 246 | #define GRPC_MDELEM_ACCEPT_LANGUAGE_EMPTY (&grpc_static_mdelem_table[4]) |
| 247 | /* "accept-ranges": "" */ |
| 248 | #define GRPC_MDELEM_ACCEPT_RANGES_EMPTY (&grpc_static_mdelem_table[5]) |
| 249 | /* "access-control-allow-origin": "" */ |
Bogdan Drutu | 806f434 | 2016-02-08 18:10:49 -0800 | [diff] [blame] | 250 | #define GRPC_MDELEM_ACCESS_CONTROL_ALLOW_ORIGIN_EMPTY \ |
| 251 | (&grpc_static_mdelem_table[6]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 252 | /* "age": "" */ |
| 253 | #define GRPC_MDELEM_AGE_EMPTY (&grpc_static_mdelem_table[7]) |
| 254 | /* "allow": "" */ |
| 255 | #define GRPC_MDELEM_ALLOW_EMPTY (&grpc_static_mdelem_table[8]) |
| 256 | /* ":authority": "" */ |
| 257 | #define GRPC_MDELEM_AUTHORITY_EMPTY (&grpc_static_mdelem_table[9]) |
| 258 | /* "authorization": "" */ |
| 259 | #define GRPC_MDELEM_AUTHORIZATION_EMPTY (&grpc_static_mdelem_table[10]) |
| 260 | /* "cache-control": "" */ |
| 261 | #define GRPC_MDELEM_CACHE_CONTROL_EMPTY (&grpc_static_mdelem_table[11]) |
| 262 | /* "content-disposition": "" */ |
| 263 | #define GRPC_MDELEM_CONTENT_DISPOSITION_EMPTY (&grpc_static_mdelem_table[12]) |
| 264 | /* "content-encoding": "" */ |
| 265 | #define GRPC_MDELEM_CONTENT_ENCODING_EMPTY (&grpc_static_mdelem_table[13]) |
| 266 | /* "content-language": "" */ |
| 267 | #define GRPC_MDELEM_CONTENT_LANGUAGE_EMPTY (&grpc_static_mdelem_table[14]) |
| 268 | /* "content-length": "" */ |
| 269 | #define GRPC_MDELEM_CONTENT_LENGTH_EMPTY (&grpc_static_mdelem_table[15]) |
| 270 | /* "content-location": "" */ |
| 271 | #define GRPC_MDELEM_CONTENT_LOCATION_EMPTY (&grpc_static_mdelem_table[16]) |
| 272 | /* "content-range": "" */ |
| 273 | #define GRPC_MDELEM_CONTENT_RANGE_EMPTY (&grpc_static_mdelem_table[17]) |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 274 | /* "content-type": "application/grpc" */ |
Bogdan Drutu | 806f434 | 2016-02-08 18:10:49 -0800 | [diff] [blame] | 275 | #define GRPC_MDELEM_CONTENT_TYPE_APPLICATION_SLASH_GRPC \ |
| 276 | (&grpc_static_mdelem_table[18]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 277 | /* "content-type": "" */ |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 278 | #define GRPC_MDELEM_CONTENT_TYPE_EMPTY (&grpc_static_mdelem_table[19]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 279 | /* "cookie": "" */ |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 280 | #define GRPC_MDELEM_COOKIE_EMPTY (&grpc_static_mdelem_table[20]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 281 | /* "date": "" */ |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 282 | #define GRPC_MDELEM_DATE_EMPTY (&grpc_static_mdelem_table[21]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 283 | /* "etag": "" */ |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 284 | #define GRPC_MDELEM_ETAG_EMPTY (&grpc_static_mdelem_table[22]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 285 | /* "expect": "" */ |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 286 | #define GRPC_MDELEM_EXPECT_EMPTY (&grpc_static_mdelem_table[23]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 287 | /* "expires": "" */ |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 288 | #define GRPC_MDELEM_EXPIRES_EMPTY (&grpc_static_mdelem_table[24]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 289 | /* "from": "" */ |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 290 | #define GRPC_MDELEM_FROM_EMPTY (&grpc_static_mdelem_table[25]) |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 291 | /* "grpc-accept-encoding": "deflate" */ |
| 292 | #define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_DEFLATE (&grpc_static_mdelem_table[26]) |
| 293 | /* "grpc-accept-encoding": "deflate,gzip" */ |
Bogdan Drutu | 806f434 | 2016-02-08 18:10:49 -0800 | [diff] [blame] | 294 | #define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_DEFLATE_COMMA_GZIP \ |
| 295 | (&grpc_static_mdelem_table[27]) |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 296 | /* "grpc-accept-encoding": "gzip" */ |
| 297 | #define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_GZIP (&grpc_static_mdelem_table[28]) |
| 298 | /* "grpc-accept-encoding": "identity" */ |
Bogdan Drutu | 806f434 | 2016-02-08 18:10:49 -0800 | [diff] [blame] | 299 | #define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_IDENTITY \ |
| 300 | (&grpc_static_mdelem_table[29]) |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 301 | /* "grpc-accept-encoding": "identity,deflate" */ |
Bogdan Drutu | 806f434 | 2016-02-08 18:10:49 -0800 | [diff] [blame] | 302 | #define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_IDENTITY_COMMA_DEFLATE \ |
| 303 | (&grpc_static_mdelem_table[30]) |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 304 | /* "grpc-accept-encoding": "identity,deflate,gzip" */ |
Bogdan Drutu | 806f434 | 2016-02-08 18:10:49 -0800 | [diff] [blame] | 305 | #define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_IDENTITY_COMMA_DEFLATE_COMMA_GZIP \ |
| 306 | (&grpc_static_mdelem_table[31]) |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 307 | /* "grpc-accept-encoding": "identity,gzip" */ |
Bogdan Drutu | 806f434 | 2016-02-08 18:10:49 -0800 | [diff] [blame] | 308 | #define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_IDENTITY_COMMA_GZIP \ |
| 309 | (&grpc_static_mdelem_table[32]) |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 310 | /* "grpc-encoding": "deflate" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 311 | #define GRPC_MDELEM_GRPC_ENCODING_DEFLATE (&grpc_static_mdelem_table[33]) |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 312 | /* "grpc-encoding": "gzip" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 313 | #define GRPC_MDELEM_GRPC_ENCODING_GZIP (&grpc_static_mdelem_table[34]) |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 314 | /* "grpc-encoding": "identity" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 315 | #define GRPC_MDELEM_GRPC_ENCODING_IDENTITY (&grpc_static_mdelem_table[35]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 316 | /* "grpc-status": "0" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 317 | #define GRPC_MDELEM_GRPC_STATUS_0 (&grpc_static_mdelem_table[36]) |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 318 | /* "grpc-status": "1" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 319 | #define GRPC_MDELEM_GRPC_STATUS_1 (&grpc_static_mdelem_table[37]) |
Craig Tiller | ebdef9d | 2015-11-19 17:09:49 -0800 | [diff] [blame] | 320 | /* "grpc-status": "2" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 321 | #define GRPC_MDELEM_GRPC_STATUS_2 (&grpc_static_mdelem_table[38]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 322 | /* "host": "" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 323 | #define GRPC_MDELEM_HOST_EMPTY (&grpc_static_mdelem_table[39]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 324 | /* "if-match": "" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 325 | #define GRPC_MDELEM_IF_MATCH_EMPTY (&grpc_static_mdelem_table[40]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 326 | /* "if-modified-since": "" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 327 | #define GRPC_MDELEM_IF_MODIFIED_SINCE_EMPTY (&grpc_static_mdelem_table[41]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 328 | /* "if-none-match": "" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 329 | #define GRPC_MDELEM_IF_NONE_MATCH_EMPTY (&grpc_static_mdelem_table[42]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 330 | /* "if-range": "" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 331 | #define GRPC_MDELEM_IF_RANGE_EMPTY (&grpc_static_mdelem_table[43]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 332 | /* "if-unmodified-since": "" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 333 | #define GRPC_MDELEM_IF_UNMODIFIED_SINCE_EMPTY (&grpc_static_mdelem_table[44]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 334 | /* "last-modified": "" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 335 | #define GRPC_MDELEM_LAST_MODIFIED_EMPTY (&grpc_static_mdelem_table[45]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 336 | /* "link": "" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 337 | #define GRPC_MDELEM_LINK_EMPTY (&grpc_static_mdelem_table[46]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 338 | /* "location": "" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 339 | #define GRPC_MDELEM_LOCATION_EMPTY (&grpc_static_mdelem_table[47]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 340 | /* "max-forwards": "" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 341 | #define GRPC_MDELEM_MAX_FORWARDS_EMPTY (&grpc_static_mdelem_table[48]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 342 | /* ":method": "GET" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 343 | #define GRPC_MDELEM_METHOD_GET (&grpc_static_mdelem_table[49]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 344 | /* ":method": "POST" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 345 | #define GRPC_MDELEM_METHOD_POST (&grpc_static_mdelem_table[50]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 346 | /* ":path": "/" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 347 | #define GRPC_MDELEM_PATH_SLASH (&grpc_static_mdelem_table[51]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 348 | /* ":path": "/index.html" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 349 | #define GRPC_MDELEM_PATH_SLASH_INDEX_DOT_HTML (&grpc_static_mdelem_table[52]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 350 | /* "proxy-authenticate": "" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 351 | #define GRPC_MDELEM_PROXY_AUTHENTICATE_EMPTY (&grpc_static_mdelem_table[53]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 352 | /* "proxy-authorization": "" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 353 | #define GRPC_MDELEM_PROXY_AUTHORIZATION_EMPTY (&grpc_static_mdelem_table[54]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 354 | /* "range": "" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 355 | #define GRPC_MDELEM_RANGE_EMPTY (&grpc_static_mdelem_table[55]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 356 | /* "referer": "" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 357 | #define GRPC_MDELEM_REFERER_EMPTY (&grpc_static_mdelem_table[56]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 358 | /* "refresh": "" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 359 | #define GRPC_MDELEM_REFRESH_EMPTY (&grpc_static_mdelem_table[57]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 360 | /* "retry-after": "" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 361 | #define GRPC_MDELEM_RETRY_AFTER_EMPTY (&grpc_static_mdelem_table[58]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 362 | /* ":scheme": "grpc" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 363 | #define GRPC_MDELEM_SCHEME_GRPC (&grpc_static_mdelem_table[59]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 364 | /* ":scheme": "http" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 365 | #define GRPC_MDELEM_SCHEME_HTTP (&grpc_static_mdelem_table[60]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 366 | /* ":scheme": "https" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 367 | #define GRPC_MDELEM_SCHEME_HTTPS (&grpc_static_mdelem_table[61]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 368 | /* "server": "" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 369 | #define GRPC_MDELEM_SERVER_EMPTY (&grpc_static_mdelem_table[62]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 370 | /* "set-cookie": "" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 371 | #define GRPC_MDELEM_SET_COOKIE_EMPTY (&grpc_static_mdelem_table[63]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 372 | /* ":status": "200" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 373 | #define GRPC_MDELEM_STATUS_200 (&grpc_static_mdelem_table[64]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 374 | /* ":status": "204" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 375 | #define GRPC_MDELEM_STATUS_204 (&grpc_static_mdelem_table[65]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 376 | /* ":status": "206" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 377 | #define GRPC_MDELEM_STATUS_206 (&grpc_static_mdelem_table[66]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 378 | /* ":status": "304" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 379 | #define GRPC_MDELEM_STATUS_304 (&grpc_static_mdelem_table[67]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 380 | /* ":status": "400" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 381 | #define GRPC_MDELEM_STATUS_400 (&grpc_static_mdelem_table[68]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 382 | /* ":status": "404" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 383 | #define GRPC_MDELEM_STATUS_404 (&grpc_static_mdelem_table[69]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 384 | /* ":status": "500" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 385 | #define GRPC_MDELEM_STATUS_500 (&grpc_static_mdelem_table[70]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 386 | /* "strict-transport-security": "" */ |
Bogdan Drutu | 806f434 | 2016-02-08 18:10:49 -0800 | [diff] [blame] | 387 | #define GRPC_MDELEM_STRICT_TRANSPORT_SECURITY_EMPTY \ |
| 388 | (&grpc_static_mdelem_table[71]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 389 | /* "te": "trailers" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 390 | #define GRPC_MDELEM_TE_TRAILERS (&grpc_static_mdelem_table[72]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 391 | /* "transfer-encoding": "" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 392 | #define GRPC_MDELEM_TRANSFER_ENCODING_EMPTY (&grpc_static_mdelem_table[73]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 393 | /* "user-agent": "" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 394 | #define GRPC_MDELEM_USER_AGENT_EMPTY (&grpc_static_mdelem_table[74]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 395 | /* "vary": "" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 396 | #define GRPC_MDELEM_VARY_EMPTY (&grpc_static_mdelem_table[75]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 397 | /* "via": "" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 398 | #define GRPC_MDELEM_VIA_EMPTY (&grpc_static_mdelem_table[76]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 399 | /* "www-authenticate": "" */ |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 400 | #define GRPC_MDELEM_WWW_AUTHENTICATE_EMPTY (&grpc_static_mdelem_table[77]) |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 401 | |
Bogdan Drutu | b3153f3 | 2016-02-09 12:13:07 -0800 | [diff] [blame] | 402 | extern const uint8_t |
Bogdan Drutu | 806f434 | 2016-02-08 18:10:49 -0800 | [diff] [blame] | 403 | grpc_static_metadata_elem_indices[GRPC_STATIC_MDELEM_COUNT * 2]; |
Craig Tiller | b2b4261 | 2015-11-20 12:02:17 -0800 | [diff] [blame] | 404 | extern const char *const grpc_static_metadata_strings[GRPC_STATIC_MDSTR_COUNT]; |
Bogdan Drutu | b3153f3 | 2016-02-09 12:13:07 -0800 | [diff] [blame] | 405 | extern const uint8_t grpc_static_accept_encoding_metadata[8]; |
Bogdan Drutu | 806f434 | 2016-02-08 18:10:49 -0800 | [diff] [blame] | 406 | #define GRPC_MDELEM_ACCEPT_ENCODING_FOR_ALGORITHMS(algs) \ |
| 407 | (&grpc_static_mdelem_table[grpc_static_accept_encoding_metadata[(algs)]]) |
Craig Tiller | 9a4dddd | 2016-03-25 17:08:13 -0700 | [diff] [blame] | 408 | #endif /* GRPC_CORE_LIB_TRANSPORT_STATIC_METADATA_H */ |