518b7f478da6e82b43a3494f5811e517910af175
[users/heiko/exim.git] / src / src / routers / dnslookup.h
1 /*************************************************
2 *     Exim - an Internet mail transport agent    *
3 *************************************************/
4
5 /* Copyright (c) University of Cambridge 1995 - 2009 */
6 /* See the file NOTICE for conditions of use and distribution. */
7
8 /* Private structure for the private options. */
9
10 typedef struct {
11   BOOL check_secondary_mx;
12   BOOL qualify_single;
13   BOOL search_parents;
14   BOOL rewrite_headers;
15   uschar *widen_domains;
16   uschar *mx_domains;
17   uschar *mx_fail_domains;
18   uschar *srv_fail_domains;
19   uschar *check_srv;
20   uschar *dnssec_request_domains;
21   uschar *dnssec_require_domains;
22 } dnslookup_router_options_block;
23
24 /* Data for reading the private options. */
25
26 extern optionlist dnslookup_router_options[];
27 extern int dnslookup_router_options_count;
28
29 /* Block containing default values. */
30
31 extern dnslookup_router_options_block dnslookup_router_option_defaults;
32
33 /* The main and initialization entry points for the router */
34
35 extern int dnslookup_router_entry(router_instance *, address_item *,
36   struct passwd *, int, address_item **, address_item **,
37   address_item **, address_item **);
38
39 extern void dnslookup_router_init(router_instance *);
40
41 /* End of routers/dnslookup.h */