-Rewrite of Actions File example.
[privoxy.git] / killpopup.h
1 #ifndef KILLPOPUP_H_INCLUDED
2 #define KILLPOPUP_H_INCLUDED
3 #define KILLPOPUP_H_VERSION "$Id: killpopup.h,v 1.7 2002/03/24 13:25:43 swa Exp $"
4 /*********************************************************************
5  *
6  * File        :  $Source: /cvsroot/ijbswa/current/killpopup.h,v $
7  *
8  * Purpose     :  Handles the filtering of popups.
9  *
10  * Copyright   :  Written by and Copyright (C) 2001 the SourceForge
11  *                Privoxy team. http://www.privoxy.org/
12  *
13  *                Based on the Internet Junkbuster originally written
14  *                by and Copyright (C) 1997 Anonymous Coders and 
15  *                Junkbusters Corporation.  http://www.junkbusters.com
16  *
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.
22  *
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.
28  *
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.
34  *
35  * Revisions   :
36  *    $Log: killpopup.h,v $
37  *    Revision 1.7  2002/03/24 13:25:43  swa
38  *    name change related issues
39  *
40  *    Revision 1.6  2001/10/07 15:42:41  oes
41  *    filter_popups now gets a csp pointer so it can raise the new
42  *      CSP_FLAG_MODIFIED flag.
43  *
44  *    Revision 1.5  2001/07/31 14:44:22  oes
45  *    Deleted unused size parameter from filter_popups()
46  *
47  *    Revision 1.4  2001/07/30 22:08:36  jongfoster
48  *    Tidying up #defines:
49  *    - All feature #defines are now of the form FEATURE_xxx
50  *    - Permanently turned off WIN_GUI_EDIT
51  *    - Permanently turned on WEBDAV and SPLIT_PROXY_ARGS
52  *
53  *    Revision 1.3  2001/07/29 18:59:21  jongfoster
54  *    - Changing #define _KILLPOPUP_H to KILLPOPUP_H_INCLUDED
55  *    - Adding extern "C" {}
56  *
57  *    Revision 1.2  2001/05/20 01:21:20  jongfoster
58  *    Version 2.9.4 checkin.
59  *    - Merged popupfile and cookiefile, and added control over PCRS
60  *      filtering, in new "permissionsfile".
61  *    - Implemented LOG_LEVEL_FATAL, so that if there is a configuration
62  *      file error you now get a message box (in the Win32 GUI) rather
63  *      than the program exiting with no explanation.
64  *    - Made killpopup use the PCRS MIME-type checking and HTTP-header
65  *      skipping.
66  *    - Removed tabs from "config"
67  *    - Moved duplicated url parsing code in "loaders.c" to a new funcition.
68  *    - Bumped up version number.
69  *
70  *    Revision 1.1.1.1  2001/05/15 13:58:58  oes
71  *    Initial import of version 2.9.3 source tree
72  *
73  *
74  *********************************************************************/
75 \f
76
77 #include "project.h"
78
79 #ifdef __cplusplus
80 extern "C" {
81 #endif
82
83 #ifdef FEATURE_KILL_POPUPS
84
85 extern void filter_popups(char *buff, struct client_state *csp);
86
87 #endif /* def FEATURE_KILL_POPUPS */
88
89 /* Revision control strings from this header and associated .c file */
90 extern const char killpopup_rcs[];
91 extern const char killpopup_h_rcs[];
92
93 #ifdef __cplusplus
94 } /* extern "C" */
95 #endif
96
97 #endif /* ndef KILLPOPUP_H_INCLUDED */
98
99 /*
100   Local Variables:
101   tab-width: 3
102   end:
103 */