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. */
10 /* Private structure for the private options. */
16 uschar *protocol_name;
19 uschar *response_pattern;
21 const pcre2_code *re_response_pattern;
23 } iplookup_router_options_block;
25 /* Data for reading the private options. */
27 extern optionlist iplookup_router_options[];
28 extern int iplookup_router_options_count;
30 /* Block containing default values. */
32 extern iplookup_router_options_block iplookup_router_option_defaults;
34 /* The main and initialization entry points for the router */
36 extern int iplookup_router_entry(router_instance *, address_item *,
37 struct passwd *, int, address_item **, address_item **,
38 address_item **, address_item **);
40 extern void iplookup_router_init(router_instance *);
42 /* End of routers/iplookup.h */