1 #ifndef KILLPOPUP_H_INCLUDED
2 #define KILLPOPUP_H_INCLUDED
3 #define KILLPOPUP_H_VERSION "$Id: killpopup.h,v 1.8 2002/03/26 22:29:55 swa Exp $"
4 /*********************************************************************
6 * File : $Source: /cvsroot/ijbswa/current/killpopup.h,v $
8 * Purpose : Handles the filtering of popups.
10 * Copyright : Written by and Copyright (C) 2001 the SourceForge
11 * Privoxy team. http://www.privoxy.org/
13 * Based on the Internet Junkbuster originally written
14 * by and Copyright (C) 1997 Anonymous Coders and
15 * Junkbusters Corporation. http://www.junkbusters.com
17 * This program is free software; you can redistribute it
18 * and/or modify it under the terms of the GNU General
19 * Public License as published by the Free Software
20 * Foundation; either version 2 of the License, or (at
21 * your option) any later version.
23 * This program is distributed in the hope that it will
24 * be useful, but WITHOUT ANY WARRANTY; without even the
25 * implied warranty of MERCHANTABILITY or FITNESS FOR A
26 * PARTICULAR PURPOSE. See the GNU General Public
27 * License for more details.
29 * The GNU General Public License should be included with
30 * this file. If not, you can view it at
31 * http://www.gnu.org/copyleft/gpl.html
32 * or write to the Free Software Foundation, Inc., 59
33 * Temple Place - Suite 330, Boston, MA 02111-1307, USA.
36 * $Log: killpopup.h,v $
37 * Revision 1.8 2002/03/26 22:29:55 swa
38 * we have a new homepage!
40 * Revision 1.7 2002/03/24 13:25:43 swa
41 * name change related issues
43 * Revision 1.6 2001/10/07 15:42:41 oes
44 * filter_popups now gets a csp pointer so it can raise the new
45 * CSP_FLAG_MODIFIED flag.
47 * Revision 1.5 2001/07/31 14:44:22 oes
48 * Deleted unused size parameter from filter_popups()
50 * Revision 1.4 2001/07/30 22:08:36 jongfoster
51 * Tidying up #defines:
52 * - All feature #defines are now of the form FEATURE_xxx
53 * - Permanently turned off WIN_GUI_EDIT
54 * - Permanently turned on WEBDAV and SPLIT_PROXY_ARGS
56 * Revision 1.3 2001/07/29 18:59:21 jongfoster
57 * - Changing #define _KILLPOPUP_H to KILLPOPUP_H_INCLUDED
58 * - Adding extern "C" {}
60 * Revision 1.2 2001/05/20 01:21:20 jongfoster
61 * Version 2.9.4 checkin.
62 * - Merged popupfile and cookiefile, and added control over PCRS
63 * filtering, in new "permissionsfile".
64 * - Implemented LOG_LEVEL_FATAL, so that if there is a configuration
65 * file error you now get a message box (in the Win32 GUI) rather
66 * than the program exiting with no explanation.
67 * - Made killpopup use the PCRS MIME-type checking and HTTP-header
69 * - Removed tabs from "config"
70 * - Moved duplicated url parsing code in "loaders.c" to a new funcition.
71 * - Bumped up version number.
73 * Revision 1.1.1.1 2001/05/15 13:58:58 oes
74 * Initial import of version 2.9.3 source tree
77 *********************************************************************/
86 #ifdef FEATURE_KILL_POPUPS
88 extern void filter_popups(char *buff, struct client_state *csp);
90 #endif /* def FEATURE_KILL_POPUPS */
92 /* Revision control strings from this header and associated .c file */
93 extern const char killpopup_rcs[];
94 extern const char killpopup_h_rcs[];
100 #endif /* ndef KILLPOPUP_H_INCLUDED */