aboutsummaryrefslogtreecommitdiffstats
path: root/src/message.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-04-21 13:39:39 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-04-21 13:39:39 +0100
commit5f25b69c03972b0adff6bc649e1922111d0ebb2b (patch)
tree62fb361ba8eab64f59a1874e5d045d404727ae4e /src/message.h
parentbc997b7b94a36103a3d409d0de422a71df0a19d6 (diff)
downloadrspamd-5f25b69c03972b0adff6bc649e1922111d0ebb2b.tar.gz
rspamd-5f25b69c03972b0adff6bc649e1922111d0ebb2b.zip
Refactor worker task structure and API.
Diffstat (limited to 'src/message.h')
-rw-r--r--src/message.h6
1 files changed, 3 insertions, 3 deletions
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