#ifndef ISTREAM_HEADER_FILTER_H
#define ISTREAM_HEADER_FILTER_H
struct header_filter_istream;
enum header_filter_flags {
/* Include only specified headers in output.*/
/* Exclude specified headers from output. */
/* Use LF linefeeds instead of CRLF. */
/* Return EOF at the beginning of message body. */
/* If the empty "end of headers" line doesn't exist, add it. */
/* Preserve the original LF or CRLF. */
};
struct message_header_line;
struct message_header_line *hdr,
/* NOTE: headers list must be sorted. */
struct istream *
enum header_filter_flags flags,
const char *const *headers,
unsigned int headers_count,
ATTR_NULL(6);
CALLBACK_TYPECHECK(callback, void (*)( \
struct header_filter_istream *, \
/* Add more data to headers. Should called from the filter callback. */
#endif