23#ifndef MUTT_EMAIL_SCORE_H
24#define MUTT_EMAIL_SCORE_H
40 struct PatternList *
pat;
CommandResult
Error codes for command_t parse functions.
Convenience wrapper for the core headers.
enum CommandResult parse_unscore(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'unscore' command - Implements Command::parse() -.
enum CommandResult parse_score(const struct Command *cmd, struct Buffer *line, const struct ParseContext *pc, struct ParseError *pe)
Parse the 'score' command - Implements Command::parse() -.
void mutt_check_rescore(struct Mailbox *m)
Do the emails need to have their scores recalculated?
void mutt_score_message(struct Mailbox *m, struct Email *e, bool upd_mbox)
Apply scoring to an email.
void score_list_free(struct Score **sp)
Free a list of scoring rules.
String manipulation buffer.
The envelope/body of an email.
Context for config parsing (history/backtrace)
Detailed error information from config parsing.
bool exact
If this rule matches, don't evaluate any more.
char * str
String to match.
struct PatternList * pat
Pattern to match.
struct Score * next
Linked list.