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 | ||
9 | /* Private structure for the private options. Some compilers do not like empty | |
10 | structures - the Standard, alas, says "undefined behaviour" for an empty | |
11 | structure - so we have to put in a dummy value. */ | |
12 | ||
13 | typedef struct { | |
14 | int dummy; | |
15 | } ipliteral_router_options_block; | |
16 | ||
17 | /* Data for reading the private options. */ | |
18 | ||
19 | extern optionlist ipliteral_router_options[]; | |
20 | extern int ipliteral_router_options_count; | |
21 | ||
22 | /* Block containing default values. */ | |
23 | ||
24 | extern ipliteral_router_options_block ipliteral_router_option_defaults; | |
25 | ||
26 | /* The main and initialization entry points for the router */ | |
27 | ||
28 | extern int ipliteral_router_entry(router_instance *, address_item *, | |
fd6de02e | 29 | struct passwd *, int, address_item **, address_item **, |
0756eb3c PH |
30 | address_item **, address_item **); |
31 | ||
32 | extern void ipliteral_router_init(router_instance *); | |
33 | ||
34 | /* End of routers/ipliteral.h */ |