Mercurial > dovecot > core-2.2
comparison src/login-common/login-proxy.h @ 17503:75d254897442
login proxy: If passdb returns "source_ip" extra field, use it for outgoing connections.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 16 Jun 2014 19:21:36 +0300 |
parents | 02451e967a06 |
children | aabfe48db1cf |
comparison
equal
deleted
inserted
replaced
17502:6abf982c268d | 17503:75d254897442 |
---|---|
22 PROXY_SSL_FLAG_ANY_CERT = 0x04 | 22 PROXY_SSL_FLAG_ANY_CERT = 0x04 |
23 }; | 23 }; |
24 | 24 |
25 struct login_proxy_settings { | 25 struct login_proxy_settings { |
26 const char *host; | 26 const char *host; |
27 struct ip_addr ip; | 27 struct ip_addr ip, source_ip; |
28 unsigned int port; | 28 unsigned int port; |
29 unsigned int connect_timeout_msecs; | 29 unsigned int connect_timeout_msecs; |
30 /* send a notification about proxy connection to proxy-notify pipe | 30 /* send a notification about proxy connection to proxy-notify pipe |
31 every n seconds */ | 31 every n seconds */ |
32 unsigned int notify_refresh_secs; | 32 unsigned int notify_refresh_secs; |