#include <Checker.hh>
Public Methods | |
| Checker (pref::Preferences *) | |
| ~Checker () | |
| int | duplicates (msg::Header *, vector< string > *) |
| Returns 0 if message was a duplicate, 1 otherwise. More... | |
| int | lineLength (msg::Header *) |
| Returns 0 if line length exceeded, 1 otherwise. More... | |
| int | friends (msg::Header *) |
| Returns 0 if MAXSIZE_ALLOW was exceeded, 1 if message is a friend to pass filters, 2 if message could not be categorised (i. e. needs further processing). More... | |
| int | size (msg::Header *) |
| Returns 0 if message was too large, 1 otherwise. More... | |
| int | filters (msg::Header *) |
| Returns 0 if message was spam, 1 if message was spam after normalisation, 2 otherwise. More... | |
| int | negFilters (msg::Header *) |
| Returns 0 if message was spam, 1 otherwise. More... | |
| void | setMatchingString (const string) |
| Sets matching string. More... | |
| string | matchingString (void) |
| Returns the header sub-string that was matched to a spam filter rule (see matchingFilter). More... | |
| void | setMatchingFilter (const string) |
| Sets matching filter. More... | |
| string | matchingFilter (void) |
| Returns the last filter that matched a header sub-string (see matchingString). More... | |
|
|
|
|
|
|
|
||||||||||||
|
Returns 0 if message was a duplicate, 1 otherwise.
|
|
|
Returns 0 if message was spam, 1 if message was spam after normalisation, 2 otherwise.
|
|
|
Returns 0 if MAXSIZE_ALLOW was exceeded, 1 if message is a friend to pass filters, 2 if message could not be categorised (i. e. needs further processing).
|
|
|
Returns 0 if line length exceeded, 1 otherwise.
|
|
|
Returns the last filter that matched a header sub-string (see matchingString).
|
|
|
Returns the header sub-string that was matched to a spam filter rule (see matchingFilter).
|
|
|
Returns 0 if message was spam, 1 otherwise.
|
|
|
Sets matching filter.
|
|
|
Sets matching string.
|
|
|
Returns 0 if message was too large, 1 otherwise.
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002