diff options
| author | Ian C <ianc@noddybox.co.uk> | 2003-12-09 01:25:08 +0000 |
|---|---|---|
| committer | Ian C <ianc@noddybox.co.uk> | 2003-12-09 01:25:08 +0000 |
| commit | b0feacc0fe2d006ac4536f5069c9373beffe2cf5 (patch) | |
| tree | a8f78032fe66f9be35383c27851bd65189b693f9 /src/dbase.h | |
| parent | 1c161a8cbe16aa59cc8bf4d60d5fa64fdcbc6aa5 (diff) | |
Added blacklist command; fixed a few dodgy frees (oops)
Diffstat (limited to 'src/dbase.h')
| -rw-r--r-- | src/dbase.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dbase.h b/src/dbase.h index c7a98ee..7ee7164 100644 --- a/src/dbase.h +++ b/src/dbase.h @@ -80,6 +80,11 @@ void DBTrustedUser(const char *username); void DBTrustedDomain(const char *domain); +/* Adds a blacklisted domain +*/ +void DBBlacklist(RE_Expression re); + + /* Returns TRUE if message is to be blocked */ int DBBlockMessage(const POP3Message *msg); |
