~ubuntu-branches/ubuntu/vivid/glib2.0/vivid-proposed

« back to all changes in this revision

Viewing changes to docs/reference/gio/html/GZlibCompressor.html

  • Committer: Package Import Robot
  • Author(s): Andreas Henriksson
  • Date: 2014-03-24 20:58:34 UTC
  • mfrom: (1.66.13)
  • Revision ID: package-import@ubuntu.com-20140324205834-8hsgok8k36ftocqa
Tags: 2.40.0-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
<td class="property_flags">Read / Write / Construct Only</td>
91
91
</tr>
92
92
<tr>
93
 
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
 
93
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
94
94
<td class="property_name"><a class="link" href="GZlibCompressor.html#GZlibCompressor--level" title="The “level” property">level</a></td>
95
95
<td class="property_flags">Read / Write / Construct Only</td>
96
96
</tr>
118
118
</div>
119
119
<div class="refsect1">
120
120
<a name="GZlibCompressor.object-hierarchy"></a><h2>Object Hierarchy</h2>
121
 
<pre class="screen">    <a href="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
121
<pre class="screen">    <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
122
122
    <span class="lineart">╰──</span> GZlibCompressor
123
123
</pre>
124
124
</div>
198
198
</div>
199
199
<div class="refsect3">
200
200
<a name="id-1.4.6.4.10.3.6"></a><h4>Returns</h4>
201
 
<p> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
 
201
<p> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
202
202
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
203
203
</div>
204
204
<p class="since">Since 2.26</p>
211
211
                                 <em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *file_info</code></em>);</pre>
212
212
<p>Sets <em class="parameter"><code>file_info</code></em>
213
213
 in <em class="parameter"><code>compressor</code></em>
214
 
. If non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, and <em class="parameter"><code>compressor</code></em>
 
214
. If non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, and <em class="parameter"><code>compressor</code></em>
215
215
's
216
216
<a class="link" href="GZlibCompressor.html#GZlibCompressor--format" title="The “format” property"><span class="type">“format”</span></a> property is <a class="link" href="GZlibCompressor.html#G-ZLIB-COMPRESSOR-FORMAT-GZIP:CAPS"><code class="literal">G_ZLIB_COMPRESSOR_FORMAT_GZIP</code></a>,
217
217
it will be used to set the file name and modification time in
298
298
<div class="refsect2">
299
299
<a name="GZlibCompressor--file-info"></a><h3>The <code class="literal">“file-info”</code> property</h3>
300
300
<pre class="programlisting">  “file-info”                <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *</pre>
301
 
<p>If set to a non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> object, and <a class="link" href="GZlibCompressor.html#GZlibCompressor--format" title="The “format” property"><span class="type">“format”</span></a> is
 
301
<p>If set to a non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> object, and <a class="link" href="GZlibCompressor.html#GZlibCompressor--format" title="The “format” property"><span class="type">“format”</span></a> is
302
302
<a class="link" href="GZlibCompressor.html#G-ZLIB-COMPRESSOR-FORMAT-GZIP:CAPS"><code class="literal">G_ZLIB_COMPRESSOR_FORMAT_GZIP</code></a>, the compressor will write the file name
303
303
and modification time from the file info to the GZIP header.</p>
304
304
<p>Flags: Read / Write</p>
315
315
<hr>
316
316
<div class="refsect2">
317
317
<a name="GZlibCompressor--level"></a><h3>The <code class="literal">“level”</code> property</h3>
318
 
<pre class="programlisting">  “level”                    <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
 
318
<pre class="programlisting">  “level”                    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
319
319
<p>The level of compression from 0 (no compression) to 9 (most compression), -1 for the default level.</p>
320
320
<p>Flags: Read / Write / Construct Only</p>
321
321
<p>Allowed values: [-1,9]</p>