Top |
GsfInfile * | gsf_infile_zip_new () |
GsfOutfile * | gsf_outfile_zip_new () |
gboolean | gsf_outfile_zip_set_compression_method () |
gint | compression-level | Read |
GsfInfileZip * | internal-parent | Write / Construct Only |
GsfInput * | source | Read / Write / Construct Only |
gint | compression-level | Read / Write / Construct Only |
gint | deflate-level | Read / Write / Construct Only |
gchar * | entry-name | Read / Write / Construct Only |
GsfOutput * | sink | Read / Write / Construct Only |
gint | zip64 | Read / Write / Construct Only |
GObject ├── GsfInput │ ╰── GsfInfile │ ╰── GsfInfileZip ╰── GsfOutput ╰── GsfOutfile ╰── GsfOutfileZip
GsfInfile * gsf_infile_zip_new (GsfInput *source
,GError **err
);
Opens the root directory of a Zip file.
source
.GsfOutfile * gsf_outfile_zip_new (GsfOutput *sink
,GError **err
);
Creates the root directory of a Zip file and manages the addition of children.
sink
.sink |
a GsfOutput to hold the ZIP file |
|
err |
Location to store error, or |
gboolean gsf_outfile_zip_set_compression_method (GsfOutfileZip *zip
,GsfZipCompressionMethod method
);
“compression-level”
property “compression-level” gint
Controls the level of compression used for new members.
Flags: Read
Allowed values: [0,10]
Default value: 0
“internal-parent”
property“internal-parent” GsfInfileZip *
Internal use only.
Flags: Write / Construct Only
“source”
property“source” GsfInput *
The archive being interpreted.
Flags: Read / Write / Construct Only
“compression-level”
property “compression-level” gint
The level of compression used, zero meaning none.
Flags: Read / Write / Construct Only
Allowed values: [0,10]
Default value: 8
“deflate-level”
property “deflate-level” gint
The level of deflate compression used, zero meaning none and -1 meaning the zlib default.
Flags: Read / Write / Construct Only
Allowed values: [-1,9]
Default value: -1
“entry-name”
property “entry-name” gchar *
The filename of this member in the archive without path.
Flags: Read / Write / Construct Only
Default value: NULL
“sink”
property“sink” GsfOutput *
Where the archive is written.
Flags: Read / Write / Construct Only