]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lmtp: proxy: Made lmtp_proxy_init() private.
authorStephan Bosch <stephan.bosch@dovecot.fi>
Mon, 30 Oct 2017 19:41:03 +0000 (20:41 +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 578eeb601011fa95834cb2ed67030a466bf2e795..c8fd6cb4a4337f895c74c2e1951c359a6e695ceb 100644 (file)
@@ -82,7 +82,7 @@ lmtp_proxy_data_cb(const struct smtp_reply *reply,
  * LMTP proxy
  */
 
-struct lmtp_proxy *
+static struct lmtp_proxy *
 lmtp_proxy_init(const struct lmtp_proxy_settings *set,
                struct ostream *client_output)
 {
index 334780faf8bb55527cfdbfb7c2fbd34d06a57684..e94b53a590844ab59beb2332db60a25f46651c31 100644 (file)
@@ -9,6 +9,7 @@
 #define LMTP_PROXY_DEFAULT_TTL 5
 
 struct smtp_address;
+struct lmtp_proxy;
 struct client;
 
 struct lmtp_proxy_settings {
@@ -32,9 +33,6 @@ struct lmtp_proxy_rcpt_settings {
 
 typedef void lmtp_proxy_finish_callback_t(void *context);
 
-struct lmtp_proxy *
-lmtp_proxy_init(const struct lmtp_proxy_settings *set,
-               struct ostream *client_output);
 void lmtp_proxy_deinit(struct lmtp_proxy **proxy);
 
 unsigned int lmtp_proxy_rcpt_count(struct client *client);