z3lib(3)

NAME
z3lib - compression/decompression library

SYNOPSIS
#include <z3lib.h>
#include <z3blib.h>
#include <z3dlib.h>
#include <z3flib.h>

DESCRIPTION
z3lib is a substitute for the zlib compression library. It is made up of three layers, hence the name. The lowest layer, z3blib, compresses partial files, up to the boundary of a compressed block as defined in RFC1951, section 3.2; this layer is not designed for direct application usage. The second layer, z3dlib, allows compression of unlimited amounts of data in memory, according to RFC1951. The third layer, z3flib, provides means to read and write from and to compressed files, according to RFC1952.

INSTALLATION
Change the current path to where You dropped the files in this package and

make

to compile the library. Then

make install

to deposit the library files and man page to the /usr hierarchy.

OPTIONS

DECODE_ONLY=1, ENCODE_ONLY=1
    When invoking make with one of these parameters, only the desired part of the z3lib is compiled.

WITHOUT_LIBC=1
    When invoking make with this parameter, the following functions are assumed to be missing and thus locally declared: memcpy, memset, memcmp, strlen. This may be useful in an environment where no libc is available, e.g. for usage with a bootloader.

SEE ALSO
z3dlib(3), z3flib(3), http://rfc.net/rfc1951.html, http://rfc.net/rfc1952.html, zlib(3).

For detailed information on the z3blib layer, please refer to the header file z3blib.h.

AUTHOR
Oskar Schirmer (oskar@scara.com).