client-common.h (dovecot-2.3.16) | : | client-common.h (dovecot-2.3.17) | ||
---|---|---|---|---|
skipping to change at line 113 | skipping to change at line 113 | |||
in_port_t port; | in_port_t port; | |||
unsigned int proxy_timeout_msecs; | unsigned int proxy_timeout_msecs; | |||
unsigned int proxy_refresh_secs; | unsigned int proxy_refresh_secs; | |||
unsigned int proxy_host_immediate_failure_after_secs; | unsigned int proxy_host_immediate_failure_after_secs; | |||
enum login_proxy_ssl_flags ssl_flags; | enum login_proxy_ssl_flags ssl_flags; | |||
/* all the key=value fields returned by passdb */ | /* all the key=value fields returned by passdb */ | |||
const char *const *all_fields; | const char *const *all_fields; | |||
bool proxy:1; | bool proxy:1; | |||
bool proxy_noauth:1; | ||||
bool proxy_nopipelining:1; | bool proxy_nopipelining:1; | |||
bool proxy_not_trusted:1; | bool proxy_not_trusted:1; | |||
bool nologin:1; | bool nologin:1; | |||
}; | }; | |||
struct client_vfuncs { | struct client_vfuncs { | |||
struct client *(*alloc)(pool_t pool); | struct client *(*alloc)(pool_t pool); | |||
void (*create)(struct client *client, void **other_sets); | void (*create)(struct client *client, void **other_sets); | |||
void (*destroy)(struct client *client); | void (*destroy)(struct client *client); | |||
void (*notify_auth_ready)(struct client *client); | void (*notify_auth_ready)(struct client *client); | |||
skipping to change at line 176 | skipping to change at line 177 | |||
struct event *event; | struct event *event; | |||
struct ip_addr local_ip; | struct ip_addr local_ip; | |||
struct ip_addr ip; | struct ip_addr ip; | |||
struct ip_addr real_remote_ip, real_local_ip; | struct ip_addr real_remote_ip, real_local_ip; | |||
in_port_t local_port, remote_port; | in_port_t local_port, remote_port; | |||
in_port_t real_local_port, real_remote_port; | in_port_t real_local_port, real_remote_port; | |||
struct ssl_iostream *ssl_iostream; | struct ssl_iostream *ssl_iostream; | |||
const struct login_settings *set; | const struct login_settings *set; | |||
const struct master_service_ssl_settings *ssl_set; | const struct master_service_ssl_settings *ssl_set; | |||
const struct master_service_ssl_server_settings *ssl_server_set; | ||||
const char *session_id, *listener_name, *postlogin_socket_path; | const char *session_id, *listener_name, *postlogin_socket_path; | |||
const char *local_name; | const char *local_name; | |||
const char *client_cert_common_name; | const char *client_cert_common_name; | |||
string_t *client_id; | string_t *client_id; | |||
string_t *forward_fields; | string_t *forward_fields; | |||
int fd; | int fd; | |||
struct istream *input; | struct istream *input; | |||
struct ostream *output; | struct ostream *output; | |||
skipping to change at line 250 | skipping to change at line 252 | |||
bool ssl_secured:1; | bool ssl_secured:1; | |||
bool trusted:1; | bool trusted:1; | |||
bool ssl_servername_settings_read:1; | bool ssl_servername_settings_read:1; | |||
bool banner_sent:1; | bool banner_sent:1; | |||
bool authenticating:1; | bool authenticating:1; | |||
bool auth_try_aborted:1; | bool auth_try_aborted:1; | |||
bool auth_initializing:1; | bool auth_initializing:1; | |||
bool auth_process_comm_fail:1; | bool auth_process_comm_fail:1; | |||
bool auth_anonymous:1; | bool auth_anonymous:1; | |||
bool proxy_auth_failed:1; | bool proxy_auth_failed:1; | |||
bool proxy_noauth:1; | ||||
bool proxy_nopipelining:1; | bool proxy_nopipelining:1; | |||
bool proxy_not_trusted:1; | bool proxy_not_trusted:1; | |||
bool auth_waiting:1; | bool auth_waiting:1; | |||
bool notified_auth_ready:1; | bool notified_auth_ready:1; | |||
bool notified_disconnect:1; | bool notified_disconnect:1; | |||
bool fd_proxying:1; | bool fd_proxying:1; | |||
/* ... */ | /* ... */ | |||
}; | }; | |||
union login_client_module_context { | union login_client_module_context { | |||
skipping to change at line 280 | skipping to change at line 283 | |||
typedef void login_client_allocated_func_t(struct client *client); | typedef void login_client_allocated_func_t(struct client *client); | |||
void login_client_hooks_add(struct module *module, | void login_client_hooks_add(struct module *module, | |||
const struct login_client_hooks *hooks); | const struct login_client_hooks *hooks); | |||
void login_client_hooks_remove(const struct login_client_hooks *hooks); | void login_client_hooks_remove(const struct login_client_hooks *hooks); | |||
struct client * | struct client * | |||
client_alloc(int fd, pool_t pool, | client_alloc(int fd, pool_t pool, | |||
const struct master_service_connection *conn, | const struct master_service_connection *conn, | |||
const struct login_settings *set, | const struct login_settings *set, | |||
const struct master_service_ssl_settings *ssl_set); | const struct master_service_ssl_settings *ssl_set, | |||
const struct master_service_ssl_server_settings *ssl_server_set); | ||||
void client_init(struct client *client, void **other_sets); | void client_init(struct client *client, void **other_sets); | |||
void client_disconnect(struct client *client, const char *reason, | void client_disconnect(struct client *client, const char *reason, | |||
bool add_disconnected_prefix); | bool add_disconnected_prefix); | |||
void client_destroy(struct client *client, const char *reason); | void client_destroy(struct client *client, const char *reason); | |||
void client_destroy_iostream_error(struct client *client); | void client_destroy_iostream_error(struct client *client); | |||
/* Destroy the client after a successful login. Either the client fd was | /* Destroy the client after a successful login. Either the client fd was | |||
sent to the post-login process, or the connection will be proxied. */ | sent to the post-login process, or the connection will be proxied. */ | |||
void client_destroy_success(struct client *client, const char *reason); | void client_destroy_success(struct client *client, const char *reason); | |||
void client_ref(struct client *client); | void client_ref(struct client *client); | |||
End of changes. 4 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added |