"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/transports/smtp.h" between
exim-4.91.tar.xz and exim-4.92.tar.xz

About: Exim is a message transfer agent (MTA).

smtp.h  (exim-4.91.tar.xz):smtp.h  (exim-4.92.tar.xz)
skipping to change at line 48 skipping to change at line 48
uschar *hosts_try_prdr; uschar *hosts_try_prdr;
#endif #endif
#ifndef DISABLE_OCSP #ifndef DISABLE_OCSP
uschar *hosts_request_ocsp; uschar *hosts_request_ocsp;
uschar *hosts_require_ocsp; uschar *hosts_require_ocsp;
#endif #endif
uschar *hosts_require_tls; uschar *hosts_require_tls;
uschar *hosts_avoid_tls; uschar *hosts_avoid_tls;
uschar *hosts_verify_avoid_tls; uschar *hosts_verify_avoid_tls;
uschar *hosts_avoid_pipelining; uschar *hosts_avoid_pipelining;
#ifdef EXPERIMENTAL_PIPE_CONNECT
uschar *hosts_pipe_connect;
#endif
uschar *hosts_avoid_esmtp; uschar *hosts_avoid_esmtp;
#ifdef SUPPORT_TLS #ifdef SUPPORT_TLS
uschar *hosts_nopass_tls; uschar *hosts_nopass_tls;
uschar *hosts_noproxy_tls; uschar *hosts_noproxy_tls;
#endif #endif
int command_timeout; int command_timeout;
int connect_timeout; int connect_timeout;
int data_timeout; int data_timeout;
int final_timeout; int final_timeout;
int size_addition; int size_addition;
skipping to change at line 90 skipping to change at line 93
uschar *tls_privatekey; uschar *tls_privatekey;
uschar *tls_require_ciphers; uschar *tls_require_ciphers;
uschar *tls_sni; uschar *tls_sni;
uschar *tls_verify_certificates; uschar *tls_verify_certificates;
int tls_dh_min_bits; int tls_dh_min_bits;
BOOL tls_tempfail_tryclear; BOOL tls_tempfail_tryclear;
uschar *tls_verify_hosts; uschar *tls_verify_hosts;
uschar *tls_try_verify_hosts; uschar *tls_try_verify_hosts;
uschar *tls_verify_cert_hostnames; uschar *tls_verify_cert_hostnames;
#endif #endif
#ifdef SUPPORT_I18N
uschar *utf8_downconvert;
#endif
#ifndef DISABLE_DKIM #ifndef DISABLE_DKIM
struct ob_dkim dkim; struct ob_dkim dkim;
#endif #endif
#ifdef EXPERIMENTAL_ARC #ifdef EXPERIMENTAL_ARC
uschar *arc_sign; uschar *arc_sign;
#endif #endif
} smtp_transport_options_block; } smtp_transport_options_block;
#define SOB (smtp_transport_options_block *)
/* smtp connect context */ /* smtp connect context */
typedef struct { typedef struct {
uschar * from_addr; uschar * from_addr;
address_item * addrlist; address_item * addrlist;
host_item * host;
int host_af; smtp_connect_args conn_args;
int port; int port;
uschar * interface;
BOOL verify:1; BOOL verify:1;
BOOL lmtp:1; BOOL lmtp:1;
BOOL smtps:1; BOOL smtps:1;
BOOL ok:1; BOOL ok:1;
BOOL setting_up:1; BOOL setting_up:1;
#ifdef EXPERIMENTAL_PIPE_CONNECT
BOOL early_pipe_ok:1;
BOOL early_pipe_active:1;
#endif
BOOL esmtp:1; BOOL esmtp:1;
BOOL esmtp_sent:1; BOOL esmtp_sent:1;
BOOL pipelining_used:1;
#ifndef DISABLE_PRDR #ifndef DISABLE_PRDR
BOOL prdr_active:1; BOOL prdr_active:1;
#endif #endif
#ifdef SUPPORT_I18N #ifdef SUPPORT_I18N
BOOL utf8_needed:1; BOOL utf8_needed:1;
#endif #endif
BOOL dsn_all_lasthop:1; BOOL dsn_all_lasthop:1;
#if defined(SUPPORT_TLS) && defined(SUPPORT_DANE) #if defined(SUPPORT_TLS) && defined(SUPPORT_DANE)
BOOL dane:1; BOOL dane:1;
BOOL dane_required:1; BOOL dane_required:1;
#endif #endif
#ifdef EXPERIMENTAL_PIPE_CONNECT
BOOL pending_BANNER:1;
BOOL pending_EHLO:1;
#endif
BOOL pending_MAIL:1; BOOL pending_MAIL:1;
BOOL pending_BDAT:1; BOOL pending_BDAT:1;
BOOL good_RCPT:1; BOOL good_RCPT:1;
BOOL completed_addr:1; BOOL completed_addr:1;
BOOL send_rset:1; BOOL send_rset:1;
BOOL send_quit:1; BOOL send_quit:1;
int max_rcpt; int max_rcpt;
int cmd_count; int cmd_count;
uschar peer_offered; unsigned peer_offered;
uschar avoid_option; unsigned avoid_option;
uschar * igquotstr; uschar * igquotstr;
uschar * helo_data; uschar * helo_data;
#ifdef EXPERIMENTAL_DSN_INFO #ifdef EXPERIMENTAL_DSN_INFO
uschar * smtp_greeting; uschar * smtp_greeting;
uschar * helo_response; uschar * helo_response;
#endif #endif
#ifdef EXPERIMENTAL_PIPE_CONNECT
ehlo_resp_precis ehlo_resp;
#endif
address_item * first_addr; address_item * first_addr;
address_item * next_addr; address_item * next_addr;
address_item * sync_addr; address_item * sync_addr;
smtp_inblock inblock; client_conn_ctx cctx;
smtp_outblock outblock; smtp_inblock inblock;
smtp_outblock outblock;
uschar buffer[DELIVER_BUFFER_SIZE]; uschar buffer[DELIVER_BUFFER_SIZE];
uschar inbuffer[4096]; uschar inbuffer[4096];
uschar outbuffer[4096]; uschar outbuffer[4096];
transport_instance * tblock;
smtp_transport_options_block * ob;
} smtp_context; } smtp_context;
extern int smtp_setup_conn(smtp_context *, BOOL); extern int smtp_setup_conn(smtp_context *, BOOL);
extern int smtp_write_mail_and_rcpt_cmds(smtp_context *, int *); extern int smtp_write_mail_and_rcpt_cmds(smtp_context *, int *);
extern int smtp_reap_early_pipe(smtp_context *, int *);
/* Data for reading the private options. */ /* Data for reading the private options. */
extern optionlist smtp_transport_options[]; extern optionlist smtp_transport_options[];
extern int smtp_transport_options_count; extern int smtp_transport_options_count;
/* Block containing default values. */ /* Block containing default values. */
extern smtp_transport_options_block smtp_transport_option_defaults; extern smtp_transport_options_block smtp_transport_option_defaults;
/* The main, init, and closedown entry points for the transport */ /* The main, init, and closedown entry points for the transport */
extern BOOL smtp_transport_entry(transport_instance *, address_item *); extern BOOL smtp_transport_entry(transport_instance *, address_item *);
extern void smtp_transport_init(transport_instance *); extern void smtp_transport_init(transport_instance *);
extern void smtp_transport_closedown(transport_instance *); extern void smtp_transport_closedown(transport_instance *);
extern int smtp_auth(uschar *, unsigned, address_item *, host_item *,
smtp_transport_options_block *, BOOL,
smtp_inblock *, smtp_outblock *);
extern BOOL smtp_mail_auth_str(uschar *, unsigned, extern BOOL smtp_mail_auth_str(uschar *, unsigned,
address_item *, smtp_transport_options_block *); address_item *, smtp_transport_options_block *);
#ifdef SUPPORT_SOCKS #ifdef SUPPORT_SOCKS
extern int socks_sock_connect(host_item *, int, int, uschar *, extern int socks_sock_connect(host_item *, int, int, uschar *,
transport_instance *, int); transport_instance *, int);
#endif #endif
/* End of transports/smtp.h */ /* End of transports/smtp.h */
 End of changes. 14 change blocks. 
13 lines changed or deleted 28 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)