GMimeFilterGZip

GMimeFilterGZip — GNU Zip compression/decompression

Synopsis

                    GMimeFilterGZip;
enum                GMimeFilterGZipMode;
GMimeFilter*        g_mime_filter_gzip_new              (GMimeFilterGZipMode mode,
                                                         int level);

Object Hierarchy

  GObject
   +----GMimeFilter
         +----GMimeFilterGZip

Description

A GMimeFilter used for compressing or decompressing a stream using GNU Zip.

Details

GMimeFilterGZip

typedef struct _GMimeFilterGZip GMimeFilterGZip;

A filter for compresing or decompressing a gzip stream.


enum GMimeFilterGZipMode

typedef enum {
	GMIME_FILTER_GZIP_MODE_ZIP,
	GMIME_FILTER_GZIP_MODE_UNZIP
} GMimeFilterGZipMode;

The mode for the GMimeFilterGZip filter.

GMIME_FILTER_GZIP_MODE_ZIP

Compress (zip) mode.

GMIME_FILTER_GZIP_MODE_UNZIP

Uncompress (unzip) mode.

g_mime_filter_gzip_new ()

GMimeFilter*        g_mime_filter_gzip_new              (GMimeFilterGZipMode mode,
                                                         int level);

Creates a new gzip (or gunzip) filter.

mode :

zip or unzip

level :

compression level

Returns :

a new gzip (or gunzip) filter.

See Also

GMimeFilter