1 /*************************************************
2 * Exim - an Internet mail transport agent *
3 *************************************************/
5 /* Copyright (c) University of Cambridge 1995 - 2009 */
6 /* Copyright (c) The Exim Maintainers 2021 */
7 /* See the file NOTICE for conditions of use and distribution. */
8 /* SPDX-License-Identifier: GPL-2.0-or-later */
11 /* Private structure for the private options. */
17 uschar *protocol_name;
20 uschar *response_pattern;
22 const pcre2_code *re_response_pattern;
24 } iplookup_router_options_block;
26 /* Data for reading the private options. */
28 extern optionlist iplookup_router_options[];
29 extern int iplookup_router_options_count;
31 /* Block containing default values. */
33 extern iplookup_router_options_block iplookup_router_option_defaults;
35 /* The main and initialization entry points for the router */
37 extern int iplookup_router_entry(router_instance *, address_item *,
38 struct passwd *, int, address_item **, address_item **,
39 address_item **, address_item **);
41 extern void iplookup_router_init(driver_instance *);
43 /* End of routers/iplookup.h */