| 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>Utilities: 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="misc.html" title="Miscellaneous"> |
| 9 |
<link rel="prev" href="misc.html" title="Miscellaneous"> |
| 10 |
<link rel="next" href="gsf-index.html" title="Index"> |
| 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-Utilities.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> |
| 19 |
<a href="#gsf-Utilities.object-hierarchy" class="shortcut">Object Hierarchy</a></span> |
| 20 |
</td> |
| 21 |
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> |
| 22 |
<td><a accesskey="u" href="misc.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> |
| 23 |
<td><a accesskey="p" href="misc.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> |
| 24 |
<td><a accesskey="n" href="gsf-index.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> |
| 25 |
</tr></table> |
| 26 |
<div class="refentry"> |
| 27 |
<a name="gsf-Utilities"></a><div class="titlepage"></div> |
| 28 |
<div class="refnamediv"><table width="100%"><tr> |
| 29 |
<td valign="top"> |
| 30 |
<h2><span class="refentrytitle"><a name="gsf-Utilities.top_of_page"></a>Utilities</span></h2> |
| 31 |
<p>Utilities</p> |
| 32 |
</td> |
| 33 |
<td class="gallery_image" valign="top" align="right"></td> |
| 34 |
</tr></table></div> |
| 35 |
<div class="refsect1"> |
| 36 |
<a name="gsf-Utilities.functions"></a><h2>Functions</h2> |
| 37 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 38 |
<colgroup> |
| 39 |
<col width="150px" class="functions_proto_type"> |
| 40 |
<col class="functions_proto_name"> |
| 41 |
</colgroup> |
| 42 |
<tbody> |
| 43 |
<tr> |
| 44 |
<td class="function_type"> |
| 45 |
<span class="returnvalue">void</span> |
| 46 |
</td> |
| 47 |
<td class="function_name"> |
| 48 |
<a class="link" href="gsf-Utilities.html#gsf-init" title="gsf_init ()">gsf_init</a> <span class="c_punctuation">()</span> |
| 49 |
</td> |
| 50 |
</tr> |
| 51 |
<tr> |
| 52 |
<td class="function_type"> |
| 53 |
<span class="returnvalue">void</span> |
| 54 |
</td> |
| 55 |
<td class="function_name"> |
| 56 |
<a class="link" href="gsf-Utilities.html#gsf-shutdown" title="gsf_shutdown ()">gsf_shutdown</a> <span class="c_punctuation">()</span> |
| 57 |
</td> |
| 58 |
</tr> |
| 59 |
<tr> |
| 60 |
<td class="function_type"> |
| 61 |
<span class="returnvalue">void</span> |
| 62 |
</td> |
| 63 |
<td class="function_name"> |
| 64 |
<a class="link" href="gsf-Utilities.html#gsf-init-dynamic" title="gsf_init_dynamic ()">gsf_init_dynamic</a> <span class="c_punctuation">()</span> |
| 65 |
</td> |
| 66 |
</tr> |
| 67 |
<tr> |
| 68 |
<td class="function_type"> |
| 69 |
<span class="returnvalue">void</span> |
| 70 |
</td> |
| 71 |
<td class="function_name"> |
| 72 |
<a class="link" href="gsf-Utilities.html#gsf-shutdown-dynamic" title="gsf_shutdown_dynamic ()">gsf_shutdown_dynamic</a> <span class="c_punctuation">()</span> |
| 73 |
</td> |
| 74 |
</tr> |
| 75 |
<tr> |
| 76 |
<td class="define_keyword">#define</td> |
| 77 |
<td class="function_name"> |
| 78 |
<a class="link" href="gsf-Utilities.html#GSF-CLASS:CAPS" title="GSF_CLASS()">GSF_CLASS</a><span class="c_punctuation">()</span> |
| 79 |
</td> |
| 80 |
</tr> |
| 81 |
<tr> |
| 82 |
<td class="define_keyword">#define</td> |
| 83 |
<td class="function_name"> |
| 84 |
<a class="link" href="gsf-Utilities.html#GSF-CLASS-FULL:CAPS" title="GSF_CLASS_FULL()">GSF_CLASS_FULL</a><span class="c_punctuation">()</span> |
| 85 |
</td> |
| 86 |
</tr> |
| 87 |
<tr> |
| 88 |
<td class="define_keyword">#define</td> |
| 89 |
<td class="function_name"> |
| 90 |
<a class="link" href="gsf-Utilities.html#GSF-CLASS-ABSTRACT:CAPS" title="GSF_CLASS_ABSTRACT()">GSF_CLASS_ABSTRACT</a><span class="c_punctuation">()</span> |
| 91 |
</td> |
| 92 |
</tr> |
| 93 |
<tr> |
| 94 |
<td class="define_keyword">#define</td> |
| 95 |
<td class="function_name"> |
| 96 |
<a class="link" href="gsf-Utilities.html#GSF-INTERFACE:CAPS" title="GSF_INTERFACE()">GSF_INTERFACE</a><span class="c_punctuation">()</span> |
| 97 |
</td> |
| 98 |
</tr> |
| 99 |
<tr> |
| 100 |
<td class="define_keyword">#define</td> |
| 101 |
<td class="function_name"> |
| 102 |
<a class="link" href="gsf-Utilities.html#GSF-INTERFACE-FULL:CAPS" title="GSF_INTERFACE_FULL()">GSF_INTERFACE_FULL</a><span class="c_punctuation">()</span> |
| 103 |
</td> |
| 104 |
</tr> |
| 105 |
<tr> |
| 106 |
<td class="define_keyword">#define</td> |
| 107 |
<td class="function_name"> |
| 108 |
<a class="link" href="gsf-Utilities.html#GSF-DYNAMIC-CLASS:CAPS" title="GSF_DYNAMIC_CLASS()">GSF_DYNAMIC_CLASS</a><span class="c_punctuation">()</span> |
| 109 |
</td> |
| 110 |
</tr> |
| 111 |
<tr> |
| 112 |
<td class="define_keyword">#define</td> |
| 113 |
<td class="function_name"> |
| 114 |
<a class="link" href="gsf-Utilities.html#GSF-DYNAMIC-CLASS-FULL:CAPS" title="GSF_DYNAMIC_CLASS_FULL()">GSF_DYNAMIC_CLASS_FULL</a><span class="c_punctuation">()</span> |
| 115 |
</td> |
| 116 |
</tr> |
| 117 |
<tr> |
| 118 |
<td class="define_keyword">#define</td> |
| 119 |
<td class="function_name"> |
| 120 |
<a class="link" href="gsf-Utilities.html#GSF-DYNAMIC-CLASS-ABSTRACT:CAPS" title="GSF_DYNAMIC_CLASS_ABSTRACT()">GSF_DYNAMIC_CLASS_ABSTRACT</a><span class="c_punctuation">()</span> |
| 121 |
</td> |
| 122 |
</tr> |
| 123 |
<tr> |
| 124 |
<td class="define_keyword">#define</td> |
| 125 |
<td class="function_name"> |
| 126 |
<a class="link" href="gsf-Utilities.html#GSF-DYNAMIC-INTERFACE:CAPS" title="GSF_DYNAMIC_INTERFACE()">GSF_DYNAMIC_INTERFACE</a><span class="c_punctuation">()</span> |
| 127 |
</td> |
| 128 |
</tr> |
| 129 |
<tr> |
| 130 |
<td class="define_keyword">#define</td> |
| 131 |
<td class="function_name"> |
| 132 |
<a class="link" href="gsf-Utilities.html#GSF-DYNAMIC-INTERFACE-FULL:CAPS" title="GSF_DYNAMIC_INTERFACE_FULL()">GSF_DYNAMIC_INTERFACE_FULL</a><span class="c_punctuation">()</span> |
| 133 |
</td> |
| 134 |
</tr> |
| 135 |
<tr> |
| 136 |
<td class="function_type"> |
| 137 |
<span class="returnvalue">GQuark</span> |
| 138 |
</td> |
| 139 |
<td class="function_name"> |
| 140 |
<a class="link" href="gsf-Utilities.html#gsf-error-quark" title="gsf_error_quark ()">gsf_error_quark</a> <span class="c_punctuation">()</span> |
| 141 |
</td> |
| 142 |
</tr> |
| 143 |
<tr> |
| 144 |
<td class="function_type"> |
| 145 |
<span class="returnvalue">void</span> |
| 146 |
</td> |
| 147 |
<td class="function_name"> |
| 148 |
<a class="link" href="gsf-Utilities.html#gsf-mem-dump" title="gsf_mem_dump ()">gsf_mem_dump</a> <span class="c_punctuation">()</span> |
| 149 |
</td> |
| 150 |
</tr> |
| 151 |
<tr> |
| 152 |
<td class="function_type"> |
| 153 |
<span class="returnvalue">void</span> |
| 154 |
</td> |
| 155 |
<td class="function_name"> |
| 156 |
<a class="link" href="gsf-Utilities.html#gsf-input-dump" title="gsf_input_dump ()">gsf_input_dump</a> <span class="c_punctuation">()</span> |
| 157 |
</td> |
| 158 |
</tr> |
| 159 |
<tr> |
| 160 |
<td class="function_type"> |
| 161 |
<span class="returnvalue">gboolean</span> |
| 162 |
</td> |
| 163 |
<td class="function_name"> |
| 164 |
<a class="link" href="gsf-Utilities.html#gsf-debug-flag" title="gsf_debug_flag ()">gsf_debug_flag</a> <span class="c_punctuation">()</span> |
| 165 |
</td> |
| 166 |
</tr> |
| 167 |
<tr> |
| 168 |
<td class="function_type"> |
| 169 |
<span class="returnvalue">char</span> * |
| 170 |
</td> |
| 171 |
<td class="function_name"> |
| 172 |
<a class="link" href="gsf-Utilities.html#gsf-filename-to-utf8" title="gsf_filename_to_utf8 ()">gsf_filename_to_utf8</a> <span class="c_punctuation">()</span> |
| 173 |
</td> |
| 174 |
</tr> |
| 175 |
<tr> |
| 176 |
<td class="function_type"> |
| 177 |
<span class="returnvalue">void</span> |
| 178 |
</td> |
| 179 |
<td class="function_name"> |
| 180 |
<a class="link" href="gsf-Utilities.html#gsf-iconv-close" title="gsf_iconv_close ()">gsf_iconv_close</a> <span class="c_punctuation">()</span> |
| 181 |
</td> |
| 182 |
</tr> |
| 183 |
<tr> |
| 184 |
<td class="function_type"> |
| 185 |
<span class="returnvalue">char</span> const * |
| 186 |
</td> |
| 187 |
<td class="function_name"> |
| 188 |
<a class="link" href="gsf-Utilities.html#gsf-extension-pointer" title="gsf_extension_pointer ()">gsf_extension_pointer</a> <span class="c_punctuation">()</span> |
| 189 |
</td> |
| 190 |
</tr> |
| 191 |
<tr> |
| 192 |
<td class="function_type"> |
| 193 |
<span class="returnvalue">guint8</span> * |
| 194 |
</td> |
| 195 |
<td class="function_name"> |
| 196 |
<a class="link" href="gsf-Utilities.html#gsf-base64-encode-simple" title="gsf_base64_encode_simple ()">gsf_base64_encode_simple</a> <span class="c_punctuation">()</span> |
| 197 |
</td> |
| 198 |
</tr> |
| 199 |
<tr> |
| 200 |
<td class="function_type"> |
| 201 |
<span class="returnvalue">size_t</span> |
| 202 |
</td> |
| 203 |
<td class="function_name"> |
| 204 |
<a class="link" href="gsf-Utilities.html#gsf-base64-encode-close" title="gsf_base64_encode_close ()">gsf_base64_encode_close</a> <span class="c_punctuation">()</span> |
| 205 |
</td> |
| 206 |
</tr> |
| 207 |
<tr> |
| 208 |
<td class="function_type"> |
| 209 |
<span class="returnvalue">size_t</span> |
| 210 |
</td> |
| 211 |
<td class="function_name"> |
| 212 |
<a class="link" href="gsf-Utilities.html#gsf-base64-encode-step" title="gsf_base64_encode_step ()">gsf_base64_encode_step</a> <span class="c_punctuation">()</span> |
| 213 |
</td> |
| 214 |
</tr> |
| 215 |
<tr> |
| 216 |
<td class="function_type"> |
| 217 |
<span class="returnvalue">size_t</span> |
| 218 |
</td> |
| 219 |
<td class="function_name"> |
| 220 |
<a class="link" href="gsf-Utilities.html#gsf-base64-decode-simple" title="gsf_base64_decode_simple ()">gsf_base64_decode_simple</a> <span class="c_punctuation">()</span> |
| 221 |
</td> |
| 222 |
</tr> |
| 223 |
<tr> |
| 224 |
<td class="function_type"> |
| 225 |
<span class="returnvalue">size_t</span> |
| 226 |
</td> |
| 227 |
<td class="function_name"> |
| 228 |
<a class="link" href="gsf-Utilities.html#gsf-base64-decode-step" title="gsf_base64_decode_step ()">gsf_base64_decode_step</a> <span class="c_punctuation">()</span> |
| 229 |
</td> |
| 230 |
</tr> |
| 231 |
<tr> |
| 232 |
<td class="define_keyword">#define</td> |
| 233 |
<td class="function_name"> |
| 234 |
<a class="link" href="gsf-Utilities.html#GSF-LE-GET-GINT8:CAPS" title="GSF_LE_GET_GINT8()">GSF_LE_GET_GINT8</a><span class="c_punctuation">()</span> |
| 235 |
</td> |
| 236 |
</tr> |
| 237 |
<tr> |
| 238 |
<td class="define_keyword">#define</td> |
| 239 |
<td class="function_name"> |
| 240 |
<a class="link" href="gsf-Utilities.html#GSF-LE-GET-GUINT64:CAPS" title="GSF_LE_GET_GUINT64()">GSF_LE_GET_GUINT64</a><span class="c_punctuation">()</span> |
| 241 |
</td> |
| 242 |
</tr> |
| 243 |
<tr> |
| 244 |
<td class="define_keyword">#define</td> |
| 245 |
<td class="function_name"> |
| 246 |
<a class="link" href="gsf-Utilities.html#GSF-LE-GET-GINT16:CAPS" title="GSF_LE_GET_GINT16()">GSF_LE_GET_GINT16</a><span class="c_punctuation">()</span> |
| 247 |
</td> |
| 248 |
</tr> |
| 249 |
<tr> |
| 250 |
<td class="define_keyword">#define</td> |
| 251 |
<td class="function_name"> |
| 252 |
<a class="link" href="gsf-Utilities.html#GSF-LE-GET-GUINT8:CAPS" title="GSF_LE_GET_GUINT8()">GSF_LE_GET_GUINT8</a><span class="c_punctuation">()</span> |
| 253 |
</td> |
| 254 |
</tr> |
| 255 |
<tr> |
| 256 |
<td class="define_keyword">#define</td> |
| 257 |
<td class="function_name"> |
| 258 |
<a class="link" href="gsf-Utilities.html#GSF-LE-GET-GINT32:CAPS" title="GSF_LE_GET_GINT32()">GSF_LE_GET_GINT32</a><span class="c_punctuation">()</span> |
| 259 |
</td> |
| 260 |
</tr> |
| 261 |
<tr> |
| 262 |
<td class="define_keyword">#define</td> |
| 263 |
<td class="function_name"> |
| 264 |
<a class="link" href="gsf-Utilities.html#GSF-LE-GET-GUINT16:CAPS" title="GSF_LE_GET_GUINT16()">GSF_LE_GET_GUINT16</a><span class="c_punctuation">()</span> |
| 265 |
</td> |
| 266 |
</tr> |
| 267 |
<tr> |
| 268 |
<td class="define_keyword">#define</td> |
| 269 |
<td class="function_name"> |
| 270 |
<a class="link" href="gsf-Utilities.html#GSF-LE-GET-GUINT32:CAPS" title="GSF_LE_GET_GUINT32()">GSF_LE_GET_GUINT32</a><span class="c_punctuation">()</span> |
| 271 |
</td> |
| 272 |
</tr> |
| 273 |
<tr> |
| 274 |
<td class="define_keyword">#define</td> |
| 275 |
<td class="function_name"> |
| 276 |
<a class="link" href="gsf-Utilities.html#GSF-LE-GET-GINT64:CAPS" title="GSF_LE_GET_GINT64()">GSF_LE_GET_GINT64</a><span class="c_punctuation">()</span> |
| 277 |
</td> |
| 278 |
</tr> |
| 279 |
<tr> |
| 280 |
<td class="function_type"> |
| 281 |
<span class="returnvalue">guint64</span> |
| 282 |
</td> |
| 283 |
<td class="function_name"> |
| 284 |
<a class="link" href="gsf-Utilities.html#gsf-le-get-guint64" title="gsf_le_get_guint64 ()">gsf_le_get_guint64</a> <span class="c_punctuation">()</span> |
| 285 |
</td> |
| 286 |
</tr> |
| 287 |
<tr> |
| 288 |
<td class="define_keyword">#define</td> |
| 289 |
<td class="function_name"> |
| 290 |
<a class="link" href="gsf-Utilities.html#GSF-LE-GET-FLOAT:CAPS" title="GSF_LE_GET_FLOAT()">GSF_LE_GET_FLOAT</a><span class="c_punctuation">()</span> |
| 291 |
</td> |
| 292 |
</tr> |
| 293 |
<tr> |
| 294 |
<td class="function_type"> |
| 295 |
<span class="returnvalue">float</span> |
| 296 |
</td> |
| 297 |
<td class="function_name"> |
| 298 |
<a class="link" href="gsf-Utilities.html#gsf-le-get-float" title="gsf_le_get_float ()">gsf_le_get_float</a> <span class="c_punctuation">()</span> |
| 299 |
</td> |
| 300 |
</tr> |
| 301 |
<tr> |
| 302 |
<td class="define_keyword">#define</td> |
| 303 |
<td class="function_name"> |
| 304 |
<a class="link" href="gsf-Utilities.html#GSF-LE-GET-DOUBLE:CAPS" title="GSF_LE_GET_DOUBLE()">GSF_LE_GET_DOUBLE</a><span class="c_punctuation">()</span> |
| 305 |
</td> |
| 306 |
</tr> |
| 307 |
<tr> |
| 308 |
<td class="function_type"> |
| 309 |
<span class="returnvalue">double</span> |
| 310 |
</td> |
| 311 |
<td class="function_name"> |
| 312 |
<a class="link" href="gsf-Utilities.html#gsf-le-get-double" title="gsf_le_get_double ()">gsf_le_get_double</a> <span class="c_punctuation">()</span> |
| 313 |
</td> |
| 314 |
</tr> |
| 315 |
<tr> |
| 316 |
<td class="define_keyword">#define</td> |
| 317 |
<td class="function_name"> |
| 318 |
<a class="link" href="gsf-Utilities.html#GSF-LE-SET-GUINT8:CAPS" title="GSF_LE_SET_GUINT8()">GSF_LE_SET_GUINT8</a><span class="c_punctuation">()</span> |
| 319 |
</td> |
| 320 |
</tr> |
| 321 |
<tr> |
| 322 |
<td class="define_keyword">#define</td> |
| 323 |
<td class="function_name"> |
| 324 |
<a class="link" href="gsf-Utilities.html#GSF-LE-SET-GUINT16:CAPS" title="GSF_LE_SET_GUINT16()">GSF_LE_SET_GUINT16</a><span class="c_punctuation">()</span> |
| 325 |
</td> |
| 326 |
</tr> |
| 327 |
<tr> |
| 328 |
<td class="define_keyword">#define</td> |
| 329 |
<td class="function_name"> |
| 330 |
<a class="link" href="gsf-Utilities.html#GSF-LE-SET-GUINT32:CAPS" title="GSF_LE_SET_GUINT32()">GSF_LE_SET_GUINT32</a><span class="c_punctuation">()</span> |
| 331 |
</td> |
| 332 |
</tr> |
| 333 |
<tr> |
| 334 |
<td class="define_keyword">#define</td> |
| 335 |
<td class="function_name"> |
| 336 |
<a class="link" href="gsf-Utilities.html#GSF-LE-SET-GINT8:CAPS" title="GSF_LE_SET_GINT8()">GSF_LE_SET_GINT8</a><span class="c_punctuation">()</span> |
| 337 |
</td> |
| 338 |
</tr> |
| 339 |
<tr> |
| 340 |
<td class="define_keyword">#define</td> |
| 341 |
<td class="function_name"> |
| 342 |
<a class="link" href="gsf-Utilities.html#GSF-LE-SET-GINT16:CAPS" title="GSF_LE_SET_GINT16()">GSF_LE_SET_GINT16</a><span class="c_punctuation">()</span> |
| 343 |
</td> |
| 344 |
</tr> |
| 345 |
<tr> |
| 346 |
<td class="define_keyword">#define</td> |
| 347 |
<td class="function_name"> |
| 348 |
<a class="link" href="gsf-Utilities.html#GSF-LE-SET-GINT32:CAPS" title="GSF_LE_SET_GINT32()">GSF_LE_SET_GINT32</a><span class="c_punctuation">()</span> |
| 349 |
</td> |
| 350 |
</tr> |
| 351 |
<tr> |
| 352 |
<td class="define_keyword">#define</td> |
| 353 |
<td class="function_name"> |
| 354 |
<a class="link" href="gsf-Utilities.html#GSF-LE-SET-GINT64:CAPS" title="GSF_LE_SET_GINT64()">GSF_LE_SET_GINT64</a><span class="c_punctuation">()</span> |
| 355 |
</td> |
| 356 |
</tr> |
| 357 |
<tr> |
| 358 |
<td class="define_keyword">#define</td> |
| 359 |
<td class="function_name"> |
| 360 |
<a class="link" href="gsf-Utilities.html#GSF-LE-SET-GUINT64:CAPS" title="GSF_LE_SET_GUINT64()">GSF_LE_SET_GUINT64</a><span class="c_punctuation">()</span> |
| 361 |
</td> |
| 362 |
</tr> |
| 363 |
<tr> |
| 364 |
<td class="define_keyword">#define</td> |
| 365 |
<td class="function_name"> |
| 366 |
<a class="link" href="gsf-Utilities.html#GSF-LE-SET-FLOAT:CAPS" title="GSF_LE_SET_FLOAT()">GSF_LE_SET_FLOAT</a><span class="c_punctuation">()</span> |
| 367 |
</td> |
| 368 |
</tr> |
| 369 |
<tr> |
| 370 |
<td class="define_keyword">#define</td> |
| 371 |
<td class="function_name"> |
| 372 |
<a class="link" href="gsf-Utilities.html#GSF-LE-SET-DOUBLE:CAPS" title="GSF_LE_SET_DOUBLE()">GSF_LE_SET_DOUBLE</a><span class="c_punctuation">()</span> |
| 373 |
</td> |
| 374 |
</tr> |
| 375 |
<tr> |
| 376 |
<td class="function_type"> |
| 377 |
<span class="returnvalue">void</span> |
| 378 |
</td> |
| 379 |
<td class="function_name"> |
| 380 |
<a class="link" href="gsf-Utilities.html#gsf-le-set-float" title="gsf_le_set_float ()">gsf_le_set_float</a> <span class="c_punctuation">()</span> |
| 381 |
</td> |
| 382 |
</tr> |
| 383 |
<tr> |
| 384 |
<td class="function_type"> |
| 385 |
<span class="returnvalue">void</span> |
| 386 |
</td> |
| 387 |
<td class="function_name"> |
| 388 |
<a class="link" href="gsf-Utilities.html#gsf-le-set-double" title="gsf_le_set_double ()">gsf_le_set_double</a> <span class="c_punctuation">()</span> |
| 389 |
</td> |
| 390 |
</tr> |
| 391 |
<tr> |
| 392 |
<td class="function_type"> |
| 393 |
<a class="link" href="gsf-Utilities.html#GsfTimestamp"><span class="returnvalue">GsfTimestamp</span></a> * |
| 394 |
</td> |
| 395 |
<td class="function_name"> |
| 396 |
<a class="link" href="gsf-Utilities.html#gsf-timestamp-new" title="gsf_timestamp_new ()">gsf_timestamp_new</a> <span class="c_punctuation">()</span> |
| 397 |
</td> |
| 398 |
</tr> |
| 399 |
<tr> |
| 400 |
<td class="function_type"> |
| 401 |
<span class="returnvalue">void</span> |
| 402 |
</td> |
| 403 |
<td class="function_name"> |
| 404 |
<a class="link" href="gsf-Utilities.html#gsf-timestamp-set-time" title="gsf_timestamp_set_time ()">gsf_timestamp_set_time</a> <span class="c_punctuation">()</span> |
| 405 |
</td> |
| 406 |
</tr> |
| 407 |
<tr> |
| 408 |
<td class="function_type"> |
| 409 |
<a class="link" href="gsf-Utilities.html#GsfTimestamp"><span class="returnvalue">GsfTimestamp</span></a> * |
| 410 |
</td> |
| 411 |
<td class="function_name"> |
| 412 |
<a class="link" href="gsf-Utilities.html#gsf-timestamp-copy" title="gsf_timestamp_copy ()">gsf_timestamp_copy</a> <span class="c_punctuation">()</span> |
| 413 |
</td> |
| 414 |
</tr> |
| 415 |
<tr> |
| 416 |
<td class="function_type"> |
| 417 |
<span class="returnvalue">void</span> |
| 418 |
</td> |
| 419 |
<td class="function_name"> |
| 420 |
<a class="link" href="gsf-Utilities.html#gsf-timestamp-free" title="gsf_timestamp_free ()">gsf_timestamp_free</a> <span class="c_punctuation">()</span> |
| 421 |
</td> |
| 422 |
</tr> |
| 423 |
<tr> |
| 424 |
<td class="function_type"> |
| 425 |
<span class="returnvalue">char</span> * |
| 426 |
</td> |
| 427 |
<td class="function_name"> |
| 428 |
<a class="link" href="gsf-Utilities.html#gsf-timestamp-as-string" title="gsf_timestamp_as_string ()">gsf_timestamp_as_string</a> <span class="c_punctuation">()</span> |
| 429 |
</td> |
| 430 |
</tr> |
| 431 |
<tr> |
| 432 |
<td class="function_type"> |
| 433 |
<span class="returnvalue">int</span> |
| 434 |
</td> |
| 435 |
<td class="function_name"> |
| 436 |
<a class="link" href="gsf-Utilities.html#gsf-timestamp-load-from-string" title="gsf_timestamp_load_from_string ()">gsf_timestamp_load_from_string</a> <span class="c_punctuation">()</span> |
| 437 |
</td> |
| 438 |
</tr> |
| 439 |
<tr> |
| 440 |
<td class="function_type"> |
| 441 |
<span class="returnvalue">int</span> |
| 442 |
</td> |
| 443 |
<td class="function_name"> |
| 444 |
<a class="link" href="gsf-Utilities.html#gsf-timestamp-from-string" title="gsf_timestamp_from_string ()">gsf_timestamp_from_string</a> <span class="c_punctuation">()</span> |
| 445 |
</td> |
| 446 |
</tr> |
| 447 |
<tr> |
| 448 |
<td class="function_type"> |
| 449 |
<span class="returnvalue">guint</span> |
| 450 |
</td> |
| 451 |
<td class="function_name"> |
| 452 |
<a class="link" href="gsf-Utilities.html#gsf-timestamp-hash" title="gsf_timestamp_hash ()">gsf_timestamp_hash</a> <span class="c_punctuation">()</span> |
| 453 |
</td> |
| 454 |
</tr> |
| 455 |
<tr> |
| 456 |
<td class="function_type"> |
| 457 |
<span class="returnvalue">gboolean</span> |
| 458 |
</td> |
| 459 |
<td class="function_name"> |
| 460 |
<a class="link" href="gsf-Utilities.html#gsf-timestamp-equal" title="gsf_timestamp_equal ()">gsf_timestamp_equal</a> <span class="c_punctuation">()</span> |
| 461 |
</td> |
| 462 |
</tr> |
| 463 |
<tr> |
| 464 |
<td class="function_type"> |
| 465 |
<span class="returnvalue">void</span> |
| 466 |
</td> |
| 467 |
<td class="function_name"> |
| 468 |
<a class="link" href="gsf-Utilities.html#gsf-timestamp-to-value" title="gsf_timestamp_to_value ()">gsf_timestamp_to_value</a> <span class="c_punctuation">()</span> |
| 469 |
</td> |
| 470 |
</tr> |
| 471 |
<tr> |
| 472 |
<td class="function_type"> |
| 473 |
<span class="returnvalue">void</span> |
| 474 |
</td> |
| 475 |
<td class="function_name"> |
| 476 |
<a class="link" href="gsf-Utilities.html#gsf-value-set-timestamp" title="gsf_value_set_timestamp ()">gsf_value_set_timestamp</a> <span class="c_punctuation">()</span> |
| 477 |
</td> |
| 478 |
</tr> |
| 479 |
<tr> |
| 480 |
<td class="define_keyword">#define</td> |
| 481 |
<td class="function_name"> |
| 482 |
<a class="link" href="gsf-Utilities.html#VAL-IS-GSF-TIMESTAMP:CAPS" title="VAL_IS_GSF_TIMESTAMP()">VAL_IS_GSF_TIMESTAMP</a><span class="c_punctuation">()</span> |
| 483 |
</td> |
| 484 |
</tr> |
| 485 |
<tr> |
| 486 |
<td class="function_type"> |
| 487 |
<span class="returnvalue">int</span> |
| 488 |
</td> |
| 489 |
<td class="function_name"> |
| 490 |
<a class="link" href="gsf-Utilities.html#gsf-timestamp-parse" title="gsf_timestamp_parse ()">gsf_timestamp_parse</a> <span class="c_punctuation">()</span> |
| 491 |
</td> |
| 492 |
</tr> |
| 493 |
<tr> |
| 494 |
<td class="function_type"> |
| 495 |
<span class="returnvalue">GValue</span> * |
| 496 |
</td> |
| 497 |
<td class="function_name"> |
| 498 |
<a class="link" href="gsf-Utilities.html#gsf-doc-prop-swap-val" title="gsf_doc_prop_swap_val ()">gsf_doc_prop_swap_val</a> <span class="c_punctuation">()</span> |
| 499 |
</td> |
| 500 |
</tr> |
| 501 |
<tr> |
| 502 |
<td class="function_type"> |
| 503 |
<span class="returnvalue">void</span> |
| 504 |
</td> |
| 505 |
<td class="function_name"> |
| 506 |
<a class="link" href="gsf-Utilities.html#gsf-property-settings-collect" title="gsf_property_settings_collect ()">gsf_property_settings_collect</a> <span class="c_punctuation">()</span> |
| 507 |
</td> |
| 508 |
</tr> |
| 509 |
<tr> |
| 510 |
<td class="function_type"> |
| 511 |
<span class="returnvalue">void</span> |
| 512 |
</td> |
| 513 |
<td class="function_name"> |
| 514 |
<a class="link" href="gsf-Utilities.html#gsf-property-settings-collect-valist" title="gsf_property_settings_collect_valist ()">gsf_property_settings_collect_valist</a> <span class="c_punctuation">()</span> |
| 515 |
</td> |
| 516 |
</tr> |
| 517 |
<tr> |
| 518 |
<td class="function_type"> |
| 519 |
<span class="returnvalue">void</span> |
| 520 |
</td> |
| 521 |
<td class="function_name"> |
| 522 |
<a class="link" href="gsf-Utilities.html#gsf-property-settings-free" title="gsf_property_settings_free ()">gsf_property_settings_free</a> <span class="c_punctuation">()</span> |
| 523 |
</td> |
| 524 |
</tr> |
| 525 |
</tbody> |
| 526 |
</table></div> |
| 527 |
</div> |
| 528 |
<a name="GsfTimestamp"></a><div class="refsect1"> |
| 529 |
<a name="gsf-Utilities.other"></a><h2>Types and Values</h2> |
| 530 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 531 |
<colgroup> |
| 532 |
<col width="150px" class="other_proto_type"> |
| 533 |
<col class="other_proto_name"> |
| 534 |
</colgroup> |
| 535 |
<tbody> |
| 536 |
<tr> |
| 537 |
<td class="variable_type">extern int </td> |
| 538 |
<td class="function_name"><a class="link" href="gsf-Utilities.html#libgsf-major-version" title="libgsf_major_version">libgsf_major_version</a></td> |
| 539 |
</tr> |
| 540 |
<tr> |
| 541 |
<td class="variable_type">extern int </td> |
| 542 |
<td class="function_name"><a class="link" href="gsf-Utilities.html#libgsf-minor-version" title="libgsf_minor_version">libgsf_minor_version</a></td> |
| 543 |
</tr> |
| 544 |
<tr> |
| 545 |
<td class="variable_type">extern int </td> |
| 546 |
<td class="function_name"><a class="link" href="gsf-Utilities.html#libgsf-micro-version" title="libgsf_micro_version">libgsf_micro_version</a></td> |
| 547 |
</tr> |
| 548 |
<tr> |
| 549 |
<td class="define_keyword">#define</td> |
| 550 |
<td class="function_name"><a class="link" href="gsf-Utilities.html#GSF-PARAM-STATIC:CAPS" title="GSF_PARAM_STATIC">GSF_PARAM_STATIC</a></td> |
| 551 |
</tr> |
| 552 |
<tr> |
| 553 |
<td class="define_keyword">#define</td> |
| 554 |
<td class="function_name"><a class="link" href="gsf-Utilities.html#GSF-ERROR:CAPS" title="GSF_ERROR">GSF_ERROR</a></td> |
| 555 |
</tr> |
| 556 |
<tr> |
| 557 |
<td class="datatype_keyword">enum</td> |
| 558 |
<td class="function_name"><a class="link" href="gsf-Utilities.html#GsfError" title="enum GsfError">GsfError</a></td> |
| 559 |
</tr> |
| 560 |
<tr> |
| 561 |
<td class="define_keyword">#define</td> |
| 562 |
<td class="function_name"><a class="link" href="gsf-Utilities.html#GSF-OFF-T-FORMAT:CAPS" title="GSF_OFF_T_FORMAT">GSF_OFF_T_FORMAT</a></td> |
| 563 |
</tr> |
| 564 |
<tr> |
| 565 |
<td class="typedef_keyword">typedef</td> |
| 566 |
<td class="function_name"><a class="link" href="gsf-Utilities.html#gsf-off-t" title="gsf_off_t">gsf_off_t</a></td> |
| 567 |
</tr> |
| 568 |
<tr> |
| 569 |
<td class="datatype_keyword"> </td> |
| 570 |
<td class="function_name"><a class="link" href="gsf-Utilities.html#GsfTimestamp-struct" title="GsfTimestamp">GsfTimestamp</a></td> |
| 571 |
</tr> |
| 572 |
</tbody> |
| 573 |
</table></div> |
| 574 |
</div> |
| 575 |
<div class="refsect1"> |
| 576 |
<a name="gsf-Utilities.object-hierarchy"></a><h2>Object Hierarchy</h2> |
| 577 |
<pre class="screen"> <a href="/usr/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a> |
| 578 |
<span class="lineart">╰──</span> GsfTimestamp |
| 579 |
</pre> |
| 580 |
</div> |
| 581 |
<div class="refsect1"> |
| 582 |
<a name="gsf-Utilities.description"></a><h2>Description</h2> |
| 583 |
</div> |
| 584 |
<div class="refsect1"> |
| 585 |
<a name="gsf-Utilities.functions_details"></a><h2>Functions</h2> |
| 586 |
<div class="refsect2"> |
| 587 |
<a name="gsf-init"></a><h3>gsf_init ()</h3> |
| 588 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 589 |
gsf_init (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> |
| 590 |
<p>Initializes the GSF library</p> |
| 591 |
</div> |
| 592 |
<hr> |
| 593 |
<div class="refsect2"> |
| 594 |
<a name="gsf-shutdown"></a><h3>gsf_shutdown ()</h3> |
| 595 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 596 |
gsf_shutdown (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> |
| 597 |
<p>De-intializes the GSF library |
| 598 |
Currently does nothing.</p> |
| 599 |
</div> |
| 600 |
<hr> |
| 601 |
<div class="refsect2"> |
| 602 |
<a name="gsf-init-dynamic"></a><h3>gsf_init_dynamic ()</h3> |
| 603 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 604 |
gsf_init_dynamic (<em class="parameter"><code><span class="type">GTypeModule</span> *module</code></em>);</pre> |
| 605 |
<p>Initializes the GSF library and associates it with a type module <em class="parameter"><code>mod</code></em> |
| 606 |
.</p> |
| 607 |
<div class="refsect3"> |
| 608 |
<a name="gsf-init-dynamic.parameters"></a><h4>Parameters</h4> |
| 609 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 610 |
<colgroup> |
| 611 |
<col width="150px" class="parameters_name"> |
| 612 |
<col class="parameters_description"> |
| 613 |
<col width="200px" class="parameters_annotations"> |
| 614 |
</colgroup> |
| 615 |
<tbody><tr> |
| 616 |
<td class="parameter_name"><p>module</p></td> |
| 617 |
<td class="parameter_description"><p><span class="type">GTypeModule</span>.</p></td> |
| 618 |
<td class="parameter_annotations"> </td> |
| 619 |
</tr></tbody> |
| 620 |
</table></div> |
| 621 |
</div> |
| 622 |
</div> |
| 623 |
<hr> |
| 624 |
<div class="refsect2"> |
| 625 |
<a name="gsf-shutdown-dynamic"></a><h3>gsf_shutdown_dynamic ()</h3> |
| 626 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 627 |
gsf_shutdown_dynamic (<em class="parameter"><code><span class="type">GTypeModule</span> *module</code></em>);</pre> |
| 628 |
<p>De-intializes the GSF library from a type module. |
| 629 |
Currently does nothing.</p> |
| 630 |
<div class="refsect3"> |
| 631 |
<a name="gsf-shutdown-dynamic.parameters"></a><h4>Parameters</h4> |
| 632 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 633 |
<colgroup> |
| 634 |
<col width="150px" class="parameters_name"> |
| 635 |
<col class="parameters_description"> |
| 636 |
<col width="200px" class="parameters_annotations"> |
| 637 |
</colgroup> |
| 638 |
<tbody><tr> |
| 639 |
<td class="parameter_name"><p>module</p></td> |
| 640 |
<td class="parameter_description"><p>currently unused</p></td> |
| 641 |
<td class="parameter_annotations"> </td> |
| 642 |
</tr></tbody> |
| 643 |
</table></div> |
| 644 |
</div> |
| 645 |
</div> |
| 646 |
<hr> |
| 647 |
<div class="refsect2"> |
| 648 |
<a name="GSF-CLASS:CAPS"></a><h3>GSF_CLASS()</h3> |
| 649 |
<pre class="programlisting">#define GSF_CLASS(name, prefix, class_init, instance_init, parent)</pre> |
| 650 |
<p>Set up a GSF class.</p> |
| 651 |
<div class="refsect3"> |
| 652 |
<a name="GSF-CLASS.parameters"></a><h4>Parameters</h4> |
| 653 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 654 |
<colgroup> |
| 655 |
<col width="150px" class="parameters_name"> |
| 656 |
<col class="parameters_description"> |
| 657 |
<col width="200px" class="parameters_annotations"> |
| 658 |
</colgroup> |
| 659 |
<tbody> |
| 660 |
<tr> |
| 661 |
<td class="parameter_name"><p>name</p></td> |
| 662 |
<td class="parameter_description"><p>Name of the class.</p></td> |
| 663 |
<td class="parameter_annotations"> </td> |
| 664 |
</tr> |
| 665 |
<tr> |
| 666 |
<td class="parameter_name"><p>prefix</p></td> |
| 667 |
<td class="parameter_description"><p>Symbol prefix designating the namespace to be used for |
| 668 |
implementing the class.</p></td> |
| 669 |
<td class="parameter_annotations"> </td> |
| 670 |
</tr> |
| 671 |
<tr> |
| 672 |
<td class="parameter_name"><p>class_init</p></td> |
| 673 |
<td class="parameter_description"><p>Initialisation function of type <span class="type">GClassInitFunc</span> for the class.</p></td> |
| 674 |
<td class="parameter_annotations"> </td> |
| 675 |
</tr> |
| 676 |
<tr> |
| 677 |
<td class="parameter_name"><p>instance_init</p></td> |
| 678 |
<td class="parameter_description"><p>Initialisation function of type <span class="type">GInstanceInitFunc</span> |
| 679 |
for an instance of the class.</p></td> |
| 680 |
<td class="parameter_annotations"> </td> |
| 681 |
</tr> |
| 682 |
<tr> |
| 683 |
<td class="parameter_name"><p>parent</p></td> |
| 684 |
<td class="parameter_description"><p>Parent class to this class.</p></td> |
| 685 |
<td class="parameter_annotations"> </td> |
| 686 |
</tr> |
| 687 |
</tbody> |
| 688 |
</table></div> |
| 689 |
</div> |
| 690 |
</div> |
| 691 |
<hr> |
| 692 |
<div class="refsect2"> |
| 693 |
<a name="GSF-CLASS-FULL:CAPS"></a><h3>GSF_CLASS_FULL()</h3> |
| 694 |
<pre class="programlisting">#define GSF_CLASS_FULL(name, prefix, base_init, base_finalize, \ |
| 695 |
class_init, class_finalize, instance_init, parent_type, \ |
| 696 |
abstract, interface_decl)</pre> |
| 697 |
</div> |
| 698 |
<hr> |
| 699 |
<div class="refsect2"> |
| 700 |
<a name="GSF-CLASS-ABSTRACT:CAPS"></a><h3>GSF_CLASS_ABSTRACT()</h3> |
| 701 |
<pre class="programlisting">#define GSF_CLASS_ABSTRACT(name, prefix, class_init, instance_init, parent)</pre> |
| 702 |
</div> |
| 703 |
<hr> |
| 704 |
<div class="refsect2"> |
| 705 |
<a name="GSF-INTERFACE:CAPS"></a><h3>GSF_INTERFACE()</h3> |
| 706 |
<pre class="programlisting">#define GSF_INTERFACE(init_func, iface_type)</pre> |
| 707 |
</div> |
| 708 |
<hr> |
| 709 |
<div class="refsect2"> |
| 710 |
<a name="GSF-INTERFACE-FULL:CAPS"></a><h3>GSF_INTERFACE_FULL()</h3> |
| 711 |
<pre class="programlisting">#define GSF_INTERFACE_FULL(type, init_func, iface_type)</pre> |
| 712 |
</div> |
| 713 |
<hr> |
| 714 |
<div class="refsect2"> |
| 715 |
<a name="GSF-DYNAMIC-CLASS:CAPS"></a><h3>GSF_DYNAMIC_CLASS()</h3> |
| 716 |
<pre class="programlisting">#define GSF_DYNAMIC_CLASS(name, prefix, class_init, instance_init, parent)</pre> |
| 717 |
</div> |
| 718 |
<hr> |
| 719 |
<div class="refsect2"> |
| 720 |
<a name="GSF-DYNAMIC-CLASS-FULL:CAPS"></a><h3>GSF_DYNAMIC_CLASS_FULL()</h3> |
| 721 |
<pre class="programlisting">#define GSF_DYNAMIC_CLASS_FULL(name, prefix, base_init, base_finalize, \ |
| 722 |
class_init, class_finalize, instance_init, parent_type, \ |
| 723 |
abstract, interface_decl)</pre> |
| 724 |
</div> |
| 725 |
<hr> |
| 726 |
<div class="refsect2"> |
| 727 |
<a name="GSF-DYNAMIC-CLASS-ABSTRACT:CAPS"></a><h3>GSF_DYNAMIC_CLASS_ABSTRACT()</h3> |
| 728 |
<pre class="programlisting">#define GSF_DYNAMIC_CLASS_ABSTRACT(name, prefix, class_init, instance_init, parent)</pre> |
| 729 |
</div> |
| 730 |
<hr> |
| 731 |
<div class="refsect2"> |
| 732 |
<a name="GSF-DYNAMIC-INTERFACE:CAPS"></a><h3>GSF_DYNAMIC_INTERFACE()</h3> |
| 733 |
<pre class="programlisting">#define GSF_DYNAMIC_INTERFACE(init_func, iface_type, module)</pre> |
| 734 |
</div> |
| 735 |
<hr> |
| 736 |
<div class="refsect2"> |
| 737 |
<a name="GSF-DYNAMIC-INTERFACE-FULL:CAPS"></a><h3>GSF_DYNAMIC_INTERFACE_FULL()</h3> |
| 738 |
<pre class="programlisting">#define GSF_DYNAMIC_INTERFACE_FULL(type, init_func, iface_type, module)</pre> |
| 739 |
</div> |
| 740 |
<hr> |
| 741 |
<div class="refsect2"> |
| 742 |
<a name="gsf-error-quark"></a><h3>gsf_error_quark ()</h3> |
| 743 |
<pre class="programlisting"><span class="returnvalue">GQuark</span> |
| 744 |
gsf_error_quark (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> |
| 745 |
<div class="refsect3"> |
| 746 |
<a name="gsf-error-quark.returns"></a><h4>Returns</h4> |
| 747 |
<p> the <span class="type">GQuark</span> used to identify libgsf errors in <span class="type">GError</span> structures. |
| 748 |
Specific error codes come from the <a class="link" href="gsf-Utilities.html#GsfError" title="enum GsfError"><span class="type">GsfError</span></a> enumeration.</p> |
| 749 |
</div> |
| 750 |
</div> |
| 751 |
<hr> |
| 752 |
<div class="refsect2"> |
| 753 |
<a name="gsf-mem-dump"></a><h3>gsf_mem_dump ()</h3> |
| 754 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 755 |
gsf_mem_dump (<em class="parameter"><code><span class="type">guint8</span> const *ptr</code></em>, |
| 756 |
<em class="parameter"><code><span class="type">size_t</span> len</code></em>);</pre> |
| 757 |
<p>Dump <em class="parameter"><code>len</code></em> |
| 758 |
bytes from the memory location given by <em class="parameter"><code>ptr</code></em> |
| 759 |
.</p> |
| 760 |
<div class="refsect3"> |
| 761 |
<a name="gsf-mem-dump.parameters"></a><h4>Parameters</h4> |
| 762 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 763 |
<colgroup> |
| 764 |
<col width="150px" class="parameters_name"> |
| 765 |
<col class="parameters_description"> |
| 766 |
<col width="200px" class="parameters_annotations"> |
| 767 |
</colgroup> |
| 768 |
<tbody> |
| 769 |
<tr> |
| 770 |
<td class="parameter_name"><p>ptr</p></td> |
| 771 |
<td class="parameter_description"><p>memory area to be dumped.</p></td> |
| 772 |
<td class="parameter_annotations"> </td> |
| 773 |
</tr> |
| 774 |
<tr> |
| 775 |
<td class="parameter_name"><p>len</p></td> |
| 776 |
<td class="parameter_description"><p>how many bytes will be dumped.</p></td> |
| 777 |
<td class="parameter_annotations"> </td> |
| 778 |
</tr> |
| 779 |
</tbody> |
| 780 |
</table></div> |
| 781 |
</div> |
| 782 |
</div> |
| 783 |
<hr> |
| 784 |
<div class="refsect2"> |
| 785 |
<a name="gsf-input-dump"></a><h3>gsf_input_dump ()</h3> |
| 786 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 787 |
gsf_input_dump (<em class="parameter"><code><a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="type">GsfInput</span></a> *input</code></em>, |
| 788 |
<em class="parameter"><code><span class="type">gboolean</span> dump_as_hex</code></em>);</pre> |
| 789 |
<p>Dumps <em class="parameter"><code>input</code></em> |
| 790 |
's contents to STDOUT, optionally in hex format.</p> |
| 791 |
<div class="refsect3"> |
| 792 |
<a name="gsf-input-dump.parameters"></a><h4>Parameters</h4> |
| 793 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 794 |
<colgroup> |
| 795 |
<col width="150px" class="parameters_name"> |
| 796 |
<col class="parameters_description"> |
| 797 |
<col width="200px" class="parameters_annotations"> |
| 798 |
</colgroup> |
| 799 |
<tbody> |
| 800 |
<tr> |
| 801 |
<td class="parameter_name"><p>input</p></td> |
| 802 |
<td class="parameter_description"><p>a <a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="type">GsfInput</span></a></p></td> |
| 803 |
<td class="parameter_annotations"> </td> |
| 804 |
</tr> |
| 805 |
<tr> |
| 806 |
<td class="parameter_name"><p>dump_as_hex</p></td> |
| 807 |
<td class="parameter_description"><p>If <code class="literal">TRUE</code>, dump in hexidecmal format</p></td> |
| 808 |
<td class="parameter_annotations"> </td> |
| 809 |
</tr> |
| 810 |
</tbody> |
| 811 |
</table></div> |
| 812 |
</div> |
| 813 |
</div> |
| 814 |
<hr> |
| 815 |
<div class="refsect2"> |
| 816 |
<a name="gsf-debug-flag"></a><h3>gsf_debug_flag ()</h3> |
| 817 |
<pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 818 |
gsf_debug_flag (<em class="parameter"><code>const <span class="type">char</span> *flag</code></em>);</pre> |
| 819 |
</div> |
| 820 |
<hr> |
| 821 |
<div class="refsect2"> |
| 822 |
<a name="gsf-filename-to-utf8"></a><h3>gsf_filename_to_utf8 ()</h3> |
| 823 |
<pre class="programlisting"><span class="returnvalue">char</span> * |
| 824 |
gsf_filename_to_utf8 (<em class="parameter"><code><span class="type">char</span> const *filename</code></em>, |
| 825 |
<em class="parameter"><code><span class="type">gboolean</span> quoted</code></em>);</pre> |
| 826 |
<p>A utility wrapper to make sure filenames are valid utf8. |
| 827 |
Caller must g_free the result.</p> |
| 828 |
<div class="refsect3"> |
| 829 |
<a name="gsf-filename-to-utf8.parameters"></a><h4>Parameters</h4> |
| 830 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 831 |
<colgroup> |
| 832 |
<col width="150px" class="parameters_name"> |
| 833 |
<col class="parameters_description"> |
| 834 |
<col width="200px" class="parameters_annotations"> |
| 835 |
</colgroup> |
| 836 |
<tbody> |
| 837 |
<tr> |
| 838 |
<td class="parameter_name"><p>filename</p></td> |
| 839 |
<td class="parameter_description"><p>file name suitable for open(2).</p></td> |
| 840 |
<td class="parameter_annotations"> </td> |
| 841 |
</tr> |
| 842 |
<tr> |
| 843 |
<td class="parameter_name"><p>quoted</p></td> |
| 844 |
<td class="parameter_description"><p>if <code class="literal">TRUE</code>, the resulting utf8 file name will be quoted |
| 845 |
(unless it is invalid).</p></td> |
| 846 |
<td class="parameter_annotations"> </td> |
| 847 |
</tr> |
| 848 |
</tbody> |
| 849 |
</table></div> |
| 850 |
</div> |
| 851 |
<div class="refsect3"> |
| 852 |
<a name="gsf-filename-to-utf8.returns"></a><h4>Returns</h4> |
| 853 |
<p> <em class="parameter"><code>filename</code></em> |
| 854 |
using utf-8 encoding for display</p> |
| 855 |
</div> |
| 856 |
</div> |
| 857 |
<hr> |
| 858 |
<div class="refsect2"> |
| 859 |
<a name="gsf-iconv-close"></a><h3>gsf_iconv_close ()</h3> |
| 860 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 861 |
gsf_iconv_close (<em class="parameter"><code><span class="type">GIConv</span> handle</code></em>);</pre> |
| 862 |
<p>A utility wrapper to safely close an iconv handle.</p> |
| 863 |
<div class="refsect3"> |
| 864 |
<a name="gsf-iconv-close.parameters"></a><h4>Parameters</h4> |
| 865 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 866 |
<colgroup> |
| 867 |
<col width="150px" class="parameters_name"> |
| 868 |
<col class="parameters_description"> |
| 869 |
<col width="200px" class="parameters_annotations"> |
| 870 |
</colgroup> |
| 871 |
<tbody><tr> |
| 872 |
<td class="parameter_name"><p>handle</p></td> |
| 873 |
<td class="parameter_description"><p>handle to be closed.</p></td> |
| 874 |
<td class="parameter_annotations"> </td> |
| 875 |
</tr></tbody> |
| 876 |
</table></div> |
| 877 |
</div> |
| 878 |
</div> |
| 879 |
<hr> |
| 880 |
<div class="refsect2"> |
| 881 |
<a name="gsf-extension-pointer"></a><h3>gsf_extension_pointer ()</h3> |
| 882 |
<pre class="programlisting"><span class="returnvalue">char</span> const * |
| 883 |
gsf_extension_pointer (<em class="parameter"><code><span class="type">char</span> const *path</code></em>);</pre> |
| 884 |
<p>Extracts the extension from the end of a filename (the part after the final |
| 885 |
'.' in the filename).</p> |
| 886 |
<div class="refsect3"> |
| 887 |
<a name="gsf-extension-pointer.parameters"></a><h4>Parameters</h4> |
| 888 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 889 |
<colgroup> |
| 890 |
<col width="150px" class="parameters_name"> |
| 891 |
<col class="parameters_description"> |
| 892 |
<col width="200px" class="parameters_annotations"> |
| 893 |
</colgroup> |
| 894 |
<tbody><tr> |
| 895 |
<td class="parameter_name"><p>path</p></td> |
| 896 |
<td class="parameter_description"><p>A filename or file path.</p></td> |
| 897 |
<td class="parameter_annotations"> </td> |
| 898 |
</tr></tbody> |
| 899 |
</table></div> |
| 900 |
</div> |
| 901 |
<div class="refsect3"> |
| 902 |
<a name="gsf-extension-pointer.returns"></a><h4>Returns</h4> |
| 903 |
<p>A pointer to the extension part of the |
| 904 |
filename, or a pointer to the end of the string if the filename |
| 905 |
does not have an extension. </p> |
| 906 |
<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p> |
| 907 |
</div> |
| 908 |
</div> |
| 909 |
<hr> |
| 910 |
<div class="refsect2"> |
| 911 |
<a name="gsf-base64-encode-simple"></a><h3>gsf_base64_encode_simple ()</h3> |
| 912 |
<pre class="programlisting"><span class="returnvalue">guint8</span> * |
| 913 |
gsf_base64_encode_simple (<em class="parameter"><code><span class="type">guint8</span> const *data</code></em>, |
| 914 |
<em class="parameter"><code><span class="type">size_t</span> len</code></em>);</pre> |
| 915 |
<p>Encodes data from <em class="parameter"><code>data</code></em> |
| 916 |
back into <em class="parameter"><code>data</code></em> |
| 917 |
using base64 encoding.</p> |
| 918 |
<div class="refsect3"> |
| 919 |
<a name="gsf-base64-encode-simple.parameters"></a><h4>Parameters</h4> |
| 920 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 921 |
<colgroup> |
| 922 |
<col width="150px" class="parameters_name"> |
| 923 |
<col class="parameters_description"> |
| 924 |
<col width="200px" class="parameters_annotations"> |
| 925 |
</colgroup> |
| 926 |
<tbody> |
| 927 |
<tr> |
| 928 |
<td class="parameter_name"><p>data</p></td> |
| 929 |
<td class="parameter_description"><p>data stream. </p></td> |
| 930 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>]</span></td> |
| 931 |
</tr> |
| 932 |
<tr> |
| 933 |
<td class="parameter_name"><p>len</p></td> |
| 934 |
<td class="parameter_description"><p>max length of data to encode</p></td> |
| 935 |
<td class="parameter_annotations"> </td> |
| 936 |
</tr> |
| 937 |
</tbody> |
| 938 |
</table></div> |
| 939 |
</div> |
| 940 |
<div class="refsect3"> |
| 941 |
<a name="gsf-base64-encode-simple.returns"></a><h4>Returns</h4> |
| 942 |
<p> the number of bytes encoded</p> |
| 943 |
</div> |
| 944 |
</div> |
| 945 |
<hr> |
| 946 |
<div class="refsect2"> |
| 947 |
<a name="gsf-base64-encode-close"></a><h3>gsf_base64_encode_close ()</h3> |
| 948 |
<pre class="programlisting"><span class="returnvalue">size_t</span> |
| 949 |
gsf_base64_encode_close (<em class="parameter"><code><span class="type">guint8</span> const *in</code></em>, |
| 950 |
<em class="parameter"><code><span class="type">size_t</span> inlen</code></em>, |
| 951 |
<em class="parameter"><code><span class="type">gboolean</span> break_lines</code></em>, |
| 952 |
<em class="parameter"><code><span class="type">guint8</span> *out</code></em>, |
| 953 |
<em class="parameter"><code><span class="type">int</span> *state</code></em>, |
| 954 |
<em class="parameter"><code><span class="type">guint</span> *save</code></em>);</pre> |
| 955 |
<p>This funcion should be called to when finished encoding everything, to |
| 956 |
flush off the last little bit.</p> |
| 957 |
<div class="refsect3"> |
| 958 |
<a name="gsf-base64-encode-close.parameters"></a><h4>Parameters</h4> |
| 959 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 960 |
<colgroup> |
| 961 |
<col width="150px" class="parameters_name"> |
| 962 |
<col class="parameters_description"> |
| 963 |
<col width="200px" class="parameters_annotations"> |
| 964 |
</colgroup> |
| 965 |
<tbody> |
| 966 |
<tr> |
| 967 |
<td class="parameter_name"><p>in</p></td> |
| 968 |
<td class="parameter_description"><p>Data to be encoded. </p></td> |
| 969 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=inlen]</span></td> |
| 970 |
</tr> |
| 971 |
<tr> |
| 972 |
<td class="parameter_name"><p>inlen</p></td> |
| 973 |
<td class="parameter_description"><p>Length of data to be encoded</p></td> |
| 974 |
<td class="parameter_annotations"> </td> |
| 975 |
</tr> |
| 976 |
<tr> |
| 977 |
<td class="parameter_name"><p>break_lines</p></td> |
| 978 |
<td class="parameter_description"><p>Whether to use line breaks</p></td> |
| 979 |
<td class="parameter_annotations"> </td> |
| 980 |
</tr> |
| 981 |
<tr> |
| 982 |
<td class="parameter_name"><p>out</p></td> |
| 983 |
<td class="parameter_description"><p>Encoded data. </p></td> |
| 984 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>]</span></td> |
| 985 |
</tr> |
| 986 |
<tr> |
| 987 |
<td class="parameter_name"><p>state</p></td> |
| 988 |
<td class="parameter_description"><p>holds the number of bits that are stored in <em class="parameter"><code>save</code></em> |
| 989 |
. </p></td> |
| 990 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td> |
| 991 |
</tr> |
| 992 |
<tr> |
| 993 |
<td class="parameter_name"><p>save</p></td> |
| 994 |
<td class="parameter_description"><p>leftover bits that have not yet been decoded. </p></td> |
| 995 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td> |
| 996 |
</tr> |
| 997 |
</tbody> |
| 998 |
</table></div> |
| 999 |
</div> |
| 1000 |
<div class="refsect3"> |
| 1001 |
<a name="gsf-base64-encode-close.returns"></a><h4>Returns</h4> |
| 1002 |
<p> a count of the number of bytes in the final block.</p> |
| 1003 |
</div> |
| 1004 |
</div> |
| 1005 |
<hr> |
| 1006 |
<div class="refsect2"> |
| 1007 |
<a name="gsf-base64-encode-step"></a><h3>gsf_base64_encode_step ()</h3> |
| 1008 |
<pre class="programlisting"><span class="returnvalue">size_t</span> |
| 1009 |
gsf_base64_encode_step (<em class="parameter"><code><span class="type">guint8</span> const *in</code></em>, |
| 1010 |
<em class="parameter"><code><span class="type">size_t</span> len</code></em>, |
| 1011 |
<em class="parameter"><code><span class="type">gboolean</span> break_lines</code></em>, |
| 1012 |
<em class="parameter"><code><span class="type">guint8</span> *out</code></em>, |
| 1013 |
<em class="parameter"><code><span class="type">int</span> *state</code></em>, |
| 1014 |
<em class="parameter"><code><span class="type">guint</span> *save</code></em>);</pre> |
| 1015 |
<p>Performs an 'encode step', only encodes blocks of 3 characters from <em class="parameter"><code>in</code></em> |
| 1016 |
into |
| 1017 |
the output <em class="parameter"><code>out</code></em> |
| 1018 |
at a time, saves left-over state in <em class="parameter"><code>state</code></em> |
| 1019 |
and <em class="parameter"><code>save</code></em> |
| 1020 |
|
| 1021 |
(initialise to 0 on first invocation).</p> |
| 1022 |
<div class="refsect3"> |
| 1023 |
<a name="gsf-base64-encode-step.parameters"></a><h4>Parameters</h4> |
| 1024 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1025 |
<colgroup> |
| 1026 |
<col width="150px" class="parameters_name"> |
| 1027 |
<col class="parameters_description"> |
| 1028 |
<col width="200px" class="parameters_annotations"> |
| 1029 |
</colgroup> |
| 1030 |
<tbody> |
| 1031 |
<tr> |
| 1032 |
<td class="parameter_name"><p>in</p></td> |
| 1033 |
<td class="parameter_description"><p>input stream. </p></td> |
| 1034 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>]</span></td> |
| 1035 |
</tr> |
| 1036 |
<tr> |
| 1037 |
<td class="parameter_name"><p>len</p></td> |
| 1038 |
<td class="parameter_description"><p>max length of data to decode</p></td> |
| 1039 |
<td class="parameter_annotations"> </td> |
| 1040 |
</tr> |
| 1041 |
<tr> |
| 1042 |
<td class="parameter_name"><p>break_lines</p></td> |
| 1043 |
<td class="parameter_description"><p>Whether to use line breaks</p></td> |
| 1044 |
<td class="parameter_annotations"> </td> |
| 1045 |
</tr> |
| 1046 |
<tr> |
| 1047 |
<td class="parameter_name"><p>out</p></td> |
| 1048 |
<td class="parameter_description"><p>output stream. </p></td> |
| 1049 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>]</span></td> |
| 1050 |
</tr> |
| 1051 |
<tr> |
| 1052 |
<td class="parameter_name"><p>state</p></td> |
| 1053 |
<td class="parameter_description"><p>holds the number of bits that are stored in <em class="parameter"><code>save</code></em> |
| 1054 |
. </p></td> |
| 1055 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td> |
| 1056 |
</tr> |
| 1057 |
<tr> |
| 1058 |
<td class="parameter_name"><p>save</p></td> |
| 1059 |
<td class="parameter_description"><p>leftover bits that have not yet been decoded. </p></td> |
| 1060 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td> |
| 1061 |
</tr> |
| 1062 |
</tbody> |
| 1063 |
</table></div> |
| 1064 |
</div> |
| 1065 |
<div class="refsect3"> |
| 1066 |
<a name="gsf-base64-encode-step.returns"></a><h4>Returns</h4> |
| 1067 |
<p> the number of bytes encoded</p> |
| 1068 |
</div> |
| 1069 |
</div> |
| 1070 |
<hr> |
| 1071 |
<div class="refsect2"> |
| 1072 |
<a name="gsf-base64-decode-simple"></a><h3>gsf_base64_decode_simple ()</h3> |
| 1073 |
<pre class="programlisting"><span class="returnvalue">size_t</span> |
| 1074 |
gsf_base64_decode_simple (<em class="parameter"><code><span class="type">guint8</span> *data</code></em>, |
| 1075 |
<em class="parameter"><code><span class="type">size_t</span> len</code></em>);</pre> |
| 1076 |
<p>Decodes a chunk of base64 encoded data from <em class="parameter"><code>data</code></em> |
| 1077 |
back into <em class="parameter"><code>data</code></em> |
| 1078 |
.</p> |
| 1079 |
<div class="refsect3"> |
| 1080 |
<a name="gsf-base64-decode-simple.parameters"></a><h4>Parameters</h4> |
| 1081 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1082 |
<colgroup> |
| 1083 |
<col width="150px" class="parameters_name"> |
| 1084 |
<col class="parameters_description"> |
| 1085 |
<col width="200px" class="parameters_annotations"> |
| 1086 |
</colgroup> |
| 1087 |
<tbody> |
| 1088 |
<tr> |
| 1089 |
<td class="parameter_name"><p>data</p></td> |
| 1090 |
<td class="parameter_description"><p>data stream. </p></td> |
| 1091 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>]</span></td> |
| 1092 |
</tr> |
| 1093 |
<tr> |
| 1094 |
<td class="parameter_name"><p>len</p></td> |
| 1095 |
<td class="parameter_description"><p>max length of data to decode</p></td> |
| 1096 |
<td class="parameter_annotations"> </td> |
| 1097 |
</tr> |
| 1098 |
</tbody> |
| 1099 |
</table></div> |
| 1100 |
</div> |
| 1101 |
<div class="refsect3"> |
| 1102 |
<a name="gsf-base64-decode-simple.returns"></a><h4>Returns</h4> |
| 1103 |
<p> the number of bytes converted</p> |
| 1104 |
</div> |
| 1105 |
</div> |
| 1106 |
<hr> |
| 1107 |
<div class="refsect2"> |
| 1108 |
<a name="gsf-base64-decode-step"></a><h3>gsf_base64_decode_step ()</h3> |
| 1109 |
<pre class="programlisting"><span class="returnvalue">size_t</span> |
| 1110 |
gsf_base64_decode_step (<em class="parameter"><code><span class="type">guint8</span> const *in</code></em>, |
| 1111 |
<em class="parameter"><code><span class="type">size_t</span> len</code></em>, |
| 1112 |
<em class="parameter"><code><span class="type">guint8</span> *out</code></em>, |
| 1113 |
<em class="parameter"><code><span class="type">int</span> *state</code></em>, |
| 1114 |
<em class="parameter"><code><span class="type">guint</span> *save</code></em>);</pre> |
| 1115 |
<p>Decodes a chunk of base64 encoded data</p> |
| 1116 |
<div class="refsect3"> |
| 1117 |
<a name="gsf-base64-decode-step.parameters"></a><h4>Parameters</h4> |
| 1118 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1119 |
<colgroup> |
| 1120 |
<col width="150px" class="parameters_name"> |
| 1121 |
<col class="parameters_description"> |
| 1122 |
<col width="200px" class="parameters_annotations"> |
| 1123 |
</colgroup> |
| 1124 |
<tbody> |
| 1125 |
<tr> |
| 1126 |
<td class="parameter_name"><p>in</p></td> |
| 1127 |
<td class="parameter_description"><p>input stream. </p></td> |
| 1128 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>]</span></td> |
| 1129 |
</tr> |
| 1130 |
<tr> |
| 1131 |
<td class="parameter_name"><p>len</p></td> |
| 1132 |
<td class="parameter_description"><p>max length of data to decode</p></td> |
| 1133 |
<td class="parameter_annotations"> </td> |
| 1134 |
</tr> |
| 1135 |
<tr> |
| 1136 |
<td class="parameter_name"><p>out</p></td> |
| 1137 |
<td class="parameter_description"><p>output stream. </p></td> |
| 1138 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>]</span></td> |
| 1139 |
</tr> |
| 1140 |
<tr> |
| 1141 |
<td class="parameter_name"><p>state</p></td> |
| 1142 |
<td class="parameter_description"><p>holds the number of bits that are stored in <em class="parameter"><code>save</code></em> |
| 1143 |
. </p></td> |
| 1144 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td> |
| 1145 |
</tr> |
| 1146 |
<tr> |
| 1147 |
<td class="parameter_name"><p>save</p></td> |
| 1148 |
<td class="parameter_description"><p>leftover bits that have not yet been decoded. </p></td> |
| 1149 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td> |
| 1150 |
</tr> |
| 1151 |
</tbody> |
| 1152 |
</table></div> |
| 1153 |
</div> |
| 1154 |
<div class="refsect3"> |
| 1155 |
<a name="gsf-base64-decode-step.returns"></a><h4>Returns</h4> |
| 1156 |
<p> the number of bytes converted</p> |
| 1157 |
</div> |
| 1158 |
</div> |
| 1159 |
<hr> |
| 1160 |
<div class="refsect2"> |
| 1161 |
<a name="GSF-LE-GET-GINT8:CAPS"></a><h3>GSF_LE_GET_GINT8()</h3> |
| 1162 |
<pre class="programlisting">#define GSF_LE_GET_GINT8(p) ((gint8)GSF_LE_GET_GUINT8(p)) |
| 1163 |
</pre> |
| 1164 |
<p>Interpret binary data as a signed 8-bit integer in little endian order.</p> |
| 1165 |
<div class="refsect3"> |
| 1166 |
<a name="GSF-LE-GET-GINT8.parameters"></a><h4>Parameters</h4> |
| 1167 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1168 |
<colgroup> |
| 1169 |
<col width="150px" class="parameters_name"> |
| 1170 |
<col class="parameters_description"> |
| 1171 |
<col width="200px" class="parameters_annotations"> |
| 1172 |
</colgroup> |
| 1173 |
<tbody><tr> |
| 1174 |
<td class="parameter_name"><p>p</p></td> |
| 1175 |
<td class="parameter_description"><p>pointer to storage</p></td> |
| 1176 |
<td class="parameter_annotations"> </td> |
| 1177 |
</tr></tbody> |
| 1178 |
</table></div> |
| 1179 |
</div> |
| 1180 |
<div class="refsect3"> |
| 1181 |
<a name="GSF-LE-GET-GINT8.returns"></a><h4>Returns</h4> |
| 1182 |
<p> interpreted data</p> |
| 1183 |
</div> |
| 1184 |
</div> |
| 1185 |
<hr> |
| 1186 |
<div class="refsect2"> |
| 1187 |
<a name="GSF-LE-GET-GUINT64:CAPS"></a><h3>GSF_LE_GET_GUINT64()</h3> |
| 1188 |
<pre class="programlisting">#define GSF_LE_GET_GUINT64(p) (gsf_le_get_guint64 (p)) |
| 1189 |
</pre> |
| 1190 |
<p>Interpret binary data as an unsigned 64-bit integer in little endian order.</p> |
| 1191 |
<div class="refsect3"> |
| 1192 |
<a name="GSF-LE-GET-GUINT64.parameters"></a><h4>Parameters</h4> |
| 1193 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1194 |
<colgroup> |
| 1195 |
<col width="150px" class="parameters_name"> |
| 1196 |
<col class="parameters_description"> |
| 1197 |
<col width="200px" class="parameters_annotations"> |
| 1198 |
</colgroup> |
| 1199 |
<tbody><tr> |
| 1200 |
<td class="parameter_name"><p>p</p></td> |
| 1201 |
<td class="parameter_description"><p>pointer to storage</p></td> |
| 1202 |
<td class="parameter_annotations"> </td> |
| 1203 |
</tr></tbody> |
| 1204 |
</table></div> |
| 1205 |
</div> |
| 1206 |
<div class="refsect3"> |
| 1207 |
<a name="GSF-LE-GET-GUINT64.returns"></a><h4>Returns</h4> |
| 1208 |
<p> interpreted data</p> |
| 1209 |
</div> |
| 1210 |
</div> |
| 1211 |
<hr> |
| 1212 |
<div class="refsect2"> |
| 1213 |
<a name="GSF-LE-GET-GINT16:CAPS"></a><h3>GSF_LE_GET_GINT16()</h3> |
| 1214 |
<pre class="programlisting">#define GSF_LE_GET_GINT16(p) ((gint16)GSF_LE_GET_GUINT16(p)) |
| 1215 |
</pre> |
| 1216 |
<p>Interpret binary data as a signed 16-bit integer in little endian order.</p> |
| 1217 |
<div class="refsect3"> |
| 1218 |
<a name="GSF-LE-GET-GINT16.parameters"></a><h4>Parameters</h4> |
| 1219 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1220 |
<colgroup> |
| 1221 |
<col width="150px" class="parameters_name"> |
| 1222 |
<col class="parameters_description"> |
| 1223 |
<col width="200px" class="parameters_annotations"> |
| 1224 |
</colgroup> |
| 1225 |
<tbody><tr> |
| 1226 |
<td class="parameter_name"><p>p</p></td> |
| 1227 |
<td class="parameter_description"><p>pointer to storage</p></td> |
| 1228 |
<td class="parameter_annotations"> </td> |
| 1229 |
</tr></tbody> |
| 1230 |
</table></div> |
| 1231 |
</div> |
| 1232 |
<div class="refsect3"> |
| 1233 |
<a name="GSF-LE-GET-GINT16.returns"></a><h4>Returns</h4> |
| 1234 |
<p> interpreted data</p> |
| 1235 |
</div> |
| 1236 |
</div> |
| 1237 |
<hr> |
| 1238 |
<div class="refsect2"> |
| 1239 |
<a name="GSF-LE-GET-GUINT8:CAPS"></a><h3>GSF_LE_GET_GUINT8()</h3> |
| 1240 |
<pre class="programlisting">#define GSF_LE_GET_GUINT8(p) (*(guint8 const *)(p)) |
| 1241 |
</pre> |
| 1242 |
<p>Interpret binary data as an unsigned 8-bit integer in little endian order.</p> |
| 1243 |
<div class="refsect3"> |
| 1244 |
<a name="GSF-LE-GET-GUINT8.parameters"></a><h4>Parameters</h4> |
| 1245 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1246 |
<colgroup> |
| 1247 |
<col width="150px" class="parameters_name"> |
| 1248 |
<col class="parameters_description"> |
| 1249 |
<col width="200px" class="parameters_annotations"> |
| 1250 |
</colgroup> |
| 1251 |
<tbody><tr> |
| 1252 |
<td class="parameter_name"><p>p</p></td> |
| 1253 |
<td class="parameter_description"><p>pointer to storage</p></td> |
| 1254 |
<td class="parameter_annotations"> </td> |
| 1255 |
</tr></tbody> |
| 1256 |
</table></div> |
| 1257 |
</div> |
| 1258 |
<div class="refsect3"> |
| 1259 |
<a name="GSF-LE-GET-GUINT8.returns"></a><h4>Returns</h4> |
| 1260 |
<p> interpreted data</p> |
| 1261 |
</div> |
| 1262 |
</div> |
| 1263 |
<hr> |
| 1264 |
<div class="refsect2"> |
| 1265 |
<a name="GSF-LE-GET-GINT32:CAPS"></a><h3>GSF_LE_GET_GINT32()</h3> |
| 1266 |
<pre class="programlisting">#define GSF_LE_GET_GINT32(p) ((gint32)GSF_LE_GET_GUINT32(p)) |
| 1267 |
</pre> |
| 1268 |
<p>Interpret binary data as a signed 32-bit integer in little endian order.</p> |
| 1269 |
<div class="refsect3"> |
| 1270 |
<a name="GSF-LE-GET-GINT32.parameters"></a><h4>Parameters</h4> |
| 1271 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1272 |
<colgroup> |
| 1273 |
<col width="150px" class="parameters_name"> |
| 1274 |
<col class="parameters_description"> |
| 1275 |
<col width="200px" class="parameters_annotations"> |
| 1276 |
</colgroup> |
| 1277 |
<tbody><tr> |
| 1278 |
<td class="parameter_name"><p>p</p></td> |
| 1279 |
<td class="parameter_description"><p>pointer to storage</p></td> |
| 1280 |
<td class="parameter_annotations"> </td> |
| 1281 |
</tr></tbody> |
| 1282 |
</table></div> |
| 1283 |
</div> |
| 1284 |
<div class="refsect3"> |
| 1285 |
<a name="GSF-LE-GET-GINT32.returns"></a><h4>Returns</h4> |
| 1286 |
<p> interpreted data</p> |
| 1287 |
</div> |
| 1288 |
</div> |
| 1289 |
<hr> |
| 1290 |
<div class="refsect2"> |
| 1291 |
<a name="GSF-LE-GET-GUINT16:CAPS"></a><h3>GSF_LE_GET_GUINT16()</h3> |
| 1292 |
<pre class="programlisting">#define GSF_LE_GET_GUINT16(p)</pre> |
| 1293 |
<p>Interpret binary data as an unsigned 16-bit integer in little endian order.</p> |
| 1294 |
<div class="refsect3"> |
| 1295 |
<a name="GSF-LE-GET-GUINT16.parameters"></a><h4>Parameters</h4> |
| 1296 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1297 |
<colgroup> |
| 1298 |
<col width="150px" class="parameters_name"> |
| 1299 |
<col class="parameters_description"> |
| 1300 |
<col width="200px" class="parameters_annotations"> |
| 1301 |
</colgroup> |
| 1302 |
<tbody><tr> |
| 1303 |
<td class="parameter_name"><p>p</p></td> |
| 1304 |
<td class="parameter_description"><p>pointer to storage</p></td> |
| 1305 |
<td class="parameter_annotations"> </td> |
| 1306 |
</tr></tbody> |
| 1307 |
</table></div> |
| 1308 |
</div> |
| 1309 |
<div class="refsect3"> |
| 1310 |
<a name="GSF-LE-GET-GUINT16.returns"></a><h4>Returns</h4> |
| 1311 |
<p> interpreted data</p> |
| 1312 |
</div> |
| 1313 |
</div> |
| 1314 |
<hr> |
| 1315 |
<div class="refsect2"> |
| 1316 |
<a name="GSF-LE-GET-GUINT32:CAPS"></a><h3>GSF_LE_GET_GUINT32()</h3> |
| 1317 |
<pre class="programlisting">#define GSF_LE_GET_GUINT32(p)</pre> |
| 1318 |
<p>Interpret binary data as an unsigned 32-bit integer in little endian order.</p> |
| 1319 |
<div class="refsect3"> |
| 1320 |
<a name="GSF-LE-GET-GUINT32.parameters"></a><h4>Parameters</h4> |
| 1321 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1322 |
<colgroup> |
| 1323 |
<col width="150px" class="parameters_name"> |
| 1324 |
<col class="parameters_description"> |
| 1325 |
<col width="200px" class="parameters_annotations"> |
| 1326 |
</colgroup> |
| 1327 |
<tbody><tr> |
| 1328 |
<td class="parameter_name"><p>p</p></td> |
| 1329 |
<td class="parameter_description"><p>pointer to storage</p></td> |
| 1330 |
<td class="parameter_annotations"> </td> |
| 1331 |
</tr></tbody> |
| 1332 |
</table></div> |
| 1333 |
</div> |
| 1334 |
<div class="refsect3"> |
| 1335 |
<a name="GSF-LE-GET-GUINT32.returns"></a><h4>Returns</h4> |
| 1336 |
<p> interpreted data</p> |
| 1337 |
</div> |
| 1338 |
</div> |
| 1339 |
<hr> |
| 1340 |
<div class="refsect2"> |
| 1341 |
<a name="GSF-LE-GET-GINT64:CAPS"></a><h3>GSF_LE_GET_GINT64()</h3> |
| 1342 |
<pre class="programlisting">#define GSF_LE_GET_GINT64(p) ((gint64)GSF_LE_GET_GUINT64(p)) |
| 1343 |
</pre> |
| 1344 |
<p>Interpret binary data as a signed 64-bit integer in little endian order.</p> |
| 1345 |
<div class="refsect3"> |
| 1346 |
<a name="GSF-LE-GET-GINT64.parameters"></a><h4>Parameters</h4> |
| 1347 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1348 |
<colgroup> |
| 1349 |
<col width="150px" class="parameters_name"> |
| 1350 |
<col class="parameters_description"> |
| 1351 |
<col width="200px" class="parameters_annotations"> |
| 1352 |
</colgroup> |
| 1353 |
<tbody><tr> |
| 1354 |
<td class="parameter_name"><p>p</p></td> |
| 1355 |
<td class="parameter_description"><p>pointer to storage</p></td> |
| 1356 |
<td class="parameter_annotations"> </td> |
| 1357 |
</tr></tbody> |
| 1358 |
</table></div> |
| 1359 |
</div> |
| 1360 |
<div class="refsect3"> |
| 1361 |
<a name="GSF-LE-GET-GINT64.returns"></a><h4>Returns</h4> |
| 1362 |
<p> interpreted data</p> |
| 1363 |
</div> |
| 1364 |
</div> |
| 1365 |
<hr> |
| 1366 |
<div class="refsect2"> |
| 1367 |
<a name="gsf-le-get-guint64"></a><h3>gsf_le_get_guint64 ()</h3> |
| 1368 |
<pre class="programlisting"><span class="returnvalue">guint64</span> |
| 1369 |
gsf_le_get_guint64 (<em class="parameter"><code><span class="type">void</span> const *p</code></em>);</pre> |
| 1370 |
<p>Interpret binary data as a guint64 (8 byte unsigned integer type) in little |
| 1371 |
endian order.</p> |
| 1372 |
<div class="refsect3"> |
| 1373 |
<a name="gsf-le-get-guint64.parameters"></a><h4>Parameters</h4> |
| 1374 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1375 |
<colgroup> |
| 1376 |
<col width="150px" class="parameters_name"> |
| 1377 |
<col class="parameters_description"> |
| 1378 |
<col width="200px" class="parameters_annotations"> |
| 1379 |
</colgroup> |
| 1380 |
<tbody><tr> |
| 1381 |
<td class="parameter_name"><p>p</p></td> |
| 1382 |
<td class="parameter_description"><p>pointer to storage</p></td> |
| 1383 |
<td class="parameter_annotations"> </td> |
| 1384 |
</tr></tbody> |
| 1385 |
</table></div> |
| 1386 |
</div> |
| 1387 |
<div class="refsect3"> |
| 1388 |
<a name="gsf-le-get-guint64.returns"></a><h4>Returns</h4> |
| 1389 |
<p> interpreted data</p> |
| 1390 |
</div> |
| 1391 |
</div> |
| 1392 |
<hr> |
| 1393 |
<div class="refsect2"> |
| 1394 |
<a name="GSF-LE-GET-FLOAT:CAPS"></a><h3>GSF_LE_GET_FLOAT()</h3> |
| 1395 |
<pre class="programlisting">#define GSF_LE_GET_FLOAT(p) (gsf_le_get_float (p)) |
| 1396 |
</pre> |
| 1397 |
<p>Interpret binary data as a float in little endian order.</p> |
| 1398 |
<div class="refsect3"> |
| 1399 |
<a name="GSF-LE-GET-FLOAT.parameters"></a><h4>Parameters</h4> |
| 1400 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1401 |
<colgroup> |
| 1402 |
<col width="150px" class="parameters_name"> |
| 1403 |
<col class="parameters_description"> |
| 1404 |
<col width="200px" class="parameters_annotations"> |
| 1405 |
</colgroup> |
| 1406 |
<tbody><tr> |
| 1407 |
<td class="parameter_name"><p>p</p></td> |
| 1408 |
<td class="parameter_description"><p>pointer to storage</p></td> |
| 1409 |
<td class="parameter_annotations"> </td> |
| 1410 |
</tr></tbody> |
| 1411 |
</table></div> |
| 1412 |
</div> |
| 1413 |
<div class="refsect3"> |
| 1414 |
<a name="GSF-LE-GET-FLOAT.returns"></a><h4>Returns</h4> |
| 1415 |
<p> interpreted data</p> |
| 1416 |
</div> |
| 1417 |
</div> |
| 1418 |
<hr> |
| 1419 |
<div class="refsect2"> |
| 1420 |
<a name="gsf-le-get-float"></a><h3>gsf_le_get_float ()</h3> |
| 1421 |
<pre class="programlisting"><span class="returnvalue">float</span> |
| 1422 |
gsf_le_get_float (<em class="parameter"><code><span class="type">void</span> const *p</code></em>);</pre> |
| 1423 |
<p>Interpret binary data as a float in little endian order.</p> |
| 1424 |
<div class="refsect3"> |
| 1425 |
<a name="gsf-le-get-float.parameters"></a><h4>Parameters</h4> |
| 1426 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1427 |
<colgroup> |
| 1428 |
<col width="150px" class="parameters_name"> |
| 1429 |
<col class="parameters_description"> |
| 1430 |
<col width="200px" class="parameters_annotations"> |
| 1431 |
</colgroup> |
| 1432 |
<tbody><tr> |
| 1433 |
<td class="parameter_name"><p>p</p></td> |
| 1434 |
<td class="parameter_description"><p>pointer to storage</p></td> |
| 1435 |
<td class="parameter_annotations"> </td> |
| 1436 |
</tr></tbody> |
| 1437 |
</table></div> |
| 1438 |
</div> |
| 1439 |
<div class="refsect3"> |
| 1440 |
<a name="gsf-le-get-float.returns"></a><h4>Returns</h4> |
| 1441 |
<p> interpreted data</p> |
| 1442 |
</div> |
| 1443 |
</div> |
| 1444 |
<hr> |
| 1445 |
<div class="refsect2"> |
| 1446 |
<a name="GSF-LE-GET-DOUBLE:CAPS"></a><h3>GSF_LE_GET_DOUBLE()</h3> |
| 1447 |
<pre class="programlisting">#define GSF_LE_GET_DOUBLE(p) (gsf_le_get_double (p)) |
| 1448 |
</pre> |
| 1449 |
<p>Interpret binary data as a double in little endian order.</p> |
| 1450 |
<div class="refsect3"> |
| 1451 |
<a name="GSF-LE-GET-DOUBLE.parameters"></a><h4>Parameters</h4> |
| 1452 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1453 |
<colgroup> |
| 1454 |
<col width="150px" class="parameters_name"> |
| 1455 |
<col class="parameters_description"> |
| 1456 |
<col width="200px" class="parameters_annotations"> |
| 1457 |
</colgroup> |
| 1458 |
<tbody><tr> |
| 1459 |
<td class="parameter_name"><p>p</p></td> |
| 1460 |
<td class="parameter_description"><p>pointer to storage</p></td> |
| 1461 |
<td class="parameter_annotations"> </td> |
| 1462 |
</tr></tbody> |
| 1463 |
</table></div> |
| 1464 |
</div> |
| 1465 |
<div class="refsect3"> |
| 1466 |
<a name="GSF-LE-GET-DOUBLE.returns"></a><h4>Returns</h4> |
| 1467 |
<p> interpreted data</p> |
| 1468 |
</div> |
| 1469 |
</div> |
| 1470 |
<hr> |
| 1471 |
<div class="refsect2"> |
| 1472 |
<a name="gsf-le-get-double"></a><h3>gsf_le_get_double ()</h3> |
| 1473 |
<pre class="programlisting"><span class="returnvalue">double</span> |
| 1474 |
gsf_le_get_double (<em class="parameter"><code><span class="type">void</span> const *p</code></em>);</pre> |
| 1475 |
<p>Interpret binary data as a double in little endian order.</p> |
| 1476 |
<div class="refsect3"> |
| 1477 |
<a name="gsf-le-get-double.parameters"></a><h4>Parameters</h4> |
| 1478 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1479 |
<colgroup> |
| 1480 |
<col width="150px" class="parameters_name"> |
| 1481 |
<col class="parameters_description"> |
| 1482 |
<col width="200px" class="parameters_annotations"> |
| 1483 |
</colgroup> |
| 1484 |
<tbody><tr> |
| 1485 |
<td class="parameter_name"><p>p</p></td> |
| 1486 |
<td class="parameter_description"><p>pointer to storage</p></td> |
| 1487 |
<td class="parameter_annotations"> </td> |
| 1488 |
</tr></tbody> |
| 1489 |
</table></div> |
| 1490 |
</div> |
| 1491 |
<div class="refsect3"> |
| 1492 |
<a name="gsf-le-get-double.returns"></a><h4>Returns</h4> |
| 1493 |
<p> interpreted data</p> |
| 1494 |
</div> |
| 1495 |
</div> |
| 1496 |
<hr> |
| 1497 |
<div class="refsect2"> |
| 1498 |
<a name="GSF-LE-SET-GUINT8:CAPS"></a><h3>GSF_LE_SET_GUINT8()</h3> |
| 1499 |
<pre class="programlisting">#define GSF_LE_SET_GUINT8(p, dat)</pre> |
| 1500 |
<p>Store <em class="parameter"><code>dat</code></em> |
| 1501 |
in little endian order in memory pointed to by <em class="parameter"><code>p</code></em> |
| 1502 |
.</p> |
| 1503 |
<div class="refsect3"> |
| 1504 |
<a name="GSF-LE-SET-GUINT8.parameters"></a><h4>Parameters</h4> |
| 1505 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1506 |
<colgroup> |
| 1507 |
<col width="150px" class="parameters_name"> |
| 1508 |
<col class="parameters_description"> |
| 1509 |
<col width="200px" class="parameters_annotations"> |
| 1510 |
</colgroup> |
| 1511 |
<tbody> |
| 1512 |
<tr> |
| 1513 |
<td class="parameter_name"><p>p</p></td> |
| 1514 |
<td class="parameter_description"><p>pointer to storage</p></td> |
| 1515 |
<td class="parameter_annotations"> </td> |
| 1516 |
</tr> |
| 1517 |
<tr> |
| 1518 |
<td class="parameter_name"><p>dat</p></td> |
| 1519 |
<td class="parameter_description"><p>8-bit unsigned integer</p></td> |
| 1520 |
<td class="parameter_annotations"> </td> |
| 1521 |
</tr> |
| 1522 |
</tbody> |
| 1523 |
</table></div> |
| 1524 |
</div> |
| 1525 |
</div> |
| 1526 |
<hr> |
| 1527 |
<div class="refsect2"> |
| 1528 |
<a name="GSF-LE-SET-GUINT16:CAPS"></a><h3>GSF_LE_SET_GUINT16()</h3> |
| 1529 |
<pre class="programlisting">#define GSF_LE_SET_GUINT16(p, dat)</pre> |
| 1530 |
<p>Store <em class="parameter"><code>dat</code></em> |
| 1531 |
in little endian order in memory pointed to by <em class="parameter"><code>p</code></em> |
| 1532 |
.</p> |
| 1533 |
<div class="refsect3"> |
| 1534 |
<a name="GSF-LE-SET-GUINT16.parameters"></a><h4>Parameters</h4> |
| 1535 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1536 |
<colgroup> |
| 1537 |
<col width="150px" class="parameters_name"> |
| 1538 |
<col class="parameters_description"> |
| 1539 |
<col width="200px" class="parameters_annotations"> |
| 1540 |
</colgroup> |
| 1541 |
<tbody> |
| 1542 |
<tr> |
| 1543 |
<td class="parameter_name"><p>p</p></td> |
| 1544 |
<td class="parameter_description"><p>pointer to storage</p></td> |
| 1545 |
<td class="parameter_annotations"> </td> |
| 1546 |
</tr> |
| 1547 |
<tr> |
| 1548 |
<td class="parameter_name"><p>dat</p></td> |
| 1549 |
<td class="parameter_description"><p>16-bit unsigned integer</p></td> |
| 1550 |
<td class="parameter_annotations"> </td> |
| 1551 |
</tr> |
| 1552 |
</tbody> |
| 1553 |
</table></div> |
| 1554 |
</div> |
| 1555 |
</div> |
| 1556 |
<hr> |
| 1557 |
<div class="refsect2"> |
| 1558 |
<a name="GSF-LE-SET-GUINT32:CAPS"></a><h3>GSF_LE_SET_GUINT32()</h3> |
| 1559 |
<pre class="programlisting">#define GSF_LE_SET_GUINT32(p, dat)</pre> |
| 1560 |
<p>Store <em class="parameter"><code>dat</code></em> |
| 1561 |
in little endian order in memory pointed to by <em class="parameter"><code>p</code></em> |
| 1562 |
.</p> |
| 1563 |
<div class="refsect3"> |
| 1564 |
<a name="GSF-LE-SET-GUINT32.parameters"></a><h4>Parameters</h4> |
| 1565 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1566 |
<colgroup> |
| 1567 |
<col width="150px" class="parameters_name"> |
| 1568 |
<col class="parameters_description"> |
| 1569 |
<col width="200px" class="parameters_annotations"> |
| 1570 |
</colgroup> |
| 1571 |
<tbody> |
| 1572 |
<tr> |
| 1573 |
<td class="parameter_name"><p>p</p></td> |
| 1574 |
<td class="parameter_description"><p>pointer to storage</p></td> |
| 1575 |
<td class="parameter_annotations"> </td> |
| 1576 |
</tr> |
| 1577 |
<tr> |
| 1578 |
<td class="parameter_name"><p>dat</p></td> |
| 1579 |
<td class="parameter_description"><p>32-bit unsigned integer</p></td> |
| 1580 |
<td class="parameter_annotations"> </td> |
| 1581 |
</tr> |
| 1582 |
</tbody> |
| 1583 |
</table></div> |
| 1584 |
</div> |
| 1585 |
</div> |
| 1586 |
<hr> |
| 1587 |
<div class="refsect2"> |
| 1588 |
<a name="GSF-LE-SET-GINT8:CAPS"></a><h3>GSF_LE_SET_GINT8()</h3> |
| 1589 |
<pre class="programlisting">#define GSF_LE_SET_GINT8(p,dat) GSF_LE_SET_GUINT8((p),(dat)) |
| 1590 |
</pre> |
| 1591 |
<p>Store <em class="parameter"><code>dat</code></em> |
| 1592 |
in little endian order in memory pointed to by <em class="parameter"><code>p</code></em> |
| 1593 |
.</p> |
| 1594 |
<div class="refsect3"> |
| 1595 |
<a name="GSF-LE-SET-GINT8.parameters"></a><h4>Parameters</h4> |
| 1596 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1597 |
<colgroup> |
| 1598 |
<col width="150px" class="parameters_name"> |
| 1599 |
<col class="parameters_description"> |
| 1600 |
<col width="200px" class="parameters_annotations"> |
| 1601 |
</colgroup> |
| 1602 |
<tbody> |
| 1603 |
<tr> |
| 1604 |
<td class="parameter_name"><p>p</p></td> |
| 1605 |
<td class="parameter_description"><p>pointer to storage</p></td> |
| 1606 |
<td class="parameter_annotations"> </td> |
| 1607 |
</tr> |
| 1608 |
<tr> |
| 1609 |
<td class="parameter_name"><p>dat</p></td> |
| 1610 |
<td class="parameter_description"><p>8-bit signed integer</p></td> |
| 1611 |
<td class="parameter_annotations"> </td> |
| 1612 |
</tr> |
| 1613 |
</tbody> |
| 1614 |
</table></div> |
| 1615 |
</div> |
| 1616 |
</div> |
| 1617 |
<hr> |
| 1618 |
<div class="refsect2"> |
| 1619 |
<a name="GSF-LE-SET-GINT16:CAPS"></a><h3>GSF_LE_SET_GINT16()</h3> |
| 1620 |
<pre class="programlisting">#define GSF_LE_SET_GINT16(p,dat) GSF_LE_SET_GUINT16((p),(dat)) |
| 1621 |
</pre> |
| 1622 |
<p>Store <em class="parameter"><code>dat</code></em> |
| 1623 |
in little endian order in memory pointed to by <em class="parameter"><code>p</code></em> |
| 1624 |
.</p> |
| 1625 |
<div class="refsect3"> |
| 1626 |
<a name="GSF-LE-SET-GINT16.parameters"></a><h4>Parameters</h4> |
| 1627 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1628 |
<colgroup> |
| 1629 |
<col width="150px" class="parameters_name"> |
| 1630 |
<col class="parameters_description"> |
| 1631 |
<col width="200px" class="parameters_annotations"> |
| 1632 |
</colgroup> |
| 1633 |
<tbody> |
| 1634 |
<tr> |
| 1635 |
<td class="parameter_name"><p>p</p></td> |
| 1636 |
<td class="parameter_description"><p>pointer to storage</p></td> |
| 1637 |
<td class="parameter_annotations"> </td> |
| 1638 |
</tr> |
| 1639 |
<tr> |
| 1640 |
<td class="parameter_name"><p>dat</p></td> |
| 1641 |
<td class="parameter_description"><p>16-bit signed integer</p></td> |
| 1642 |
<td class="parameter_annotations"> </td> |
| 1643 |
</tr> |
| 1644 |
</tbody> |
| 1645 |
</table></div> |
| 1646 |
</div> |
| 1647 |
</div> |
| 1648 |
<hr> |
| 1649 |
<div class="refsect2"> |
| 1650 |
<a name="GSF-LE-SET-GINT32:CAPS"></a><h3>GSF_LE_SET_GINT32()</h3> |
| 1651 |
<pre class="programlisting">#define GSF_LE_SET_GINT32(p,dat) GSF_LE_SET_GUINT32((p),(dat)) |
| 1652 |
</pre> |
| 1653 |
<p>Store <em class="parameter"><code>dat</code></em> |
| 1654 |
in little endian order in memory pointed to by <em class="parameter"><code>p</code></em> |
| 1655 |
.</p> |
| 1656 |
<div class="refsect3"> |
| 1657 |
<a name="GSF-LE-SET-GINT32.parameters"></a><h4>Parameters</h4> |
| 1658 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1659 |
<colgroup> |
| 1660 |
<col width="150px" class="parameters_name"> |
| 1661 |
<col class="parameters_description"> |
| 1662 |
<col width="200px" class="parameters_annotations"> |
| 1663 |
</colgroup> |
| 1664 |
<tbody> |
| 1665 |
<tr> |
| 1666 |
<td class="parameter_name"><p>p</p></td> |
| 1667 |
<td class="parameter_description"><p>pointer to storage</p></td> |
| 1668 |
<td class="parameter_annotations"> </td> |
| 1669 |
</tr> |
| 1670 |
<tr> |
| 1671 |
<td class="parameter_name"><p>dat</p></td> |
| 1672 |
<td class="parameter_description"><p>32-bit signed integer</p></td> |
| 1673 |
<td class="parameter_annotations"> </td> |
| 1674 |
</tr> |
| 1675 |
</tbody> |
| 1676 |
</table></div> |
| 1677 |
</div> |
| 1678 |
</div> |
| 1679 |
<hr> |
| 1680 |
<div class="refsect2"> |
| 1681 |
<a name="GSF-LE-SET-GINT64:CAPS"></a><h3>GSF_LE_SET_GINT64()</h3> |
| 1682 |
<pre class="programlisting">#define GSF_LE_SET_GINT64(p,dat) GSF_LE_SET_GUINT64((p),(dat)) |
| 1683 |
</pre> |
| 1684 |
<p>Store <em class="parameter"><code>dat</code></em> |
| 1685 |
in little endian order in memory pointed to by <em class="parameter"><code>p</code></em> |
| 1686 |
.</p> |
| 1687 |
<div class="refsect3"> |
| 1688 |
<a name="GSF-LE-SET-GINT64.parameters"></a><h4>Parameters</h4> |
| 1689 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1690 |
<colgroup> |
| 1691 |
<col width="150px" class="parameters_name"> |
| 1692 |
<col class="parameters_description"> |
| 1693 |
<col width="200px" class="parameters_annotations"> |
| 1694 |
</colgroup> |
| 1695 |
<tbody> |
| 1696 |
<tr> |
| 1697 |
<td class="parameter_name"><p>p</p></td> |
| 1698 |
<td class="parameter_description"><p>pointer to storage</p></td> |
| 1699 |
<td class="parameter_annotations"> </td> |
| 1700 |
</tr> |
| 1701 |
<tr> |
| 1702 |
<td class="parameter_name"><p>dat</p></td> |
| 1703 |
<td class="parameter_description"><p>64-bit signed integer</p></td> |
| 1704 |
<td class="parameter_annotations"> </td> |
| 1705 |
</tr> |
| 1706 |
</tbody> |
| 1707 |
</table></div> |
| 1708 |
</div> |
| 1709 |
</div> |
| 1710 |
<hr> |
| 1711 |
<div class="refsect2"> |
| 1712 |
<a name="GSF-LE-SET-GUINT64:CAPS"></a><h3>GSF_LE_SET_GUINT64()</h3> |
| 1713 |
<pre class="programlisting">#define GSF_LE_SET_GUINT64(p, dat)</pre> |
| 1714 |
<p>Store <em class="parameter"><code>dat</code></em> |
| 1715 |
in little endian order in memory pointed to by <em class="parameter"><code>p</code></em> |
| 1716 |
.</p> |
| 1717 |
<div class="refsect3"> |
| 1718 |
<a name="GSF-LE-SET-GUINT64.parameters"></a><h4>Parameters</h4> |
| 1719 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1720 |
<colgroup> |
| 1721 |
<col width="150px" class="parameters_name"> |
| 1722 |
<col class="parameters_description"> |
| 1723 |
<col width="200px" class="parameters_annotations"> |
| 1724 |
</colgroup> |
| 1725 |
<tbody> |
| 1726 |
<tr> |
| 1727 |
<td class="parameter_name"><p>p</p></td> |
| 1728 |
<td class="parameter_description"><p>pointer to storage</p></td> |
| 1729 |
<td class="parameter_annotations"> </td> |
| 1730 |
</tr> |
| 1731 |
<tr> |
| 1732 |
<td class="parameter_name"><p>dat</p></td> |
| 1733 |
<td class="parameter_description"><p>64-bit unsigned integer</p></td> |
| 1734 |
<td class="parameter_annotations"> </td> |
| 1735 |
</tr> |
| 1736 |
</tbody> |
| 1737 |
</table></div> |
| 1738 |
</div> |
| 1739 |
</div> |
| 1740 |
<hr> |
| 1741 |
<div class="refsect2"> |
| 1742 |
<a name="GSF-LE-SET-FLOAT:CAPS"></a><h3>GSF_LE_SET_FLOAT()</h3> |
| 1743 |
<pre class="programlisting">#define GSF_LE_SET_FLOAT(p,dat) gsf_le_set_float((p),(dat)) |
| 1744 |
</pre> |
| 1745 |
<p>Store <em class="parameter"><code>dat</code></em> |
| 1746 |
in little endian order in memory pointed to by <em class="parameter"><code>p</code></em> |
| 1747 |
.</p> |
| 1748 |
<div class="refsect3"> |
| 1749 |
<a name="GSF-LE-SET-FLOAT.parameters"></a><h4>Parameters</h4> |
| 1750 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1751 |
<colgroup> |
| 1752 |
<col width="150px" class="parameters_name"> |
| 1753 |
<col class="parameters_description"> |
| 1754 |
<col width="200px" class="parameters_annotations"> |
| 1755 |
</colgroup> |
| 1756 |
<tbody> |
| 1757 |
<tr> |
| 1758 |
<td class="parameter_name"><p>p</p></td> |
| 1759 |
<td class="parameter_description"><p>pointer to storage</p></td> |
| 1760 |
<td class="parameter_annotations"> </td> |
| 1761 |
</tr> |
| 1762 |
<tr> |
| 1763 |
<td class="parameter_name"><p>dat</p></td> |
| 1764 |
<td class="parameter_description"><p>float to be stored</p></td> |
| 1765 |
<td class="parameter_annotations"> </td> |
| 1766 |
</tr> |
| 1767 |
</tbody> |
| 1768 |
</table></div> |
| 1769 |
</div> |
| 1770 |
</div> |
| 1771 |
<hr> |
| 1772 |
<div class="refsect2"> |
| 1773 |
<a name="GSF-LE-SET-DOUBLE:CAPS"></a><h3>GSF_LE_SET_DOUBLE()</h3> |
| 1774 |
<pre class="programlisting">#define GSF_LE_SET_DOUBLE(p,dat) gsf_le_set_double((p),(dat)) |
| 1775 |
</pre> |
| 1776 |
<p>Store <em class="parameter"><code>dat</code></em> |
| 1777 |
in little endian order in memory pointed to by <em class="parameter"><code>p</code></em> |
| 1778 |
.</p> |
| 1779 |
<div class="refsect3"> |
| 1780 |
<a name="GSF-LE-SET-DOUBLE.parameters"></a><h4>Parameters</h4> |
| 1781 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1782 |
<colgroup> |
| 1783 |
<col width="150px" class="parameters_name"> |
| 1784 |
<col class="parameters_description"> |
| 1785 |
<col width="200px" class="parameters_annotations"> |
| 1786 |
</colgroup> |
| 1787 |
<tbody> |
| 1788 |
<tr> |
| 1789 |
<td class="parameter_name"><p>p</p></td> |
| 1790 |
<td class="parameter_description"><p>pointer to storage</p></td> |
| 1791 |
<td class="parameter_annotations"> </td> |
| 1792 |
</tr> |
| 1793 |
<tr> |
| 1794 |
<td class="parameter_name"><p>dat</p></td> |
| 1795 |
<td class="parameter_description"><p>double to be stored</p></td> |
| 1796 |
<td class="parameter_annotations"> </td> |
| 1797 |
</tr> |
| 1798 |
</tbody> |
| 1799 |
</table></div> |
| 1800 |
</div> |
| 1801 |
</div> |
| 1802 |
<hr> |
| 1803 |
<div class="refsect2"> |
| 1804 |
<a name="gsf-le-set-float"></a><h3>gsf_le_set_float ()</h3> |
| 1805 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 1806 |
gsf_le_set_float (<em class="parameter"><code><span class="type">void</span> *p</code></em>, |
| 1807 |
<em class="parameter"><code><span class="type">float</span> f</code></em>);</pre> |
| 1808 |
<p>Store a value of type float in memory in little endian order.</p> |
| 1809 |
<div class="refsect3"> |
| 1810 |
<a name="gsf-le-set-float.parameters"></a><h4>Parameters</h4> |
| 1811 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1812 |
<colgroup> |
| 1813 |
<col width="150px" class="parameters_name"> |
| 1814 |
<col class="parameters_description"> |
| 1815 |
<col width="200px" class="parameters_annotations"> |
| 1816 |
</colgroup> |
| 1817 |
<tbody> |
| 1818 |
<tr> |
| 1819 |
<td class="parameter_name"><p>p</p></td> |
| 1820 |
<td class="parameter_description"><p>pointer to storage</p></td> |
| 1821 |
<td class="parameter_annotations"> </td> |
| 1822 |
</tr> |
| 1823 |
<tr> |
| 1824 |
<td class="parameter_name"><p>f</p></td> |
| 1825 |
<td class="parameter_description"><p>float to be stored</p></td> |
| 1826 |
<td class="parameter_annotations"> </td> |
| 1827 |
</tr> |
| 1828 |
</tbody> |
| 1829 |
</table></div> |
| 1830 |
</div> |
| 1831 |
</div> |
| 1832 |
<hr> |
| 1833 |
<div class="refsect2"> |
| 1834 |
<a name="gsf-le-set-double"></a><h3>gsf_le_set_double ()</h3> |
| 1835 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 1836 |
gsf_le_set_double (<em class="parameter"><code><span class="type">void</span> *p</code></em>, |
| 1837 |
<em class="parameter"><code><span class="type">double</span> d</code></em>);</pre> |
| 1838 |
<p>Store a value of type double in memory in little endian order</p> |
| 1839 |
<div class="refsect3"> |
| 1840 |
<a name="gsf-le-set-double.parameters"></a><h4>Parameters</h4> |
| 1841 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1842 |
<colgroup> |
| 1843 |
<col width="150px" class="parameters_name"> |
| 1844 |
<col class="parameters_description"> |
| 1845 |
<col width="200px" class="parameters_annotations"> |
| 1846 |
</colgroup> |
| 1847 |
<tbody> |
| 1848 |
<tr> |
| 1849 |
<td class="parameter_name"><p>p</p></td> |
| 1850 |
<td class="parameter_description"><p>pointer to storage</p></td> |
| 1851 |
<td class="parameter_annotations"> </td> |
| 1852 |
</tr> |
| 1853 |
<tr> |
| 1854 |
<td class="parameter_name"><p>d</p></td> |
| 1855 |
<td class="parameter_description"><p>double to be stored</p></td> |
| 1856 |
<td class="parameter_annotations"> </td> |
| 1857 |
</tr> |
| 1858 |
</tbody> |
| 1859 |
</table></div> |
| 1860 |
</div> |
| 1861 |
</div> |
| 1862 |
<hr> |
| 1863 |
<div class="refsect2"> |
| 1864 |
<a name="gsf-timestamp-new"></a><h3>gsf_timestamp_new ()</h3> |
| 1865 |
<pre class="programlisting"><a class="link" href="gsf-Utilities.html#GsfTimestamp"><span class="returnvalue">GsfTimestamp</span></a> * |
| 1866 |
gsf_timestamp_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> |
| 1867 |
</div> |
| 1868 |
<hr> |
| 1869 |
<div class="refsect2"> |
| 1870 |
<a name="gsf-timestamp-set-time"></a><h3>gsf_timestamp_set_time ()</h3> |
| 1871 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 1872 |
gsf_timestamp_set_time (<em class="parameter"><code><a class="link" href="gsf-Utilities.html#GsfTimestamp"><span class="type">GsfTimestamp</span></a> *stamp</code></em>, |
| 1873 |
<em class="parameter"><code><span class="type">guint64</span> t</code></em>);</pre> |
| 1874 |
</div> |
| 1875 |
<hr> |
| 1876 |
<div class="refsect2"> |
| 1877 |
<a name="gsf-timestamp-copy"></a><h3>gsf_timestamp_copy ()</h3> |
| 1878 |
<pre class="programlisting"><a class="link" href="gsf-Utilities.html#GsfTimestamp"><span class="returnvalue">GsfTimestamp</span></a> * |
| 1879 |
gsf_timestamp_copy (<em class="parameter"><code><a class="link" href="gsf-Utilities.html#GsfTimestamp"><span class="type">GsfTimestamp</span></a> const *stamp</code></em>);</pre> |
| 1880 |
<p>Copies a timestamp.</p> |
| 1881 |
<div class="refsect3"> |
| 1882 |
<a name="gsf-timestamp-copy.parameters"></a><h4>Parameters</h4> |
| 1883 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1884 |
<colgroup> |
| 1885 |
<col width="150px" class="parameters_name"> |
| 1886 |
<col class="parameters_description"> |
| 1887 |
<col width="200px" class="parameters_annotations"> |
| 1888 |
</colgroup> |
| 1889 |
<tbody><tr> |
| 1890 |
<td class="parameter_name"><p>stamp</p></td> |
| 1891 |
<td class="parameter_description"><p>timestamp to be copied</p></td> |
| 1892 |
<td class="parameter_annotations"> </td> |
| 1893 |
</tr></tbody> |
| 1894 |
</table></div> |
| 1895 |
</div> |
| 1896 |
<div class="refsect3"> |
| 1897 |
<a name="gsf-timestamp-copy.returns"></a><h4>Returns</h4> |
| 1898 |
<p> a separate copy of <em class="parameter"><code>stamp</code></em> |
| 1899 |
.</p> |
| 1900 |
</div> |
| 1901 |
</div> |
| 1902 |
<hr> |
| 1903 |
<div class="refsect2"> |
| 1904 |
<a name="gsf-timestamp-free"></a><h3>gsf_timestamp_free ()</h3> |
| 1905 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 1906 |
gsf_timestamp_free (<em class="parameter"><code><a class="link" href="gsf-Utilities.html#GsfTimestamp"><span class="type">GsfTimestamp</span></a> *stamp</code></em>);</pre> |
| 1907 |
<p>Releases the memory in use for <em class="parameter"><code>stamp</code></em> |
| 1908 |
(if any).</p> |
| 1909 |
<div class="refsect3"> |
| 1910 |
<a name="gsf-timestamp-free.parameters"></a><h4>Parameters</h4> |
| 1911 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1912 |
<colgroup> |
| 1913 |
<col width="150px" class="parameters_name"> |
| 1914 |
<col class="parameters_description"> |
| 1915 |
<col width="200px" class="parameters_annotations"> |
| 1916 |
</colgroup> |
| 1917 |
<tbody><tr> |
| 1918 |
<td class="parameter_name"><p>stamp</p></td> |
| 1919 |
<td class="parameter_description"><p>timestamp to be freed</p></td> |
| 1920 |
<td class="parameter_annotations"> </td> |
| 1921 |
</tr></tbody> |
| 1922 |
</table></div> |
| 1923 |
</div> |
| 1924 |
</div> |
| 1925 |
<hr> |
| 1926 |
<div class="refsect2"> |
| 1927 |
<a name="gsf-timestamp-as-string"></a><h3>gsf_timestamp_as_string ()</h3> |
| 1928 |
<pre class="programlisting"><span class="returnvalue">char</span> * |
| 1929 |
gsf_timestamp_as_string (<em class="parameter"><code><a class="link" href="gsf-Utilities.html#GsfTimestamp"><span class="type">GsfTimestamp</span></a> const *stamp</code></em>);</pre> |
| 1930 |
<p>Produce a string representation (ISO 8601 format) of <em class="parameter"><code>stamp</code></em> |
| 1931 |
.</p> |
| 1932 |
<div class="refsect3"> |
| 1933 |
<a name="gsf-timestamp-as-string.parameters"></a><h4>Parameters</h4> |
| 1934 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1935 |
<colgroup> |
| 1936 |
<col width="150px" class="parameters_name"> |
| 1937 |
<col class="parameters_description"> |
| 1938 |
<col width="200px" class="parameters_annotations"> |
| 1939 |
</colgroup> |
| 1940 |
<tbody><tr> |
| 1941 |
<td class="parameter_name"><p>stamp</p></td> |
| 1942 |
<td class="parameter_description"><p>timestamp to be converted.</p></td> |
| 1943 |
<td class="parameter_annotations"> </td> |
| 1944 |
</tr></tbody> |
| 1945 |
</table></div> |
| 1946 |
</div> |
| 1947 |
<div class="refsect3"> |
| 1948 |
<a name="gsf-timestamp-as-string.returns"></a><h4>Returns</h4> |
| 1949 |
<p> a string representation of <em class="parameter"><code>stamp</code></em> |
| 1950 |
. When <em class="parameter"><code>stamp</code></em> |
| 1951 |
is invalid, the |
| 1952 |
representation is "<invalid>".</p> |
| 1953 |
</div> |
| 1954 |
</div> |
| 1955 |
<hr> |
| 1956 |
<div class="refsect2"> |
| 1957 |
<a name="gsf-timestamp-load-from-string"></a><h3>gsf_timestamp_load_from_string ()</h3> |
| 1958 |
<pre class="programlisting"><span class="returnvalue">int</span> |
| 1959 |
gsf_timestamp_load_from_string (<em class="parameter"><code><a class="link" href="gsf-Utilities.html#GsfTimestamp"><span class="type">GsfTimestamp</span></a> *stamp</code></em>, |
| 1960 |
<em class="parameter"><code><span class="type">char</span> const *spec</code></em>);</pre> |
| 1961 |
<p>Parser for time stamps. Requires a ISO 8601 formatted string.</p> |
| 1962 |
<div class="refsect3"> |
| 1963 |
<a name="gsf-timestamp-load-from-string.parameters"></a><h4>Parameters</h4> |
| 1964 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1965 |
<colgroup> |
| 1966 |
<col width="150px" class="parameters_name"> |
| 1967 |
<col class="parameters_description"> |
| 1968 |
<col width="200px" class="parameters_annotations"> |
| 1969 |
</colgroup> |
| 1970 |
<tbody> |
| 1971 |
<tr> |
| 1972 |
<td class="parameter_name"><p>stamp</p></td> |
| 1973 |
<td class="parameter_description"><p><a class="link" href="gsf-Utilities.html#GsfTimestamp"><span class="type">GsfTimestamp</span></a></p></td> |
| 1974 |
<td class="parameter_annotations"> </td> |
| 1975 |
</tr> |
| 1976 |
<tr> |
| 1977 |
<td class="parameter_name"><p>spec</p></td> |
| 1978 |
<td class="parameter_description"><p>The string to parse</p></td> |
| 1979 |
<td class="parameter_annotations"> </td> |
| 1980 |
</tr> |
| 1981 |
</tbody> |
| 1982 |
</table></div> |
| 1983 |
</div> |
| 1984 |
<div class="refsect3"> |
| 1985 |
<a name="gsf-timestamp-load-from-string.returns"></a><h4>Returns</h4> |
| 1986 |
<p> <code class="literal">TRUE</code> on success</p> |
| 1987 |
</div> |
| 1988 |
<p class="since">Since: 1.14.24</p> |
| 1989 |
</div> |
| 1990 |
<hr> |
| 1991 |
<div class="refsect2"> |
| 1992 |
<a name="gsf-timestamp-from-string"></a><h3>gsf_timestamp_from_string ()</h3> |
| 1993 |
<pre class="programlisting"><span class="returnvalue">int</span> |
| 1994 |
gsf_timestamp_from_string (<em class="parameter"><code><span class="type">char</span> const *spec</code></em>, |
| 1995 |
<em class="parameter"><code><a class="link" href="gsf-Utilities.html#GsfTimestamp"><span class="type">GsfTimestamp</span></a> *stamp</code></em>);</pre> |
| 1996 |
<div class="warning"> |
| 1997 |
<p><code class="literal">gsf_timestamp_from_string</code> has been deprecated since version 1.14.24 and should not be used in newly-written code.</p> |
| 1998 |
<p>, use gsf_timestamp_load_from_string</p> |
| 1999 |
</div> |
| 2000 |
<p>Parser for time stamps. Requires a ISO 8601 formatted string.</p> |
| 2001 |
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> |
| 2002 |
<div class="refsect3"> |
| 2003 |
<a name="gsf-timestamp-from-string.parameters"></a><h4>Parameters</h4> |
| 2004 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 2005 |
<colgroup> |
| 2006 |
<col width="150px" class="parameters_name"> |
| 2007 |
<col class="parameters_description"> |
| 2008 |
<col width="200px" class="parameters_annotations"> |
| 2009 |
</colgroup> |
| 2010 |
<tbody> |
| 2011 |
<tr> |
| 2012 |
<td class="parameter_name"><p>spec</p></td> |
| 2013 |
<td class="parameter_description"><p>The string to parse</p></td> |
| 2014 |
<td class="parameter_annotations"> </td> |
| 2015 |
</tr> |
| 2016 |
<tr> |
| 2017 |
<td class="parameter_name"><p>stamp</p></td> |
| 2018 |
<td class="parameter_description"><p><a class="link" href="gsf-Utilities.html#GsfTimestamp"><span class="type">GsfTimestamp</span></a></p></td> |
| 2019 |
<td class="parameter_annotations"> </td> |
| 2020 |
</tr> |
| 2021 |
</tbody> |
| 2022 |
</table></div> |
| 2023 |
</div> |
| 2024 |
<div class="refsect3"> |
| 2025 |
<a name="gsf-timestamp-from-string.returns"></a><h4>Returns</h4> |
| 2026 |
<p> <code class="literal">TRUE</code> on success</p> |
| 2027 |
</div> |
| 2028 |
</div> |
| 2029 |
<hr> |
| 2030 |
<div class="refsect2"> |
| 2031 |
<a name="gsf-timestamp-hash"></a><h3>gsf_timestamp_hash ()</h3> |
| 2032 |
<pre class="programlisting"><span class="returnvalue">guint</span> |
| 2033 |
gsf_timestamp_hash (<em class="parameter"><code><a class="link" href="gsf-Utilities.html#GsfTimestamp"><span class="type">GsfTimestamp</span></a> const *stamp</code></em>);</pre> |
| 2034 |
</div> |
| 2035 |
<hr> |
| 2036 |
<div class="refsect2"> |
| 2037 |
<a name="gsf-timestamp-equal"></a><h3>gsf_timestamp_equal ()</h3> |
| 2038 |
<pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 2039 |
gsf_timestamp_equal (<em class="parameter"><code><a class="link" href="gsf-Utilities.html#GsfTimestamp"><span class="type">GsfTimestamp</span></a> const *a</code></em>, |
| 2040 |
<em class="parameter"><code><a class="link" href="gsf-Utilities.html#GsfTimestamp"><span class="type">GsfTimestamp</span></a> const *b</code></em>);</pre> |
| 2041 |
<p>Compare timestamps <em class="parameter"><code>a</code></em> |
| 2042 |
and <em class="parameter"><code>b</code></em> |
| 2043 |
.</p> |
| 2044 |
<div class="refsect3"> |
| 2045 |
<a name="gsf-timestamp-equal.parameters"></a><h4>Parameters</h4> |
| 2046 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 2047 |
<colgroup> |
| 2048 |
<col width="150px" class="parameters_name"> |
| 2049 |
<col class="parameters_description"> |
| 2050 |
<col width="200px" class="parameters_annotations"> |
| 2051 |
</colgroup> |
| 2052 |
<tbody> |
| 2053 |
<tr> |
| 2054 |
<td class="parameter_name"><p>a</p></td> |
| 2055 |
<td class="parameter_description"><p>a timestamp</p></td> |
| 2056 |
<td class="parameter_annotations"> </td> |
| 2057 |
</tr> |
| 2058 |
<tr> |
| 2059 |
<td class="parameter_name"><p>b</p></td> |
| 2060 |
<td class="parameter_description"><p>another timestamp</p></td> |
| 2061 |
<td class="parameter_annotations"> </td> |
| 2062 |
</tr> |
| 2063 |
</tbody> |
| 2064 |
</table></div> |
| 2065 |
</div> |
| 2066 |
<div class="refsect3"> |
| 2067 |
<a name="gsf-timestamp-equal.returns"></a><h4>Returns</h4> |
| 2068 |
<p> true if <em class="parameter"><code>a</code></em> |
| 2069 |
and <em class="parameter"><code>b</code></em> |
| 2070 |
represent the same point in time; false otherwise.</p> |
| 2071 |
</div> |
| 2072 |
</div> |
| 2073 |
<hr> |
| 2074 |
<div class="refsect2"> |
| 2075 |
<a name="gsf-timestamp-to-value"></a><h3>gsf_timestamp_to_value ()</h3> |
| 2076 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 2077 |
gsf_timestamp_to_value (<em class="parameter"><code><a class="link" href="gsf-Utilities.html#GsfTimestamp"><span class="type">GsfTimestamp</span></a> const *stamp</code></em>, |
| 2078 |
<em class="parameter"><code><span class="type">GValue</span> *value</code></em>);</pre> |
| 2079 |
<p>Calls g_value_set_box (value, stamp);</p> |
| 2080 |
<div class="refsect3"> |
| 2081 |
<a name="gsf-timestamp-to-value.parameters"></a><h4>Parameters</h4> |
| 2082 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 2083 |
<colgroup> |
| 2084 |
<col width="150px" class="parameters_name"> |
| 2085 |
<col class="parameters_description"> |
| 2086 |
<col width="200px" class="parameters_annotations"> |
| 2087 |
</colgroup> |
| 2088 |
<tbody> |
| 2089 |
<tr> |
| 2090 |
<td class="parameter_name"><p>stamp</p></td> |
| 2091 |
<td class="parameter_description"><p><a class="link" href="gsf-Utilities.html#GsfTimestamp"><span class="type">GsfTimestamp</span></a></p></td> |
| 2092 |
<td class="parameter_annotations"> </td> |
| 2093 |
</tr> |
| 2094 |
<tr> |
| 2095 |
<td class="parameter_name"><p>value</p></td> |
| 2096 |
<td class="parameter_description"><p><span class="type">GValue</span></p></td> |
| 2097 |
<td class="parameter_annotations"> </td> |
| 2098 |
</tr> |
| 2099 |
</tbody> |
| 2100 |
</table></div> |
| 2101 |
</div> |
| 2102 |
<p class="since">Since: 1.14.24</p> |
| 2103 |
</div> |
| 2104 |
<hr> |
| 2105 |
<div class="refsect2"> |
| 2106 |
<a name="gsf-value-set-timestamp"></a><h3>gsf_value_set_timestamp ()</h3> |
| 2107 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 2108 |
gsf_value_set_timestamp (<em class="parameter"><code><span class="type">GValue</span> *value</code></em>, |
| 2109 |
<em class="parameter"><code><a class="link" href="gsf-Utilities.html#GsfTimestamp"><span class="type">GsfTimestamp</span></a> const *stamp</code></em>);</pre> |
| 2110 |
<div class="warning"> |
| 2111 |
<p><code class="literal">gsf_value_set_timestamp</code> has been deprecated since version 1.14.24 and should not be used in newly-written code.</p> |
| 2112 |
<p>, use gsf_timestamp_to_value.</p> |
| 2113 |
</div> |
| 2114 |
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> |
| 2115 |
<div class="refsect3"> |
| 2116 |
<a name="gsf-value-set-timestamp.parameters"></a><h4>Parameters</h4> |
| 2117 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 2118 |
<colgroup> |
| 2119 |
<col width="150px" class="parameters_name"> |
| 2120 |
<col class="parameters_description"> |
| 2121 |
<col width="200px" class="parameters_annotations"> |
| 2122 |
</colgroup> |
| 2123 |
<tbody> |
| 2124 |
<tr> |
| 2125 |
<td class="parameter_name"><p>value</p></td> |
| 2126 |
<td class="parameter_description"><p><span class="type">GValue</span></p></td> |
| 2127 |
<td class="parameter_annotations"> </td> |
| 2128 |
</tr> |
| 2129 |
<tr> |
| 2130 |
<td class="parameter_name"><p>stamp</p></td> |
| 2131 |
<td class="parameter_description"><p><a class="link" href="gsf-Utilities.html#GsfTimestamp"><span class="type">GsfTimestamp</span></a></p></td> |
| 2132 |
<td class="parameter_annotations"> </td> |
| 2133 |
</tr> |
| 2134 |
</tbody> |
| 2135 |
</table></div> |
| 2136 |
</div> |
| 2137 |
</div> |
| 2138 |
<hr> |
| 2139 |
<div class="refsect2"> |
| 2140 |
<a name="VAL-IS-GSF-TIMESTAMP:CAPS"></a><h3>VAL_IS_GSF_TIMESTAMP()</h3> |
| 2141 |
<pre class="programlisting">#define VAL_IS_GSF_TIMESTAMP(v) (G_TYPE_CHECK_VALUE_TYPE((v), GSF_TIMESTAMP_TYPE)) |
| 2142 |
</pre> |
| 2143 |
</div> |
| 2144 |
<hr> |
| 2145 |
<div class="refsect2"> |
| 2146 |
<a name="gsf-timestamp-parse"></a><h3>gsf_timestamp_parse ()</h3> |
| 2147 |
<pre class="programlisting"><span class="returnvalue">int</span> |
| 2148 |
gsf_timestamp_parse (<em class="parameter"><code><span class="type">char</span> const *spec</code></em>, |
| 2149 |
<em class="parameter"><code><a class="link" href="gsf-Utilities.html#GsfTimestamp"><span class="type">GsfTimestamp</span></a> *stamp</code></em>);</pre> |
| 2150 |
<div class="warning"> |
| 2151 |
<p><code class="literal">gsf_timestamp_parse</code> is deprecated and should not be used in newly-written code.</p> |
| 2152 |
<p>Use gsf_timestamp_load_from_string</p> |
| 2153 |
</div> |
| 2154 |
<p>Parser for time stamps. Requires a ISO 8601 formatted string.</p> |
| 2155 |
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> |
| 2156 |
<div class="refsect3"> |
| 2157 |
<a name="gsf-timestamp-parse.parameters"></a><h4>Parameters</h4> |
| 2158 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 2159 |
<colgroup> |
| 2160 |
<col width="150px" class="parameters_name"> |
| 2161 |
<col class="parameters_description"> |
| 2162 |
<col width="200px" class="parameters_annotations"> |
| 2163 |
</colgroup> |
| 2164 |
<tbody> |
| 2165 |
<tr> |
| 2166 |
<td class="parameter_name"><p>spec</p></td> |
| 2167 |
<td class="parameter_description"><p>The string to parse</p></td> |
| 2168 |
<td class="parameter_annotations"> </td> |
| 2169 |
</tr> |
| 2170 |
<tr> |
| 2171 |
<td class="parameter_name"><p>stamp</p></td> |
| 2172 |
<td class="parameter_description"><p><a class="link" href="gsf-Utilities.html#GsfTimestamp"><span class="type">GsfTimestamp</span></a></p></td> |
| 2173 |
<td class="parameter_annotations"> </td> |
| 2174 |
</tr> |
| 2175 |
</tbody> |
| 2176 |
</table></div> |
| 2177 |
</div> |
| 2178 |
<div class="refsect3"> |
| 2179 |
<a name="gsf-timestamp-parse.returns"></a><h4>Returns</h4> |
| 2180 |
<p> <code class="literal">TRUE</code> on success</p> |
| 2181 |
</div> |
| 2182 |
</div> |
| 2183 |
<hr> |
| 2184 |
<div class="refsect2"> |
| 2185 |
<a name="gsf-doc-prop-swap-val"></a><h3>gsf_doc_prop_swap_val ()</h3> |
| 2186 |
<pre class="programlisting"><span class="returnvalue">GValue</span> * |
| 2187 |
gsf_doc_prop_swap_val (<em class="parameter"><code><a class="link" href="gsf-metadata.html#GsfDocProp" title="GsfDocProp"><span class="type">GsfDocProp</span></a> *prop</code></em>, |
| 2188 |
<em class="parameter"><code><span class="type">GValue</span> *val</code></em>);</pre> |
| 2189 |
<div class="refsect3"> |
| 2190 |
<a name="gsf-doc-prop-swap-val.parameters"></a><h4>Parameters</h4> |
| 2191 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 2192 |
<colgroup> |
| 2193 |
<col width="150px" class="parameters_name"> |
| 2194 |
<col class="parameters_description"> |
| 2195 |
<col width="200px" class="parameters_annotations"> |
| 2196 |
</colgroup> |
| 2197 |
<tbody> |
| 2198 |
<tr> |
| 2199 |
<td class="parameter_name"><p>prop</p></td> |
| 2200 |
<td class="parameter_description"><p><a class="link" href="gsf-metadata.html#GsfDocProp" title="GsfDocProp"><span class="type">GsfDocProp</span></a></p></td> |
| 2201 |
<td class="parameter_annotations"> </td> |
| 2202 |
</tr> |
| 2203 |
<tr> |
| 2204 |
<td class="parameter_name"><p>val</p></td> |
| 2205 |
<td class="parameter_description"><p><span class="type">GValue</span>. </p></td> |
| 2206 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></td> |
| 2207 |
</tr> |
| 2208 |
</tbody> |
| 2209 |
</table></div> |
| 2210 |
</div> |
| 2211 |
<div class="refsect3"> |
| 2212 |
<a name="gsf-doc-prop-swap-val.returns"></a><h4>Returns</h4> |
| 2213 |
<p>the current value of <em class="parameter"><code>prop</code></em> |
| 2214 |
, and replaces |
| 2215 |
it with <em class="parameter"><code>val</code></em> |
| 2216 |
. </p> |
| 2217 |
<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> |
| 2218 |
</div> |
| 2219 |
</div> |
| 2220 |
<hr> |
| 2221 |
<div class="refsect2"> |
| 2222 |
<a name="gsf-property-settings-collect"></a><h3>gsf_property_settings_collect ()</h3> |
| 2223 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 2224 |
gsf_property_settings_collect (<em class="parameter"><code><span class="type">GType</span> object_type</code></em>, |
| 2225 |
<em class="parameter"><code><span class="type">GParameter</span> **p_params</code></em>, |
| 2226 |
<em class="parameter"><code><span class="type">size_t</span> *p_n_params</code></em>, |
| 2227 |
<em class="parameter"><code>const <span class="type">gchar</span> *first_property_name</code></em>, |
| 2228 |
<em class="parameter"><code>...</code></em>);</pre> |
| 2229 |
<div class="warning"><p><code class="literal">gsf_property_settings_collect</code> is deprecated and should not be used in newly-written code.</p></div> |
| 2230 |
</div> |
| 2231 |
<hr> |
| 2232 |
<div class="refsect2"> |
| 2233 |
<a name="gsf-property-settings-collect-valist"></a><h3>gsf_property_settings_collect_valist ()</h3> |
| 2234 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 2235 |
gsf_property_settings_collect_valist (<em class="parameter"><code><span class="type">GType</span> object_type</code></em>, |
| 2236 |
<em class="parameter"><code><span class="type">GParameter</span> **p_params</code></em>, |
| 2237 |
<em class="parameter"><code><span class="type">size_t</span> *p_n_params</code></em>, |
| 2238 |
<em class="parameter"><code>const <span class="type">gchar</span> *first_property_name</code></em>, |
| 2239 |
<em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);</pre> |
| 2240 |
<div class="warning"><p><code class="literal">gsf_property_settings_collect_valist</code> is deprecated and should not be used in newly-written code.</p></div> |
| 2241 |
<p>This function builds a GParameter array suitable for g_object_newv.</p> |
| 2242 |
<div class="refsect3"> |
| 2243 |
<a name="gsf-property-settings-collect-valist.parameters"></a><h4>Parameters</h4> |
| 2244 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 2245 |
<colgroup> |
| 2246 |
<col width="150px" class="parameters_name"> |
| 2247 |
<col class="parameters_description"> |
| 2248 |
<col width="200px" class="parameters_annotations"> |
| 2249 |
</colgroup> |
| 2250 |
<tbody> |
| 2251 |
<tr> |
| 2252 |
<td class="parameter_name"><p>object_type</p></td> |
| 2253 |
<td class="parameter_description"><p>the GType for which the properties are being set.</p></td> |
| 2254 |
<td class="parameter_annotations"> </td> |
| 2255 |
</tr> |
| 2256 |
<tr> |
| 2257 |
<td class="parameter_name"><p>p_n_params</p></td> |
| 2258 |
<td class="parameter_description"><p>a pointer to the number of properties collected. (Used for |
| 2259 |
both input and output.)</p></td> |
| 2260 |
<td class="parameter_annotations"> </td> |
| 2261 |
</tr> |
| 2262 |
<tr> |
| 2263 |
<td class="parameter_name"><p>p_params</p></td> |
| 2264 |
<td class="parameter_description"><p>a pointer to the GParameter array that holds the properties. |
| 2265 |
(Used for both input and output. This may point to a <code class="literal">NULL</code> pointer if |
| 2266 |
there are no properties collected yet.)</p></td> |
| 2267 |
<td class="parameter_annotations"> </td> |
| 2268 |
</tr> |
| 2269 |
<tr> |
| 2270 |
<td class="parameter_name"><p>first_property_name</p></td> |
| 2271 |
<td class="parameter_description"><p>the name of the first property being set, or <code class="literal">NULL</code>.</p></td> |
| 2272 |
<td class="parameter_annotations"> </td> |
| 2273 |
</tr> |
| 2274 |
<tr> |
| 2275 |
<td class="parameter_name"><p>var_args</p></td> |
| 2276 |
<td class="parameter_description"><p>a va_list holding the remainder of the property names and |
| 2277 |
values, terminated by a <code class="literal">NULL</code>.</p></td> |
| 2278 |
<td class="parameter_annotations"> </td> |
| 2279 |
</tr> |
| 2280 |
</tbody> |
| 2281 |
</table></div> |
| 2282 |
</div> |
| 2283 |
</div> |
| 2284 |
<hr> |
| 2285 |
<div class="refsect2"> |
| 2286 |
<a name="gsf-property-settings-free"></a><h3>gsf_property_settings_free ()</h3> |
| 2287 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 2288 |
gsf_property_settings_free (<em class="parameter"><code><span class="type">GParameter</span> *params</code></em>, |
| 2289 |
<em class="parameter"><code><span class="type">size_t</span> n_params</code></em>);</pre> |
| 2290 |
<div class="warning"><p><code class="literal">gsf_property_settings_free</code> is deprecated and should not be used in newly-written code.</p></div> |
| 2291 |
<div class="refsect3"> |
| 2292 |
<a name="gsf-property-settings-free.parameters"></a><h4>Parameters</h4> |
| 2293 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 2294 |
<colgroup> |
| 2295 |
<col width="150px" class="parameters_name"> |
| 2296 |
<col class="parameters_description"> |
| 2297 |
<col width="200px" class="parameters_annotations"> |
| 2298 |
</colgroup> |
| 2299 |
<tbody><tr> |
| 2300 |
<td class="parameter_name"><p>params</p></td> |
| 2301 |
<td class="parameter_description"><p>. </p></td> |
| 2302 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_params][<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></td> |
| 2303 |
</tr></tbody> |
| 2304 |
</table></div> |
| 2305 |
</div> |
| 2306 |
</div> |
| 2307 |
</div> |
| 2308 |
<div class="refsect1"> |
| 2309 |
<a name="gsf-Utilities.other_details"></a><h2>Types and Values</h2> |
| 2310 |
<div class="refsect2"> |
| 2311 |
<a name="libgsf-major-version"></a><h3>libgsf_major_version</h3> |
| 2312 |
<pre class="programlisting">extern int libgsf_major_version; |
| 2313 |
</pre> |
| 2314 |
<p>Major version number of libgsf, indicating the ABI version.</p> |
| 2315 |
</div> |
| 2316 |
<hr> |
| 2317 |
<div class="refsect2"> |
| 2318 |
<a name="libgsf-minor-version"></a><h3>libgsf_minor_version</h3> |
| 2319 |
<pre class="programlisting">extern int libgsf_minor_version; |
| 2320 |
</pre> |
| 2321 |
<p>Minor (secondary) version number of libgsf, indicating the API version.</p> |
| 2322 |
</div> |
| 2323 |
<hr> |
| 2324 |
<div class="refsect2"> |
| 2325 |
<a name="libgsf-micro-version"></a><h3>libgsf_micro_version</h3> |
| 2326 |
<pre class="programlisting">extern int libgsf_micro_version; |
| 2327 |
</pre> |
| 2328 |
<p>Micro (tertiary) version number of libgsf, indicating bug fixes.</p> |
| 2329 |
</div> |
| 2330 |
<hr> |
| 2331 |
<div class="refsect2"> |
| 2332 |
<a name="GSF-PARAM-STATIC:CAPS"></a><h3>GSF_PARAM_STATIC</h3> |
| 2333 |
<pre class="programlisting">#define GSF_PARAM_STATIC G_PARAM_STATIC_STRINGS |
| 2334 |
</pre> |
| 2335 |
</div> |
| 2336 |
<hr> |
| 2337 |
<div class="refsect2"> |
| 2338 |
<a name="GSF-ERROR:CAPS"></a><h3>GSF_ERROR</h3> |
| 2339 |
<pre class="programlisting">#define GSF_ERROR (gsf_error_quark ()) |
| 2340 |
</pre> |
| 2341 |
</div> |
| 2342 |
<hr> |
| 2343 |
<div class="refsect2"> |
| 2344 |
<a name="GsfError"></a><h3>enum GsfError</h3> |
| 2345 |
<div class="refsect3"> |
| 2346 |
<a name="GsfError.members"></a><h4>Members</h4> |
| 2347 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 2348 |
<colgroup> |
| 2349 |
<col width="300px" class="enum_members_name"> |
| 2350 |
<col class="enum_members_description"> |
| 2351 |
<col width="200px" class="enum_members_annotations"> |
| 2352 |
</colgroup> |
| 2353 |
<tbody> |
| 2354 |
<tr> |
| 2355 |
<td class="enum_member_name"><p><a name="GSF-ERROR-OUT-OF-MEMORY:CAPS"></a>GSF_ERROR_OUT_OF_MEMORY</p></td> |
| 2356 |
<td class="enum_member_description"> |
| 2357 |
<p>Memory allocation failed</p> |
| 2358 |
</td> |
| 2359 |
<td class="enum_member_annotations"> </td> |
| 2360 |
</tr> |
| 2361 |
<tr> |
| 2362 |
<td class="enum_member_name"><p><a name="GSF-ERROR-INVALID-DATA:CAPS"></a>GSF_ERROR_INVALID_DATA</p></td> |
| 2363 |
<td class="enum_member_description"> |
| 2364 |
<p>Invalid data encountered (e.g. not enough data)</p> |
| 2365 |
</td> |
| 2366 |
<td class="enum_member_annotations"> </td> |
| 2367 |
</tr> |
| 2368 |
</tbody> |
| 2369 |
</table></div> |
| 2370 |
</div> |
| 2371 |
</div> |
| 2372 |
<hr> |
| 2373 |
<div class="refsect2"> |
| 2374 |
<a name="GSF-OFF-T-FORMAT:CAPS"></a><h3>GSF_OFF_T_FORMAT</h3> |
| 2375 |
<pre class="programlisting">#define GSF_OFF_T_FORMAT G_GINT64_FORMAT |
| 2376 |
</pre> |
| 2377 |
<p>The printf(3) conversion specifier to be used for printing values of type |
| 2378 |
<a class="link" href="gsf-Utilities.html#gsf-off-t" title="gsf_off_t"><span class="type">gsf_off_t</span></a>.</p> |
| 2379 |
</div> |
| 2380 |
<hr> |
| 2381 |
<div class="refsect2"> |
| 2382 |
<a name="gsf-off-t"></a><h3>gsf_off_t</h3> |
| 2383 |
<pre class="programlisting">typedef gint64 gsf_off_t; |
| 2384 |
</pre> |
| 2385 |
<p>Data type to represent offsets (positions) within a data stream.</p> |
| 2386 |
<p>FIXME: |
| 2387 |
gsf_off_t is really supposed to be the widest type off_t can be configured |
| 2388 |
to on the platform</p> |
| 2389 |
</div> |
| 2390 |
<hr> |
| 2391 |
<div class="refsect2"> |
| 2392 |
<a name="GsfTimestamp-struct"></a><h3>GsfTimestamp</h3> |
| 2393 |
<pre class="programlisting">typedef struct { |
| 2394 |
GDate date; /* In local timezone */ |
| 2395 |
glong seconds; /* time of day */ |
| 2396 |
GString time_zone; /* possibly blank */ |
| 2397 |
|
| 2398 |
guint32 timet; |
| 2399 |
} GsfTimestamp; |
| 2400 |
</pre> |
| 2401 |
<p>A point in time.</p> |
| 2402 |
<div class="refsect3"> |
| 2403 |
<a name="GsfTimestamp.members"></a><h4>Members</h4> |
| 2404 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 2405 |
<colgroup> |
| 2406 |
<col width="300px" class="struct_members_name"> |
| 2407 |
<col class="struct_members_description"> |
| 2408 |
<col width="200px" class="struct_members_annotations"> |
| 2409 |
</colgroup> |
| 2410 |
<tbody> |
| 2411 |
<tr> |
| 2412 |
<td class="struct_member_name"><p><span class="type">GDate</span> <em class="structfield"><code><a name="GsfTimestamp-struct.date"></a>date</code></em>;</p></td> |
| 2413 |
<td class="struct_member_description"><p><span class="type">GDate</span> in local timezone</p></td> |
| 2414 |
<td class="struct_member_annotations"> </td> |
| 2415 |
</tr> |
| 2416 |
<tr> |
| 2417 |
<td class="struct_member_name"><p><span class="type">glong</span> <em class="structfield"><code><a name="GsfTimestamp-struct.seconds"></a>seconds</code></em>;</p></td> |
| 2418 |
<td class="struct_member_description"><p><span class="type">glong</span> number of seconds since <em class="parameter"><code>date</code></em> |
| 2419 |
.</p></td> |
| 2420 |
<td class="struct_member_annotations"> </td> |
| 2421 |
</tr> |
| 2422 |
<tr> |
| 2423 |
<td class="struct_member_name"><p><span class="type">GString</span> <em class="structfield"><code><a name="GsfTimestamp-struct.time-zone"></a>time_zone</code></em>;</p></td> |
| 2424 |
<td class="struct_member_description"><p>possibly blank <span class="type">GString</span> of the timezone</p></td> |
| 2425 |
<td class="struct_member_annotations"> </td> |
| 2426 |
</tr> |
| 2427 |
<tr> |
| 2428 |
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GsfTimestamp-struct.timet"></a>timet</code></em>;</p></td> |
| 2429 |
<td class="struct_member_description"><p>as from g_date_time_to_unix.</p></td> |
| 2430 |
<td class="struct_member_annotations"> </td> |
| 2431 |
</tr> |
| 2432 |
</tbody> |
| 2433 |
</table></div> |
| 2434 |
</div> |
| 2435 |
</div> |
| 2436 |
</div> |
| 2437 |
</div> |
| 2438 |
<div class="footer"> |
| 2439 |
<hr>Generated by GTK-Doc V1.34.0</div> |
| 2440 |
</body> |
| 2441 |
</html> |