]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lmtp: proxy: Added structural comments.
authorStephan Bosch <stephan.bosch@dovecot.fi>
Tue, 31 Oct 2017 01:37:40 +0000 (02:37 +0100)
committerStephan Bosch <stephan.bosch@dovecot.fi>
Thu, 7 Dec 2017 23:08:15 +0000 (00:08 +0100)
src/lmtp/lmtp-proxy.c

index eaf7e51c50512a8260532dbd6b42f830fbd8d77e..6e09ad359e0f04d176d52320ed2853911873deff 100644 (file)
@@ -78,6 +78,10 @@ static void
 lmtp_proxy_data_cb(const struct smtp_reply *reply,
                   struct lmtp_proxy_recipient *rcpt);
 
+/*
+ * LMTP proxy
+ */
+
 struct lmtp_proxy *
 lmtp_proxy_init(const struct lmtp_proxy_settings *set,
                struct ostream *client_output)
@@ -296,6 +300,10 @@ lmtp_proxy_write_reply(string_t *reply, const struct smtp_reply *proxy_reply)
        }
 }
 
+/*
+ * RCPT command
+ */
+
 static bool
 client_proxy_rcpt_parse_fields(struct lmtp_proxy_rcpt_settings *set,
                               const char *const *args, const char **address)
@@ -538,6 +546,10 @@ bool client_proxy_rcpt(struct client *client,
        return TRUE;
 }
 
+/*
+ * DATA command
+ */
+
 static void
 lmtp_proxy_data_cb(const struct smtp_reply *proxy_reply,
                   struct lmtp_proxy_recipient *rcpt)