30
30
<th width="100%" align="center">GSF Reference Manual</th>
31
31
<td><a accesskey="n" href="gsf-MS-OLE2.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
33
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2595809" class="shortcut">Top</a>
35
<a href="#id2596157" class="shortcut">Description</a>
37
<a href="#id2595982" class="shortcut">Object Hierarchy</a>
39
<a href="#id2596053" class="shortcut">Properties</a></nobr></td></tr>
33
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2595894" class="shortcut">Top</a>
35
<a href="#id2596242" class="shortcut">Description</a>
37
<a href="#id2596066" class="shortcut">Object Hierarchy</a>
39
<a href="#id2596138" class="shortcut">Properties</a></nobr></td></tr>
41
41
<div class="refentry" lang="en">
42
42
<a name="gsf-Compression"></a><div class="titlepage"></div>
43
43
<div class="refnamediv"><table width="100%"><tr>
46
<a name="id2595809"></a><span class="refentrytitle">Compression</span>
46
<a name="id2595894"></a><span class="refentrytitle">Compression</span>
104
104
<div class="refsect1" lang="en">
105
<a name="id2596157"></a><h2>Description</h2>
105
<a name="id2596242"></a><h2>Description</h2>
110
110
<div class="refsect1" lang="en">
111
<a name="id2596172"></a><h2>Details</h2>
111
<a name="id2596257"></a><h2>Details</h2>
112
112
<div class="refsect2" lang="en">
113
<a name="id2596182"></a><h3>
113
<a name="id2596267"></a><h3>
114
114
<a name="GsfInputGZip-struct"></a>GsfInputGZip</h3>
115
<a class="indexterm" name="id2596195"></a><pre class="programlisting">typedef struct _GsfInputGZip GsfInputGZip;</pre>
115
<a class="indexterm" name="id2596280"></a><pre class="programlisting">typedef struct _GsfInputGZip GsfInputGZip;</pre>
121
121
<div class="refsect2" lang="en">
122
<a name="id2596210"></a><h3>
122
<a name="id2596295"></a><h3>
123
123
<a name="gsf-input-gzip-new"></a>gsf_input_gzip_new ()</h3>
124
<a class="indexterm" name="id2596223"></a><pre class="programlisting"><a href="gsf-Input-from-unstructured-files.html#GsfInput">GsfInput</a>* gsf_input_gzip_new (<a href="gsf-Input-from-unstructured-files.html#GsfInput">GsfInput</a> *source,
124
<a class="indexterm" name="id2596308"></a><pre class="programlisting"><a href="gsf-Input-from-unstructured-files.html#GsfInput">GsfInput</a>* gsf_input_gzip_new (<a href="gsf-Input-from-unstructured-files.html#GsfInput">GsfInput</a> *source,
125
125
GError **err);</pre>
127
127
Adds a reference to <em class="parameter"><code>source</code></em>.</p>
153
153
<div class="refsect2" lang="en">
154
<a name="id2596311"></a><h3>
154
<a name="id2596395"></a><h3>
155
155
<a name="gsf-input-memory-new-from-bzip"></a>gsf_input_memory_new_from_bzip ()</h3>
156
<a class="indexterm" name="id2596325"></a><pre class="programlisting"><a href="gsf-Input-from-unstructured-files.html#GsfInput">GsfInput</a>* gsf_input_memory_new_from_bzip (<a href="gsf-Input-from-unstructured-files.html#GsfInput">GsfInput</a> *source,
156
<a class="indexterm" name="id2596409"></a><pre class="programlisting"><a href="gsf-Input-from-unstructured-files.html#GsfInput">GsfInput</a>* gsf_input_memory_new_from_bzip (<a href="gsf-Input-from-unstructured-files.html#GsfInput">GsfInput</a> *source,
157
157
GError **err);</pre>
185
185
<div class="refsect2" lang="en">
186
<a name="id2596430"></a><h3>
186
<a name="id2596514"></a><h3>
187
187
<a name="GsfOutputGZip-struct"></a>GsfOutputGZip</h3>
188
<a class="indexterm" name="id2596443"></a><pre class="programlisting">typedef struct _GsfOutputGZip GsfOutputGZip;</pre>
188
<a class="indexterm" name="id2596527"></a><pre class="programlisting">typedef struct _GsfOutputGZip GsfOutputGZip;</pre>
194
194
<div class="refsect2" lang="en">
195
<a name="id2596458"></a><h3>
195
<a name="id2596543"></a><h3>
196
196
<a name="gsf-output-gzip-new"></a>gsf_output_gzip_new ()</h3>
197
<a class="indexterm" name="id2596471"></a><pre class="programlisting"><a href="gsf-Output-to-unstructured-files.html#GsfOutput">GsfOutput</a>* gsf_output_gzip_new (<a href="gsf-Output-to-unstructured-files.html#GsfOutput">GsfOutput</a> *sink,
197
<a class="indexterm" name="id2596555"></a><pre class="programlisting"><a href="gsf-Output-to-unstructured-files.html#GsfOutput">GsfOutput</a>* gsf_output_gzip_new (<a href="gsf-Output-to-unstructured-files.html#GsfOutput">GsfOutput</a> *sink,
198
198
GError **err);</pre>
200
200
Adds a reference to <em class="parameter"><code>sink</code></em>.</p>
226
226
<div class="refsect2" lang="en">
227
<a name="id2596559"></a><h3>
227
<a name="id2596643"></a><h3>
228
228
<a name="GsfOutputBzip-struct"></a>GsfOutputBzip</h3>
229
<a class="indexterm" name="id2596572"></a><pre class="programlisting">typedef struct _GsfOutputBzip GsfOutputBzip;</pre>
229
<a class="indexterm" name="id2596656"></a><pre class="programlisting">typedef struct _GsfOutputBzip GsfOutputBzip;</pre>
235
235
<div class="refsect2" lang="en">
236
<a name="id2596587"></a><h3>
236
<a name="id2596672"></a><h3>
237
237
<a name="gsf-output-bzip-new"></a>gsf_output_bzip_new ()</h3>
238
<a class="indexterm" name="id2596600"></a><pre class="programlisting"><a href="gsf-Output-to-unstructured-files.html#GsfOutput">GsfOutput</a>* gsf_output_bzip_new (<a href="gsf-Output-to-unstructured-files.html#GsfOutput">GsfOutput</a> *sink,
238
<a class="indexterm" name="id2596684"></a><pre class="programlisting"><a href="gsf-Output-to-unstructured-files.html#GsfOutput">GsfOutput</a>* gsf_output_bzip_new (<a href="gsf-Output-to-unstructured-files.html#GsfOutput">GsfOutput</a> *sink,
239
239
GError **err);</pre>
241
241
Adds a reference to <em class="parameter"><code>sink</code></em>.</p>
267
267
<div class="refsect1" lang="en">
268
<a name="id2596689"></a><h2>Property Details</h2>
268
<a name="id2596773"></a><h2>Property Details</h2>
269
269
<div class="refsect2" lang="en">
270
<a name="id2596699"></a><h3>
271
<a name="GsfInputGZip--raw"></a>The "<code class="literal">raw</code>" property</h3>
272
<a class="indexterm" name="id2596715"></a><pre class="programlisting"> "raw" gboolean : Read / Write / Construct Only</pre>
270
<a name="id2596784"></a><h3>
271
<a name="GsfInputGZip--raw"></a>The <code class="literal">"raw"</code> property</h3>
272
<a class="indexterm" name="id2596800"></a><pre class="programlisting"> "raw" gboolean : Read / Write / Construct Only</pre>
273
273
<p>Whether to read compressed data with no header and no trailer.</p>
274
274
<p>Default value: FALSE</p>
277
277
<div class="refsect2" lang="en">
278
<a name="id2596743"></a><h3>
279
<a name="GsfInputGZip--source"></a>The "<code class="literal">source</code>" property</h3>
280
<a class="indexterm" name="id2596760"></a><pre class="programlisting"> "source" <a href="gsf-Input-from-unstructured-files.html#GsfInput">GsfInput</a> : Read / Write / Construct Only</pre>
278
<a name="id2596828"></a><h3>
279
<a name="GsfInputGZip--source"></a>The <code class="literal">"source"</code> property</h3>
280
<a class="indexterm" name="id2596844"></a><pre class="programlisting"> "source" <a href="gsf-Input-from-unstructured-files.html#GsfInput">GsfInput</a> : Read / Write / Construct Only</pre>
281
281
<p>Where the compressed data comes from.</p>
284
284
<div class="refsect2" lang="en">
285
<a name="id2596784"></a><h3>
286
<a name="GsfInputGZip--uncompressed-size"></a>The "<code class="literal">uncompressed-size</code>" property</h3>
287
<a class="indexterm" name="id2596801"></a><pre class="programlisting"> "uncompressed-size" gint64 : Read / Write / Construct Only</pre>
285
<a name="id2596869"></a><h3>
286
<a name="GsfInputGZip--uncompressed-size"></a>The <code class="literal">"uncompressed-size"</code> property</h3>
287
<a class="indexterm" name="id2596885"></a><pre class="programlisting"> "uncompressed-size" gint64 : Read / Write / Construct Only</pre>
288
288
<p>The source's uncompressed size.</p>
289
289
<p>Allowed values: >= -1</p>
290
290
<p>Default value: -1</p>
293
293
<div class="refsect2" lang="en">
294
<a name="id2596832"></a><h3>
295
<a name="GsfOutputGZip--raw"></a>The "<code class="literal">raw</code>" property</h3>
296
<a class="indexterm" name="id2596848"></a><pre class="programlisting"> "raw" gboolean : Read / Write / Construct Only</pre>
294
<a name="id2596916"></a><h3>
295
<a name="GsfOutputGZip--raw"></a>The <code class="literal">"raw"</code> property</h3>
296
<a class="indexterm" name="id2596932"></a><pre class="programlisting"> "raw" gboolean : Read / Write / Construct Only</pre>
297
297
<p>Whether to write compressed data with no header/tailer.</p>
298
298
<p>Default value: FALSE</p>
301
301
<div class="refsect2" lang="en">
302
<a name="id2596876"></a><h3>
303
<a name="GsfOutputGZip--sink"></a>The "<code class="literal">sink</code>" property</h3>
304
<a class="indexterm" name="id2596891"></a><pre class="programlisting"> "sink" <a href="gsf-Output-to-unstructured-files.html#GsfOutput">GsfOutput</a> : Read / Write / Construct Only</pre>
302
<a name="id2596960"></a><h3>
303
<a name="GsfOutputGZip--sink"></a>The <code class="literal">"sink"</code> property</h3>
304
<a class="indexterm" name="id2596975"></a><pre class="programlisting"> "sink" <a href="gsf-Output-to-unstructured-files.html#GsfOutput">GsfOutput</a> : Read / Write / Construct Only</pre>
305
305
<p>Where the compressed data is written.</p>