43#ifndef MUTT_ALIAS_LIB_H
44#define MUTT_ALIAS_LIB_H
void alias_cleanup(void)
Clean up the Alias globals.
int alias_complete(struct Buffer *buf, struct ConfigSubset *sub)
Alias completion routine.
void parse_alias_comments(struct Alias *alias, const char *com)
Parse the alias/query comment field.
struct AddressList * alias_lookup(const char *name)
Find an Alias.
void mutt_expand_aliases(struct AddressList *al)
Expand aliases in a List of Addresses.
void parse_alias_tags(const char *tags, struct TagList *tl)
Parse a comma-separated list of tags.
const struct CompleteOps CompleteAliasOps
Auto-Completion of Aliases.
int query_complete(struct Buffer *buf, struct ConfigSubset *sub)
Perform auto-complete using an Address Query.
void alias_dialog(struct Mailbox *m, struct ConfigSubset *sub)
Open the aliases dialog.
void alias_create(struct AddressList *al, const struct ConfigSubset *sub)
Create a new Alias from an Address.
bool mutt_addr_is_user(const struct Address *addr)
Does the address belong to the user.
void alias_init(void)
Set up the Alias globals.
void mutt_expand_aliases_env(struct Envelope *env)
Expand aliases in all the fields of an Envelope.
struct AddressList * mutt_get_address(struct Envelope *env, const char **prefix)
Get an Address from an Envelope.
void query_index(struct Mailbox *m, struct ConfigSubset *sub)
Perform an Alias Query and display the results.
void alias_tags_to_buffer(struct TagList *tl, struct Buffer *buf)
Write a comma-separated list of tags to a Buffer.
struct Address * alias_reverse_lookup(const struct Address *addr)
Does the user have an alias for the given address.
CommandResult
Error codes for command_t parse functions.
Convenience wrapper for the core headers.
enum CommandResult parse_alias(struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err)
Parse the 'alias' command - Implements Command::parse() -.
enum CommandResult parse_unalias(struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err)
Parse the 'unalias' command - Implements Command::parse() -.
A shortcut for an email address or addresses.
String manipulation buffer.
A set of inherited config items.