1 /* config.h. Generated automatically by configure. */
2 /* config.h.in. Generated automatically from configure.in by autoheader. */
5 /*********************************************************************
7 * File : $Source: /cvsroot/ijbswa/current/Attic/config.h,v $
9 * Purpose : This file should be the first thing included in every
10 * .c file. (Before even system headers). It contains
11 * #define statements for various features. It was
12 * introduced because the compile command line started
13 * getting ludicrously long with feature defines.
15 * Copyright : Written by and Copyright (C) 2001 the SourceForge
16 * IJBSWA team. http://ijbswa.sourceforge.net
18 * Based on the Internet Junkbuster originally written
19 * by and Copyright (C) 1997 Anonymous Coders and
20 * Junkbusters Corporation. http://www.junkbusters.com
22 * This program is free software; you can redistribute it
23 * and/or modify it under the terms of the GNU General
24 * Public License as published by the Free Software
25 * Foundation; either version 2 of the License, or (at
26 * your option) any later version.
28 * This program is distributed in the hope that it will
29 * be useful, but WITHOUT ANY WARRANTY; without even the
30 * implied warranty of MERCHANTABILITY or FITNESS FOR A
31 * PARTICULAR PURPOSE. See the GNU General Public
32 * License for more details.
34 * The GNU General Public License should be included with
35 * this file. If not, you can view it at
36 * http://www.gnu.org/copyleft/gpl.html
37 * or write to the Free Software Foundation, Inc., 59
38 * Temple Place - Suite 330, Boston, MA 02111-1307, USA.
42 * Revision 1.2 2001/05/20 01:21:20 jongfoster
43 * Version 2.9.4 checkin.
44 * - Merged popupfile and cookiefile, and added control over PCRS
45 * filtering, in new "permissionsfile".
46 * - Implemented LOG_LEVEL_FATAL, so that if there is a configuration
47 * file error you now get a message box (in the Win32 GUI) rather
48 * than the program exiting with no explanation.
49 * - Made killpopup use the PCRS MIME-type checking and HTTP-header
51 * - Removed tabs from "config"
52 * - Moved duplicated url parsing code in "loaders.c" to a new funcition.
53 * - Bumped up version number.
55 * Revision 1.1.1.1 2001/05/15 13:58:49 oes
56 * Initial import of version 2.9.3 source tree
59 *********************************************************************/
62 /* Define to empty if the keyword does not work. */
65 /* Define to `unsigned' if <sys/types.h> doesn't define. */
68 /* Define if you have the ANSI C header files. */
69 #define STDC_HEADERS 1
72 * Version number - Major (X._._)
74 #define VERSION_MAJOR 2
77 * Version number - Minor (_.X._)
79 #define VERSION_MINOR 9
82 * Version number - Point (_._.X)
84 #define VERSION_POINT 4
87 * Version number, as a string
89 #define VERSION "2.9.4"
92 * Regular expression matching for URLs. (Highly recommended). If this is
93 * not defined then you can ony use prefix matching.
98 * Allow JunkBuster to be "disabled" so it is just a normal non-blocking
99 * non-anonymizing proxy. This is useful if you're trying to access a
100 * blocked or broken site - just change the setting in the config file
101 * and send a SIGHUP (UN*X), or use the handy "Disable" menu option (Windows
107 * Enables arbitrary content modification regexps
112 * If a stream is compressed via gzip (Netscape specific I think), then
113 * it cannot be modified with Perl regexps. This forces it to be
119 * Enables statistics function.
124 * Bypass filtering for 1 page only
129 * Split the show-proxy-args page into a page for each config file.
131 #define SPLIT_PROXY_ARGS 1
134 * Kills JavaScript popups - window.open, onunload, etc.
139 * Support for webDAV - e.g. so Microsoft Outlook can access HotMail e-mail
144 * Detect image requests automatically for MSIE. Will fall back to
145 * other image-detection methods (i.e. USE_IMAGE_LIST) for other
148 * It detects the following header pair as an image request:
150 * User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
153 * And the following as a HTML request:
155 * User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
156 * Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, * / *
158 * And no, I haven't got that backwards - IE is being wierd.
161 * 1) If you press shift-reload on a blocked HTML page, you get
162 * the image "blocked" page, not the HTML "blocked" page.
163 * 2) Once an image "blocked" page has been sent, viewing it
164 * in it's own browser window *should* bring up the HTML
165 * "blocked" page, but it doesn't. You need to clear the
166 * browser cache to get the HTML version again.
168 * These limitations are due to IE making inconsistent choices
169 * about which "Accept:" header to send.
171 #define DETECT_MSIE_IMAGES 1
174 * Use image list to detect images.
175 * If you do not define this then everything is treated as HTML.
177 * Whatever the setting of this value, DETECT_MSIE_IMAGES will
178 * override it for people using Internet Explorer.
180 #define USE_IMAGE_LIST 1
183 * Allows the use of ACL files to control access to the proxy by IP address.
188 * Allows the use of trust files.
190 #define TRUST_FILES 1
193 * Allows the use of jar files to capture cookies.
198 * Use PCRE rather than GNU Regex
202 /* Define if you have the bcopy function. */
205 /* Define if you have the memmove function. */
206 #define HAVE_MEMMOVE 1
208 /* Define if you have the strerror function. */
209 #define HAVE_STRERROR 1
211 #endif /* _CONFIG_H */