Displaying 1 result from an estimated 1 matches for "concat_stream".
2010 Sep 20
1
replace istream and unref the old one...
I Build a plugin, that do some stuffs with a email.
To get the input istream, i use the "get_stream" function, like zlib does.
I create a concat_stream, with the full_input[3];
struct istream *full_input[3];
//this like zlib
input = imail->data.stream;
//first input, using the input
full_input[0] = i_stream_create_header_filter(input, HEADER_FILTER_EXCLUDE |
HEADER_FILTER_NO_CR, exclude_headers, 1, filter_callback, imail);
// second input fr...