Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

compress.c File Reference

#include "zlib.h"

Go to the source code of this file.

Defines

#define ZLIB_INTERNAL

Functions

int ZEXPORT compress2 (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen, int level)
int ZEXPORT compress (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
uLong ZEXPORT compressBound (uLong sourceLen)


Define Documentation

#define ZLIB_INTERNAL
 

Definition at line 8 of file compress.c.


Function Documentation

int ZEXPORT compress Bytef dest,
uLongf destLen,
const Bytef source,
uLong  sourceLen
 

Definition at line 62 of file compress.c.

References compress2(), and Z_DEFAULT_COMPRESSION.

int ZEXPORT compress2 Bytef dest,
uLongf destLen,
const Bytef source,
uLong  sourceLen,
int  level
 

Definition at line 22 of file compress.c.

References z_stream_s::avail_in, z_stream_s::avail_out, deflate(), deflateEnd(), deflateInit, z_stream_s::next_in, z_stream_s::next_out, z_stream_s::opaque, Z_BUF_ERROR, Z_FINISH, Z_OK, Z_STREAM_END, z_stream_s::zalloc, and z_stream_s::zfree.

Referenced by compress().

uLong ZEXPORT compressBound uLong  sourceLen  ) 
 

Definition at line 75 of file compress.c.

Referenced by CZLib::Compress(), and deflateBound().


Generated on Thu Dec 15 10:40:01 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2