NeoMutt  2025-12-11-58-g09398d
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
score.h
Go to the documentation of this file.
1
22
23#ifndef MUTT_SCORE_H
24#define MUTT_SCORE_H
25
26#include <stdbool.h>
27#include "core/lib.h"
28
29struct Buffer;
30struct Email;
31
32void mutt_check_rescore(struct Mailbox *m);
33enum CommandResult parse_score (const struct Command *cmd, struct Buffer *line, struct Buffer *err);
34enum CommandResult parse_unscore(const struct Command *cmd, struct Buffer *line, struct Buffer *err);
35void mutt_score_message(struct Mailbox *m, struct Email *e, bool upd_mbox);
36
37#endif /* MUTT_SCORE_H */
CommandResult
Error codes for command_t parse functions.
Definition command.h:35
Convenience wrapper for the core headers.
enum CommandResult parse_unscore(const struct Command *cmd, struct Buffer *line, struct Buffer *err)
Parse the 'unscore' command - Implements Command::parse() -.
Definition score.c:220
enum CommandResult parse_score(const struct Command *cmd, struct Buffer *line, struct Buffer *err)
Parse the 'score' command - Implements Command::parse() -.
Definition score.c:94
void mutt_check_rescore(struct Mailbox *m)
Do the emails need to have their scores recalculated?
Definition score.c:67
void mutt_score_message(struct Mailbox *m, struct Email *e, bool upd_mbox)
Apply scoring to an email.
Definition score.c:181
String manipulation buffer.
Definition buffer.h:36
The envelope/body of an email.
Definition email.h:39
A mailbox.
Definition mailbox.h:79