index-mail.h revision 5bc4a5fd9a421f4c5763e03c0449479cedcf9f06
#ifndef __INDEX_MAIL_H
#define __INDEX_MAIL_H
struct cached_header {
struct cached_header *next;
};
struct index_mail_data {
struct mail_full_flags flags;
int sent_timezone;
struct cached_header *headers;
struct message_part *parts;
struct message_part_envelope_data *envelope_data;
struct mail_index_record *rec;
unsigned int parse_header:1;
unsigned int save_sent_time:1;
unsigned int save_envelope:1;
unsigned int hdr_size_set:1;
unsigned int body_size_set:1;
};
struct index_mail {
struct index_mail_data data;
struct index_mailbox *ibox;
const char *const *wanted_headers;
};
const char *const wanted_headers[]);
#endif