6249d3f6c6e97c2c19edc00ec37e59c743af00e7
[exim.git] / src / src / routers / manualroute.h
1 /* $Cambridge: exim/src/src/routers/manualroute.h,v 1.5 2007/01/08 10:50:20 ph10 Exp $ */
2
3 /*************************************************
4 * Exim - an Internet mail transport agent *
5 *************************************************/
6
7 /* Copyright (c) University of Cambridge 1995 - 2007 */
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 {
15 int hff_code;
16 BOOL hosts_randomize;
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 *,
34 struct passwd *, int, address_item **, address_item **,
35 address_item **, address_item **);
36
37 extern void manualroute_router_init(router_instance *);
38
39 /* End of routers/manualroute.h */