diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-04-06 20:55:42 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-04-06 20:55:42 +0400 |
commit | e416c77b251198e1cad86e69fe2c8459d5f53209 (patch) | |
tree | d6ffd9d6348978ecb3c380f825e3746a8ae38025 /src/cfg_file.h | |
parent | 4405a019f681fcb51ce0e53b477ed64d50740138 (diff) | |
download | rspamd-e416c77b251198e1cad86e69fe2c8459d5f53209.tar.gz rspamd-e416c77b251198e1cad86e69fe2c8459d5f53209.zip |
* Add classifiers and composites sections to dump
Diffstat (limited to 'src/cfg_file.h')
-rw-r--r-- | src/cfg_file.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cfg_file.h b/src/cfg_file.h index 17f81b3a6..0cf70e8a0 100644 --- a/src/cfg_file.h +++ b/src/cfg_file.h @@ -169,12 +169,13 @@ typedef double (*statfile_normalize_func)(double score, void *params); struct statfile { gchar *symbol; /**< symbol of statfile */ gchar *path; /**< filesystem pattern (with %r or %f) */ - gsize size; /**< size of statfile */ + gsize size; /**< size of statfile */ GList *sections; /**< list of sections in statfile */ struct statfile_autolearn_params *autolearn; /**< autolearn params */ struct statfile_binlog_params *binlog; /**< binlog params */ statfile_normalize_func normalizer; /**< function that is used as normaliser */ void *normalizer_data; /**< normalizer function params */ + gchar *normalizer_str; /**< source string (for dump) */ }; /** @@ -239,6 +240,7 @@ struct config_file { gboolean no_fork; /**< if 1 do not call daemon() */ gboolean config_test; /**< if TRUE do only config file test */ gboolean raw_mode; /**< work in raw mode instead of utf one */ + gboolean convert_config; /**< convert config to XML format */ enum rspamd_log_type log_type; /**< log type */ int log_facility; /**< log facility in case of syslog */ |