7dd326f772ed4193e1bfdafdb46fea616970e1acJosef 'Jeff' Sipek#define IMAPC_MAIL(s) container_of(s, struct imapc_mail, imail.mail.mail)
94a77d6e5d7600859e4c5e4a7ea19dc3e91998b9Timo Sirainenimapc_mail_alloc(struct mailbox_transaction_context *t,
94a77d6e5d7600859e4c5e4a7ea19dc3e91998b9Timo Sirainen struct mailbox_header_lookup_ctx *wanted_headers);
b8eb60a9ba83e2f3f6d969e810553eb937be2128Timo Sirainenint imapc_mail_fetch(struct mail *mail, enum mail_fetch_field fields,
b8eb60a9ba83e2f3f6d969e810553eb937be2128Timo Sirainen const char *const *headers);
e1777cb59a96d8710a6c5cefe6a17c7c15159c9fTimo Sirainenvoid imapc_mail_try_init_stream_from_cache(struct imapc_mail *mail);
1a878b9d2a823abc6b1c8b1631e50a15d534665fTimo Sirainenvoid imapc_mail_fetch_flush(struct imapc_mailbox *mbox);
eb1365e61674c54c7c453143356a891fb2e2b3d6Timo Sirainenvoid imapc_mail_init_stream(struct imapc_mail *mail);
5085686ff2b4be28e7d631e1bbfa32afe427b7c7Timo Sirainenbool imapc_mail_has_headers_in_cache(struct index_mail *mail,
e15b305e90c9834734ccf35ed78f0ad29d570ee9Timo Sirainenvoid imapc_mail_fetch_update(struct imapc_mail *mail,
ffb886eb9c3682bb891206cced9623368035d739Timo Sirainenvoid imapc_mail_update_access_parts(struct index_mail *mail);