![]() |
![]() |
![]() |
![]() |
GMimeFilter * g_mime_filter_gzip_new (GMimeFilterGZipMode mode
,int level
);
Creates a new gzip (or gunzip) filter.
const char *
g_mime_filter_gzip_get_filename (GMimeFilterGZip *gzip
);
Gets the filename that was either previously set or retrieved when decoding a gzip stream.
Since: 3.2
void g_mime_filter_gzip_set_filename (GMimeFilterGZip *gzip
,const char *filename
);
Sets the filename that should be used when generating the gzip header.
Since: 3.2
const char *
g_mime_filter_gzip_get_comment (GMimeFilterGZip *gzip
);
Gets the comment that was either previously set or retrieved when decoding a gzip stream.
Since: 3.2
void g_mime_filter_gzip_set_comment (GMimeFilterGZip *gzip
,const char *comment
);
Sets the comment that should be used when generating the gzip header.
Since: 3.2
struct GMimeFilterGZip { GMimeFilter parent_object; struct _GMimeFilterGZipPrivate *priv; GMimeFilterGZipMode mode; int level; };
A filter for compresing or decompressing a gzip stream.
GMimeFilter |
parent GMimeFilter |
|
struct _GMimeFilterGZipPrivate * |
private state data |
|
GMimeFilterGZipMode |
||
int |
compression level |