aboutsummaryrefslogtreecommitdiffstats
path: root/src/cfg_file.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2008-12-10 20:03:00 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2008-12-10 20:03:00 +0300
commit93e2e9d2faf9495283b2709f8749d81542d21ed1 (patch)
tree72817ab774cd081b2687c914f08b2bcd96432175 /src/cfg_file.h
parentc9df6177c0b5f8fb5bd2c6c4947c52e184b0b556 (diff)
downloadrspamd-93e2e9d2faf9495283b2709f8749d81542d21ed1.tar.gz
rspamd-93e2e9d2faf9495283b2709f8749d81542d21ed1.zip
* Add logic for filtering messages with tokenizer/classifier pair
Diffstat (limited to 'src/cfg_file.h')
-rw-r--r--src/cfg_file.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cfg_file.h b/src/cfg_file.h
index f31efdc6c..4a2fb824d 100644
--- a/src/cfg_file.h
+++ b/src/cfg_file.h
@@ -51,6 +51,8 @@
fprintf (stderr, "\n")
struct expression;
+struct tokenizer;
+struct classifier;
enum { VAL_UNDEF=0, VAL_TRUE, VAL_FALSE };
@@ -98,7 +100,10 @@ struct statfile {
char *alias;
char *pattern;
double weight;
+ char *metric;
size_t size;
+ struct tokenizer *tokenizer;
+ struct classifier *classifier;
};
struct config_file {