23#ifndef MUTT_CORE_NEOMUTT_H
24#define MUTT_CORE_NEOMUTT_H
75#define mutt_file_fopen_masked(PATH, MODE) mutt_file_fopen_masked_full(PATH, MODE, __FILE__, __LINE__, __func__)
MailboxType
Supported mailbox formats.
void neomutt_mailboxlist_clear(struct MailboxList *ml)
Free a Mailbox List.
NotifyGlobal
Events not associated with an object.
@ NT_GLOBAL_STARTUP
NeoMutt is initialised.
@ NT_GLOBAL_COMMAND
A NeoMutt command.
@ NT_GLOBAL_SHUTDOWN
NeoMutt is about to close.
bool neomutt_account_add(struct NeoMutt *n, struct Account *a)
Add an Account to the global list.
size_t neomutt_mailboxlist_get_all(struct MailboxList *head, struct NeoMutt *n, enum MailboxType type)
Get a List of all Mailboxes.
bool neomutt_account_remove(struct NeoMutt *n, const struct Account *a)
Remove an Account from the global list.
struct NeoMutt * neomutt_new(struct ConfigSet *cs)
Create the main NeoMutt object.
void neomutt_free(struct NeoMutt **ptr)
Free a NeoMutt.
A group of associated Mailboxes.
Container for lots of config items.
A set of inherited config items.
Container for Accounts, Notifications.
struct Notify * notify_timeout
Timeout notifications handler.
struct Notify * notify_resize
Window resize notifications handler.
struct AccountList accounts
List of all Accounts.
mode_t user_default_umask
User's default file writing permissions (inferred from umask)
struct Notify * notify
Notifications handler.
struct ConfigSubset * sub
Inherited config items.
locale_t time_c_locale
Current locale but LC_TIME=C.