diff src/scanner.h @ 236:c0d2e99c0a1d

Add surbl checks on the smtp helo value, client reverse dns name, and mail from domain name
author Carl Byington <carl@five-ten-sg.com>
date Tue, 29 Sep 2009 11:36:15 -0700
parents 82886d4dd71f
children f92f24950bd3
line wrap: on
line diff
--- a/src/scanner.h	Tue Jun 09 08:36:34 2009 -0700
+++ b/src/scanner.h	Tue Sep 29 11:36:15 2009 -0700
@@ -28,10 +28,10 @@
     recorder(mlfiPriv *priv_, string_set &html_tags_, string_set &tlds_, string_set &cctlds_);
     ~recorder()                                 { empty(); };
     void empty();
-    void new_url(char *host);
-    void new_tag(char *tag);
+    void new_url(const char *host);
+    void new_tag(const char *tag);
     void binary();
-    void syslog(char *buf)                      { my_syslog(priv, buf);                                                             };
+    void syslog(const char *buf)                { my_syslog(priv, buf);                                                             };
     mlfiPriv   *get_priv()                      { return priv;                                                                      };
     string_set *get_cctlds()                    { return cctlds;                                                                    };
     string_set *get_tlds()                      { return tlds;                                                                      };