1
//Please refer to http://dansguardian.org/?page=copyright2
2
//for the license for this code.
3
//Written by Daniel Barron (daniel@//jadeb/.com).
4
//For support go to http://groups.yahoo.com/group/dansguardian
6
// This program is free software; you can redistribute it and/or modify
7
// it under the terms of the GNU General Public License as published by
8
// the Free Software Foundation; either version 2 of the License, or
9
// (at your option) any later version.
11
// This program is distributed in the hope that it will be useful,
12
// but WITHOUT ANY WARRANTY; without even the implied warranty of
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
// GNU General Public License for more details.
16
// You should have received a copy of the GNU General Public License
17
// along with this program; if not, write to the Free Software
18
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20
#ifndef __HPP_NAUGHTYFILTER
21
#define __HPP_NAUGHTYFILTER
24
#include "OptionContainer.hpp"
25
#include "DataBuffer.hpp"
33
void checkme (DataBuffer * body);
34
void contentRegExp (DataBuffer * body);
38
std::string whatIsNaughty;
39
std::string whatIsNaughtyLog;
42
void checkphrase (char *file, int l);
43
void checkPICS (char *file, int l);
44
void checkPICSrating (std::string label);
45
void checkPICSratingSafeSurf (String r);
46
void checkPICSratingevaluWEB (String r);
47
void checkPICSratingCyberNOT (String r);
48
void checkPICSratingRSAC (String r);
49
void checkPICSratingICRA (String r);
50
void checkPICSratingWeburbia (String r);
51
void checkPICSratingVancouver (String r);
52
void checkPICSagainstoption (String s, char *l, int opt, std::string m);