int mutt_addrlist_to_intl(struct AddressList *al, char **err)
Convert an Address list to Punycode.
Alias private Module data.
Representation of a single alias to an email address.
static const char * buf_string(const struct Buffer *buf)
Convert a buffer to a const char * "string".
Convenience wrapper for the core headers.
struct HashElem * mutt_hash_insert(struct HashTable *table, const char *strkey, void *data)
Add a new element to the Hash Table (with string keys)
void mutt_hash_delete(struct HashTable *table, const char *strkey, const void *data)
Remove an element from a Hash Table.
void * mutt_hash_find(const struct HashTable *table, const char *strkey)
Find the HashElem data in a Hash Table element using a key.
struct HashTable * mutt_hash_new(size_t num_elems, HashFlags flags)
Create a new Hash Table (with string keys)
void mutt_hash_free(struct HashTable **ptr)
Free a hash table.
#define MUTT_HASH_STRDUP_KEYS
make a copy of the keys
#define MUTT_HASH_ALLOW_DUPS
allow duplicate keys to be inserted
#define MUTT_HASH_STRCASECMP
use strcasecmp() to compare keys
@ MODULE_ID_ALIAS
ModuleAlias, Alias
Convenience wrapper for the library headers.
void * neomutt_get_module_data(struct NeoMutt *n, enum ModuleId id)
Get the private data for a Module.
#define TAILQ_FOREACH(var, head, field)
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_add(struct Alias *alias)
Add an email address lookup for an Alias.
struct Address * alias_reverse_lookup(const struct Address *addr)
Does the user have an alias for the given address.
void alias_reverse_delete(struct Alias *alias)
Remove an email address lookup for an Alias.
Manage alias reverse lookups.
struct Buffer * mailbox
Mailbox and host address.
Alias private Module data.
struct HashTable * reverse_aliases
Hash Table of aliases (email address -> alias)
A shortcut for an email address or addresses.
struct AddressList addr
List of Addresses the Alias expands to.
Container for Accounts, Notifications.