GMime 2.4 Reference Manual | ||||
---|---|---|---|---|
GMimeFilterGZip; enum GMimeFilterGZipMode; GMimeFilter* g_mime_filter_gzip_new (GMimeFilterGZipMode mode, int level);
typedef struct _GMimeFilterGZip GMimeFilterGZip;
A filter for compresing or decompressing a gzip stream.
typedef enum { GMIME_FILTER_GZIP_MODE_ZIP, GMIME_FILTER_GZIP_MODE_UNZIP } GMimeFilterGZipMode;
The mode for the GMimeFilterGZip filter.
GMimeFilter* g_mime_filter_gzip_new (GMimeFilterGZipMode mode, int level);
Creates a new gzip (or gunzip) filter.
|
zip or unzip |
|
compression level |
Returns : |
a new gzip (or gunzip) filter. |