All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
compress.c File Reference
#include "zlib.h"

Go to the source code of this file.




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

Macro Definition Documentation


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.

Referenced by test_compress().

uLong ZEXPORT compressBound ( uLong  sourceLen)

Definition at line 75 of file compress.c.