00001 #ifndef KILLPOPUP_H_INCLUDED 00002 #define KILLPOPUP_H_INCLUDED 00003 #define KILLPOPUP_H_VERSION "$Id: killpopup.h,v 2.0 2002/06/04 14:34:21 jongfoster Exp $" 00004 /* ****************************************************************** 00005 * $Source: /cvsroot/ijbswa/current/src/killpopup.h,v $ 00006 * ****************************************************************** 00007 * 00008 * Written by and Copyright (C) 2001 the SourceForge 00009 * Privoxy team. http://www.privoxy.org/ 00010 * 00011 * Based on the Internet Junkbuster originally written 00012 * by and Copyright (C) 1997 Anonymous Coders and 00013 * Junkbusters Corporation. http://www.junkbusters.com 00014 * 00015 * This program is free software; you can redistribute it 00016 * and/or modify it under the terms of the GNU General 00017 * Public License as published by the Free Software 00018 * Foundation; either version 2 of the License, or (at 00019 * your option) any later version. 00020 * 00021 * This program is distributed in the hope that it will 00022 * be useful, but WITHOUT ANY WARRANTY; without even the 00023 * implied warranty of MERCHANTABILITY or FITNESS FOR A 00024 * PARTICULAR PURPOSE. See the GNU General Public 00025 * License for more details. 00026 * 00027 * The GNU General Public License should be included with 00028 * this file. If not, you can view it at 00029 * http://www.gnu.org/copyleft/gpl.html 00030 * or write to the Free Software Foundation, Inc., 59 00031 * Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00032 * 00033 * *****************************************************************/ 00034 /** 00035 * @file 00036 * 00037 * Handles the filtering of popups. 00038 * 00039 * 00040 * $Log: killpopup.h,v $ 00041 * Revision 2.0 2002/06/04 14:34:21 jongfoster 00042 * Moving source files to src/ 00043 * 00044 * Revision 1.8 2002/03/26 22:29:55 swa 00045 * we have a new homepage! 00046 * 00047 * Revision 1.7 2002/03/24 13:25:43 swa 00048 * name change related issues 00049 * 00050 * Revision 1.6 2001/10/07 15:42:41 oes 00051 * filter_popups now gets a csp pointer so it can raise the new 00052 * CSP_FLAG_MODIFIED flag. 00053 * 00054 * Revision 1.5 2001/07/31 14:44:22 oes 00055 * Deleted unused size parameter from filter_popups() 00056 * 00057 * Revision 1.4 2001/07/30 22:08:36 jongfoster 00058 * Tidying up #defines: 00059 * - All feature #defines are now of the form FEATURE_xxx 00060 * - Permanently turned off WIN_GUI_EDIT 00061 * - Permanently turned on WEBDAV and SPLIT_PROXY_ARGS 00062 * 00063 * Revision 1.3 2001/07/29 18:59:21 jongfoster 00064 * - Changing #define _KILLPOPUP_H to KILLPOPUP_H_INCLUDED 00065 * - Adding extern "C" {} 00066 * 00067 * Revision 1.2 2001/05/20 01:21:20 jongfoster 00068 * Version 2.9.4 checkin. 00069 * - Merged popupfile and cookiefile, and added control over PCRS 00070 * filtering, in new "permissionsfile". 00071 * - Implemented LOG_LEVEL_FATAL, so that if there is a configuration 00072 * file error you now get a message box (in the Win32 GUI) rather 00073 * than the program exiting with no explanation. 00074 * - Made killpopup use the PCRS MIME-type checking and HTTP-header 00075 * skipping. 00076 * - Removed tabs from "config" 00077 * - Moved duplicated url parsing code in "loaders.c" to a new funcition. 00078 * - Bumped up version number. 00079 * 00080 * Revision 1.1.1.1 2001/05/15 13:58:58 oes 00081 * Initial import of version 2.9.3 source tree 00082 * 00083 * 00084 */ 00085 /* *****************************************************************/ 00086 00087 00088 #include "project.h" 00089 00090 #ifdef __cplusplus 00091 extern "C" { 00092 #endif 00093 00094 #ifdef FEATURE_KILL_POPUPS 00095 00096 extern void filter_popups(char *buff, struct client_state *csp); 00097 00098 #endif /* def FEATURE_KILL_POPUPS */ 00099 00100 /* Revision control strings from this header and associated .c file */ 00101 00102 /** Version information about killpopup.c. */ 00103 extern const char killpopup_rcs[]; 00104 00105 /** Version information about killpopup.h. */ 00106 extern const char killpopup_h_rcs[]; 00107 00108 #ifdef __cplusplus 00109 } /* extern "C" */ 00110 #endif 00111 00112 #endif /* ndef KILLPOPUP_H_INCLUDED */ 00113 00114 /* 00115 Local Variables: 00116 tab-width: 3 00117 end: 00118 */