79 if (shared->
sub != sub)
121 const struct Email *e)
Convenience wrapper for the core headers.
Structs that make up an email.
#define mutt_debug(LEVEL,...)
void index_shared_data_free(struct MuttWindow *win, void **ptr)
Free Shared Index Data - Implements MuttWindow::wdata_free() -.
#define NT_INDEX_DELETE
Index Shared Data is about to be freed.
#define NT_INDEX_MAILBOX
Mailbox has changed.
uint8_t NotifyIndex
Flags, e.g. NT_INDEX_ACCOUNT.
#define NT_INDEX_SUBSET
Config Subset has changed.
#define NT_INDEX_MVIEW
MailboxView has changed.
#define NT_INDEX_ADD
New Index Shared Data has been created.
#define NT_INDEX_ACCOUNT
Account has changed.
#define NT_INDEX_EMAIL
Email has changed.
#define NT_INDEX_NO_FLAGS
No flags are set.
void index_shared_data_set_email(struct IndexSharedData *shared, struct Email *e)
Set the current Email for the Index and friends.
bool index_shared_data_is_cur_email(const struct IndexSharedData *shared, const struct Email *e)
Check whether an email is the currently selected Email.
struct IndexSharedData * index_shared_data_new(void)
Create new Index Data.
void index_shared_data_set_mview(struct IndexSharedData *shared, struct MailboxView *mv)
Set the MailboxView for the Index and friends.
Data shared between Index, Pager and Sidebar.
@ LL_NOTIFY
Log of notifications.
void * mutt_mem_calloc(size_t nmemb, size_t size)
Allocate zeroed memory on the heap.
Convenience wrapper for the library headers.
struct Notify * notify_new(void)
Create a new notifications handler.
bool notify_send(struct Notify *notify, enum NotifyType event_type, int event_subtype, void *event_data)
Send out a notification message.
void notify_free(struct Notify **ptr)
Free a notification handler.
struct Mailbox * mview_mailbox(struct MailboxView *mv)
Wrapper to get the mailbox in a MailboxView, or NULL.
@ NT_INDEX
Index data has changed, NotifyIndex, IndexSharedData.
A group of associated Mailboxes.
struct ConfigSubset * sub
Inherited config items.
A set of inherited config items.
The envelope/body of an email.
size_t sequence
Sequence number assigned on creation.
Data shared between Index, Pager and Sidebar.
size_t email_seq
Sequence number of the current email.
struct Account * account
Current Account.
struct Email * email
Currently selected Email.
struct Mailbox * mailbox
Current Mailbox.
struct ConfigSubset * sub
Config set to use.
struct MailboxView * mailbox_view
Current Mailbox view.
struct Notify * notify
Notifications: NotifyIndex, IndexSharedData.
struct Account * account
Account that owns this Mailbox.
struct ConfigSubset * sub
Inherited config items.
Container for Accounts, Notifications.
struct ConfigSubset * sub
Inherited config items.