Mercurial > hg > nginx
comparison src/http/v3/ngx_http_v3_parse.h @ 8666:ab6aaa8e86b0 quic
HTTP/3: staticize internal parsing functions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 16 Dec 2020 12:47:41 +0000 |
parents | d70a38acaea0 |
children | 345370fdd32d |
comparison
equal
deleted
inserted
replaced
8665:96eb6915d244 | 8666:ab6aaa8e86b0 |
---|---|
122 * NGX_BUSY - waiting for external event | 122 * NGX_BUSY - waiting for external event |
123 * NGX_ERROR - internal error | 123 * NGX_ERROR - internal error |
124 * NGX_HTTP_V3_ERROR_XXX - HTTP/3 or QPACK error | 124 * NGX_HTTP_V3_ERROR_XXX - HTTP/3 or QPACK error |
125 */ | 125 */ |
126 | 126 |
127 ngx_int_t ngx_http_v3_parse_varlen_int(ngx_connection_t *c, | |
128 ngx_http_v3_parse_varlen_int_t *st, u_char ch); | |
129 ngx_int_t ngx_http_v3_parse_prefix_int(ngx_connection_t *c, | |
130 ngx_http_v3_parse_prefix_int_t *st, ngx_uint_t prefix, u_char ch); | |
131 | |
132 ngx_int_t ngx_http_v3_parse_headers(ngx_connection_t *c, | 127 ngx_int_t ngx_http_v3_parse_headers(ngx_connection_t *c, |
133 ngx_http_v3_parse_headers_t *st, u_char ch); | 128 ngx_http_v3_parse_headers_t *st, u_char ch); |
134 ngx_int_t ngx_http_v3_parse_header_block_prefix(ngx_connection_t *c, | |
135 ngx_http_v3_parse_header_block_prefix_t *st, u_char ch); | |
136 ngx_int_t ngx_http_v3_parse_header_rep(ngx_connection_t *c, | |
137 ngx_http_v3_parse_header_rep_t *st, ngx_uint_t base, u_char ch); | |
138 ngx_int_t ngx_http_v3_parse_literal(ngx_connection_t *c, | |
139 ngx_http_v3_parse_literal_t *st, u_char ch); | |
140 ngx_int_t ngx_http_v3_parse_header_ri(ngx_connection_t *c, | |
141 ngx_http_v3_parse_header_t *st, u_char ch); | |
142 ngx_int_t ngx_http_v3_parse_header_lri(ngx_connection_t *c, | |
143 ngx_http_v3_parse_header_t *st, u_char ch); | |
144 ngx_int_t ngx_http_v3_parse_header_l(ngx_connection_t *c, | |
145 ngx_http_v3_parse_header_t *st, u_char ch); | |
146 ngx_int_t ngx_http_v3_parse_header_pbi(ngx_connection_t *c, | |
147 ngx_http_v3_parse_header_t *st, u_char ch); | |
148 ngx_int_t ngx_http_v3_parse_header_lpbi(ngx_connection_t *c, | |
149 ngx_http_v3_parse_header_t *st, u_char ch); | |
150 | |
151 ngx_int_t ngx_http_v3_parse_control(ngx_connection_t *c, void *data, u_char ch); | |
152 ngx_int_t ngx_http_v3_parse_settings(ngx_connection_t *c, | |
153 ngx_http_v3_parse_settings_t *st, u_char ch); | |
154 | |
155 ngx_int_t ngx_http_v3_parse_encoder(ngx_connection_t *c, void *data, u_char ch); | |
156 ngx_int_t ngx_http_v3_parse_header_inr(ngx_connection_t *c, | |
157 ngx_http_v3_parse_header_t *st, u_char ch); | |
158 ngx_int_t ngx_http_v3_parse_header_iwnr(ngx_connection_t *c, | |
159 ngx_http_v3_parse_header_t *st, u_char ch); | |
160 | |
161 ngx_int_t ngx_http_v3_parse_decoder(ngx_connection_t *c, void *data, u_char ch); | |
162 | |
163 ngx_int_t ngx_http_v3_parse_data(ngx_connection_t *c, | 129 ngx_int_t ngx_http_v3_parse_data(ngx_connection_t *c, |
164 ngx_http_v3_parse_data_t *st, u_char ch); | 130 ngx_http_v3_parse_data_t *st, u_char ch); |
165 | 131 |
132 ngx_int_t ngx_http_v3_parse_control(ngx_connection_t *c, void *data, u_char ch); | |
133 ngx_int_t ngx_http_v3_parse_encoder(ngx_connection_t *c, void *data, u_char ch); | |
134 ngx_int_t ngx_http_v3_parse_decoder(ngx_connection_t *c, void *data, u_char ch); | |
135 | |
166 | 136 |
167 #endif /* _NGX_HTTP_V3_PARSE_H_INCLUDED_ */ | 137 #endif /* _NGX_HTTP_V3_PARSE_H_INCLUDED_ */ |