From: Stephan Bosch Date: Tue, 31 Oct 2017 01:37:40 +0000 (+0100) Subject: lmtp: proxy: Added structural comments. X-Git-Tag: 2.3.0.rc1~216 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb0a27c17c43b33fe558d6701081de16e9768789;p=thirdparty%2Fdovecot%2Fcore.git lmtp: proxy: Added structural comments. --- diff --git a/src/lmtp/lmtp-proxy.c b/src/lmtp/lmtp-proxy.c index eaf7e51c50..6e09ad359e 100644 --- a/src/lmtp/lmtp-proxy.c +++ b/src/lmtp/lmtp-proxy.c @@ -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)