Routines for adding user scores to emails. More...
#include "config.h"
#include <stdbool.h>
#include <stdlib.h>
#include "mutt/lib.h"
#include "config/lib.h"
#include "email/lib.h"
#include "core/lib.h"
#include "mutt.h"
#include "score.h"
#include "index/lib.h"
#include "parse/lib.h"
#include "pattern/lib.h"
#include "globals.h"
#include "mutt_thread.h"
#include "protos.h"
Go to the source code of this file.
Data Structures | |
struct | Score |
Scoring rule for email. More... | |
Functions | |
void | mutt_check_rescore (struct Mailbox *m) |
Do the emails need to have their scores recalculated? | |
enum CommandResult | mutt_parse_score (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
Parse the 'score' command - Implements Command::parse() -. | |
void | mutt_score_message (struct Mailbox *m, struct Email *e, bool upd_mbox) |
Apply scoring to an email. | |
enum CommandResult | mutt_parse_unscore (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
Parse the 'unscore' command - Implements Command::parse() -. | |
Variables | |
static struct Score * | ScoreList = NULL |
Linked list of email scoring rules. | |
Routines for adding user scores to emails.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file score.c.
void mutt_check_rescore | ( | struct Mailbox * | m | ) |
Do the emails need to have their scores recalculated?
m | Mailbox |
Definition at line 67 of file score.c.
Apply scoring to an email.
Definition at line 165 of file score.c.