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