diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-11-04 15:42:15 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-11-04 15:42:15 +0000 |
commit | 70c5a7b68850e825b29b12c672fda71e366f58ff (patch) | |
tree | f100c3558bdf7cbcff45d7156ea5681c4ab4c60a /src/libmime/filter.h | |
parent | cc2301c1517da93dfe0867a5a91bafae18001e1a (diff) | |
download | rspamd-70c5a7b68850e825b29b12c672fda71e366f58ff.tar.gz rspamd-70c5a7b68850e825b29b12c672fda71e366f58ff.zip |
[Rework] Kill metrics!11
Diffstat (limited to 'src/libmime/filter.h')
-rw-r--r-- | src/libmime/filter.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libmime/filter.h b/src/libmime/filter.h index 139034723..53d47a769 100644 --- a/src/libmime/filter.h +++ b/src/libmime/filter.h @@ -35,14 +35,13 @@ struct rspamd_symbol_result { * Result of metric processing */ struct rspamd_metric_result { - struct rspamd_metric *metric; /**< pointer to metric structure */ double score; /**< total score */ double grow_factor; /**< current grow factor */ GHashTable *symbols; /**< symbols of metric */ GHashTable *sym_groups; /**< groups of symbols */ gdouble actions_limits[METRIC_ACTION_MAX]; /**< set of actions for this metric */ guint changes; - enum rspamd_metric_action action; /**< the current action */ + enum rspamd_action_type action; /**< the current action */ }; /** @@ -103,7 +102,7 @@ double rspamd_factor_consolidation_func (struct rspamd_task *task, /* * Get action for specific metric */ -enum rspamd_metric_action rspamd_check_action_metric (struct rspamd_task *task, +enum rspamd_action_type rspamd_check_action_metric (struct rspamd_task *task, struct rspamd_metric_result *mres); #endif |