File: compression.xml

package info (click to toggle)
libgsf 1.14.8-1lenny2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 4,984 kB
  • ctags: 3,344
  • sloc: ansic: 18,428; sh: 9,392; xml: 6,653; makefile: 496; perl: 35; python: 13
file content (205 lines) | stat: -rw-r--r-- 11,049 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<refentry id="gsf-Compression">
<refmeta>
<refentrytitle role="top_of_page">Compression</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GSF Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>Compression</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>

<refsynopsisdiv role="synopsis">
<title role="synopsis.title">Synopsis</title>
<anchor id="GsfInputGZip"/><anchor id="GsfOutputGZip"/><anchor id="GsfOutputBzip"/>
<synopsis>



                    <link linkend="GsfInputGZip-struct">GsfInputGZip</link>;
<link linkend="GsfInput">GsfInput</link>*           <link linkend="gsf-input-gzip-new">gsf_input_gzip_new</link>                  (<link linkend="GsfInput">GsfInput</link> *source,
                                                         <link linkend="GError">GError</link> **err);
<link linkend="GsfInput">GsfInput</link>*           <link linkend="gsf-input-memory-new-from-bzip">gsf_input_memory_new_from_bzip</link>      (<link linkend="GsfInput">GsfInput</link> *source,
                                                         <link linkend="GError">GError</link> **err);
                    <link linkend="GsfOutputGZip-struct">GsfOutputGZip</link>;
<link linkend="GsfOutput">GsfOutput</link>*          <link linkend="gsf-output-gzip-new">gsf_output_gzip_new</link>                 (<link linkend="GsfOutput">GsfOutput</link> *sink,
                                                         <link linkend="GError">GError</link> **err);
                    <link linkend="GsfOutputBzip-struct">GsfOutputBzip</link>;
<link linkend="GsfOutput">GsfOutput</link>*          <link linkend="gsf-output-bzip-new">gsf_output_bzip_new</link>                 (<link linkend="GsfOutput">GsfOutput</link> *sink,
                                                         <link linkend="GError">GError</link> **err);

</synopsis>
</refsynopsisdiv>

<refsect1 role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<synopsis>

  <link linkend="GObject">GObject</link>
   +----<link linkend="GsfInput">GsfInput</link>
         +----GsfInputGZip
</synopsis>
<synopsis>

  <link linkend="GObject">GObject</link>
   +----<link linkend="GsfOutput">GsfOutput</link>
         +----GsfOutputGZip
</synopsis>
<synopsis>

  <link linkend="GObject">GObject</link>
   +----<link linkend="GsfOutput">GsfOutput</link>
         +----GsfOutputBzip
</synopsis>

</refsect1>





<refsect1 role="properties">
<title role="properties.title">Properties</title>
<synopsis>

  &quot;<link linkend="GsfInputGZip--raw">raw</link>&quot;                      <link linkend="gboolean">gboolean</link>              : Read / Write / Construct Only
  &quot;<link linkend="GsfInputGZip--source">source</link>&quot;                   <link linkend="GsfInput">GsfInput</link>              : Read / Write / Construct Only
  &quot;<link linkend="GsfInputGZip--uncompressed-size">uncompressed-size</link>&quot;        <link linkend="gint64">gint64</link>                : Read / Write / Construct Only
  &quot;<link linkend="GsfOutputGZip--raw">raw</link>&quot;                      <link linkend="gboolean">gboolean</link>              : Read / Write / Construct Only
  &quot;<link linkend="GsfOutputGZip--sink">sink</link>&quot;                     <link linkend="GsfOutput">GsfOutput</link>             : Read / Write / Construct Only
</synopsis>
</refsect1>



<refsect1 role="desc">
<title role="desc.title">Description</title>
<para>

</para>
</refsect1>

<refsect1 role="details">
<title role="details.title">Details</title>
<refsect2>
<title><anchor id="GsfInputGZip-struct" role="struct"/>GsfInputGZip</title>
<indexterm><primary>GsfInputGZip</primary></indexterm><programlisting>typedef struct _GsfInputGZip GsfInputGZip;</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="gsf-input-gzip-new" role="function"/>gsf_input_gzip_new ()</title>
<indexterm><primary>gsf_input_gzip_new</primary></indexterm><programlisting><link linkend="GsfInput">GsfInput</link>*           gsf_input_gzip_new                  (<link linkend="GsfInput">GsfInput</link> *source,
                                                         <link linkend="GError">GError</link> **err);</programlisting>
