mail.c revision 87460b08cb97b31cde640d4975a6aa2c1d0e7226
a4ac325c2802693c6b761e5a8fda961e5d7490eaTimo Sirainen/* Copyright (C) 2002-2003 Timo Sirainen */
a4ac325c2802693c6b761e5a8fda961e5d7490eaTimo Sirainenstruct mail *mail_alloc(struct mailbox_transaction_context *t,
a4ac325c2802693c6b761e5a8fda961e5d7490eaTimo Sirainen struct mailbox_header_lookup_ctx *wanted_headers)
a4ac325c2802693c6b761e5a8fda961e5d7490eaTimo Sirainen return t->box->v.mail_alloc(t, wanted_fields, wanted_headers);
a4ac325c2802693c6b761e5a8fda961e5d7490eaTimo Sirainen struct mail_private *p = (struct mail_private *)mail;
a4ac325c2802693c6b761e5a8fda961e5d7490eaTimo Sirainenint mail_set_seq(struct mail *mail, uint32_t seq)
a4ac325c2802693c6b761e5a8fda961e5d7490eaTimo Sirainen struct mail_private *p = (struct mail_private *)mail;
a4ac325c2802693c6b761e5a8fda961e5d7490eaTimo Sirainenenum mail_flags mail_get_flags(struct mail *mail)
a4ac325c2802693c6b761e5a8fda961e5d7490eaTimo Sirainen struct mail_private *p = (struct mail_private *)mail;
a4ac325c2802693c6b761e5a8fda961e5d7490eaTimo Sirainenconst char *const *mail_get_keywords(struct mail *mail)
a4ac325c2802693c6b761e5a8fda961e5d7490eaTimo Sirainen struct mail_private *p = (struct mail_private *)mail;
struct istream *