comparison src/sm-archive.h @ 0:616666e2f34c

initial version
author carl
date Fri, 10 Mar 2006 10:30:08 -0800
parents
children 32b57406b656
comparison
equal deleted inserted replaced
-1:000000000000 0:616666e2f34c
1 #ifndef dnsbl_include
2 #define dnsbl_include
3
4 #include "context.h"
5
6 extern int debug_syslog;
7
8 ////////////////////////////////////////////////
9 // mail filter private data, held for us by sendmail
10 //
11 struct mlfiPriv
12 {
13 // connection specific data
14 CONFIG *pc; // global filtering configuration
15 // message specific data
16 char *mailaddr; // envelope from value
17 char *queueid; // sendmail queue id
18 bool processed_from; // looked at env_from address
19 mlfiPriv();
20 ~mlfiPriv();
21 void reset(bool final = false); // for a new message
22 };
23
24 void my_syslog(mlfiPriv *priv, char *text);
25 void my_syslog(char *text);
26
27 #endif