Commit | Line | Data |
---|---|---|
d7d7b7b9 | 1 | /* $Cambridge: exim/src/src/routers/ipliteral.h,v 1.4 2006/02/07 11:19:02 ph10 Exp $ */ |
0756eb3c PH |
2 | |
3 | /************************************************* | |
4 | * Exim - an Internet mail transport agent * | |
5 | *************************************************/ | |
6 | ||
d7d7b7b9 | 7 | /* Copyright (c) University of Cambridge 1995 - 2006 */ |
0756eb3c PH |
8 | /* See the file NOTICE for conditions of use and distribution. */ |
9 | ||
10 | ||
11 | /* Private structure for the private options. Some compilers do not like empty | |
12 | structures - the Standard, alas, says "undefined behaviour" for an empty | |
13 | structure - so we have to put in a dummy value. */ | |
14 | ||
15 | typedef struct { | |
16 | int dummy; | |
17 | } ipliteral_router_options_block; | |
18 | ||
19 | /* Data for reading the private options. */ | |
20 | ||
21 | extern optionlist ipliteral_router_options[]; | |
22 | extern int ipliteral_router_options_count; | |
23 | ||
24 | /* Block containing default values. */ | |
25 | ||
26 | extern ipliteral_router_options_block ipliteral_router_option_defaults; | |
27 | ||
28 | /* The main and initialization entry points for the router */ | |
29 | ||
30 | extern int ipliteral_router_entry(router_instance *, address_item *, | |
fd6de02e | 31 | struct passwd *, int, address_item **, address_item **, |
0756eb3c PH |
32 | address_item **, address_item **); |
33 | ||
34 | extern void ipliteral_router_init(router_instance *); | |
35 | ||
36 | /* End of routers/ipliteral.h */ |