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