|
ze-filter
(ze-filter-0.8.0-develop-180218)
|
Go to the source code of this file.
Classes | |
| struct | scores_scale_T |
| struct | test_score_T |
| struct | msg_scores_T |
Macros | |
| #define | BSCORE_LO 0.25 |
| #define | BSCORE_MI 0.50 |
| #define | BSCORE_HI 0.65 |
| #define | MSG_ACTION_UNDEF -1 |
| #define | MSG_ACTION_OK 0 |
| #define | MSG_ACTION_REJECT 1 |
| #define | MSG_ACTION_DISCARD 2 |
| #define | MSG_ACTION_QUARANTINE 3 |
| #define | MSG_ACTION_HEADER_HAM 4 |
| #define | MSG_ACTION_HEADER_SPAM_LO 5 |
| #define | MSG_ACTION_HEADER_SPAM_HI 6 |
| #define | MSG_ACTION_HEADER_NEUTRAL 7 |
| #define | MSG_EVAL_FUNCTION 11 |
| #define | DEFAULT_MSG_EVAL "VECTOR; KBAYES=1.0; KURLBL=0.040; KREGEX=0.020; KORACLE=0.083" |
| #define | DEFAULT_MSG_SCALE "SSCORE1=7.; SSCORE0=0.; SBAYES=1.0; SURLBL=0.2; SREGEX=0.2; SORACLE=1." |
| #define | __ZE_MSG_SCORE_H 1 |
Typedefs | |
| typedef struct scores_scale_T | scores_scale_T |
| typedef struct test_score_T | test_score_T |
| typedef struct msg_scores_T | msg_scores_T |
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 *scores) |
| bool | create_msg_score_header (char *buf, size_t size, char *id, char *hostname, msg_scores_T *scores) |
| bool | fill_msg_scale (scores_scale_T *scale) |
| bool | register_msg_action (int which, char *val) |
| bool | evaluate_msg_action (int action, msg_scores_T *scp, double score, char *str) |
| #define __ZE_MSG_SCORE_H 1 |
Definition at line 140 of file ze-msg-score.h.