~ubuntu-branches/ubuntu/precise/libgsf/precise

« back to all changes in this revision

Viewing changes to doc/html/gsf-utils.html

  • Committer: Bazaar Package Importer
  • Author(s): Aron Sisak
  • Date: 2007-07-19 19:27:47 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20070719192747-tx4x9jmw8qqgo7om
Tags: 1.14.5-0ubuntu1
* New upstream release:
  - Revert jump to dynamic types, they aren't threadsafe. [#450722]
  - Compilation glitch on windows.  [#449807]
  - Avoid problems building without gconf macros installed.
  - Configure breakage --without-gnome. [#4488842]
* debian/libgsf-bin.install
  - install usr/share/man/man1/gsf.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
<th width="100%" align="center">GSF Reference Manual</th>
31
31
<td><a accesskey="n" href="gsf-index.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
32
32
</tr>
33
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2618210" class="shortcut">Top</a>
 
33
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2618295" class="shortcut">Top</a>
34
34
                  &#160;|&#160;
35
 
                  <a href="#id2619561" class="shortcut">Description</a></nobr></td></tr>
 
35
                  <a href="#id2619645" class="shortcut">Description</a></nobr></td></tr>
36
36
</table>
37
37
<div class="refentry" lang="en">
38
38
<a name="gsf-utils"></a><div class="titlepage"></div>
39
39
<div class="refnamediv"><table width="100%"><tr>
40
40
<td valign="top">
41
41
<h2>
42
 
<a name="id2618210"></a><span class="refentrytitle">utils</span>
 
42
<a name="id2618295"></a><span class="refentrytitle">utils</span>
43
43
</h2>
44
44
<p>utils</p>
45
45
</td>
172
172
</pre>
173
173
</div>
174
174
<div class="refsect1" lang="en">
175
 
<a name="id2619561"></a><h2>Description</h2>
 
175
<a name="id2619645"></a><h2>Description</h2>
176
176
<p>
177
177
 
178
178
</p>
179
179
</div>
180
180
<div class="refsect1" lang="en">
181
 
<a name="id2619575"></a><h2>Details</h2>
 
181
<a name="id2619660"></a><h2>Details</h2>
182
182
<div class="refsect2" lang="en">
183
 
<a name="id2619586"></a><h3>
 
183
<a name="id2619670"></a><h3>
184
184
<a name="gsf-init"></a>gsf_init ()</h3>
185
 
<a class="indexterm" name="id2619598"></a><pre class="programlisting">void                gsf_init                            (void);</pre>
 
185
<a class="indexterm" name="id2619682"></a><pre class="programlisting">void                gsf_init                            (void);</pre>
186
186
<p>
187
187
Initializes the GSF library</p>
188
188
<p>
191
191
</div>
192
192
<hr>
193
193
<div class="refsect2" lang="en">
194
 
<a name="id2619623"></a><h3>
 
194
<a name="id2619708"></a><h3>
195
195
<a name="gsf-shutdown"></a>gsf_shutdown ()</h3>
196
 
<a class="indexterm" name="id2619636"></a><pre class="programlisting">void                gsf_shutdown                        (void);</pre>
 
196
<a class="indexterm" name="id2619720"></a><pre class="programlisting">void                gsf_shutdown                        (void);</pre>
197
197
<p>
198
198
De-intializes the GSF library from a type module.
199
199
Currently does nothing.</p>
203
203
</div>
204
204
<hr>
205
205
<div class="refsect2" lang="en">
206
 
<a name="id2619662"></a><h3>
 
206
<a name="id2619746"></a><h3>
207
207
<a name="gsf-init-dynamic"></a>gsf_init_dynamic ()</h3>
208
 
<a class="indexterm" name="id2619675"></a><pre class="programlisting">void                gsf_init_dynamic                    (GTypeModule *module);</pre>
 
208
<a class="indexterm" name="id2619759"></a><pre class="programlisting">void                gsf_init_dynamic                    (GTypeModule *module);</pre>
209
209
<p>
210
210
Initializes the GSF library and associates it with a type module <em class="parameter"><code>mod</code></em>.</p>
211
211
<p>
222
222
</div>
223
223
<hr>
224
224
<div class="refsect2" lang="en">
225
 
<a name="id2619739"></a><h3>
 
225
<a name="id2619823"></a><h3>
226
226
<a name="gsf-shutdown-dynamic"></a>gsf_shutdown_dynamic ()</h3>
227
 
<a class="indexterm" name="id2619752"></a><pre class="programlisting">void                gsf_shutdown_dynamic                (GTypeModule *module);</pre>
 
227
<a class="indexterm" name="id2619837"></a><pre class="programlisting">void                gsf_shutdown_dynamic                (GTypeModule *module);</pre>
228
228
<p>
229
229
 
230
230
</p>
241
241
</div>
242
242
<hr>
243
243
<div class="refsect2" lang="en">
244
 
<a name="id2619799"></a><h3>
 
244
<a name="id2619883"></a><h3>
245
245
<a name="libgsf-major-version"></a>libgsf_major_version</h3>
246
 
<a class="indexterm" name="id2619812"></a><pre class="programlisting">extern int libgsf_major_version;
 
246
<a class="indexterm" name="id2619896"></a><pre class="programlisting">extern int libgsf_major_version;
247
247
</pre>
248
248
<p>
249
249
Major version number of libgsf, indicating the ABI version.</p>
253
253
</div>
254
254
<hr>
255
255
<div class="refsect2" lang="en">
256
 
<a name="id2619832"></a><h3>
 
256
<a name="id2619916"></a><h3>
257
257
<a name="libgsf-minor-version"></a>libgsf_minor_version</h3>
258
 
<a class="indexterm" name="id2619845"></a><pre class="programlisting">extern int libgsf_minor_version;
 
258
<a class="indexterm" name="id2619930"></a><pre class="programlisting">extern int libgsf_minor_version;
259
259
</pre>
260
260
<p>
261
261
Minor (secondary) version number of libgsf, indicating the API version.</p>
265
265
</div>
266
266
<hr>
267
267
<div class="refsect2" lang="en">
268
 
<a name="id2619865"></a><h3>
 
268
<a name="id2619950"></a><h3>
269
269
<a name="libgsf-micro-version"></a>libgsf_micro_version</h3>
270
 
<a class="indexterm" name="id2619878"></a><pre class="programlisting">extern int libgsf_micro_version;
 
270
<a class="indexterm" name="id2619962"></a><pre class="programlisting">extern int libgsf_micro_version;
271
271
</pre>
272
272
<p>
273
273
Micro (tertiary) version number of libgsf, indicating bug fixes.</p>
277
277
</div>
278
278
<hr>
279
279
<div class="refsect2" lang="en">
280
 
<a name="id2619898"></a><h3>
 
280
<a name="id2619982"></a><h3>
281
281
<a name="GSF-CLASS:CAPS"></a>GSF_CLASS()</h3>
282
 
<a class="indexterm" name="id2619911"></a><pre class="programlisting">#define             GSF_CLASS(name, prefix, class_init, instance_init, parent)</pre>
 
282
<a class="indexterm" name="id2619995"></a><pre class="programlisting">#define             GSF_CLASS(name, prefix, class_init, instance_init, parent)</pre>
283
283
<p>
284
284
Set up a GSF class.</p>
285
285
<p>
320
320
</div>
321
321
<hr>
322
322
<div class="refsect2" lang="en">
323
 
<a name="id2620026"></a><h3>
 
323
<a name="id2620111"></a><h3>
324
324
<a name="GSF-CLASS-FULL:CAPS"></a>GSF_CLASS_FULL()</h3>
325
 
<a class="indexterm" name="id2620039"></a><pre class="programlisting">#define             GSF_CLASS_FULL(name, prefix, base_init, base_finalize, \
 
325
<a class="indexterm" name="id2620123"></a><pre class="programlisting">#define             GSF_CLASS_FULL(name, prefix, base_init, base_finalize, \
326
326
                               class_init, class_finalize, instance_init, parent_type, \
327
327
                               abstract, interface_decl)</pre>
328
328
<p>
388
388
</div>
389
389
<hr>
390
390
<div class="refsect2" lang="en">
391
 
<a name="id2620196"></a><h3>
 
391
<a name="id2620281"></a><h3>
392
392
<a name="GSF-CLASS-ABSTRACT:CAPS"></a>GSF_CLASS_ABSTRACT()</h3>
393
 
<a class="indexterm" name="id2620210"></a><pre class="programlisting">#define             GSF_CLASS_ABSTRACT(name, prefix, class_init, instance_init, parent)</pre>
 
393
<a class="indexterm" name="id2620294"></a><pre class="programlisting">#define             GSF_CLASS_ABSTRACT(name, prefix, class_init, instance_init, parent)</pre>
394
394
<p>
395
395
 
396
396
</p>
429
429
</div>
430
430
<hr>
431
431
<div class="refsect2" lang="en">
432
 
<a name="id2620298"></a><h3>
 
432
<a name="id2620382"></a><h3>
433
433
<a name="GSF-INTERFACE:CAPS"></a>GSF_INTERFACE()</h3>
434
 
<a class="indexterm" name="id2620311"></a><pre class="programlisting">#define             GSF_INTERFACE(init_func, iface_type)</pre>
 
434
<a class="indexterm" name="id2620395"></a><pre class="programlisting">#define             GSF_INTERFACE(init_func, iface_type)</pre>
435
435
<p>
436
436
 
437
437
</p>
455
455
</div>
456
456
<hr>
457
457
<div class="refsect2" lang="en">
458
 
<a name="id2620358"></a><h3>
 
458
<a name="id2620442"></a><h3>
459
459
<a name="GSF-INTERFACE-FULL:CAPS"></a>GSF_INTERFACE_FULL()</h3>
460
 
<a class="indexterm" name="id2620371"></a><pre class="programlisting">#define             GSF_INTERFACE_FULL(type, init_func, iface_type)</pre>
 
460
<a class="indexterm" name="id2620456"></a><pre class="programlisting">#define             GSF_INTERFACE_FULL(type, init_func, iface_type)</pre>
461
461
<p>
462
462
 
463
463
</p>
486
486
</div>
487
487
<hr>
488
488
<div class="refsect2" lang="en">
489
 
<a name="id2620432"></a><h3>
 
489
<a name="id2620516"></a><h3>
490
490
<a name="GSF-DYNAMIC-CLASS:CAPS"></a>GSF_DYNAMIC_CLASS()</h3>
491
 
<a class="indexterm" name="id2620446"></a><pre class="programlisting">#define             GSF_DYNAMIC_CLASS(name, prefix, class_init, instance_init, parent)</pre>
 
491
<a class="indexterm" name="id2620530"></a><pre class="programlisting">#define             GSF_DYNAMIC_CLASS(name, prefix, class_init, instance_init, parent)</pre>
492
492
<p>
493
493
 
494
494
</p>
527
527
</div>
528
528
<hr>
529
529
<div class="refsect2" lang="en">
530
 
<a name="id2620534"></a><h3>
 
530
<a name="id2620618"></a><h3>
531
531
<a name="GSF-DYNAMIC-CLASS-FULL:CAPS"></a>GSF_DYNAMIC_CLASS_FULL()</h3>
532
 
<a class="indexterm" name="id2620546"></a><pre class="programlisting">#define             GSF_DYNAMIC_CLASS_FULL(name, prefix, base_init, base_finalize, \
 
532
<a class="indexterm" name="id2620630"></a><pre class="programlisting">#define             GSF_DYNAMIC_CLASS_FULL(name, prefix, base_init, base_finalize, \
533
533
                                           class_init,  class_finalize, instance_init, parent_type, \
534
534
                                       abstract, interface_decl)</pre>
