mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-17 23:47:52 +02:00
Add GZIP header processing to GZlibCompressor/GZlibDecompressor
Add GZlibCompressor:file-info property. If it contains a non-NULL GFileInfo, and the compressor is in GZIP mode, the filename and modification time from the file info are written to the GZIP header in the output data. Add GZlibDeompressor:file-info property. If the decompressor is in GZIP mode, and the GZIP data contains a GZIP header, the filename and modification time are read from it, stored in a GFileInfo, and the file-info property is notified. Bug #617691.
This commit is contained in:
@@ -2054,6 +2054,8 @@ g_converter_output_stream_get_type
|
||||
GZlibCompressor
|
||||
GZlibCompressorFormat
|
||||
g_zlib_compressor_new
|
||||
g_zlib_compressor_get_file_info
|
||||
g_zlib_compressor_set_file_info
|
||||
<SUBSECTION Standard>
|
||||
GZlibCompressorClass
|
||||
G_TYPE_ZLIB_COMPRESSOR
|
||||
@@ -2071,6 +2073,7 @@ g_zlib_compressor_get_type
|
||||
<TITLE>GZlibDecompressor</TITLE>
|
||||
GZlibDecompressor
|
||||
g_zlib_decompressor_new
|
||||
g_zlib_decompressor_get_file_info
|
||||
<SUBSECTION Standard>
|
||||
GZlibDecompressorClass
|
||||
G_TYPE_ZLIB_DECOMPRESSOR
|
||||
|
Reference in New Issue
Block a user