compression

compression

Functions

void * unzip_file ()
gchar * uncompress_bzip2 ()

Description

Functions

unzip_file ()

void *
unzip_file (gchar *zip_file,
            gulong *unzip_size);

Returns a pointer to uncompressed data (maybe NULL)

Parameters

zip_file

pointer to start of compressed data

 

unzip_size

the size of the compressed data block

 

uncompress_bzip2 ()

gchar *
uncompress_bzip2 (const gchar *name);

Parameters

name

The name of the file to attempt to decompress

 

Returns

The name of the uncompressed file (in a temporary location) or NULL free the returned name after use.

Also see: http://www.bzip.org/1.0.5/bzip2-manual-1.0.5.html