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.
const struct Command EmailCommands[]
Email Commands.
struct ConfigDef EmailVars[]
Config definitions for the Email library.
static bool email_cleanup(struct NeoMutt *n, void *data)
Clean up a Module - Implements Module::cleanup()
static bool email_commands_register(struct NeoMutt *n, struct CommandArray *ca)
Register NeoMutt Commands - Implements Module::commands_register()
static bool email_init(struct NeoMutt *n)
Initialise a Module - Implements Module::init()
static bool email_config_define_variables(struct NeoMutt *n, struct ConfigSet *cs)
Define the Config Variables - Implements Module::config_define_variables()
const struct Module ModuleEmail
Module for the Email library.
Email private Module data.
void add_to_stailq(struct ListHead *head, const char *str)
Add a string to a list.
void mutt_list_free(struct ListHead *h)
Free a List AND its strings.
#define FREE(x)
Free memory and set the pointer to NULL.
#define MUTT_MEM_CALLOC(n, type)
@ MODULE_ID_EMAIL
ModuleEmail, Email code
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 mutt_replacelist_free(struct ReplaceList *rl)
Free a ReplaceList object.
void neomutt_set_module_data(struct NeoMutt *n, enum ModuleId id, void *data)
Set the private data for a Module.
#define STAILQ_INIT(head)
void score_list_free(struct Score **sp)
Free a list of scoring rules.
Routines for adding user scores to emails.
Container for lots of config items.
Email private Module data.
struct Notify * notify
Notifications.
struct Score * score_list
Linked list of email scoring rules.
struct ListHead unignore
Header patterns to unignore.
struct ListHead ignore
Header patterns to ignore.
struct ReplaceList spam
Regexes and patterns to match spam emails.
struct ListHead auto_view
List of mime types to auto view.
struct ListHead mail_to_allow
Permitted fields in a mailto: url.
struct RegexList no_spam
Regexes to identify non-spam emails.
struct ListHead alternative_order
List of preferred mime types to display.
struct ListHead header_order
List of header fields in the order they should be displayed.
Container for Accounts, Notifications.
struct Notify * notify
Notifications handler.