SPDX: license tags (mostly by guesswork)
[exim.git] / src / 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 /* SPDX-License-Identifier: GPL-2.0-only */
8
9 /* Private structure for the private options. */
10
11 typedef struct {
12   uschar *from;
13   uschar *reply_to;
14   uschar *to;
15   uschar *cc;
16   uschar *bcc;
17   uschar *subject;
18   uschar *headers;
19   uschar *text;
20   uschar *file;
21   uschar *logfile;
22   uschar *oncelog;
23   uschar *once_repeat;
24   uschar *never_mail;
25   int   mode;
26   off_t once_file_size;
27   BOOL  file_expand;
28   BOOL  file_optional;
29   BOOL  return_message;
30 } autoreply_transport_options_block;
31
32 /* Data for reading the private options. */
33
34 extern optionlist autoreply_transport_options[];
35 extern int autoreply_transport_options_count;
36
37 /* Block containing default values. */
38
39 extern autoreply_transport_options_block autoreply_transport_option_defaults;
40
41 /* The main and init entry points for the transport */
42
43 extern BOOL autoreply_transport_entry(transport_instance *, address_item *);
44 extern void autoreply_transport_init(transport_instance *);
45
46 /* End of transports/autoreply.h */