|  |  |  | GSF Reference Manual |  | 
|---|---|---|---|---|
                    GsfInfileZip;
GsfInfile*          gsf_infile_zip_new                  (GsfInput *source,
                                                         GError **err);
                    GsfOutfileZip;
GsfOutfile*         gsf_outfile_zip_new                 (GsfOutput *sink,
                                                         GError **err);
gboolean            gsf_outfile_zip_set_compression_method
                                                        (GsfOutfileZip *zip,
                                                         GsfZipCompressionMethod method);
GObject +----GsfInput +----GsfInfile +----GsfInfileZip
GObject +----GsfOutput +----GsfOutfile +----GsfOutfileZip
"compression-level" gint : Read "internal-parent" GsfInfileZip* : Write / Construct Only "source" GsfInput* : Read / Write / Construct Only "compression-level" gint : Read / Write / Construct Only "entry-name" gchar* : Read / Write / Construct Only "sink" GsfOutput* : Read / Write / Construct Only
GsfInfile* gsf_infile_zip_new (GsfInput *source, GError **err);
Opens the root directory of a Zip file.
source.
| 
 | A base GsfInput | 
| 
 | A GError, optionally null | 
| Returns : | the new zip file handler | 
GsfOutfile* gsf_outfile_zip_new (GsfOutput *sink, GError **err);
Creates the root directory of a Zip file and manages the addition of children.
sink.
| 
 | a GsfOutput to hold the ZIP file | 
| 
 | Location to store error, or NULL; currently unused. | 
| Returns : | the new zip file handler | 
gboolean            gsf_outfile_zip_set_compression_method
                                                        (GsfOutfileZip *zip,
                                                         GsfZipCompressionMethod method);
| 
 | |
| 
 | |
| Returns : | 
"compression-level" property"compression-level" gint : Read
The level of compression used, zero meaning none.
Allowed values: [0,10]
Default value: 0
"internal-parent" property"internal-parent" GsfInfileZip* : Write / Construct Only
Internal use only.
"source" property"source" GsfInput* : Read / Write / Construct Only
The archive being interpreted.
"compression-level" property"compression-level" gint : Read / Write / Construct Only
The level of compression used, zero meaning none.
Allowed values: [0,10]
Default value: 8
"entry-name" property"entry-name" gchar* : Read / Write / Construct Only
The filename of this member in the archive without path.
Default value: NULL