/usr/include/dovecot/http-transfer.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 19 20 21 22 23 24 25 | #ifndef HTTP_TRANSFER_H
#define HTTP_TRANSFER_H
struct http_transfer_param {
const char *attribute;
const char *value;
};
ARRAY_DEFINE_TYPE(http_transfer_param, struct http_transfer_param);
struct http_transfer_coding {
const char *name;
ARRAY_TYPE(http_transfer_param) parameters;
};
ARRAY_DEFINE_TYPE(http_transfer_coding, struct http_transfer_coding);
// FIXME: we currently lack a means to get error strings from the input stream
struct istream *
http_transfer_chunked_istream_create(struct istream *input, uoff_t max_size);
struct ostream *
http_transfer_chunked_ostream_create(struct ostream *output);
#endif
|