diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-07-12 18:35:47 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-07-12 18:35:47 +0400 |
commit | c4105fc43199d51af271bc24d3345aa57906d973 (patch) | |
tree | 3b9fa1614afa3bd4df627bae022ec1f7ec5c684c /src/cfg_file.h | |
parent | f88f875cf8b89fb9f26a510c66ebf7004ea80d6c (diff) | |
download | rspamd-c4105fc43199d51af271bc24d3345aa57906d973.tar.gz rspamd-c4105fc43199d51af271bc24d3345aa57906d973.zip |
Cache data of parts distance function to speed up multiply rules with such function.
Diffstat (limited to 'src/cfg_file.h')
-rw-r--r-- | src/cfg_file.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cfg_file.h b/src/cfg_file.h index 268906d40..7e2dfd413 100644 --- a/src/cfg_file.h +++ b/src/cfg_file.h @@ -189,6 +189,8 @@ struct statfile { statfile_normalize_func normalizer; /**< function that is used as normaliser */ void *normalizer_data; /**< normalizer function params */ gchar *normalizer_str; /**< source string (for dump) */ + GHashTable *opts; /**< different statfile options */ + gboolean is_spam; /**< spam flag */ }; /** |