view src/lib-mail/istream-dot.h @ 22588:041460202062

ostream-multiplex: Unreference stream parent Otherwise it won't get free'd.
author Aki Tuomi <aki.tuomi@dovecot.fi>
date Mon, 09 Oct 2017 18:21:24 +0300
parents f068c8a19013
children
line wrap: on
line source

#ifndef ISTREAM_DOT_H
#define ISTREAM_DOT_H

/* Create input stream for reading SMTP DATA style message: Drop initial "."
   from lines beginning with it. Return EOF on line that contains only ".".
   If send_last_lf=FALSE, the trailing [CR]LF before "." line isn't returned. */
struct istream *i_stream_create_dot(struct istream *input, bool send_last_lf);

#endif