| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 5 |
<title>GIO: GSF Reference Manual</title> |
| 6 |
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> |
| 7 |
<link rel="home" href="index.html" title="GSF Reference Manual"> |
| 8 |
<link rel="up" href="sources.html" title="Stream Sources"> |
| 9 |
<link rel="prev" href="gsf-GIOChannel.html" title="GIOChannel"> |
| 10 |
<link rel="next" href="parsers.html" title="Stream Parsers"> |
| 11 |
<meta name="generator" content="GTK-Doc V1.34.0 (XML mode)"> |
| 12 |
<link rel="stylesheet" href="style.css" type="text/css"> |
| 13 |
</head> |
| 14 |
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
| 15 |
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> |
| 16 |
<td width="100%" align="left" class="shortcuts"> |
| 17 |
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> |
| 18 |
<a href="#gsf-GIO.description" class="shortcut">Description</a></span> |
| 19 |
</td> |
| 20 |
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> |
| 21 |
<td><a accesskey="u" href="sources.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> |
| 22 |
<td><a accesskey="p" href="gsf-GIOChannel.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> |
| 23 |
<td><a accesskey="n" href="parsers.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> |
| 24 |
</tr></table> |
| 25 |
<div class="refentry"> |
| 26 |
<a name="gsf-GIO"></a><div class="titlepage"></div> |
| 27 |
<div class="refnamediv"><table width="100%"><tr> |
| 28 |
<td valign="top"> |
| 29 |
<h2><span class="refentrytitle"><a name="gsf-GIO.top_of_page"></a>GIO</span></h2> |
| 30 |
<p>GIO</p> |
| 31 |
</td> |
| 32 |
<td class="gallery_image" valign="top" align="right"></td> |
| 33 |
</tr></table></div> |
| 34 |
<div class="refsect1"> |
| 35 |
<a name="gsf-GIO.functions"></a><h2>Functions</h2> |
| 36 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 37 |
<colgroup> |
| 38 |
<col width="150px" class="functions_proto_type"> |
| 39 |
<col class="functions_proto_name"> |
| 40 |
</colgroup> |
| 41 |
<tbody> |
| 42 |
<tr> |
| 43 |
<td class="function_type"> |
| 44 |
<a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="returnvalue">GsfInput</span></a> * |
| 45 |
</td> |
| 46 |
<td class="function_name"> |
| 47 |
<a class="link" href="gsf-GIO.html#gsf-input-gio-new" title="gsf_input_gio_new ()">gsf_input_gio_new</a> <span class="c_punctuation">()</span> |
| 48 |
</td> |
| 49 |
</tr> |
| 50 |
<tr> |
| 51 |
<td class="function_type"> |
| 52 |
<a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="returnvalue">GsfInput</span></a> * |
| 53 |
</td> |
| 54 |
<td class="function_name"> |
| 55 |
<a class="link" href="gsf-GIO.html#gsf-input-gio-new-for-path" title="gsf_input_gio_new_for_path ()">gsf_input_gio_new_for_path</a> <span class="c_punctuation">()</span> |
| 56 |
</td> |
| 57 |
</tr> |
| 58 |
<tr> |
| 59 |
<td class="function_type"> |
| 60 |
<a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="returnvalue">GsfInput</span></a> * |
| 61 |
</td> |
| 62 |
<td class="function_name"> |
| 63 |
<a class="link" href="gsf-GIO.html#gsf-input-gio-new-for-uri" title="gsf_input_gio_new_for_uri ()">gsf_input_gio_new_for_uri</a> <span class="c_punctuation">()</span> |
| 64 |
</td> |
| 65 |
</tr> |
| 66 |
<tr> |
| 67 |
<td class="function_type"> |
| 68 |
<a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="returnvalue">GsfOutput</span></a> * |
| 69 |
</td> |
| 70 |
<td class="function_name"> |
| 71 |
<a class="link" href="gsf-GIO.html#gsf-output-gio-new" title="gsf_output_gio_new ()">gsf_output_gio_new</a> <span class="c_punctuation">()</span> |
| 72 |
</td> |
| 73 |
</tr> |
| 74 |
<tr> |
| 75 |
<td class="function_type"> |
| 76 |
<a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="returnvalue">GsfOutput</span></a> * |
| 77 |
</td> |
| 78 |
<td class="function_name"> |
| 79 |
<a class="link" href="gsf-GIO.html#gsf-output-gio-new-for-path" title="gsf_output_gio_new_for_path ()">gsf_output_gio_new_for_path</a> <span class="c_punctuation">()</span> |
| 80 |
</td> |
| 81 |
</tr> |
| 82 |
<tr> |
| 83 |
<td class="function_type"> |
| 84 |
<a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="returnvalue">GsfOutput</span></a> * |
| 85 |
</td> |
| 86 |
<td class="function_name"> |
| 87 |
<a class="link" href="gsf-GIO.html#gsf-output-gio-new-for-uri" title="gsf_output_gio_new_for_uri ()">gsf_output_gio_new_for_uri</a> <span class="c_punctuation">()</span> |
| 88 |
</td> |
| 89 |
</tr> |
| 90 |
</tbody> |
| 91 |
</table></div> |
| 92 |
</div> |
| 93 |
<div class="refsect1"> |
| 94 |
<a name="gsf-GIO.other"></a><h2>Types and Values</h2> |
| 95 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 96 |
<colgroup> |
| 97 |
<col width="150px" class="other_proto_type"> |
| 98 |
<col class="other_proto_name"> |
| 99 |
</colgroup> |
| 100 |
<tbody> |
| 101 |
<tr> |
| 102 |
<td class="datatype_keyword"> </td> |
| 103 |
<td class="function_name"><a class="link" href="gsf-GIO.html#GsfInputGio" title="GsfInputGio">GsfInputGio</a></td> |
| 104 |
</tr> |
| 105 |
<tr> |
| 106 |
<td class="datatype_keyword"> </td> |
| 107 |
<td class="function_name"><a class="link" href="gsf-GIO.html#GsfOutputGio" title="GsfOutputGio">GsfOutputGio</a></td> |
| 108 |
</tr> |
| 109 |
</tbody> |
| 110 |
</table></div> |
| 111 |
</div> |
| 112 |
<div class="refsect1"> |
| 113 |
<a name="gsf-GIO.description"></a><h2>Description</h2> |
| 114 |
</div> |
| 115 |
<div class="refsect1"> |
| 116 |
<a name="gsf-GIO.functions_details"></a><h2>Functions</h2> |
| 117 |
<div class="refsect2"> |
| 118 |
<a name="gsf-input-gio-new"></a><h3>gsf_input_gio_new ()</h3> |
| 119 |
<pre class="programlisting"><a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="returnvalue">GsfInput</span></a> * |
| 120 |
gsf_input_gio_new (<em class="parameter"><code><span class="type">GFile</span> *file</code></em>, |
| 121 |
<em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> |
| 122 |
<div class="refsect3"> |
| 123 |
<a name="gsf-input-gio-new.parameters"></a><h4>Parameters</h4> |
| 124 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 125 |
<colgroup> |
| 126 |
<col width="150px" class="parameters_name"> |
| 127 |
<col class="parameters_description"> |
| 128 |
<col width="200px" class="parameters_annotations"> |
| 129 |
</colgroup> |
| 130 |
<tbody><tr> |
| 131 |
<td class="parameter_name"><p>err</p></td> |
| 132 |
<td class="parameter_description"><p>place to store a <span class="type">GError</span> if anything goes wrong. </p></td> |
| 133 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> |
| 134 |
</tr></tbody> |
| 135 |
</table></div> |
| 136 |
</div> |
| 137 |
<div class="refsect3"> |
| 138 |
<a name="gsf-input-gio-new.returns"></a><h4>Returns</h4> |
| 139 |
<p> A new <a class="link" href="gsf-GIO.html#GsfInputGio" title="GsfInputGio"><span class="type">GsfInputGio</span></a> or <code class="literal">NULL</code></p> |
| 140 |
</div> |
| 141 |
</div> |
| 142 |
<hr> |
| 143 |
<div class="refsect2"> |
| 144 |
<a name="gsf-input-gio-new-for-path"></a><h3>gsf_input_gio_new_for_path ()</h3> |
| 145 |
<pre class="programlisting"><a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="returnvalue">GsfInput</span></a> * |
| 146 |
gsf_input_gio_new_for_path (<em class="parameter"><code><span class="type">char</span> const *path</code></em>, |
| 147 |
<em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> |
| 148 |
<div class="refsect3"> |
| 149 |
<a name="gsf-input-gio-new-for-path.parameters"></a><h4>Parameters</h4> |
| 150 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 151 |
<colgroup> |
| 152 |
<col width="150px" class="parameters_name"> |
| 153 |
<col class="parameters_description"> |
| 154 |
<col width="200px" class="parameters_annotations"> |
| 155 |
</colgroup> |
| 156 |
<tbody><tr> |
| 157 |
<td class="parameter_name"><p>err</p></td> |
| 158 |
<td class="parameter_description"><p>place to store a <span class="type">GError</span> if anything goes wrong. </p></td> |
| 159 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> |
| 160 |
</tr></tbody> |
| 161 |
</table></div> |
| 162 |
</div> |
| 163 |
<div class="refsect3"> |
| 164 |
<a name="gsf-input-gio-new-for-path.returns"></a><h4>Returns</h4> |
| 165 |
<p> A new <a class="link" href="gsf-GIO.html#GsfInputGio" title="GsfInputGio"><span class="type">GsfInputGio</span></a> or <code class="literal">NULL</code></p> |
| 166 |
</div> |
| 167 |
</div> |
| 168 |
<hr> |
| 169 |
<div class="refsect2"> |
| 170 |
<a name="gsf-input-gio-new-for-uri"></a><h3>gsf_input_gio_new_for_uri ()</h3> |
| 171 |
<pre class="programlisting"><a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="returnvalue">GsfInput</span></a> * |
| 172 |
gsf_input_gio_new_for_uri (<em class="parameter"><code><span class="type">char</span> const *uri</code></em>, |
| 173 |
<em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> |
| 174 |
<div class="refsect3"> |
| 175 |
<a name="gsf-input-gio-new-for-uri.parameters"></a><h4>Parameters</h4> |
| 176 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 177 |
<colgroup> |
| 178 |
<col width="150px" class="parameters_name"> |
| 179 |
<col class="parameters_description"> |
| 180 |
<col width="200px" class="parameters_annotations"> |
| 181 |
</colgroup> |
| 182 |
<tbody><tr> |
| 183 |
<td class="parameter_name"><p>err</p></td> |
| 184 |
<td class="parameter_description"><p>place to store a <span class="type">GError</span> if anything goes wrong. </p></td> |
| 185 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> |
| 186 |
</tr></tbody> |
| 187 |
</table></div> |
| 188 |
</div> |
| 189 |
<div class="refsect3"> |
| 190 |
<a name="gsf-input-gio-new-for-uri.returns"></a><h4>Returns</h4> |
| 191 |
<p> A new <a class="link" href="gsf-GIO.html#GsfInputGio" title="GsfInputGio"><span class="type">GsfInputGio</span></a> or <code class="literal">NULL</code></p> |
| 192 |
</div> |
| 193 |
</div> |
| 194 |
<hr> |
| 195 |
<div class="refsect2"> |
| 196 |
<a name="gsf-output-gio-new"></a><h3>gsf_output_gio_new ()</h3> |
| 197 |
<pre class="programlisting"><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="returnvalue">GsfOutput</span></a> * |
| 198 |
gsf_output_gio_new (<em class="parameter"><code><span class="type">GFile</span> *file</code></em>);</pre> |
| 199 |
<div class="refsect3"> |
| 200 |
<a name="gsf-output-gio-new.parameters"></a><h4>Parameters</h4> |
| 201 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 202 |
<colgroup> |
| 203 |
<col width="150px" class="parameters_name"> |
| 204 |
<col class="parameters_description"> |
| 205 |
<col width="200px" class="parameters_annotations"> |
| 206 |
</colgroup> |
| 207 |
<tbody><tr> |
| 208 |
<td class="parameter_name"><p>file</p></td> |
| 209 |
<td class="parameter_description"><p>an existing GFile</p></td> |
| 210 |
<td class="parameter_annotations"> </td> |
| 211 |
</tr></tbody> |
| 212 |
</table></div> |
| 213 |
</div> |
| 214 |
<div class="refsect3"> |
| 215 |
<a name="gsf-output-gio-new.returns"></a><h4>Returns</h4> |
| 216 |
<p>A new <a class="link" href="gsf-GIO.html#GsfOutputGio" title="GsfOutputGio"><span class="type">GsfOutputGio</span></a> or <code class="literal">NULL</code>. </p> |
| 217 |
<p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></p> |
| 218 |
</div> |
| 219 |
</div> |
| 220 |
<hr> |
| 221 |
<div class="refsect2"> |
| 222 |
<a name="gsf-output-gio-new-for-path"></a><h3>gsf_output_gio_new_for_path ()</h3> |
| 223 |
<pre class="programlisting"><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="returnvalue">GsfOutput</span></a> * |
| 224 |
gsf_output_gio_new_for_path (<em class="parameter"><code><span class="type">char</span> const *path</code></em>, |
| 225 |
<em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> |
| 226 |
<div class="refsect3"> |
| 227 |
<a name="gsf-output-gio-new-for-path.parameters"></a><h4>Parameters</h4> |
| 228 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 229 |
<colgroup> |
| 230 |
<col width="150px" class="parameters_name"> |
| 231 |
<col class="parameters_description"> |
| 232 |
<col width="200px" class="parameters_annotations"> |
| 233 |
</colgroup> |
| 234 |
<tbody><tr> |
| 235 |
<td class="parameter_name"><p>err</p></td> |
| 236 |
<td class="parameter_description"><p>place to store a <span class="type">GError</span> if anything goes wrong. </p></td> |
| 237 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> |
| 238 |
</tr></tbody> |
| 239 |
</table></div> |
| 240 |
</div> |
| 241 |
<div class="refsect3"> |
| 242 |
<a name="gsf-output-gio-new-for-path.returns"></a><h4>Returns</h4> |
| 243 |
<p>A new <a class="link" href="gsf-GIO.html#GsfOutputGio" title="GsfOutputGio"><span class="type">GsfOutputGio</span></a> or <code class="literal">NULL</code>. </p> |
| 244 |
<p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></p> |
| 245 |
</div> |
| 246 |
</div> |
| 247 |
<hr> |
| 248 |
<div class="refsect2"> |
| 249 |
<a name="gsf-output-gio-new-for-uri"></a><h3>gsf_output_gio_new_for_uri ()</h3> |
| 250 |
<pre class="programlisting"><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="returnvalue">GsfOutput</span></a> * |
| 251 |
gsf_output_gio_new_for_uri (<em class="parameter"><code><span class="type">char</span> const *uri</code></em>, |
| 252 |
<em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre> |
| 253 |
<div class="refsect3"> |
| 254 |
<a name="gsf-output-gio-new-for-uri.parameters"></a><h4>Parameters</h4> |
| 255 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 256 |
<colgroup> |
| 257 |
<col width="150px" class="parameters_name"> |
| 258 |
<col class="parameters_description"> |
| 259 |
<col width="200px" class="parameters_annotations"> |
| 260 |
</colgroup> |
| 261 |
<tbody><tr> |
| 262 |
<td class="parameter_name"><p>err</p></td> |
| 263 |
<td class="parameter_description"><p>place to store a <span class="type">GError</span> if anything goes wrong. </p></td> |
| 264 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> |
| 265 |
</tr></tbody> |
| 266 |
</table></div> |
| 267 |
</div> |
| 268 |
<div class="refsect3"> |
| 269 |
<a name="gsf-output-gio-new-for-uri.returns"></a><h4>Returns</h4> |
| 270 |
<p>A new <a class="link" href="gsf-GIO.html#GsfOutputGio" title="GsfOutputGio"><span class="type">GsfOutputGio</span></a> or <code class="literal">NULL</code>. </p> |
| 271 |
<p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></p> |
| 272 |
</div> |
| 273 |
</div> |
| 274 |
</div> |
| 275 |
<div class="refsect1"> |
| 276 |
<a name="gsf-GIO.other_details"></a><h2>Types and Values</h2> |
| 277 |
<div class="refsect2"> |
| 278 |
<a name="GsfInputGio"></a><h3>GsfInputGio</h3> |
| 279 |
<pre class="programlisting">typedef struct _GsfInputGio GsfInputGio;</pre> |
| 280 |
</div> |
| 281 |
<hr> |
| 282 |
<div class="refsect2"> |
| 283 |
<a name="GsfOutputGio"></a><h3>GsfOutputGio</h3> |
| 284 |
<pre class="programlisting">typedef struct _GsfOutputGio GsfOutputGio;</pre> |
| 285 |
</div> |
| 286 |
</div> |
| 287 |
</div> |
| 288 |
<div class="footer"> |
| 289 |
<hr>Generated by GTK-Doc V1.34.0</div> |
| 290 |
</body> |
| 291 |
</html> |