Start
[exim.git] / src / src / transports / autoreply.h
1 /* $Cambridge: exim/src/src/transports/autoreply.h,v 1.1 2004/10/07 13:10:02 ph10 Exp $ */
2
3 /*************************************************
4 *     Exim - an Internet mail transport agent    *
5 *************************************************/
6
7 /* Copyright (c) University of Cambridge 1995 - 2004 */
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 */