summaryrefslogtreecommitdiffstats
path: root/src/lmtp_proto.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-10-06 20:03:57 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-10-06 20:03:57 +0400
commit6b306ab8752befc28d259be55495f8249cc2df24 (patch)
tree0fa3d471aef61925563709e0f8ee5667b57c7a9d /src/lmtp_proto.h
parent8d0053734fb5a4ccd8c3bda731e6b7c8261c6f67 (diff)
downloadrspamd-6b306ab8752befc28d259be55495f8249cc2df24.tar.gz
rspamd-6b306ab8752befc28d259be55495f8249cc2df24.zip
Fixes types (use glib ones) no functional change.
Now all comments in commit logs beginning with '*' would be included in changelog, so important changes would be separated from small ones.
Diffstat (limited to 'src/lmtp_proto.h')
-rw-r--r--src/lmtp_proto.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lmtp_proto.h b/src/lmtp_proto.h
index 24cba2c5e..11d994e69 100644
--- a/src/lmtp_proto.h
+++ b/src/lmtp_proto.h
@@ -25,20 +25,20 @@ struct rspamd_lmtp_proto {
* @param line line of user's input
* @return 0 if line was successfully parsed and -1 if we have protocol error
*/
-int read_lmtp_input_line (struct rspamd_lmtp_proto *lmtp, f_str_t *line);
+gint read_lmtp_input_line (struct rspamd_lmtp_proto *lmtp, f_str_t *line);
/**
* Deliver message via lmtp/smtp or pipe to LDA
* @param task task object
* @return 0 if we wrote message and -1 if there was some error
*/
-int lmtp_deliver_message (struct worker_task *task);
+gint lmtp_deliver_message (struct worker_task *task);
/**
* Write reply for specified lmtp object
* @param lmtp lmtp object
* @return 0 if we wrote reply and -1 if there was some error
*/
-int write_lmtp_reply (struct rspamd_lmtp_proto *lmtp);
+gint write_lmtp_reply (struct rspamd_lmtp_proto *lmtp);
#endif