48 struct Email **ep = NULL;
#define ARRAY_ADD(head, elem)
Add an element at the end of the array.
#define ARRAY_FOREACH(elem, head)
Iterate over all elements of the array.
#define ARRAY_SIZE(head)
The number of elements stored.
Convenience wrapper for the core headers.
Structs that make up an email.
static void ea_add_email(struct EmailArray *ea, struct Email *e)
Add an Email to a working set.
static bool ea_contains_email(struct EmailArray *ea, struct Email *e)
Does a working set already include an Email?
static void ea_add_folded(struct EmailArray *ea, struct Email *e)
Add an Email, expanding collapsed threads.
int ea_add_tagged(struct EmailArray *ea, struct MailboxView *mv, struct Email *e, bool use_tagged)
Get an array of the tagged Emails.
static void ea_add_collapsed_thread(struct EmailArray *ea, struct Email *e)
Add all emails in a collapsed thread.
Convenience wrapper for the library headers.
bool message_is_tagged(struct Email *e)
Is a message in the index tagged (and within limit)
The envelope/body of an email.
bool visible
Is this message part of the view?
bool collapsed
Is this message part of a collapsed thread?
struct MuttThread * thread
Thread of Emails.
struct Mailbox * mailbox
Current Mailbox.
int msg_count
Total number of messages.
struct Email ** emails
Array of Emails.
struct MuttThread * parent
Parent of this Thread.
struct MuttThread * child
Child of this Thread.
struct Email * message
Email this Thread refers to.
struct MuttThread * next
Next sibling Thread.