Added the hosts_max_try_hardlimit option. (The removed file is left over
[exim.git] / src / src / transports / smtp.h
1 /* $Cambridge: exim/src/src/transports/smtp.h,v 1.3 2005/01/04 16:36:28 ph10 Exp $ */
2
3 /*************************************************
4 * Exim - an Internet mail transport agent *
5 *************************************************/
6
7 /* Copyright (c) University of Cambridge 1995 - 2005 */
8 /* See the file NOTICE for conditions of use and distribution. */
9
10 /* Private structure for the private options and other private data. */
11
12 typedef struct {
13 uschar *hosts;
14 uschar *fallback_hosts;
15 host_item *hostlist;
16 host_item *fallback_hostlist;
17 uschar *authenticated_sender;
18 uschar *helo_data;
19 uschar *interface;
20 uschar *port;
21 uschar *protocol;
22 uschar *serialize_hosts;
23 uschar *hosts_try_auth;
24 uschar *hosts_require_auth;
25 uschar *hosts_require_tls;
26 uschar *hosts_avoid_tls;
27 uschar *hosts_avoid_esmtp;
28 uschar *hosts_nopass_tls;
29 int command_timeout;
30 int connect_timeout;
31 int data_timeout;
32 int final_timeout;
33 int size_addition;
34 int hosts_max_try;
35 int hosts_max_try_hardlimit;
36 BOOL allow_localhost;
37 BOOL gethostbyname;
38 BOOL dns_qualify_single;
39 BOOL dns_search_parents;
40 BOOL delay_after_cutoff;
41 BOOL hosts_override;
42 BOOL hosts_randomize;
43 BOOL keepalive;
44 BOOL retry_include_ip_address;
45 #ifdef SUPPORT_TLS
46 uschar *tls_certificate;
47 uschar *tls_crl;
48 uschar *tls_privatekey;
49 uschar *tls_require_ciphers;
50 uschar *tls_verify_certificates;
51 BOOL tls_tempfail_tryclear;
52 #endif
53 } smtp_transport_options_block;
54
55 /* Data for reading the private options. */
56
57 extern optionlist smtp_transport_options[];
58 extern int smtp_transport_options_count;
59
60 /* Block containing default values. */
61
62 extern smtp_transport_options_block smtp_transport_option_defaults;
63
64 /* The main, init, and closedown entry points for the transport */
65
66 extern BOOL smtp_transport_entry(transport_instance *, address_item *);
67 extern void smtp_transport_init(transport_instance *);
68 extern void smtp_transport_closedown(transport_instance *);
69
70 /* End of transports/smtp.h */