535
535
<p>
595
595
</div>
596
596
<hr>
597
597
<div class="refsect2" lang="en">
598
 
<a name="id2620704"></a><h3>
 
598
<a name="id2620788"></a><h3>
599
599
<a name="GSF-DYNAMIC-CLASS-ABSTRACT:CAPS"></a>GSF_DYNAMIC_CLASS_ABSTRACT()</h3>
600
 
<a class="indexterm" name="id2620717"></a><pre class="programlisting">#define             GSF_DYNAMIC_CLASS_ABSTRACT(name, prefix, class_init, instance_init, parent)</pre>
 
600
<a class="indexterm" name="id2620802"></a><pre class="programlisting">#define             GSF_DYNAMIC_CLASS_ABSTRACT(name, prefix, class_init, instance_init, parent)</pre>
601
601
<p>
602
602
 
603
603
</p>
636
636
</div>
637
637
<hr>
638
638
<div class="refsect2" lang="en">
639
 
<a name="id2620806"></a><h3>
 
639
<a name="id2620890"></a><h3>
640
640
<a name="GSF-DYNAMIC-INTERFACE:CAPS"></a>GSF_DYNAMIC_INTERFACE()</h3>
641
 
<a class="indexterm" name="id2620819"></a><pre class="programlisting">#define             GSF_DYNAMIC_INTERFACE(init_func, iface_type, module)</pre>
 
641
<a class="indexterm" name="id2620903"></a><pre class="programlisting">#define             GSF_DYNAMIC_INTERFACE(init_func, iface_type, module)</pre>
642
642
<p>
643
643
 
644
644
</p>
667
667
</div>
668
668
<hr>
669
669
<div class="refsect2" lang="en">
670
 
<a name="id2620880"></a><h3>
 
670
<a name="id2620964"></a><h3>
671
671
<a name="GSF-DYNAMIC-INTERFACE-FULL:CAPS"></a>GSF_DYNAMIC_INTERFACE_FULL()</h3>
672
 
<a class="indexterm" name="id2620893"></a><pre class="programlisting">#define             GSF_DYNAMIC_INTERFACE_FULL(type, init_func, iface_type, module)</pre>
 
672
<a class="indexterm" name="id2620978"></a><pre class="programlisting">#define             GSF_DYNAMIC_INTERFACE_FULL(type, init_func, iface_type, module)</pre>
673
673
<p>
674
674
 
675
675
</p>
703
703
</div>
704
704
<hr>
705
705
<div class="refsect2" lang="en">
706
 
<a name="id2620968"></a><h3>
 
706
<a name="id2621052"></a><h3>
707
707
<a name="GSF-PARAM-STATIC:CAPS"></a>GSF_PARAM_STATIC</h3>
708
 
