/* zconf.h -- configuration of the zlib compression library *Copyright(C)1995-1998Jean-loupGailly. *Forconditionsofdistributionanduse,seecopyrightnoticeinzlib.h
*/
/* @(#) $Id$ */
#ifndef _ZCONF_H #define _ZCONF_H
/* The memory requirements for deflate are (in bytes): (1<<(windowBits+2))+(1<<(memLevel+9)) thatis:128KforwindowBits=15+128KformemLevel=8(defaultvalues) plusafewkilobytesforsmallobjects.Forexample,ifyouwanttoreduce thedefaultmemoryrequirementsfrom256Kto128K,compilewith makeCFLAGS="-O-DMAX_WBITS=14-DMAX_MEM_LEVEL=7" Ofcoursethiswillgenerallydegradecompression(there'snofreelunch).
/* Maximum value for memLevel in deflateInit2 */ #ifndef MAX_MEM_LEVEL # define MAX_MEM_LEVEL 8 #endif
/* Maximum value for windowBits in deflateInit2 and inflateInit2. *WARNING:reducingMAX_WBITSmakesminigzipunabletoextract.gzfiles *createdbygzip.(Filescreatedbyminigzipcanstillbeextractedby *gzip.)
*/ #ifndef MAX_WBITS # define MAX_WBITS 15/* 32K LZ77 window */ #endif
/* default windowBits for decompression. MAX_WBITS is for compression only */ #ifndef DEF_WBITS # define DEF_WBITS MAX_WBITS #endif
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.