Update all copyright messages to cover 1995 - 2009. Remove tab from exim_checkaccess.src
[exim.git] / src / src / routers / iplookup.h
CommitLineData
0a49a7a4 1/* $Cambridge: exim/src/src/routers/iplookup.h,v 1.6 2009/11/16 19:50:38 nm4 Exp $ */
0756eb3c
PH
2
3/*************************************************
4* Exim - an Internet mail transport agent *
5*************************************************/
6
0a49a7a4 7/* Copyright (c) University of Cambridge 1995 - 2009 */
0756eb3c
PH
8/* See the file NOTICE for conditions of use and distribution. */
9
10
11/* Private structure for the private options. */
12
13typedef struct {
14 int port;
15 int protocol;
16 int timeout;
17 uschar *protocol_name;
18 uschar *hosts;
19 uschar *query;
20 uschar *response_pattern;
21 uschar *reroute;
22 const pcre *re_response_pattern;
23 BOOL optional;
24} iplookup_router_options_block;
25
26/* Data for reading the private options. */
27
28extern optionlist iplookup_router_options[];
29extern int iplookup_router_options_count;
30
31/* Block containing default values. */
32
33extern iplookup_router_options_block iplookup_router_option_defaults;
34
35/* The main and initialization entry points for the router */
36
37extern int iplookup_router_entry(router_instance *, address_item *,
fd6de02e 38 struct passwd *, int, address_item **, address_item **,
0756eb3c
PH
39 address_item **, address_item **);
40
41extern void iplookup_router_init(router_instance *);
42
43/* End of routers/iplookup.h */