]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lmtp: proxy: Made struct lmtp_proxy_rcpt_settings private.
authorStephan Bosch <stephan.bosch@dovecot.fi>
Mon, 30 Oct 2017 20:09:25 +0000 (21:09 +0100)
committerStephan Bosch <stephan.bosch@dovecot.fi>
Thu, 7 Dec 2017 23:10:07 +0000 (00:10 +0100)
src/lmtp/lmtp-proxy.c
src/lmtp/lmtp-proxy.h

index 6106cbd177a4e32873f7071b98bbdfb05cacdac4..8fa42b4dbd6c074abd78aa2885272d78f067ed79 100644 (file)
 #define ERRSTR_TEMP_USERDB_FAIL \
        ERRSTR_TEMP_USERDB_FAIL_PREFIX "Temporary user lookup failure"
 
+struct lmtp_proxy_rcpt_settings {
+       enum smtp_protocol protocol;
+       const char *host;
+       struct ip_addr hostip;
+       in_port_t port;
+       unsigned int timeout_msecs;
+       struct smtp_params_rcpt params;
+};
+
 struct lmtp_proxy_recipient {
        struct lmtp_proxy_connection *conn;
        const struct smtp_address *address;
index dc69376c7ebc6124a97158def663e8db1ec6b3cf..f2e83780dc09bea85f8cc9ab2cbfb19385fd44f8 100644 (file)
@@ -22,15 +22,6 @@ struct lmtp_proxy_settings {
        unsigned int proxy_ttl;
 };
 
-struct lmtp_proxy_rcpt_settings {
-       enum smtp_protocol protocol;
-       const char *host;
-       struct ip_addr hostip;
-       in_port_t port;
-       unsigned int timeout_msecs;
-       struct smtp_params_rcpt params;
-};
-
 typedef void lmtp_proxy_finish_callback_t(void *context);
 
 void lmtp_proxy_deinit(struct lmtp_proxy **proxy);