23#ifndef MUTT_CORE_ACCOUNT_H 
   24#define MUTT_CORE_ACCOUNT_H 
bool account_mailbox_remove(struct Account *a, struct Mailbox *m)
Remove a Mailbox from an Account.
 
NotifyAccount
Types of Account Event.
 
@ NT_ACCOUNT_ADD
Account has been added.
 
@ NT_ACCOUNT_CHANGE
Account has been changed.
 
@ NT_ACCOUNT_DELETE
Account is about to be deleted.
 
@ NT_ACCOUNT_DELETE_ALL
All Accounts are about to be deleted.
 
struct Account * account_new(const char *name, struct ConfigSubset *sub)
Create a new Account.
 
bool account_mailbox_add(struct Account *a, struct Mailbox *m)
Add a Mailbox to an Account.
 
void account_free(struct Account **ptr)
Free an Account.
 
Representation of a mailbox.
 
MailboxType
Supported mailbox formats.
 
Convenience wrapper for the library headers.
 
#define TAILQ_HEAD(name, type)
 
A group of associated Mailboxes.
 
enum MailboxType type
Type of Mailboxes this Account contains.
 
char * name
Name of Account.
 
TAILQ_ENTRY(Account) entries
Linked list.
 
struct Notify * notify
Notifications: NotifyAccount, EventAccount.
 
void(* adata_free)(void **ptr)
 
struct ConfigSubset * sub
Inherited config items.
 
void * adata
Private data (for Mailbox backends)
 
struct MailboxList mailboxes
List of Mailboxes.
 
A set of inherited config items.
 
An Event that happened to an Account.
 
struct Account * account
The Account this Event relates to.