Mercurial > dovecot > core-2.2
diff src/login-common/login-proxy.h @ 10616:23956a9b915b HEAD
login: Proxying supports now doing DNS lookups for host names.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 31 Jan 2010 19:11:21 +0200 |
parents | 6b3dc91ae0c5 |
children | c872378a8de6 |
line wrap: on
line diff
--- a/src/login-common/login-proxy.h Sun Jan 31 19:10:38 2010 +0200 +++ b/src/login-common/login-proxy.h Sun Jan 31 19:11:21 2010 +0200 @@ -15,6 +15,7 @@ struct login_proxy_settings { const char *host; + const char *dns_client_socket_path; unsigned int port; unsigned int connect_timeout_msecs; enum login_proxy_ssl_flags ssl_flags; @@ -27,7 +28,7 @@ called when new input is available from proxy. */ int login_proxy_new(struct client *client, const struct login_proxy_settings *set, - proxy_callback_t *callback, struct login_proxy **proxy_r); + proxy_callback_t *callback); /* Free the proxy. This should be called if authentication fails. */ void login_proxy_free(struct login_proxy **proxy);