<para>
Adds a reference to <parameter>source</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>source</parameter>&nbsp;:</term>
<listitem><simpara> The underlying data source.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>err</parameter>&nbsp;:</term>
<listitem><simpara> optionally <link linkend="NULL:CAPS"><literal>NULL</literal></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a new file or <link linkend="NULL:CAPS"><literal>NULL</literal></link>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gsf-input-memory-new-from-bzip" role="function"/>gsf_input_memory_new_from_bzip ()</title>
<indexterm><primary>gsf_input_memory_new_from_bzip</primary></indexterm><programlisting><link linkend="GsfInput">GsfInput</link>*           gsf_input_memory_new_from_bzip      (<link linkend="GsfInput">GsfInput</link> *source,
                                                         <link linkend="GError">GError</link> **err);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>source</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GsfInput"><type>GsfInput</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>err</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GError"><type>GError</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a new <link linkend="GsfInputMemory"><type>GsfInputMemory</type></link> or <link linkend="NULL:CAPS"><literal>NULL</literal></link>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GsfOutputGZip-struct" role="struct"/>GsfOutputGZip</title>
<indexterm><primary>GsfOutputGZip</primary></indexterm><programlisting>typedef struct _GsfOutputGZip GsfOutputGZip;</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="gsf-output-gzip-new" role="function"/>gsf_output_gzip_new ()</title>
<indexterm><primary>gsf_output_gzip_new</primary></indexterm><programlisting><link linkend="GsfOutput">GsfOutput</link>*          gsf_output_gzip_new                 (<link linkend="GsfOutput">GsfOutput</link> *sink,
                                                         <link linkend="GError">GError</link> **err);</programlisting>
<para>
Adds a reference to <parameter>sink</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>sink</parameter>&nbsp;:</term>
<listitem><simpara> The underlying data source.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>err</parameter>&nbsp;:</term>
<listitem><simpara> optionally <link linkend="NULL:CAPS"><literal>NULL</literal></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a new file or <link linkend="NULL:CAPS"><literal>NULL</literal></link>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GsfOutputBzip-struct" role="struct"/>GsfOutputBzip</title>
<indexterm><primary>GsfOutputBzip</primary></indexterm><programlisting>typedef struct _GsfOutputBzip GsfOutputBzip;</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="gsf-output-bzip-new" role="function"/>gsf_output_bzip_new ()</title>
<indexterm><primary>gsf_output_bzip_new</primary></indexterm><programlisting><link linkend="GsfOutput">GsfOutput</link>*          gsf_output_bzip_new                 (<link linkend="GsfOutput">GsfOutput</link> *sink,
                                                         <link linkend="GError">GError</link> **err);</programlisting>
<para>
Adds a reference to <parameter>sink</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>sink</parameter>&nbsp;:</term>
<listitem><simpara> The underlying data source.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>err</parameter>&nbsp;:</term>
<listitem><simpara> optionally <link linkend="NULL:CAPS"><literal>NULL</literal></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a new file or <link linkend="NULL:CAPS"><literal>NULL</literal></link>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>
<refsect1 role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2><title><anchor id="GsfInputGZip--raw"/>The &quot;<literal>raw</literal>&quot; property</title>
<indexterm><primary>GsfInputGZip:raw</primary></indexterm><programlisting>  &quot;raw&quot;                      <link linkend="gboolean">gboolean</link>              : Read / Write / Construct Only</programlisting>
<para>Whether to read compressed data with no header and no trailer.</para><para>Default value: FALSE</para>
</refsect2>
<refsect2><title><anchor id="GsfInputGZip--source"/>The &quot;<literal>source</literal>&quot; property</title>
<indexterm><primary>GsfInputGZip:source</primary></indexterm><programlisting>  &quot;source&quot;                   <link linkend="GsfInput">GsfInput</link>              : Read / Write / Construct Only</programlisting>
<para>Where the compressed data comes from.</para></refsect2>
<refsect2><title><anchor id="GsfInputGZip--uncompressed-size"/>The &quot;<literal>uncompressed-size</literal>&quot; property</title>
<indexterm><primary>GsfInputGZip:uncompressed-size</primary></indexterm><programlisting>  &quot;uncompressed-size&quot;        <link linkend="gint64">gint64</link>                : Read / Write / Construct Only</programlisting>
<para>The source's uncompressed size.</para><para>Allowed values: &gt;= -1</para>
<para>Default value: -1</para>
</refsect2>
<refsect2><title><anchor id="GsfOutputGZip--raw"/>The &quot;<literal>raw</literal>&quot; property</title>
<indexterm><primary>GsfOutputGZip:raw</primary></indexterm><programlisting>  &quot;raw&quot;                      <link linkend="gboolean">gboolean</link>              : Read / Write / Construct Only</programlisting>
<para>Whether to write compressed data with no header/tailer.</para><para>Default value: FALSE</para>
</refsect2>
<refsect2><title><anchor id="GsfOutputGZip--sink"/>The &quot;<literal>sink</literal>&quot; property</title>
<indexterm><primary>GsfOutputGZip:sink</primary></indexterm><programlisting>  &quot;sink&quot;                     <link linkend="GsfOutput">GsfOutput</link>             : Read / Write / Construct Only</programlisting>
<para>Where the compressed data is written.</para></refsect2>

</refsect1>




</refentry>