diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-07-13 20:54:13 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-07-13 20:54:13 +0400 |
commit | a8cdd33ac7ee59e195dca03a395c264877ee5168 (patch) | |
tree | 077413b678005aad4f66dbeae82a982cb71ce75f /src/cfg_file.h | |
parent | 74b38eb87d0ee6e401e06d8c604d55be2d93a1b2 (diff) | |
download | rspamd-a8cdd33ac7ee59e195dca03a395c264877ee5168.tar.gz rspamd-a8cdd33ac7ee59e195dca03a395c264877ee5168.zip |
* Rework the whole filters system
* Add metrics optimization and symbols cache
* Change all plugins
[DRAGONS]: not for production usage, some things are still not working!
Diffstat (limited to 'src/cfg_file.h')
-rw-r--r-- | src/cfg_file.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/cfg_file.h b/src/cfg_file.h index 850c34ece..d93bc9d34 100644 --- a/src/cfg_file.h +++ b/src/cfg_file.h @@ -212,18 +212,13 @@ struct config_file { GList *perl_modules; /**< linked list of perl modules to load */ - GList *header_filters; /**< linked list of all header's filters */ - GList *mime_filters; /**< linked list of all mime filters */ - GList *message_filters; /**< linked list of all message's filters */ - GList *url_filters; /**< linked list of all url's filters */ + GList *filters; /**< linked list of all filters */ GList *workers; /**< linked list of all workers params */ - char *header_filters_str; /**< string of header's filters */ - char *mime_filters_str; /**< string of mime's filters */ - char *message_filters_str; /**< string of message's filters */ - char *url_filters_str; /**< string for url's filters */ + char *filters_str; /**< string of filters */ GHashTable* modules_opts; /**< hash for module options indexed by module name */ GHashTable* variables; /**< hash of $variables defined in config, indexed by variable name */ GHashTable* metrics; /**< hash of metrics indexed by metric name */ + GList* metrics_list; /**< linked list of metrics */ GHashTable* factors; /**< hash of factors indexed by symbol name */ GHashTable* c_modules; /**< hash of c modules indexed by module name */ GHashTable* composite_symbols; /**< hash of composite symbols indexed by its name */ |