Update all copyright messages to cover 1995 - 2009. Remove tab from exim_checkaccess.src
[exim.git] / src / src / routers / manualroute.h
1 /* $Cambridge: exim/src/src/routers/manualroute.h,v 1.7 2009/11/16 19:50:38 nm4 Exp $ */
2
3 /*************************************************
4 *     Exim - an Internet mail transport agent    *
5 *************************************************/
6
7 /* Copyright (c) University of Cambridge 1995 - 2009 */
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   hai_code;
16   int   hff_code;
17   BOOL  hosts_randomize;
18   uschar *host_all_ignored;
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 *,
36   struct passwd *, int, address_item **, address_item **,
37   address_item **, address_item **);
38
39 extern void manualroute_router_init(router_instance *);
40
41 /* End of routers/manualroute.h */