Testsuite: fix content-scanner interface tests
[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   uschar *fail_defer_domains;
23 } dnslookup_router_options_block;
24
25 /* Data for reading the private options. */
26
27 extern optionlist dnslookup_router_options[];
28 extern int dnslookup_router_options_count;
29
30 /* Block containing default values. */
31
32 extern dnslookup_router_options_block dnslookup_router_option_defaults;
33
34 /* The main and initialization entry points for the router */
35
36 extern int dnslookup_router_entry(router_instance *, address_item *,
37   struct passwd *, int, address_item **, address_item **,
38   address_item **, address_item **);
39
40 extern void dnslookup_router_init(router_instance *);
41
42 /* End of routers/dnslookup.h */