1 /* $Cambridge: exim/src/src/routers/queryprogram.h,v 1.3 2005/09/12 15:09:55 ph10 Exp $ */
3 /*************************************************
4 * Exim - an Internet mail transport agent *
5 *************************************************/
7 /* Copyright (c) University of Cambridge 1995 - 2005 */
8 /* See the file NOTICE for conditions of use and distribution. */
11 /* Private structure for the private options. */
20 uschar *current_directory;
21 uschar *expand_cmd_gid;
22 uschar *expand_cmd_uid;
23 } queryprogram_router_options_block;
25 /* Data for reading the private options. */
27 extern optionlist queryprogram_router_options[];
28 extern int queryprogram_router_options_count;
30 /* Block containing default values. */
32 extern queryprogram_router_options_block queryprogram_router_option_defaults;
34 /* The main and initialization entry points for the router */
36 extern int queryprogram_router_entry(router_instance *, address_item *,
37 struct passwd *, int, address_item **, address_item **,
38 address_item **, address_item **);
40 extern void queryprogram_router_init(router_instance *);
42 /* End of routers/queryprogram.h */