diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-08-17 15:57:51 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-08-17 15:57:51 +0100 |
commit | bd4ce0b8093c0b49c841ffdf43e72570dc70ca33 (patch) | |
tree | b583fc60cf9febf36ee74deaee02c6517e163787 /src/libserver/symbols_cache.h | |
parent | 8632d14d4b43f2da3cfefdf76b211f4c3449a392 (diff) | |
download | rspamd-bd4ce0b8093c0b49c841ffdf43e72570dc70ca33.tar.gz rspamd-bd4ce0b8093c0b49c841ffdf43e72570dc70ca33.zip |
Add configuration option `unknown_weight` for metrics.
If this option is specified, then all filters add symbols to this metric
with the specified weight even if they are not specified in symbols list
explicitly.
Diffstat (limited to 'src/libserver/symbols_cache.h')
-rw-r--r-- | src/libserver/symbols_cache.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libserver/symbols_cache.h b/src/libserver/symbols_cache.h index e1fd3286f..36128460d 100644 --- a/src/libserver/symbols_cache.h +++ b/src/libserver/symbols_cache.h @@ -33,6 +33,8 @@ struct cache_item { guint32 networks_number; gboolean is_dynamic; + gboolean is_skipped; + /* Callback data */ symbol_func_t func; gpointer user_data; @@ -41,6 +43,7 @@ struct cache_item { gboolean is_virtual; gboolean is_callback; + /* Priority */ gint priority; gdouble metric_weight; |