- Integrated the commented config file by Scott Turner <srt@aero.org>
[privoxy.git] / config.h
1 /* config.h.  Generated automatically by configure.  */
2 /* config.h.in.  Generated automatically from configure.in by autoheader.  */
3 #ifndef _CONFIG_H
4 #define _CONFIG_H
5 /*********************************************************************
6  *
7  * File        :  $Source: /home/administrator/cvs/ijb/acconfig.h,v $
8  *
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.
14  *
15  * Copyright   :  Written by and Copyright (C) 2001 the SourceForge
16  *                IJBSWA team.  http://ijbswa.sourceforge.net
17  *
18  *                Based on the Internet Junkbuster originally written
19  *                by and Copyright (C) 1997 Anonymous Coders and 
20  *                Junkbusters Corporation.  http://www.junkbusters.com
21  *
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.
27  *
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.
33  *
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.
39  *
40  * Revisions   :
41  *    $Log: acconfig.h,v $
42  *
43  *********************************************************************/
44 \f
45
46 /* Define to empty if the keyword does not work.  */
47 /* #undef const */
48
49 /* Define to `unsigned' if <sys/types.h> doesn't define.  */
50 /* #undef size_t */
51
52 /* Define if you have the ANSI C header files.  */
53 #define STDC_HEADERS 1
54
55 /*
56  * Version number - Major (X._._)
57  */
58 #define VERSION_MAJOR 2
59
60 /*
61  * Version number - Minor (_.X._)
62  */
63 #define VERSION_MINOR 9
64
65 /*
66  * Version number - Point (_._.X)
67  */
68 #define VERSION_POINT 3
69
70 /*
71  * Version number, as a string
72  */
73 #define VERSION "2.9.3"
74
75 /*
76  * Regular expression matching for URLs.  (Highly recommended).  If this is 
77  * not defined then you can ony use prefix matching.
78  */
79 #define REGEX 1
80
81 /*
82  * Allow JunkBuster to be "disabled" so it is just a normal non-blocking
83  * non-anonymizing proxy.  This is useful if you're trying to access a
84  * blocked or broken site - just change the setting in the config file
85  * and send a SIGHUP (UN*X), or use the handy "Disable" menu option (Windows
86  * GUI).
87  */
88 #define TOGGLE 1
89
90 /*
91  * Enables arbitrary content modification regexps
92  */
93 #define PCRS 1
94
95 /*
96  * If a stream is compressed via gzip (Netscape specific I think), then
97  * it cannot be modified with Perl regexps.  This forces it to be 
98  * uncompressed.
99  */
100 #define DENY_GZIP 1
101
102 /*
103  * Enables statistics function.
104  */
105 #define STATISTICS 1
106
107 /*
108  * Bypass filtering for 1 page only
109  */
110 #define FORCE_LOAD 1
111
112 /*
113  * Split the show-proxy-args page into a page for each config file.
114  */
115 #define SPLIT_PROXY_ARGS 1
116
117 /*
118  * Kills JavaScript popups - window.open, onunload, etc.
119  */
120 #define KILLPOPUPS 1
121
122 /*
123  * Support for webDAV - e.g. so Microsoft Outlook can access HotMail e-mail
124  */
125 #define WEBDAV 1
126
127 /*
128  * Detect image requests automatically for MSIE.  Will fall back to
129  * other image-detection methods (i.e. USE_IMAGE_LIST) for other
130  * browsers.
131  *
132  * It detects the following header pair as an image request:
133  *
134  * User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
135  * Accept: * / *
136  *
137  * And the following as a HTML request:
138  *
139  * User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
140  * Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, * / *
141  *
142  * And no, I haven't got that backwards - IE is being wierd.
143  *
144  * Known limitations: 
145  * 1) If you press shift-reload on a blocked HTML page, you get
146  *    the image "blocked" page, not the HTML "blocked" page.
147  * 2) Once an image "blocked" page has been sent, viewing it 
148  *    in it's own browser window *should* bring up the HTML
149  *    "blocked" page, but it doesn't.  You need to clear the 
150  *    browser cache to get the HTML version again.
151  *
152  * These limitations are due to IE making inconsistent choices
153  * about which "Accept:" header to send.
154  */
155 #define DETECT_MSIE_IMAGES 1
156
157 /*
158  * Use image list to detect images.
159  * If you do not define this then everything is treated as HTML.
160  *
161  * Whatever the setting of this value, DETECT_MSIE_IMAGES will 
162  * override it for people using Internet Explorer.
163  */
164 #define USE_IMAGE_LIST 1
165
166 /*
167  * Allows the use of ACL files to control access to the proxy by IP address.
168  */
169 #define ACL_FILES 1
170
171 /*
172  * Allows the use of trust files.
173  */
174 #define TRUST_FILES 1
175
176 /*
177  * Allows the use of jar files to capture cookies.
178  */
179 #define JAR_FILES 1
180
181 /*
182  * Use PCRE rather than GNU Regex
183  */
184 #define PCRE 1
185
186 /* Define if you have the bcopy function.  */
187 #define HAVE_BCOPY 1
188
189 /* Define if you have the memmove function.  */
190 #define HAVE_MEMMOVE 1
191
192 /* Define if you have the strerror function.  */
193 #define HAVE_STRERROR 1
194
195 #endif /* _CONFIG_H */