92 struct Alias **ap = NULL;
const struct Command AliasCommands[]
Alias Commands.
struct ConfigDef AliasVars[]
Config definitions for the alias library.
static bool alias_commands_register(struct NeoMutt *n, struct CommandArray *ca)
Register NeoMutt Commands - Implements Module::commands_register()
static bool alias_config_define_variables(struct NeoMutt *n, struct ConfigSet *cs)
Define the Config Variables - Implements Module::config_define_variables()
const struct Module ModuleAlias
Module for the Alias library.
Alias private Module data.
void aliaslist_clear(struct AliasArray *aa)
Empty a List of Aliases.
Representation of a single alias to an email address.
#define ARRAY_FOREACH(elem, head)
Iterate over all elements of the array.
#define ARRAY_INIT(head)
Initialize an array.
Convenience wrapper for the config headers.
bool cs_register_variables(const struct ConfigSet *cs, struct ConfigDef vars[])
Register a set of config items.
bool commands_register(struct CommandArray *ca, const struct Command *cmds)
Add commands to Commands array.
Convenience wrapper for the core headers.
#define FREE(x)
Free memory and set the pointer to NULL.
#define MUTT_MEM_CALLOC(n, type)
@ MODULE_ID_ALIAS
ModuleAlias, Alias
Convenience wrapper for the library headers.
struct Notify * notify_new(void)
Create a new notifications handler.
void notify_set_parent(struct Notify *notify, struct Notify *parent)
Set the parent notification handler.
void notify_free(struct Notify **ptr)
Free a notification handler.
void mutt_regexlist_free(struct RegexList *rl)
Free a RegexList object.
void neomutt_set_module_data(struct NeoMutt *n, enum ModuleId id, void *data)
Set the private data for a Module.
void * neomutt_get_module_data(struct NeoMutt *n, enum ModuleId id)
Get the private data for a Module.
#define STAILQ_INIT(head)
void alias_reverse_cleanup(struct HashTable **reverse)
Clear up the Reverse Alias Hash Table.
struct HashTable * alias_reverse_init(void)
Set up the Reverse Alias Hash Table.
void alias_reverse_delete(struct Alias *alias)
Remove an email address lookup for an Alias.
Manage alias reverse lookups.
Alias private Module data.
struct AliasArray aliases
User's email aliases.
struct HashTable * reverse_aliases
Hash Table of aliases (email address -> alias)
struct RegexList unalternates
Regexes to exclude false matches in alternates.
struct Notify * alternates_notify
Notifications: NotifyAlternates.
struct RegexList alternates
Regexes to match the user's alternate email addresses.
A shortcut for an email address or addresses.
Container for lots of config items.
Container for Accounts, Notifications.
struct Notify * notify
Notifications handler.