diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-07-13 13:07:45 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-07-13 13:07:45 +0400 |
commit | 091e84951a2b032bb2930b300ffe43eaf01a304e (patch) | |
tree | 5d5992bb7de97fdb20c04bda9fff013fbe134c82 /src/cfg_file.h | |
parent | c6d62c095bc27aebd6c5f8dc9716467ae147fb68 (diff) | |
download | rspamd-091e84951a2b032bb2930b300ffe43eaf01a304e.tar.gz rspamd-091e84951a2b032bb2930b300ffe43eaf01a304e.zip |
Add validity detector for statfiles inside classifier.
Add euristic to detect spam/ham classes based on statfile symbol.
Diffstat (limited to 'src/cfg_file.h')
-rw-r--r-- | src/cfg_file.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cfg_file.h b/src/cfg_file.h index d15923639..64a46d149 100644 --- a/src/cfg_file.h +++ b/src/cfg_file.h @@ -430,6 +430,7 @@ gboolean parse_normalizer (struct config_file *cfg, struct statfile *st, const g gboolean read_xml_config (struct config_file *cfg, const gchar *filename); gboolean check_modules_config (struct config_file *cfg); void insert_classifier_symbols (struct config_file *cfg); +gboolean check_classifier_statfiles (struct classifier_config *cf); struct classifier_config* find_classifier_conf (struct config_file *cfg, const gchar *name); |