examples/PIPS/openclibz/src/compress.c File Reference

Go to the source code of this file.

Functions

void GzCompress (FILE *in, gzFile out)
void FileCompress (char *file, char *mode)
void StringCompress ()

Detailed Description

In this file I use libz api's to compress file and string Here i make use of libz api which can write to compressed files. Also there is memory mapping techniqe used though mmap api of libc which can be used if buffer is large enogh.

Definition in file compress.c.


Function Documentation

void StringCompress (  ) 

Compresses the string This function compresses the string entered by the user and shows the compressed string and then decompressess it Actually This function will show the content on the screen and demonstarte how strings can be compressed

Definition at line 189 of file compress.c.


Generated by  doxygen 1.6.2