test for .git dir with -d not -e; more portable
[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 } dnslookup_router_options_block;
21
22 /* Data for reading the private options. */
23
24 extern optionlist dnslookup_router_options[];
25 extern int dnslookup_router_options_count;
26
27 /* Block containing default values. */
28
29 extern dnslookup_router_options_block dnslookup_router_option_defaults;
30
31 /* The main and initialization entry points for the router */
32
33 extern int dnslookup_router_entry(router_instance *, address_item *,
34   struct passwd *, int, address_item **, address_item **,
35   address_item **, address_item **);
36
37 extern void dnslookup_router_init(router_instance *);
38
39 /* End of routers/dnslookup.h */