1 /*************************************************
2 * Exim - an Internet mail transport agent *
3 *************************************************/
5 /* Copyright (c) University of Cambridge 1995 - 2009 */
6 /* See the file NOTICE for conditions of use and distribution. */
9 /* Private structure for the private options. */
15 uschar *protocol_name;
18 uschar *response_pattern;
20 const pcre *re_response_pattern;
22 } iplookup_router_options_block;
24 /* Data for reading the private options. */
26 extern optionlist iplookup_router_options[];
27 extern int iplookup_router_options_count;
29 /* Block containing default values. */
31 extern iplookup_router_options_block iplookup_router_option_defaults;
33 /* The main and initialization entry points for the router */
35 extern int iplookup_router_entry(router_instance *, address_item *,
36 struct passwd *, int, address_item **, address_item **,
37 address_item **, address_item **);
39 extern void iplookup_router_init(router_instance *);
41 /* End of routers/iplookup.h */