1 /* $Cambridge: exim/src/src/routers/iplookup.h,v 1.5 2007/01/08 10:50:20 ph10 Exp $ */
3 /*************************************************
4 * Exim - an Internet mail transport agent *
5 *************************************************/
7 /* Copyright (c) University of Cambridge 1995 - 2007 */
8 /* See the file NOTICE for conditions of use and distribution. */
11 /* Private structure for the private options. */
17 uschar *protocol_name;
20 uschar *response_pattern;
22 const pcre *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(router_instance *);
43 /* End of routers/iplookup.h */