Add the config directive compression-level
[privoxy.git] / project.h
index 4eb8908..d524be0 100644 (file)
--- a/project.h
+++ b/project.h
@@ -1,7 +1,7 @@
 #ifndef PROJECT_H_INCLUDED
 #define PROJECT_H_INCLUDED
 /** Version string. */
-#define PROJECT_H_VERSION "$Id: project.h,v 1.165 2011/06/23 14:01:01 fabiankeil Exp $"
+#define PROJECT_H_VERSION "$Id: project.h,v 1.167 2011/07/03 17:55:23 fabiankeil Exp $"
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/project.h,v $
@@ -187,12 +187,6 @@ typedef int jb_err;
  */
 #define CGI_PARAM_LEN_MAX 500U
 
-/**
- * Minimum length which a buffer has to reach before
- * Privoxy bothers to (re-)compress it. Completely arbitrary.
- */
-#define LOWER_LENGTH_LIMIT_FOR_COMPRESSION 1024U
-
 /**
  * Buffer size for capturing struct hostent data in the
  * gethostby(name|addr)_r library calls. Since we don't
@@ -1311,6 +1305,10 @@ struct configuration_spec
    unsigned int default_server_timeout;
 #endif
 
+#ifdef FEATURE_COMPRESSION
+   int compression_level;
+#endif
+
    /** All options from the config file, HTML-formatted. */
    char *proxy_args;