Mercurial > sm-archive
comparison src/sm-archive.h @ 13:75e1a9bcbc2e
gpl3, add removal option for original recipients
author | carl |
---|---|
date | Sat, 25 Aug 2007 11:14:49 -0700 |
parents | ed73e6361570 |
children | b24369330483 |
comparison
equal
deleted
inserted
replaced
12:bb3d2cd6007e | 13:75e1a9bcbc2e |
---|---|
1 /* | |
2 | |
3 Copyright (c) 2007 Carl Byington - 510 Software Group, released under | |
4 the GPL version 3 or any later version at your choice available at | |
5 http://www.gnu.org/licenses/gpl-3.0.txt | |
6 | |
7 */ | |
1 #ifndef smarchive_include | 8 #ifndef smarchive_include |
2 #define smarchive_include | 9 #define smarchive_include |
3 | 10 |
4 #include "context.h" | 11 #include "context.h" |
5 | 12 |
14 CONFIG *pc; // global filtering configuration | 21 CONFIG *pc; // global filtering configuration |
15 // message specific data | 22 // message specific data |
16 char *mailaddr; // envelope from value | 23 char *mailaddr; // envelope from value |
17 char *queueid; // sendmail queue id | 24 char *queueid; // sendmail queue id |
18 string_set targets; // targets to add at eom, strings are owned by the config | 25 string_set targets; // targets to add at eom, strings are owned by the config |
26 string_set removal; // targets to remove at eom, strings are owned here | |
19 mlfiPriv(); | 27 mlfiPriv(); |
20 ~mlfiPriv(); | 28 ~mlfiPriv(); |
21 void reset(bool final = false); // for a new message | 29 void reset(bool final = false); // for a new message |
22 }; | 30 }; |
23 | 31 |