annotate src/sm-archive.h @ 14:c9a1fd8f633b

fix documentation typo
author carl
date Sat, 25 Aug 2007 11:31:03 -0700
parents 75e1a9bcbc2e
children b24369330483
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13
75e1a9bcbc2e gpl3, add removal option for original recipients
carl
parents: 8
diff changeset
1 /*
75e1a9bcbc2e gpl3, add removal option for original recipients
carl
parents: 8
diff changeset
2
75e1a9bcbc2e gpl3, add removal option for original recipients
carl
parents: 8
diff changeset
3 Copyright (c) 2007 Carl Byington - 510 Software Group, released under
75e1a9bcbc2e gpl3, add removal option for original recipients
carl
parents: 8
diff changeset
4 the GPL version 3 or any later version at your choice available at
75e1a9bcbc2e gpl3, add removal option for original recipients
carl
parents: 8
diff changeset
5 http://www.gnu.org/licenses/gpl-3.0.txt
75e1a9bcbc2e gpl3, add removal option for original recipients
carl
parents: 8
diff changeset
6
75e1a9bcbc2e gpl3, add removal option for original recipients
carl
parents: 8
diff changeset
7 */
2
32b57406b656 initial version
carl
parents: 0
diff changeset
8 #ifndef smarchive_include
32b57406b656 initial version
carl
parents: 0
diff changeset
9 #define smarchive_include
0
616666e2f34c initial version
carl
parents:
diff changeset
10
616666e2f34c initial version
carl
parents:
diff changeset
11 #include "context.h"
616666e2f34c initial version
carl
parents:
diff changeset
12
616666e2f34c initial version
carl
parents:
diff changeset
13 extern int debug_syslog;
616666e2f34c initial version
carl
parents:
diff changeset
14
616666e2f34c initial version
carl
parents:
diff changeset
15 ////////////////////////////////////////////////
616666e2f34c initial version
carl
parents:
diff changeset
16 // mail filter private data, held for us by sendmail
616666e2f34c initial version
carl
parents:
diff changeset
17 //
616666e2f34c initial version
carl
parents:
diff changeset
18 struct mlfiPriv
616666e2f34c initial version
carl
parents:
diff changeset
19 {
616666e2f34c initial version
carl
parents:
diff changeset
20 // connection specific data
616666e2f34c initial version
carl
parents:
diff changeset
21 CONFIG *pc; // global filtering configuration
616666e2f34c initial version
carl
parents:
diff changeset
22 // message specific data
8
ed73e6361570 initial version
carl
parents: 2
diff changeset
23 char *mailaddr; // envelope from value
ed73e6361570 initial version
carl
parents: 2
diff changeset
24 char *queueid; // sendmail queue id
ed73e6361570 initial version
carl
parents: 2
diff changeset
25 string_set targets; // targets to add at eom, strings are owned by the config
13
75e1a9bcbc2e gpl3, add removal option for original recipients
carl
parents: 8
diff changeset
26 string_set removal; // targets to remove at eom, strings are owned here
0
616666e2f34c initial version
carl
parents:
diff changeset
27 mlfiPriv();
616666e2f34c initial version
carl
parents:
diff changeset
28 ~mlfiPriv();
616666e2f34c initial version
carl
parents:
diff changeset
29 void reset(bool final = false); // for a new message
616666e2f34c initial version
carl
parents:
diff changeset
30 };
616666e2f34c initial version
carl
parents:
diff changeset
31
616666e2f34c initial version
carl
parents:
diff changeset
32 void my_syslog(mlfiPriv *priv, char *text);
616666e2f34c initial version
carl
parents:
diff changeset
33 void my_syslog(char *text);
616666e2f34c initial version
carl
parents:
diff changeset
34
616666e2f34c initial version
carl
parents:
diff changeset
35 #endif