23#ifndef MUTT_CORE_NEOMUTT_H
24#define MUTT_CORE_NEOMUTT_H
82#define mutt_file_fopen_masked(PATH, MODE) mutt_file_fopen_masked_full(PATH, MODE, __FILE__, __LINE__, __func__)
A group of associated Mailboxes.
Representation of a mailbox.
MailboxType
Supported mailbox formats.
struct MailboxArray neomutt_mailboxes_get(struct NeoMutt *n, enum MailboxType type)
Get an Array of matching Mailboxes.
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.
void neomutt_account_remove(struct NeoMutt *n, struct Account *a)
Remove an Account from the global list.
bool neomutt_account_add(struct NeoMutt *n, struct Account *a)
Add an Account to the global list.
struct NeoMutt * neomutt_new(struct ConfigSet *cs)
Create the main NeoMutt object.
void neomutt_accounts_free(struct NeoMutt *n)
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 AccountArray accounts
All Accounts.
struct CommandArray commands
NeoMutt commands.
struct Notify * notify_resize
Window resize notifications handler.
char ** env
Private copy of the environment variables.
char * username
User's login name.
mode_t user_default_umask
User's default file writing permissions (inferred from umask)
char * home_dir
User's home directory.
struct Notify * notify
Notifications handler.
struct HashTable * groups
Hash Table: "group-name" -> Group.
struct ConfigSubset * sub
Inherited config items.
locale_t time_c_locale
Current locale but LC_TIME=C.