login-proxy.h (dovecot-2.3.16) | : | login-proxy.h (dovecot-2.3.17) | ||
---|---|---|---|---|
skipping to change at line 60 | skipping to change at line 60 | |||
struct login_proxy_settings { | struct login_proxy_settings { | |||
const char *host; | const char *host; | |||
struct ip_addr ip, source_ip; | struct ip_addr ip, source_ip; | |||
in_port_t port; | in_port_t port; | |||
unsigned int connect_timeout_msecs; | unsigned int connect_timeout_msecs; | |||
/* send a notification about proxy connection to proxy-notify pipe | /* send a notification about proxy connection to proxy-notify pipe | |||
every n seconds */ | every n seconds */ | |||
unsigned int notify_refresh_secs; | unsigned int notify_refresh_secs; | |||
unsigned int host_immediate_failure_after_secs; | unsigned int host_immediate_failure_after_secs; | |||
enum login_proxy_ssl_flags ssl_flags; | enum login_proxy_ssl_flags ssl_flags; | |||
const char *rawlog_dir; | ||||
}; | }; | |||
/* Called when new input comes from proxy. */ | /* Called when new input comes from proxy. */ | |||
typedef void login_proxy_input_callback_t(struct client *client); | typedef void login_proxy_input_callback_t(struct client *client); | |||
/* Called when proxying fails. If reconnecting=TRUE, this is just an | /* Called when proxying fails. If reconnecting=TRUE, this is just an | |||
intermediate notification that the proxying will attempt to reconnect soon | intermediate notification that the proxying will attempt to reconnect soon | |||
before failing. */ | before failing. */ | |||
typedef void login_proxy_failure_callback_t(struct client *client, | typedef void login_proxy_failure_callback_t(struct client *client, | |||
enum login_proxy_failure_type type, | enum login_proxy_failure_type type, | |||
const char *reason, | const char *reason, | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added |