diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-21 13:39:39 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-21 13:39:39 +0100 |
commit | 5f25b69c03972b0adff6bc649e1922111d0ebb2b (patch) | |
tree | 62fb361ba8eab64f59a1874e5d045d404727ae4e /src/settings.h | |
parent | bc997b7b94a36103a3d409d0de422a71df0a19d6 (diff) | |
download | rspamd-5f25b69c03972b0adff6bc649e1922111d0ebb2b.tar.gz rspamd-5f25b69c03972b0adff6bc649e1922111d0ebb2b.zip |
Refactor worker task structure and API.
Diffstat (limited to 'src/settings.h')
-rw-r--r-- | src/settings.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/settings.h b/src/settings.h index 7f89dd4b9..361700094 100644 --- a/src/settings.h +++ b/src/settings.h @@ -35,7 +35,7 @@ gboolean check_metric_settings (struct metric_result *res, double *score, double /* * Check actions settings */ -gboolean check_metric_action_settings (struct worker_task *task, struct metric_result *res, double score, enum rspamd_metric_action *result); +gboolean check_metric_action_settings (struct rspamd_task *task, struct metric_result *res, double score, enum rspamd_metric_action *result); /* * Check individual weights for settings @@ -45,11 +45,11 @@ gboolean check_factor_settings (struct metric_result *res, const gchar *symbol, /* * Check want_spam flag */ -gboolean check_want_spam (struct worker_task *task); +gboolean check_want_spam (struct rspamd_task *task); /* * Search settings for metric and store pointers to settings into metric_result structure */ -gboolean apply_metric_settings (struct worker_task *task, struct metric *metric, struct metric_result *res); +gboolean apply_metric_settings (struct rspamd_task *task, struct metric *metric, struct metric_result *res); #endif |