#ifndef IMAPC_MAIL_H
#define IMAPC_MAIL_H
#include "index-mail.h"
struct imap_arg;
struct imapc_untagged_reply;
struct imapc_mailbox;
struct imapc_mail {
const char *const *fetching_headers;
unsigned int fetch_count;
bool fetch_sent;
const char *last_fetch_reply;
int fd;
bool header_fetched;
bool body_fetched;
bool header_list_fetched;
bool fetch_ignore_if_missing;
bool fetch_failed;
};
extern struct mail_vfuncs imapc_mail_vfuncs;
struct mail *
imapc_mail_alloc(struct mailbox_transaction_context *t,
struct mailbox_header_lookup_ctx *wanted_headers);
const char *const *headers);
struct mailbox_header_lookup_ctx *headers);
const struct imapc_untagged_reply *reply,
#endif