]> git.lizzy.rs Git - zlib.git/blob - README
zlib 0.71
[zlib.git] / README
1 zlib 0.71 is a beta version of a general purpose compression library.
2
3 The data format used by the zlib library is described in the
4 file zlib-3.1.doc, deflate-1.1.doc and gzip-4.1.doc, available
5 in ftp.uu.net:/pub/archiving/zip/doc.
6
7 All functions of the compression library are documented in the file
8 zlib.h. A usage example of the library is given in the file example.c
9 which also tests that the library is working correctly.
10 To compile all files and run the test program, just type: make test
11
12 The changes made in version 0.71 are documented in the file ChangeLog.
13 The main changes since 0.5 are:
14 - added full inflate support
15 - added minigzip.c
16 - added gzdopen to reopen a file descriptor as gzFile
17 - added transparent reading of non-gziped files in gzread.
18 - fix some MSDOS problems. example and minigzip now work on MSDOS.
19 - Simplified the crc32() interface. The pre- and post-conditioning
20   (one's complement) is now done inside crc32(). WARNING: this is
21   incompatible with previous versions; see zlib.h for the new usage.
22
23 On MSDOS, this version works in large and small model with MSC; in
24 small model only with TurboC (bug being investigated). For both
25 compilers, small model compression works only for small values of
26 MEM_LEVEL and WBITS (see zutil.h), and requires -DUSE_CALLOC.
27
28
29   Copyright (C) 1995 Jean-loup Gailly and Mark Adler
30
31   This software is provided 'as-is', without any express or implied
32   warranty.  In no event will the authors be held liable for any damages
33   arising from the use of this software.
34
35   Permission is granted to anyone to use this software for any purpose,
36   including commercial applications, and to alter it and redistribute it
37   freely, subject to the following restrictions:
38
39   1. The origin of this software must not be misrepresented; you must not
40      claim that you wrote the original software. If you use this software
41      in a product, an acknowledgment in the product documentation would be
42      appreciated but is not required.
43   2. Altered source versions must be plainly marked as such, and must not be
44      misrepresented as being the original software.
45   3. This notice may not be removed or altered from any source distribution.
46
47   Jean-loup Gailly        Mark Adler
48   gzip@prep.ai.mit.edu    madler@cco.caltech.edu
49
50 If you use the zlib library in a product, we would appreciate *not*
51 receiving lengthy legal documents to sign. The sources are provided
52 for free but without warranty of any kind.  The library has been
53 entirely written by Jean-loup Gailly and Mark Adler; it does not
54 include third-party code.
55
56 If you redistribute modified sources, we would appreciate that you include
57 in the file ChangeLog history information documenting your changes.