int grouplist_add_regex(struct GroupList *gl, const char *str, uint16_t flags, struct Buffer *err)
Add matching Addresses to a GroupList.
void grouplist_destroy(struct GroupList *gl)
Free a GroupList.
Alias private Module data.
bool mutt_alternates_match(const char *addr)
Compare an Address to the un/alternates lists.
void mutt_alternates_reset(struct MailboxView *mv)
Clear the recipient valid flag of all emails.
Parse Alternate Commands.
@ NT_ALTERN_ADD
Alternate address has been added.
@ NT_ALTERN_DELETE
Alternate address has been deleted.
int buf_printf(struct Buffer *buf, const char *fmt,...)
Format a string overwriting a Buffer.
static const char * buf_string(const struct Buffer *buf)
Convert a buffer to a const char * "string".
CommandResult
Error codes for command_t parse functions.
@ MUTT_CMD_SUCCESS
Success: Command worked.
@ MUTT_CMD_ERROR
Error: Can't help the user.
@ MUTT_CMD_WARNING
Warning: Help given to the user.
Convenience wrapper for the core headers.
int parse_grouplist(struct GroupList *gl, struct Buffer *token, struct Buffer *line, struct Buffer *err, struct HashTable *groups)
Parse a group context.
Structs that make up an email.
enum CommandResult parse_alternates(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'alternates' command - Implements Command::parse() -.
enum CommandResult parse_unalternates(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'unalternates' command - Implements Command::parse() -.
#define mutt_debug(LEVEL,...)
Convenience wrapper for the gui headers.
@ LL_DEBUG5
Log at debug level 5.
@ LL_NOTIFY
Log of notifications.
@ MODULE_ID_ALIAS
ModuleAlias, Alias
Convenience wrapper for the library headers.
bool notify_send(struct Notify *notify, enum NotifyType event_type, int event_subtype, void *event_data)
Send out a notification message.
int mutt_regexlist_add(struct RegexList *rl, const char *str, uint16_t flags, struct Buffer *err)
Compile a regex string and add it to a list.
int mutt_regexlist_remove(struct RegexList *rl, const char *str)
Remove a Regex from a list.
bool mutt_regexlist_match(struct RegexList *rl, const char *str)
Does a string match any Regex in the list?
bool mutt_str_equal(const char *a, const char *b)
Compare two strings.
void * neomutt_get_module_data(struct NeoMutt *n, enum ModuleId id)
Get the private data for a Module.
@ NT_ALTERN
Alternates command changed, NotifyAlternates.
struct Buffer * buf_pool_get(void)
Get a Buffer from the pool.
void buf_pool_release(struct Buffer **ptr)
Return a Buffer to the pool.
#define STAILQ_HEAD_INITIALIZER(head)
Alias private Module data.
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.
String manipulation buffer.
const char * name
Name of the Command.
The envelope/body of an email.
bool recip_valid
Is_recipient is valid.
struct Mailbox * mailbox
Current Mailbox.
int msg_count
Total number of messages.
struct Email ** emails
Array of Emails.
Container for Accounts, Notifications.
struct HashTable * groups
Hash Table: "group-name" -> Group.
Context for config parsing (history/backtrace)
Detailed error information from config parsing.
struct Buffer * message
Error message.