da141c0d18a405df70b242adcb09a04e02d31476
[exim.git] / src / src / transports / pipe.h
1 /* $Cambridge: exim/src/src/transports/pipe.h,v 1.8 2010/06/05 10:04:44 pdp Exp $ */
2
3 /*************************************************
4 * Exim - an Internet mail transport agent *
5 *************************************************/
6
7 /* Copyright (c) University of Cambridge 1995 - 2009 */
8 /* See the file NOTICE for conditions of use and distribution. */
9
10 /* Private structure for the private options. */
11
12 typedef struct {
13 uschar *cmd;
14 uschar *allow_commands;
15 uschar *environment;
16 uschar *path;
17 uschar *message_prefix;
18 uschar *message_suffix;
19 uschar *temp_errors;
20 uschar *check_string;
21 uschar *escape_string;
22 int umask;
23 int max_output;
24 int timeout;
25 int options;
26 BOOL freeze_exec_fail;
27 BOOL ignore_status;
28 BOOL permit_coredump;
29 BOOL restrict_to_path;
30 BOOL timeout_defer;
31 BOOL use_shell;
32 BOOL use_bsmtp;
33 BOOL use_classresources;
34 BOOL use_crlf;
35 } pipe_transport_options_block;
36
37 /* Data for reading the private options. */
38
39 extern optionlist pipe_transport_options[];
40 extern int pipe_transport_options_count;
41
42 /* Block containing default values. */
43
44 extern pipe_transport_options_block pipe_transport_option_defaults;
45
46 /* The main and init entry points for the transport */
47
48 extern BOOL pipe_transport_entry(transport_instance *, address_item *);
49 extern void pipe_transport_init(transport_instance *);
50
51 /* End of transports/pipe.h */