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