/usr/include/dovecot/http-response-parser.h is in dovecot-dev 1:2.2.9-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #ifndef HTTP_RESPONSE_PARSER_H
#define HTTP_RESPONSE_PARSER_H
#include "http-response.h"
struct http_header_limits;
struct http_response_parser;
struct http_response_parser *
http_response_parser_init(struct istream *input,
const struct http_header_limits *hdr_limits) ATTR_NULL(2);
void http_response_parser_deinit(struct http_response_parser **_parser);
int http_response_parse_next(struct http_response_parser *parser,
enum http_response_payload_type payload_type,
struct http_response *response, const char **error_r);
#endif
|