Commit | Line | Data |
---|---|---|
0756eb3c PH |
1 | /* $Cambridge: exim/src/src/routers/ipliteral.h,v 1.1 2004/10/07 13:10:02 ph10 Exp $ */ |
2 | ||
3 | /************************************************* | |
4 | * Exim - an Internet mail transport agent * | |
5 | *************************************************/ | |
6 | ||
7 | /* Copyright (c) University of Cambridge 1995 - 2004 */ | |
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 *, | |
31 | struct passwd *, BOOL, address_item **, address_item **, | |
32 | address_item **, address_item **); | |
33 | ||
34 | extern void ipliteral_router_init(router_instance *); | |
35 | ||
36 | /* End of routers/ipliteral.h */ |