diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-08 16:08:07 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-08 16:08:07 +0000 |
commit | 4aec836b76851fdedcc5af034b1854de321f76e3 (patch) | |
tree | 4190a0c4fd85d1ddcbc2372c82303bc96b83d297 /src/libserver/cfg_file.h | |
parent | 6ee6b7a2642f6ef7d8805ce6a1299196fbe683e3 (diff) | |
download | rspamd-4aec836b76851fdedcc5af034b1854de321f76e3.tar.gz rspamd-4aec836b76851fdedcc5af034b1854de321f76e3.zip |
Implement the case of incrementing backends for bayes
Diffstat (limited to 'src/libserver/cfg_file.h')
-rw-r--r-- | src/libserver/cfg_file.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libserver/cfg_file.h b/src/libserver/cfg_file.h index b03facd3a..7b49e4866 100644 --- a/src/libserver/cfg_file.h +++ b/src/libserver/cfg_file.h @@ -130,6 +130,12 @@ struct rspamd_tokenizer_config { /* Classifier has all integer values (e.g. bayes) */ #define RSPAMD_FLAG_CLASSIFIER_INTEGER (1 << 0) +/* + * Set if backend for a classifier is intended to increment and not set values + * (e.g. redis) + */ +#define RSPAMD_FLAG_CLASSIFIER_INCREMENTING_BACKEND (1 << 1) + /** * Classifier config definition */ |