23#ifndef MUTT_INDEX_SUBJECTRX_H
24#define MUTT_INDEX_SUBJECTRX_H
CommandResult
Error codes for command_t parse functions.
Convenience wrapper for the core headers.
enum CommandResult parse_unsubjectrx_list(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'unsubject-regex' command - Implements Command::parse() -.
enum CommandResult parse_subjectrx_list(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'subject-regex' command - Implements Command::parse() -.
String manipulation buffer.
Index private Module data.
Container for Accounts, Notifications.
Context for config parsing (history/backtrace)
Detailed error information from config parsing.
void subjectrx_init(struct NeoMutt *n, struct IndexModuleData *md)
Create new Subject Regex List.
void subjectrx_cleanup(struct IndexModuleData *md)
Free the Subject Regex List.
void subjectrx_clear_mods(struct MailboxView *mv)
Clear out all modified email subjects.
NotifySubjectRx
Subject Regex notification types.
@ NT_SUBJECTRX_DELETE
Subject Regex has been deleted.
@ NT_SUBJECTRX_DELETE_ALL
All Subject Regexes have been deleted.
@ NT_SUBJECTRX_ADD
Subject Regex has been added.
bool subjectrx_apply_mods(struct Envelope *env)
Apply regex modifications to the subject.