Commit | Line | Data |
---|---|---|
c456d9bb | 1 | /* $Cambridge: exim/src/src/routers/manualroute.h,v 1.6 2007/03/13 15:32:48 ph10 Exp $ */ |
0756eb3c PH |
2 | |
3 | /************************************************* | |
4 | * Exim - an Internet mail transport agent * | |
5 | *************************************************/ | |
6 | ||
184e8823 | 7 | /* Copyright (c) University of Cambridge 1995 - 2007 */ |
0756eb3c PH |
8 | /* See the file NOTICE for conditions of use and distribution. */ |
9 | ||
10 | /* Header for the manualroute router */ | |
11 | ||
12 | /* Structure for the private options. */ | |
13 | ||
14 | typedef struct { | |
c456d9bb | 15 | int hai_code; |
0756eb3c PH |
16 | int hff_code; |
17 | BOOL hosts_randomize; | |
c456d9bb | 18 | uschar *host_all_ignored; |
0756eb3c PH |
19 | uschar *host_find_failed; |
20 | uschar *route_data; | |
21 | uschar *route_list; | |
22 | } manualroute_router_options_block; | |
23 | ||
24 | /* Data for reading the private options. */ | |
25 | ||
26 | extern optionlist manualroute_router_options[]; | |
27 | extern int manualroute_router_options_count; | |
28 | ||
29 | /* Block containing default values. */ | |
30 | ||
31 | extern manualroute_router_options_block manualroute_router_option_defaults; | |
32 | ||
33 | /* The main and initialization entry points for the router */ | |
34 | ||
35 | extern int manualroute_router_entry(router_instance *, address_item *, | |
fd6de02e | 36 | struct passwd *, int, address_item **, address_item **, |
0756eb3c PH |
37 | address_item **, address_item **); |
38 | ||
39 | extern void manualroute_router_init(router_instance *); | |
40 | ||
41 | /* End of routers/manualroute.h */ |