From 5f25b69c03972b0adff6bc649e1922111d0ebb2b Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 21 Apr 2014 13:39:39 +0100 Subject: Refactor worker task structure and API. --- src/message.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/message.h') diff --git a/src/message.h b/src/message.h index f77c90825..5e27579d1 100644 --- a/src/message.h +++ b/src/message.h @@ -9,7 +9,7 @@ #include "config.h" #include "fuzzy.h" -struct worker_task; +struct rspamd_task; struct controller_session; struct mime_part { @@ -62,7 +62,7 @@ struct raw_header { * @param task worker_task object * @return 0 if we have delayed filters to process and 1 if we have finished with processing */ -gint process_message (struct worker_task *task); +gint process_message (struct rspamd_task *task); /* * Set header with specified name and value @@ -86,6 +86,6 @@ GList* message_get_header (rspamd_mempool_t *pool, GMimeMessage *message, const * @param strong if this flag is TRUE header's name is case sensitive, otherwise it is not * @return A list of header's values or NULL. Unlike previous function it is NOT required to free list or values. I should rework one of these functions some time. */ -GList* message_get_raw_header (struct worker_task *task, const gchar *field, gboolean strong); +GList* message_get_raw_header (struct rspamd_task *task, const gchar *field, gboolean strong); #endif -- cgit v1.2.3