Update of /cvsroot/mahogany/M/include
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv22902/include

Modified Files:
        SpamFilter.h 
Log Message:
don't even check the other spam filters if one of them has the message sender 
in its whitelist

Index: SpamFilter.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/SpamFilter.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -b -u -2 -r1.9 -r1.10
--- SpamFilter.h        16 Jan 2006 20:32:01 -0000      1.9
+++ SpamFilter.h        25 Jun 2006 14:19:52 -0000      1.10
@@ -148,13 +148,4 @@
 
 
-#if 0
-   /// Get the head of the linked list of the loaded filters
-   static SpamFilter *GetFirst() { return ms_first; }
-
-   /// Get the next filter in the list or NULL
-   SpamFilter *GetNext() const { return m_next; }
-#endif
-
-
 protected:
    /**
@@ -226,6 +217,9 @@
       the RHS of the element in the params array passed to CheckIfSpam() having
       the same name as this spam filter.
+
+      @return true if this is a spam, false if we don't think it's a spam and
+              -1 if we're sure this is not a spam
     */
-   virtual bool DoCheckIfSpam(const Message& msg,
+   virtual int DoCheckIfSpam(const Message& msg,
                               const String& param,
                               String *result) = 0;


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to