Searched defs:hparser (Results 1 - 2 of 2) sorted by relevance

/dovecot/src/lib-http/
H A Dhttp-message-parser.c138 struct http_parser hparser; local
169 http_parser_init(&hparser, data, size);
171 if (http_parse_token_list_next(&hparser, &option) <= 0)
182 if (hparser.cur < hparser.end || num_tokens == 0) {
275 http_parser_init(&hparser, data, size);
278 if (http_parse_token(&hparser, &trenc) > 0) {
292 http_parse_ows(&hparser);
293 if (hparser.cur >= hparser
[all...]
H A Dhttp-request-parser.c357 struct http_parser hparser; local
366 http_parser_init(&hparser, (const unsigned char *)hdr->value, hdr->size);
371 if (http_parse_token(&hparser, &expect_name) > 0) {
384 http_parse_ows(&hparser);
385 if (hparser.cur >= hparser.end)
388 if (*hparser.cur == '=') {
389 hparser.cur++;
390 http_parse_ows(&hparser);
393 if (http_parse_token_or_qstring(&hparser,
[all...]

Completed in 12 milliseconds