<a class="indexterm" name="id2620981"></a><pre class="programlisting">#define             GSF_PARAM_STATIC</pre>
 
708
<a class="indexterm" name="id2621066"></a><pre class="programlisting">#define             GSF_PARAM_STATIC</pre>
709
709
<p>
710
710
 
711
711
</p>
712
712
</div>
713
713
<hr>
714
714
<div class="refsect2" lang="en">
715
 
<a name="id2620997"></a><h3>
 
715
<a name="id2621081"></a><h3>
716
716
<a name="GSF-ERROR:CAPS"></a>GSF_ERROR</h3>
717
 
<a class="indexterm" name="id2621010"></a><pre class="programlisting">#define GSF_ERROR (gsf_error_quark ())
 
717
<a class="indexterm" name="id2621094"></a><pre class="programlisting">#define GSF_ERROR (gsf_error_quark ())
718
718
</pre>
719
719
<p>
720
720
 
722
722
</div>
723
723
<hr>
724
724
<div class="refsect2" lang="en">
725
 
<a name="id2621024"></a><h3>
 
725
<a name="id2621109"></a><h3>
726
726
<a name="GsfError"></a>enum GsfError</h3>
727
 
<a class="indexterm" name="id2621037"></a><pre class="programlisting">typedef enum {
 
727
<a class="indexterm" name="id2621122"></a><pre class="programlisting">typedef enum {
728
728
        GSF_ERROR_OUT_OF_MEMORY,
729
729
        GSF_ERROR_INVALID_DATA
730
730
} GsfError;
735
735
</div>
736
736
<hr>
737
737
<div class="refsect2" lang="en">
738
 
<a name="id2621053"></a><h3>
 
738
<a name="id2621138"></a><h3>
739
739
<a name="gsf-error-quark"></a>gsf_error_quark ()</h3>
740
 
<a class="indexterm" name="id2621066"></a><pre class="programlisting">GQuark              gsf_error_quark                     (void);</pre>
 
740
<a class="indexterm" name="id2621150"></a><pre class="programlisting">GQuark              gsf_error_quark                     (void);</pre>
741
741
<p>
742
742
Returns the <span class="type">GQuark</span> used to identify libgsf errors in <span class="type">GError</span> structures.
743
743
Specific error codes come from the <a href="gsf-utils.html#GsfError"><span class="type">GsfError</span></a> enumeration.</p>
755
755
</div>
756
756
<hr>
757
757
<div class="refsect2" lang="en">
758
 
<a name="id2621138"></a><h3>
 
758
<a name="id2621223"></a><h3>
759
759
<a name="gsf-mem-dump"></a>gsf_mem_dump ()</h3>
760
 
<a class="indexterm" name="id2621151"></a><pre class="programlisting">void                gsf_mem_dump                        (guint8 const *ptr,
 
760
<a class="indexterm" name="id2621236"></a><pre class="programlisting">void                gsf_mem_dump                        (guint8 const *ptr,
761
761
                                                         size_t len);</pre>
762
762
<p>
763
763
Dump <em class="parameter"><code>len</code></em> bytes from the memory location given by <em class="parameter"><code>ptr</code></em>.</p>
782
782
</div>
783
783
<hr>
784
784
<div class="refsect2" lang="en">
785
 
<a name="id2621235"></a><h3>
 
785
<a name="id2621320"></a><h3>
786
786
<a name="gsf-input-dump"></a>gsf_input_dump ()</h3>
787
 
<a class="indexterm" name="id2621248"></a><pre class="programlisting">void                gsf_input_dump                      (<a href="gsf-Input-from-unstructured-files.html#GsfInput">GsfInput</a> *input,
 
787
<a class="indexterm" name="id2621333"></a><pre class="programlisting">void                gsf_input_dump                      (<a href="gsf-Input-from-unstructured-files.html#GsfInput">GsfInput</a> *input,
788
788
                                                         gboolean dump_as_hex);</pre>
789
789
<p>
790
790
Dumps <em class="parameter"><code>input</code></em>'s contents to STDOUT, optionally in hex format.</p>
809
809
</div>
810
810
<hr>
811
811
<div class="refsect2" lang="en">
812
 
<a name="id2621334"></a><h3>
 
812
<a name="id2621419"></a><h3>
813
813
<a name="GSF-OFF-T-FORMAT:CAPS"></a>GSF_OFF_T_FORMAT</h3>
814
 
<a class="indexterm" name="id2621348"></a><pre class="programlisting">#define GSF_OFF_T_FORMAT  G_GINT64_FORMAT
 
814
<a class="indexterm" name="id2621433"></a><pre class="programlisting">#define GSF_OFF_T_FORMAT  G_GINT64_FORMAT
815
815
</pre>
816
816
<p>
817
817
The printf(3) conversion specifier to be used for printing values of type
822
822
</div>
823
823
<hr>
824
824
<div class="refsect2" lang="en">
825
 
<a name="id2621376"></a><h3>
 
825
<a name="id2621460"></a><h3>
826
826
<a name="gsf-off-t"></a>gsf_off_t</h3>
827
 
<a class="indexterm" name="id2621388"></a><pre class="programlisting">typedef gint64 gsf_off_t;
 
827
<a class="indexterm" name="id2621472"></a><pre class="programlisting">typedef gint64 gsf_off_t;
828
828
</pre>
829
829
<p>
830
830
Data type to represent offsets (positions) within a data stream.
839
839
</div>
840
840
<hr>
841
841
<div class="refsect2" lang="en">
842
 
<a name="id2621412"></a><h3>
 
842
<a name="id2621497"></a><h3>
843
843
<a name="gsf-filename-to-utf8"></a>gsf_filename_to_utf8 ()</h3>
844
 
<a class="indexterm" name="id2621426"></a><pre class="programlisting">char*               gsf_filename_to_utf8                (char const *filename,
 
844
<a class="indexterm" name="id2621510"></a><pre class="programlisting">char*               gsf_filename_to_utf8                (char const *filename,
845
845
                                                         gboolean quoted);</pre>
846
846
<p>
847
847
A utility wrapper to make sure filenames are valid utf8.
874
874
</div>
875
875
<hr>
876
876
<div class="refsect2" lang="en">
877
 
<a name="id2621516"></a><h3>
 
877
<a name="id2621600"></a><h3>
878
878
<a name="gsf-iconv-close"></a>gsf_iconv_close ()</h3>
879
 
<a class="indexterm" name="id2621529"></a><pre class="programlisting">void                gsf_iconv_close                     (GIConv handle);</pre>
 
879
<a class="indexterm" name="id2621613"></a><pre class="programlisting">void                gsf_iconv_close                     (GIConv handle);</pre>
880
880
<p>
881
881
A utility wrapper to safely close an iconv handle.</p>
882
882
<p>
893
893
</div>
894
894
<hr>
895
895
<div class="refsect2" lang="en">
896
 
<a name="id2621580"></a><h3>
 
896
<a name="id2621664"></a><h3>
897
897
<a name="gsf-extension-pointer"></a>gsf_extension_pointer ()</h3>
898
 
<a class="indexterm" name="id2621593"></a><pre class="programlisting">charconst *         gsf_extension_pointer               (char const *path);</pre>
 
898
<a class="indexterm" name="id2621677"></a><pre class="programlisting">charconst *         gsf_extension_pointer               (char const *path);</pre>
899
899
<p>
900
900
Extracts the extension from the end of a filename (the part after the final
901
901
'.' in the filename).</p>
922
922
</div>
923
923
<hr>
924
924
<div class="refsect2" lang="en">
925
 
<a name="id2621657"></a><h3>
 
925
<a name="id2621742"></a><h3>
926
926
<a name="gsf-base64-encode-simple"></a>gsf_base64_encode_simple ()</h3>
927
 
<a class="indexterm" name="id2621671"></a><pre class="programlisting">guint8*             gsf_base64_encode_simple            (guint8 const *data,
 
927
<a class="indexterm" name="id2621755"></a><pre class="programlisting">guint8*             gsf_base64_encode_simple            (guint8 const *data,
928
928
                                                         size_t len);</pre>
929
929
<p>
930
930
Encodes data from <em class="parameter"><code>data</code></em> back into <em class="parameter"><code>data</code></em> using base64 encoding.</p>
954
954
</div>
955
955
<hr>
956
956
<div class="refsect2" lang="en">
957
 
<a name="id2621766"></a><h3>
 
957
<a name="id2621850"></a><h3>
958
958
<a name="gsf-base64-encode-close"></a>gsf_base64_encode_close ()</h3>
959
 
<a class="indexterm" name="id2621779"></a><pre class="programlisting">size_t              gsf_base64_encode_close             (guint8 const *in,
 
959
<a class="indexterm" name="id2621864"></a><pre class="programlisting">size_t              gsf_base64_encode_close             (guint8 const *in,
960
960
                                                         size_t inlen,
961
961
                                                         gboolean break_lines,
962
962
                                                         guint8 *out,
1011
1011
</div>
1012
1012
<hr>
1013
1013
<div class="refsect2" lang="en">
1014
 
<a name="id2621956"></a><h3>
 
1014
<a name="id2622041"></a><h3>
1015
1015
<a name="gsf-base64-encode-step"></a>gsf_base64_encode_step ()</h3>
1016
 
<a class="indexterm" name="id2621969"></a><pre class="programlisting">size_t              gsf_base64_encode_step              (guint8 const *in,
 
1016
<a class="indexterm" name="id2622053"></a><pre class="programlisting">size_t              gsf_base64_encode_step              (guint8 const *in,
1017
1017
                                                         size_t len,
1018
1018
                                                         gboolean break_lines,
1019
1019
                                                         guint8 *out,
1069
1069
</div>
1070
1070
<hr>
1071
1071
<div class="refsect2" lang="en">
1072
 
<a name="id2622170"></a><h3>
 
1072
<a name="id2622255"></a><h3>
1073
1073
<a name="gsf-base64-decode-simple"></a>gsf_base64_decode_simple ()</h3>
1074
 
<a class="indexterm" name="id2622184"></a><pre class="programlisting">size_t              gsf_base64_decode_simple            (guint8 *data,
 
1074
<a class="indexterm" name="id2622268"></a><pre class="programlisting">size_t              gsf_base64_decode_simple            (guint8 *data,
1075
1075
                                                         size_t len);</pre>
1076
1076
<p>
1077
1077
Decodes a chunk of base64 encoded data from <em class="parameter"><code>data</code></em> back into <em class="parameter"><code>data</code></em>.</p>
1101
1101
</div>
1102
1102
<hr>
1103
1103
<div class="refsect2" lang="en">
1104
 
<a name="id2622279"></a><h3>
 
1104
<a name="id2622363"></a><h3>
1105
1105
<a name="gsf-base64-decode-step"></a>gsf_base64_decode_step ()</h3>
1106
 
<a class="indexterm" name="id2622292"></a><pre class="programlisting">size_t              gsf_base64_decode_step              (guint8 const *in,
 
1106
<a class="indexterm" name="id2622376"></a><pre class="programlisting">size_t              gsf_base64_decode_step              (guint8 const *in,
1107
1107
                                                         size_t len,
1108
1108
                                                         guint8 *out,
1109
1109
                                                         int *state,
1151
1151
</div>
1152
1152
<hr>
1153
1153
<div class="refsect2" lang="en">
1154
 
<a name="id2622446"></a><h3>
 
1154
<a name="id2622531"></a><h3>
1155
1155
<a name="GSF-LE-GET-GINT8:CAPS"></a>GSF_LE_GET_GINT8()</h3>
1156
 
<a class="indexterm" name="id2622460"></a><pre class="programlisting">#define GSF_LE_GET_GINT8(p) ((gint8)GSF_LE_GET_GUINT8(p))
 
1156
<a class="indexterm" name="id2622544"></a><pre class="programlisting">#define GSF_LE_GET_GINT8(p) ((gint8)GSF_LE_GET_GUINT8(p))
1157
1157
</pre>
1158
1158
<p>
1159
1159
Interpret binary data as a signed 8-bit integer in little endian order.</p>
1171
1171
</div>
1172
1172
<hr>
1173
1173
<div class="refsect2" lang="en">
1174
 
<a name="id2622498"></a><h3>
 
1174
<a name="id2622582"></a><h3>
1175
1175
<a name="GSF-LE-GET-GUINT64:CAPS"></a>GSF_LE_GET_GUINT64()</h3>
1176
 
<a class="indexterm" name="id2622511"></a><pre class="programlisting">#define GSF_LE_GET_GUINT64(p) (gsf_le_get_guint64 (p))
 
1176
<a class="indexterm" name="id2622595"></a><pre class="programlisting">#define GSF_LE_GET_GUINT64(p) (gsf_le_get_guint64 (p))
1177
1177
</pre>
1178
1178
<p>
1179
1179
Interpret binary data as an unsigned 64-bit integer in little endian order.</p>
1191
1191
</div>
1192
1192
<hr>
1193
1193
<div class="refsect2" lang="en">
1194
 
<a name="id2622549"></a><h3>
 
1194
<a name="id2622634"></a><h3>
1195
1195
<a name="GSF-LE-GET-GINT16:CAPS"></a>GSF_LE_GET_GINT16()</h3>
1196
 
<a class="indexterm" name="id2622563"></a><pre class="programlisting">#define GSF_LE_GET_GINT16(p) ((gint16)GSF_LE_GET_GUINT16(p))
 
1196
<a class="indexterm" name="id2622647"></a><pre class="programlisting">#define GSF_LE_GET_GINT16(p) ((gint16)GSF_LE_GET_GUINT16(p))
1197
1197
</pre>
1198
1198
<p>
1199
1199
Interpret binary data as a signed 16-bit integer in little endian order.</p>
1211
1211
</div>
1212
1212
<hr>
1213
1213
<div class="refsect2" lang="en">
1214
 
<a name="id2622601"></a><h3>
 
1214
<a name="id2622685"></a><h3>
1215
1215
<a name="GSF-LE-GET-GUINT8:CAPS"></a>GSF_LE_GET_GUINT8()</h3>
1216
 
<a class="indexterm" name="id2622615"></a><pre class="programlisting">#define GSF_LE_GET_GUINT8(p) (*(guint8 const *)(p))
 
1216
<a class="indexterm" name="id2622699"></a><pre class="programlisting">#define GSF_LE_GET_GUINT8(p) (*(guint8 const *)(p))
1217
1217
</pre>
1218
1218
<p>
1219
1219
Interpret binary data as an unsigned 8-bit integer in little endian order.</p>
1231
1231
</div>
1232
1232
<hr>
1233
1233
<div class="refsect2" lang="en">
1234
 
<a name="id2622652"></a><h3>
 
1234
<a name="id2622737"></a><h3>
1235
1235
<a name="GSF-LE-GET-GINT32:CAPS"></a>GSF_LE_GET_GINT32()</h3>
1236
 
<a class="indexterm" name="id2622666"></a><pre class="programlisting">#define GSF_LE_GET_GINT32(p) ((gint32)GSF_LE_GET_GUINT32(p))
 
1236
<a class="indexterm" name="id2622751"></a><pre class="programlisting">#define GSF_LE_GET_GINT32(p) ((gint32)GSF_LE_GET_GUINT32(p))
1237
1237
</pre>
1238
1238
<p>
1239
1239
Interpret binary data as a signed 32-bit integer in little endian order.</p>
1251
1251
</div>
1252
1252
<hr>
1253
1253
<div class="refsect2" lang="en">
1254
 
<a name="id2622704"></a><h3>
 
1254
<a name="id2622789"></a><h3>
1255
1255
<a name="GSF-LE-GET-GUINT16:CAPS"></a>GSF_LE_GET_GUINT16()</h3>
1256
 
<a class="indexterm" name="id2622718"></a><pre class="programlisting">#define             GSF_LE_GET_GUINT16(p)</pre>
 
1256
<a class="indexterm" name="id2622802"></a><pre class="programlisting">#define             GSF_LE_GET_GUINT16(p)</pre>
1257
1257
<p>
1258
1258
Interpret binary data as an unsigned 16-bit integer in little endian order.</p>
1259
1259
<p>
1270
1270
</div>
1271
1271
<hr>
1272
1272
<div class="refsect2" lang="en">
1273
 
<a name="id2622756"></a><h3>
 
1273
<a name="id2622840"></a><h3>
1274
1274
<a name="GSF-LE-GET-GUINT32:CAPS"></a>GSF_LE_GET_GUINT32()</h3>
1275
 
<a class="indexterm" name="id2622769"></a><pre class="programlisting">#define             GSF_LE_GET_GUINT32(p)</pre>
 
1275
<a class="indexterm" name="id2622854"></a><pre class="programlisting">#define             GSF_LE_GET_GUINT32(p)</pre>
1276
1276
<p>
1277
1277
Interpret binary data as an unsigned 32-bit integer in little endian order.</p>
1278
1278
<p>
1289
1289
</div>
1290
1290
<hr>
1291
1291
<div class="refsect2" lang="en">
1292
 
<a name="id2622807"></a><h3>
 
1292
<a name="id2622892"></a><h3>
1293
1293
<a name="GSF-LE-GET-GINT64:CAPS"></a>GSF_LE_GET_GINT64()</h3>
1294
 
<a class="indexterm" name="id2622821"></a><pre class="programlisting">#define GSF_LE_GET_GINT64(p) ((gint64)GSF_LE_GET_GUINT64(p))
 
1294
<a class="indexterm" name="id2622905"></a><pre class="programlisting">#define GSF_LE_GET_GINT64(p) ((gint64)GSF_LE_GET_GUINT64(p))
1295
1295
</pre>
1296
1296
<p>
1297
1297
Interpret binary data as a signed 64-bit integer in little endian order.</p>
1309
1309
</div>
1310
1310
<hr>
1311
1311
<div class="refsect2" lang="en">
1312
 
<a name="id2622859"></a><h3>
 
1312
<a name="id2622943"></a><h3>
1313
1313
<a name="gsf-le-get-guint64"></a>gsf_le_get_guint64 ()</h3>
1314
 
<a class="indexterm" name="id2622872"></a><pre class="programlisting">guint64             gsf_le_get_guint64                  (void const *p);</pre>
 
1314
<a class="indexterm" name="id2622956"></a><pre class="programlisting">guint64             gsf_le_get_guint64                  (void const *p);</pre>
1315
1315
<p>
1316
1316
Interpret binary data as a guint64 (8 byte unsigned integer type) in little
1317
1317
endian order.</p>
1336
1336
</div>
1337
1337
<hr>
1338
1338
<div class="refsect2" lang="en">
1339
 
<a name="id2622933"></a><h3>
 
1339
<a name="id2623017"></a><h3>
1340
1340
<a name="GSF-LE-GET-FLOAT:CAPS"></a>GSF_LE_GET_FLOAT()</h3>
1341
 
<a class="indexterm" name="id2622946"></a><pre class="programlisting">#define GSF_LE_GET_FLOAT(p) (gsf_le_get_float (p))
 
1341
<a class="indexterm" name="id2623031"></a><pre class="programlisting">#define GSF_LE_GET_FLOAT(p) (gsf_le_get_float (p))
1342
1342
</pre>
1343
1343
<p>
1344
1344
Interpret binary data as a float in little endian order.</p>
1356
1356
</div>
1357
1357
<hr>
1358
1358
<div class="refsect2" lang="en">
1359
 
<a name="id2622984"></a><h3>
 
1359
<a name="id2623068"></a><h3>
1360
1360
<a name="gsf-le-get-float"></a>gsf_le_get_float ()</h3>
1361
 
<a class="indexterm" name="id2622997"></a><pre class="programlisting">float               gsf_le_get_float                    (void const *p);</pre>
 
1361
<a class="indexterm" name="id2623081"></a><pre class="programlisting">float               gsf_le_get_float                    (void const *p);</pre>
1362
1362
<p>
1363
1363
Interpret binary data as a float in little endian order.</p>
1364
1364
<p>
1382
1382
</div>
1383
1383
<hr>
1384
1384
<div class="refsect2" lang="en">
1385
 
<a name="id2623058"></a><h3>
 
1385
<a name="id2623142"></a><h3>
1386
1386
<a name="GSF-LE-GET-DOUBLE:CAPS"></a>GSF_LE_GET_DOUBLE()</h3>
1387
 
<a class="indexterm" name="id2623072"></a><pre class="programlisting">#define GSF_LE_GET_DOUBLE(p) (gsf_le_get_double (p))
 
1387
<a class="indexterm" name="id2623156"></a><pre class="programlisting">#define GSF_LE_GET_DOUBLE(p) (gsf_le_get_double (p))
1388
1388
</pre>
1389
1389
<p>
1390
1390
Interpret binary data as a double in little endian order.</p>
1402
1402
</div>
1403
1403
<hr>
1404
1404
<div class="refsect2" lang="en">
1405
 
<a name="id2623109"></a><h3>
 
1405
<a name="id2623194"></a><h3>
1406
1406
<a name="gsf-le-get-double"></a>gsf_le_get_double ()</h3>
1407
 
<a class="indexterm" name="id2623122"></a><pre class="programlisting">double              gsf_le_get_double                   (void const *p);</pre>
 
1407
<a class="indexterm" name="id2623207"></a><pre class="programlisting">double              gsf_le_get_double                   (void const *p);</pre>
1408
1408
<p>
1409
1409
Interpret binary data as a double in little endian order.</p>
1410
1410
<p>
1428
1428
</div>
1429
1429
<hr>
1430
1430
<div class="refsect2" lang="en">
1431
 
<a name="id2623183"></a><h3>
 
1431
<a name="id2623267"></a><h3>
1432
1432
<a name="GSF-LE-SET-GUINT8:CAPS"></a>GSF_LE_SET_GUINT8()</h3>
1433
 
<a class="indexterm" name="id2623197"></a><pre class="programlisting">#define             GSF_LE_SET_GUINT8(p, dat)</pre>
 
1433
<a class="indexterm" name="id2623281"></a><pre class="programlisting">#define             GSF_LE_SET_GUINT8(p, dat)</pre>
1434
1434
<p>
1435
1435
Store <em class="parameter"><code>dat</code></em> in little endian order in memory pointed to by <em class="parameter"><code>p</code></em>.</p>
1436
1436
<p>
1454
1454
</div>
1455
1455
<hr>
1456
1456
<div class="refsect2" lang="en">
1457
 
<a name="id2623259"></a><h3>
 
1457
<a name="id2623343"></a><h3>
1458
1458
<a name="GSF-LE-SET-GUINT16:CAPS"></a>GSF_LE_SET_GUINT16()</h3>
1459
 
<a class="indexterm" name="id2623272"></a><pre class="programlisting">#define             GSF_LE_SET_GUINT16(p, dat)</pre>
 
1459
<a class="indexterm" name="id2623357"></a><pre class="programlisting">#define             GSF_LE_SET_GUINT16(p, dat)</pre>
1460
1460
<p>
1461
1461
Store <em class="parameter"><code>dat</code></em> in little endian order in memory pointed to by <em class="parameter"><code>p</code></em>.</p>
1462
1462
<p>
1480
1480
</div>
1481
1481
<hr>
1482
1482
<div class="refsect2" lang="en">
1483
 
<a name="id2623335"></a><h3>
 
1483
<a name="id2623420"></a><h3>
1484
1484
<a name="GSF-LE-SET-GUINT32:CAPS"></a>GSF_LE_SET_GUINT32()</h3>
1485
 
<a class="indexterm" name="id2623348"></a><pre class="programlisting">#define             GSF_LE_SET_GUINT32(p, dat)</pre>
 
1485
<a class="indexterm" name="id2623432"></a><pre class="programlisting">#define             GSF_LE_SET_GUINT32(p, dat)</pre>
1486
1486
<p>
1487
1487
Store <em class="parameter"><code>dat</code></em> in little endian order in memory pointed to by <em class="parameter"><code>p</code></em>.</p>
1488
1488
<p>
1506
1506
</div>
1507
1507
<hr>
1508
1508
<div class="refsect2" lang="en">
1509
 
<a name="id2623411"></a><h3>
 
1509
<a name="id2623495"></a><h3>
1510
1510
<a name="GSF-LE-SET-GINT8:CAPS"></a>GSF_LE_SET_GINT8()</h3>
1511
 
<a class="indexterm" name="id2623424"></a><pre class="programlisting">#define GSF_LE_SET_GINT8(p,dat) GSF_LE_SET_GUINT8((p),(dat))
 
1511
<a class="indexterm" name="id2623509"></a><pre class="programlisting">#define GSF_LE_SET_GINT8(p,dat) GSF_LE_SET_GUINT8((p),(dat))
1512
1512
</pre>
1513
1513
<p>
1514
1514
Store <em class="parameter"><code>dat</code></em> in little endian order in memory pointed to by <em class="parameter"><code>p</code></em>.</p>
1533
1533
</div>
1534
1534
<hr>
1535
1535
<div class="refsect2" lang="en">
1536
 
<a name="id2623487"></a><h3>
 
1536
<a name="id2623571"></a><h3>
1537
1537
<a name="GSF-LE-SET-GINT16:CAPS"></a>GSF_LE_SET_GINT16()</h3>
1538
 
<a class="indexterm" name="id2623501"></a><pre class="programlisting">#define GSF_LE_SET_GINT16(p,dat) GSF_LE_SET_GUINT16((p),(dat))
 
1538
<a class="indexterm" name="id2623585"></a><pre class="programlisting">#define GSF_LE_SET_GINT16(p,dat) GSF_LE_SET_GUINT16((p),(dat))
1539
1539
</pre>
1540
1540
<p>
1541
1541
Store <em class="parameter"><code>dat</code></em> in little endian order in memory pointed to by <em class="parameter"><code>p</code></em>.</p>
1560
1560
</div>
1561
1561
<hr>
1562
1562
<div class="refsect2" lang="en">
1563
 
<a name="id2623563"></a><h3>
 
1563
<a name="id2623648"></a><h3>
1564
1564
<a name="GSF-LE-SET-GINT32:CAPS"></a>GSF_LE_SET_GINT32()</h3>
1565
 
<a class="indexterm" name="id2623577"></a><pre class="programlisting">#define GSF_LE_SET_GINT32(p,dat) GSF_LE_SET_GUINT32((p),(dat))
 
1565
<a class="indexterm" name="id2623661"></a><pre class="programlisting">#define GSF_LE_SET_GINT32(p,dat) GSF_LE_SET_GUINT32((p),(dat))
1566
1566
</pre>
1567
1567
<p>
1568
1568
Store <em class="parameter"><code>dat</code></em> in little endian order in memory pointed to by <em class="parameter"><code>p</code></em>.</p>
1587
1587
</div>
1588
1588
<hr>
1589
1589
<div class="refsect2" lang="en">
1590
 
<a name="id2623640"></a><h3>
 
1590
<a name="id2623724"></a><h3>
1591
1591
<a name="GSF-LE-SET-GINT64:CAPS"></a>GSF_LE_SET_GINT64()</h3>
1592
 
<a class="indexterm" name="id2623653"></a><pre class="programlisting">#define GSF_LE_SET_GINT64(p,dat) GSF_LE_SET_GUINT64((p),(dat))
 
1592
<a class="indexterm" name="id2623738"></a><pre class="programlisting">#define GSF_LE_SET_GINT64(p,dat) GSF_LE_SET_GUINT64((p),(dat))
1593
1593
</pre>
1594
1594
<p>
1595
1595
Store <em class="parameter"><code>dat</code></em> in little endian order in memory pointed to by <em class="parameter"><code>p</code></em>.</p>
1614
1614
</div>
1615
1615
<hr>
1616
1616
<div class="refsect2" lang="en">
1617
 
<a name="id2623716"></a><h3>
 
1617
<a name="id2623800"></a><h3>
1618
1618
<a name="GSF-LE-SET-GUINT64:CAPS"></a>GSF_LE_SET_GUINT64()</h3>
1619
 
<a class="indexterm" name="id2623729"></a><pre class="programlisting">#define             GSF_LE_SET_GUINT64(p, dat)</pre>
 
1619
<a class="indexterm" name="id2623814"></a><pre class="programlisting">#define             GSF_LE_SET_GUINT64(p, dat)</pre>
1620
1620
<p>
1621
1621
Store <em class="parameter"><code>dat</code></em> in little endian order in memory pointed to by <em class="parameter"><code>p</code></em>.</p>
1622
1622
<p>
1640
1640
</div>
1641
1641
<hr>
1642
1642
<div class="refsect2" lang="en">
1643
 
<a name="id2623792"></a><h3>
 
1643
<a name="id2623876"></a><h3>
1644
1644
<a name="GSF-LE-SET-FLOAT:CAPS"></a>GSF_LE_SET_FLOAT()</h3>
1645
 
<a class="indexterm" name="id2623806"></a><pre class="programlisting">#define GSF_LE_SET_FLOAT(p,dat) gsf_le_set_float((p),(dat))
 
1645
<a class="indexterm" name="id2623890"></a><pre class="programlisting">#define GSF_LE_SET_FLOAT(p,dat) gsf_le_set_float((p),(dat))
1646
1646
</pre>
1647
1647
<p>
1648
1648
Store <em class="parameter"><code>dat</code></em> in little endian order in memory pointed to by <em class="parameter"><code>p</code></em>.</p>
1667
1667
</div>
1668
1668
<hr>
1669
1669
<div class="refsect2" lang="en">
1670
 
<a name="id2623868"></a><h3>
 
1670
<a name="id2623953"></a><h3>
1671
1671
<a name="GSF-LE-SET-DOUBLE:CAPS"></a>GSF_LE_SET_DOUBLE()</h3>
1672
 
<a class="indexterm" name="id2623882"></a><pre class="programlisting">#define GSF_LE_SET_DOUBLE(p,dat) gsf_le_set_double((p),(dat))
 
1672
<a class="indexterm" name="id2623966"></a><pre class="programlisting">#define GSF_LE_SET_DOUBLE(p,dat) gsf_le_set_double((p),(dat))
1673
1673
</pre>
1674
1674
<p>
1675
1675
Store <em class="parameter"><code>dat</code></em> in little endian order in memory pointed to by <em class="parameter"><code>p</code></em>.</p>
1694
1694
</div>
1695
1695
<hr>
1696
1696
<div class="refsect2" lang="en">
1697
 
<a name="id2623944"></a><h3>
 
1697
<a name="id2624029"></a><h3>
1698
1698
<a name="gsf-le-set-float"></a>gsf_le_set_float ()</h3>
1699
 
<a class="indexterm" name="id2623957"></a><pre class="programlisting">void                gsf_le_set_float                    (void *p,
 
1699
<a class="indexterm" name="id2624041"></a><pre class="programlisting">void                gsf_le_set_float                    (void *p,
1700
1700
                                                         float f);</pre>
1701
1701
<p>
1702
1702
Store a value of type float in memory in little endian order.</p>
1721
1721
</div>
1722
1722
<hr>
1723
1723
<div class="refsect2" lang="en">
1724
 
<a name="id2624030"></a><h3>
 
1724
<a name="id2624114"></a><h3>
1725
1725
<a name="gsf-le-set-double"></a>gsf_le_set_double ()</h3>
1726
 
<a class="indexterm" name="id2624043"></a><pre class="programlisting">void                gsf_le_set_double                   (void *p,
 
1726
<a class="indexterm" name="id2624128"></a><pre class="programlisting">void                gsf_le_set_double                   (void *p,
1727
1727
                                                         double d);</pre>
1728
1728
<p>
1729
1729
Store a value of type double in memory in little endian order</p>
1748
1748
</div>
1749
1749
<hr>
1750
1750
<div class="refsect2" lang="en">
1751
 
<a name="id2624115"></a><h3>
 
1751
<a name="id2624200"></a><h3>
1752
1752
<a name="GsfTimestamp"></a>GsfTimestamp</h3>
1753
 
<a class="indexterm" name="id2624128"></a><pre class="programlisting">typedef struct {
 
1753
<a class="indexterm" name="id2624212"></a><pre class="programlisting">typedef struct {
1754
1754
        GDate     date;                 /* In local timezone */
1755
1755
        glong     seconds;              /* time of day */
1756
1756
        GString   time_zone;            /* possibly blank */
1766
1766
</div>
1767
1767
<hr>
1768
1768
<div class="refsect2" lang="en">
1769
 
<a name="id2624150"></a><h3>
 
1769
<a name="id2624234"></a><h3>
1770
1770
<a name="gsf-timestamp-copy"></a>gsf_timestamp_copy ()</h3>
1771
 
<a class="indexterm" name="id2624163"></a><pre class="programlisting"><a href="gsf-utils.html#GsfTimestamp">GsfTimestamp</a>*       gsf_timestamp_copy                  (<a href="gsf-utils.html#GsfTimestamp">GsfTimestamp</a> const *stamp);</pre>
 
1771
<a class="indexterm" name="id2624248"></a><pre class="programlisting"><a href="gsf-utils.html#GsfTimestamp">GsfTimestamp</a>*       gsf_timestamp_copy                  (<a href="gsf-utils.html#GsfTimestamp">GsfTimestamp</a> const *stamp);</pre>
1772
1772
<p>
1773
1773
Copies a timestamp.</p>
1774
1774
<p>
1792
1792
</div>
1793
1793
<hr>
1794
1794
<div class="refsect2" lang="en">
1795
 
<a name="id2624230"></a><h3>
 
1795
<a name="id2624315"></a><h3>
1796
1796
<a name="gsf-timestamp-free"></a>gsf_timestamp_free ()</h3>
1797
 
<a class="indexterm" name="id2624244"></a><pre class="programlisting">void                gsf_timestamp_free                  (<a href="gsf-utils.html#GsfTimestamp">GsfTimestamp</a> *stamp);</pre>
 
1797
<a class="indexterm" name="id2624328"></a><pre class="programlisting">void                gsf_timestamp_free                  (<a href="gsf-utils.html#GsfTimestamp">GsfTimestamp</a> *stamp);</pre>
1798
1798
<p>
1799
1799
Releases the memory in use for <em class="parameter"><code>stamp</code></em> (if any).</p>
1800
1800
<p>
1811
1811
</div>
1812
1812
<hr>
1813
1813
<div class="refsect2" lang="en">
1814
 
<a name="id2624300"></a><h3>
 
1814
<a name="id2624385"></a><h3>
1815
1815
<a name="gsf-timestamp-as-string"></a>gsf_timestamp_as_string ()</h3>
1816
 
<a class="indexterm" name="id2624314"></a><pre class="programlisting">char*               gsf_timestamp_as_string             (<a href="gsf-utils.html#GsfTimestamp">GsfTimestamp</a> const *stamp);</pre>
 
1816
<a class="indexterm" name="id2624398"></a><pre class="programlisting">char*               gsf_timestamp_as_string             (<a href="gsf-utils.html#GsfTimestamp">GsfTimestamp</a> const *stamp);</pre>
1817
1817
<p>
1818
1818
Produce a string representation (ISO 8601 format) of <em class="parameter"><code>stamp</code></em>.</p>
1819
1819
<p>
1838
1838
</div>
1839
1839
<hr>
1840
1840
<div class="refsect2" lang="en">
1841
 
<a name="id2624395"></a><h3>
 
1841
<a name="id2624480"></a><h3>
1842
1842
<a name="gsf-timestamp-parse"></a>gsf_timestamp_parse ()</h3>
1843
 
<a class="indexterm" name="id2624409"></a><pre class="programlisting">int                 gsf_timestamp_parse                 (char const *spec,
 
1843
<a class="indexterm" name="id2624493"></a><pre class="programlisting">int                 gsf_timestamp_parse                 (char const *spec,
1844
1844
                                                         <a href="gsf-utils.html#GsfTimestamp">GsfTimestamp</a> *stamp);</pre>
1845
1845
<p>
1846
1846
Very simple parser for time stamps.  Currently requires a format of
1876
1876
</div>
1877
1877
<hr>
1878
1878
<div class="refsect2" lang="en">
1879
 
<a name="id2624504"></a><h3>
 
1879
<a name="id2624589"></a><h3>
1880
1880
<a name="gsf-timestamp-hash"></a>gsf_timestamp_hash ()</h3>
1881
 
<a class="indexterm" name="id2624518"></a><pre class="programlisting">guint               gsf_timestamp_hash                  (<a href="gsf-utils.html#GsfTimestamp">GsfTimestamp</a> const *stamp);</pre>
 
1881
<a class="indexterm" name="id2624602"></a><pre class="programlisting">guint               gsf_timestamp_hash                  (<a href="gsf-utils.html#GsfTimestamp">GsfTimestamp</a> const *stamp);</pre>
1882
1882
<p>
1883
1883
 
1884
1884
</p>
1902
1902
</div>
1903
1903
<hr>
1904
1904
<div class="refsect2" lang="en">
1905
 
<a name="id2624574"></a><h3>
 
1905
<a name="id2624659"></a><h3>
1906
1906
<a name="gsf-timestamp-equal"></a>gsf_timestamp_equal ()</h3>
1907
 
<a class="indexterm" name="id2624588"></a><pre class="programlisting">gboolean            gsf_timestamp_equal                 (<a href="gsf-utils.html#GsfTimestamp">GsfTimestamp</a> const *a,
 
1907
<a class="indexterm" name="id2624672"></a><pre class="programlisting">gboolean            gsf_timestamp_equal                 (<a href="gsf-utils.html#GsfTimestamp">GsfTimestamp</a> const *a,
1908
1908
                                                         <a href="gsf-utils.html#GsfTimestamp">GsfTimestamp</a> const *b);</pre>
1909
1909
<p>
1910
1910
Compare timestamps <em class="parameter"><code>a</code></em> and <em class="parameter"><code>b</code></em>.</p>
1935
1935
</div>
1936
1936
<hr>
1937
1937
<div class="refsect2" lang="en">
1938
 
<a name="id2624694"></a><h3>
 
1938
<a name="id2624778"></a><h3>
1939
1939
<a name="gsf-value-set-timestamp"></a>gsf_value_set_timestamp ()</h3>
1940
 
<a class="indexterm" name="id2624706"></a><pre class="programlisting">void                gsf_value_set_timestamp             (GValue *value,
 
1940
<a class="indexterm" name="id2624791"></a><pre class="programlisting">void                gsf_value_set_timestamp             (GValue *value,
1941
1941
                                                         <a href="gsf-utils.html#GsfTimestamp">GsfTimestamp</a> const *stamp);</pre>
1942
1942
<p>
1943
1943
 
1962
1962
</div>
1963
1963
<hr>
1964
1964
<div class="refsect2" lang="en">
1965
 
<a name="id2624774"></a><h3>
 
1965
<a name="id2624859"></a><h3>
1966
1966
<a name="VAL-IS-GSF-TIMESTAMP:CAPS"></a>VAL_IS_GSF_TIMESTAMP()</h3>
1967
 
<a class="indexterm" name="id2624788"></a><pre class="programlisting">#define VAL_IS_GSF_TIMESTAMP(v) (G_TYPE_CHECK_VALUE_TYPE((v), GSF_TIMESTAMP_TYPE))
 
1967
<a class="indexterm" name="id2624872"></a><pre class="programlisting">#define VAL_IS_GSF_TIMESTAMP(v) (G_TYPE_CHECK_VALUE_TYPE((v), GSF_TIMESTAMP_TYPE))
1968
1968
</pre>
1969
1969
<p>
1970
1970
 
1982
1982
</div>
1983
1983
<hr>
1984
1984
<div class="refsect2" lang="en">
1985
 
<a name="id2624822"></a><h3>
 
1985
<a name="id2624906"></a><h3>
1986
1986
<a name="gsf-doc-prop-swap-val"></a>gsf_doc_prop_swap_val ()</h3>
1987
 
<a class="indexterm" name="id2624835"></a><pre class="programlisting">GValue*             gsf_doc_prop_swap_val               (<a href="gsf-metadata.html#GsfDocProp">GsfDocProp</a> *prop,
 
1987
<a class="indexterm" name="id2624919"></a><pre class="programlisting">GValue*             gsf_doc_prop_swap_val               (<a href="gsf-metadata.html#GsfDocProp">GsfDocProp</a> *prop,
1988
1988
                                                         GValue *val);</pre>
1989
1989
<p>
1990
1990
</p>
2015
2015
</div>
2016
2016
<hr>
2017
2017
<div class="refsect2" lang="en">
2018
 
<a name="id2624944"></a><h3>
 
2018
<a name="id2625029"></a><h3>
2019
2019
<a name="gsf-property-settings-collect"></a>gsf_property_settings_collect ()</h3>
2020
 
<a class="indexterm" name="id2624958"></a><pre class="programlisting">void                gsf_property_settings_collect       (GType object_type,
 
2020
<a class="indexterm" name="id2625043"></a><pre class="programlisting">void                gsf_property_settings_collect       (GType object_type,
2021
2021
                                                         GParameter **p_params,
2022
2022
                                                         size_t *p_n_params,
2023
2023
                                                         const gchar *first_property_name,
2060
2060
</div>
2061
2061
<hr>
2062
2062
<div class="refsect2" lang="en">
2063
 
<a name="id2625084"></a><h3>
 
2063
<a name="id2625168"></a><h3>
2064
2064
<a name="gsf-property-settings-collect-valist"></a>gsf_property_settings_collect_valist ()</h3>
2065
 
<a class="indexterm" name="id2625098"></a><pre class="programlisting">void                gsf_property_settings_collect_valist
 
2065
<a class="indexterm" name="id2625182"></a><pre class="programlisting">void                gsf_property_settings_collect_valist
2066
2066
                                                        (GType object_type,
2067
2067
                                                         GParameter **p_params,
2068
2068
                                                         size_t *p_n_params,
2110
2110
</div>
2111
2111
<hr>
2112
2112
<div class="refsect2" lang="en">
2113
 
<a name="id2625244"></a><h3>
 
2113
<a name="id2625329"></a><h3>
2114
2114
<a name="gsf-property-settings-free"></a>gsf_property_settings_free ()</h3>
2115
 
<a class="indexterm" name="id2625258"></a><pre class="programlisting">void                gsf_property_settings_free          (GParameter *params,
 
2115
<a class="indexterm" name="id2625343"></a><pre class="programlisting">void                gsf_property_settings_free          (GParameter *params,
2116
2116
                                                         size_t n_params);</pre>
2117
2117
<p>
2118
2118