Imported Upstream version 4.84
[hcoop/debian/exim4.git] / src / transports / autoreply.h
1 /*************************************************
2 * Exim - an Internet mail transport agent *
3 *************************************************/
4
5 /* Copyright (c) University of Cambridge 1995 - 2009 */
6 /* See the file NOTICE for conditions of use and distribution. */
7
8 /* Private structure for the private options. */
9
10 typedef struct {
11 uschar *from;
12 uschar *reply_to;
13 uschar *to;
14 uschar *cc;
15 uschar *bcc;
16 uschar *subject;
17 uschar *headers;
18 uschar *text;
19 uschar *file;
20 uschar *logfile;
21 uschar *oncelog;
22 uschar *once_repeat;
23 uschar *never_mail;
24 int mode;
25 off_t once_file_size;
26 BOOL file_expand;
27 BOOL file_optional;
28 BOOL return_message;
29 } autoreply_transport_options_block;
30
31 /* Data for reading the private options. */
32
33 extern optionlist autoreply_transport_options[];
34 extern int autoreply_transport_options_count;
35
36 /* Block containing default values. */
37
38 extern autoreply_transport_options_block autoreply_transport_option_defaults;
39
40 /* The main and init entry points for the transport */
41
42 extern BOOL autoreply_transport_entry(transport_instance *, address_item *);
43 extern void autoreply_transport_init(transport_instance *);
44
45 /* End of transports/autoreply.h */