"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/lib-storage/mail-storage.h" between
dovecot-2.3.16.tar.gz and dovecot-2.3.17.tar.gz

About: Dovecot is an IMAP and POP3 server, written with security primarily in mind.

mail-storage.h  (dovecot-2.3.16):mail-storage.h  (dovecot-2.3.17)
skipping to change at line 962 skipping to change at line 962
int mail_get_hdr_stream(struct mail *mail, struct message_size *hdr_size, int mail_get_hdr_stream(struct mail *mail, struct message_size *hdr_size,
struct istream **stream_r) ATTR_NULL(2); struct istream **stream_r) ATTR_NULL(2);
/* Same as mail_get_hdr_stream(), but specify a reason why the header is being /* Same as mail_get_hdr_stream(), but specify a reason why the header is being
read. This can be useful for debugging purposes. */ read. This can be useful for debugging purposes. */
int mail_get_hdr_stream_because(struct mail *mail, int mail_get_hdr_stream_because(struct mail *mail,
struct message_size *hdr_size, struct message_size *hdr_size,
const char *reason, struct istream **stream_r); const char *reason, struct istream **stream_r);
/* Returns the message part's body decoded to 8bit binary. If the /* Returns the message part's body decoded to 8bit binary. If the
Content-Transfer-Encoding isn't supported, returns -1 and sets error to Content-Transfer-Encoding isn't supported, returns -1 and sets error to
MAIL_ERROR_CONVERSION. If the part refers to a multipart, all of its MAIL_ERROR_CONVERSION. If the part refers to a multipart, all of its
children are returned decoded. */ children are returned decoded. Note that the returned stream must be
unreferenced, unlike mail_get_*stream*() which automatically free it. */
int mail_get_binary_stream(struct mail *mail, const struct message_part *part, int mail_get_binary_stream(struct mail *mail, const struct message_part *part,
bool include_hdr, uoff_t *size_r, bool include_hdr, uoff_t *size_r,
bool *binary_r, struct istream **stream_r); bool *binary_r, struct istream **stream_r);
/* Like mail_get_binary_stream(), but only return the size. */ /* Like mail_get_binary_stream(), but only return the size. */
int mail_get_binary_size(struct mail *mail, const struct message_part *part, int mail_get_binary_size(struct mail *mail, const struct message_part *part,
bool include_hdr, uoff_t *size_r, bool include_hdr, uoff_t *size_r,
unsigned int *lines_r); unsigned int *lines_r);
/* Get any of the "special" fields. Unhandled specials are returned as "". */ /* Get any of the "special" fields. Unhandled specials are returned as "". */
int mail_get_special(struct mail *mail, enum mail_fetch_field field, int mail_get_special(struct mail *mail, enum mail_fetch_field field,
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)