ze-filter
(ze-filter-0.8.0-develop-180218)
|
Go to the source code of this file.
Classes | |
struct | msg_eval_func_T |
struct | msg_eval_action_T |
Macros | |
#define | SQR(x) ((x) * (x)) |
#define | MAX_MSG_SCORE 15 |
#define | EVAL_UNDEF -1 |
#define | EVAL_SUM 0 |
#define | EVAL_VECTOR 1 |
#define | EVAL_SHLIB 2 |
#define | EVAL_LOGIT 3 |
#define | N_ACTIONS 16 |
#define | MATCH_THRESHOLD 0 |
#define | MATCH_REGEX 1 |
Functions | |
bool | configure_msg_eval_function (char *val) |
bool | configure_msg_score_scales (char *val) |
bool | display_msg_eval () |
double | compute_msg_score (msg_scores_T *scp) |
bool | create_msg_score_header (char *buf, size_t size, char *id, char *hostname, msg_scores_T *scp) |
bool | fill_msg_scale (scores_scale_T *scale) |
bool | fill_msg_scores (msg_scores_T *scores, bool do_bayes, double bayes, bool do_regex, int regex, bool do_urlbl, int urlbl, bool do_oracle, int oracle) |
bool | register_msg_action (int which, char *val) |
bool | evaluate_msg_action (int action, msg_scores_T *scp, double score, char *str) |
#define EVAL_LOGIT 3 |
Definition at line 51 of file ze-msg-score.c.
#define EVAL_SHLIB 2 |
Definition at line 50 of file ze-msg-score.c.
#define EVAL_SUM 0 |
Definition at line 48 of file ze-msg-score.c.
#define EVAL_UNDEF -1 |
Definition at line 47 of file ze-msg-score.c.
#define EVAL_VECTOR 1 |
Definition at line 49 of file ze-msg-score.c.
#define MATCH_REGEX 1 |
Definition at line 875 of file ze-msg-score.c.
#define MATCH_THRESHOLD 0 |
Definition at line 874 of file ze-msg-score.c.
#define MAX_MSG_SCORE 15 |
Definition at line 34 of file ze-msg-score.c.
#define N_ACTIONS 16 |
Definition at line 872 of file ze-msg-score.c.
#define SQR | ( | x | ) | ((x) * (x)) |
Definition at line 31 of file ze-msg-score.c.
bool fill_msg_scores | ( | msg_scores_T * | scores, |
bool | do_bayes, | ||
double | bayes, | ||
bool | do_regex, | ||
int | regex, | ||
bool | do_urlbl, | ||
int | urlbl, | ||
bool | do_oracle, | ||
int | oracle | ||
) |
Definition at line 825 of file ze-msg-score.c.