93 intptr_t data,
struct Buffer *err)
129 intptr_t data,
struct Buffer *err)
void alternates_cleanup(void)
Free the alternates lists.
void alternates_init(void)
Set up the alternates lists.
static struct RegexList Alternates
List of regexes to match the user's alternate email addresses.
bool mutt_alternates_match(const char *addr)
Compare an Address to the Un/Alternates lists.
static struct Notify * AlternatesNotify
Notifications: NotifyAlternates.
void mutt_alternates_reset(struct MailboxView *mv)
Clear the recipient valid flag of all emails.
static struct RegexList UnAlternates
List of regexes to exclude false matches in Alternates.
Alternate address handling.
@ NT_ALTERN_ADD
Alternate address has been added.
@ NT_ALTERN_DELETE
Alternate address has been deleted.
CommandResult
Error codes for command_t parse functions.
@ MUTT_CMD_SUCCESS
Success: Command worked.
@ MUTT_CMD_ERROR
Error: Can't help the user.
int parse_grouplist(struct GroupList *gl, struct Buffer *buf, struct Buffer *s, struct Buffer *err)
Parse a group context.
Functions to parse commands in a config file.
Convenience wrapper for the core headers.
Structs that make up an email.
int mutt_grouplist_add_regex(struct GroupList *gl, const char *s, uint16_t flags, struct Buffer *err)
Add matching Addresses to a GroupList.
void mutt_grouplist_destroy(struct GroupList *gl)
Free a GroupList.
enum CommandResult parse_alternates(struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err)
Parse the 'alternates' command - Implements Command::parse() -.
enum CommandResult parse_unalternates(struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err)
Parse the 'unalternates' command - Implements Command::parse() -.
#define mutt_debug(LEVEL,...)
@ LL_DEBUG5
Log at debug level 5.
@ LL_NOTIFY
Log of notifications.
Convenience wrapper for the library headers.
struct Notify * notify_new(void)
Create a new notifications handler.
bool notify_send(struct Notify *notify, enum NotifyType event_type, int event_subtype, void *event_data)
Send out a notification message.
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.
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.
@ NT_ALTERN
Alternates command changed, NotifyAlternates.
#define STAILQ_HEAD_INITIALIZER(head)
String manipulation buffer.
char * data
Pointer to data.
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 Notify * notify
Notifications handler.