Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

check::Checker Class Reference

#include <Checker.hh>

List of all members.

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...


Constructor & Destructor Documentation

check::Checker::Checker pref::Preferences  
 

check::Checker::~Checker  
 


Member Function Documentation

int check::Checker::duplicates msg::Header  ,
vector< string > *   
 

Returns 0 if message was a duplicate, 1 otherwise.

int check::Checker::filters msg::Header  
 

Returns 0 if message was spam, 1 if message was spam after normalisation, 2 otherwise.

int check::Checker::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).

int check::Checker::lineLength msg::Header  
 

Returns 0 if line length exceeded, 1 otherwise.

string check::Checker::matchingFilter void   
 

Returns the last filter that matched a header sub-string (see matchingString).

string check::Checker::matchingString void   
 

Returns the header sub-string that was matched to a spam filter rule (see matchingFilter).

int check::Checker::negFilters msg::Header  
 

Returns 0 if message was spam, 1 otherwise.

void check::Checker::setMatchingFilter const    string
 

Sets matching filter.

void check::Checker::setMatchingString const    string
 

Sets matching string.

int check::Checker::size msg::Header  
 

Returns 0 if message was too large, 1 otherwise.


The documentation for this class was generated from the following files:
Generated on Mon Apr 22 18:50:41 2002 for mailfilter by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002