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