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/lmtp_proto.h | |
parent | bc997b7b94a36103a3d409d0de422a71df0a19d6 (diff) | |
download | rspamd-5f25b69c03972b0adff6bc649e1922111d0ebb2b.tar.gz rspamd-5f25b69c03972b0adff6bc649e1922111d0ebb2b.zip |
Refactor worker task structure and API.
Diffstat (limited to 'src/lmtp_proto.h')
-rw-r--r-- | src/lmtp_proto.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 |