Commit | Line | Data |
---|---|---|
c988f1f4 | 1 | /* $Cambridge: exim/src/src/transports/autoreply.h,v 1.2 2005/01/04 10:00:45 ph10 Exp $ */ |
0756eb3c PH |
2 | |
3 | /************************************************* | |
4 | * Exim - an Internet mail transport agent * | |
5 | *************************************************/ | |
6 | ||
c988f1f4 | 7 | /* Copyright (c) University of Cambridge 1995 - 2005 */ |
0756eb3c PH |
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 *from; | |
14 | uschar *reply_to; | |
15 | uschar *to; | |
16 | uschar *cc; | |
17 | uschar *bcc; | |
18 | uschar *subject; | |
19 | uschar *headers; | |
20 | uschar *text; | |
21 | uschar *file; | |
22 | uschar *logfile; | |
23 | uschar *oncelog; | |
24 | uschar *once_repeat; | |
25 | uschar *never_mail; | |
26 | int mode; | |
27 | off_t once_file_size; | |
28 | BOOL file_expand; | |
29 | BOOL file_optional; | |
30 | BOOL return_message; | |
31 | } autoreply_transport_options_block; | |
32 | ||
33 | /* Data for reading the private options. */ | |
34 | ||
35 | extern optionlist autoreply_transport_options[]; | |
36 | extern int autoreply_transport_options_count; | |
37 | ||
38 | /* Block containing default values. */ | |
39 | ||
40 | extern autoreply_transport_options_block autoreply_transport_option_defaults; | |
41 | ||
42 | /* The main and init entry points for the transport */ | |
43 | ||
44 | extern BOOL autoreply_transport_entry(transport_instance *, address_item *); | |
45 | extern void autoreply_transport_init(transport_instance *); | |
46 | ||
47 | /* End of transports/autoreply.h */ |