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/lmtp_proto.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lmtp_proto.h') diff --git a/src/lmtp_proto.h b/src/lmtp_proto.h index 11d994e69..143915818 100644 --- a/src/lmtp_proto.h +++ b/src/lmtp_proto.h @@ -3,7 +3,7 @@ #include "config.h" -struct worker_task; +struct rspamd_task; enum lmtp_state { LMTP_READ_LHLO, @@ -15,7 +15,7 @@ enum lmtp_state { }; struct rspamd_lmtp_proto { - struct worker_task *task; + struct rspamd_task *task; enum lmtp_state state; }; @@ -32,7 +32,7 @@ gint read_lmtp_input_line (struct rspamd_lmtp_proto *lmtp, f_str_t *line); * @param task task object * @return 0 if we wrote message and -1 if there was some error */ -gint lmtp_deliver_message (struct worker_task *task); +gint lmtp_deliver_message (struct rspamd_task *task); /** * Write reply for specified lmtp object -- cgit v1.2.3