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,397 @@
|
|
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: Infile reading structed files</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="sources.html" title="Stream Sources">
|
9
|
+
<link rel="prev" href="sources.html" title="Stream Sources">
|
10
|
+
<link rel="next" href="gsf-Outfile-writing-structed-files.html" title="Outfile writing structed files">
|
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-Infile-reading-structed-files.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#gsf-Infile-reading-structed-files.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="sources.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
23
|
+
<td><a accesskey="p" href="sources.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
24
|
+
<td><a accesskey="n" href="gsf-Outfile-writing-structed-files.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-Infile-reading-structed-files"></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-Infile-reading-structed-files.top_of_page"></a>Infile reading structed files</span></h2>
|
31
|
+
<p>Infile reading structed files</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-Infile-reading-structed-files.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">int</span>
|
46
|
+
</td>
|
47
|
+
<td class="function_name">
|
48
|
+
<a class="link" href="gsf-Infile-reading-structed-files.html#gsf-infile-num-children" title="gsf_infile_num_children ()">gsf_infile_num_children</a> <span class="c_punctuation">()</span>
|
49
|
+
</td>
|
50
|
+
</tr>
|
51
|
+
<tr>
|
52
|
+
<td class="function_type">
|
53
|
+
<a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="returnvalue">GsfInput</span></a> *
|
54
|
+
</td>
|
55
|
+
<td class="function_name">
|
56
|
+
<a class="link" href="gsf-Infile-reading-structed-files.html#gsf-infile-child-by-index" title="gsf_infile_child_by_index ()">gsf_infile_child_by_index</a> <span class="c_punctuation">()</span>
|
57
|
+
</td>
|
58
|
+
</tr>
|
59
|
+
<tr>
|
60
|
+
<td class="function_type">
|
61
|
+
<a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="returnvalue">GsfInput</span></a> *
|
62
|
+
</td>
|
63
|
+
<td class="function_name">
|
64
|
+
<a class="link" href="gsf-Infile-reading-structed-files.html#gsf-infile-child-by-name" title="gsf_infile_child_by_name ()">gsf_infile_child_by_name</a> <span class="c_punctuation">()</span>
|
65
|
+
</td>
|
66
|
+
</tr>
|
67
|
+
<tr>
|
68
|
+
<td class="function_type">
|
69
|
+
<a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="returnvalue">GsfInput</span></a> *
|
70
|
+
</td>
|
71
|
+
<td class="function_name">
|
72
|
+
<a class="link" href="gsf-Infile-reading-structed-files.html#gsf-infile-child-by-vname" title="gsf_infile_child_by_vname ()">gsf_infile_child_by_vname</a> <span class="c_punctuation">()</span>
|
73
|
+
</td>
|
74
|
+
</tr>
|
75
|
+
<tr>
|
76
|
+
<td class="function_type">
|
77
|
+
<a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="returnvalue">GsfInput</span></a> *
|
78
|
+
</td>
|
79
|
+
<td class="function_name">
|
80
|
+
<a class="link" href="gsf-Infile-reading-structed-files.html#gsf-infile-child-by-aname" title="gsf_infile_child_by_aname ()">gsf_infile_child_by_aname</a> <span class="c_punctuation">()</span>
|
81
|
+
</td>
|
82
|
+
</tr>
|
83
|
+
<tr>
|
84
|
+
<td class="function_type">
|
85
|
+
<a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="returnvalue">GsfInput</span></a> *
|
86
|
+
</td>
|
87
|
+
<td class="function_name">
|
88
|
+
<a class="link" href="gsf-Infile-reading-structed-files.html#gsf-infile-child-by-vaname" title="gsf_infile_child_by_vaname ()">gsf_infile_child_by_vaname</a> <span class="c_punctuation">()</span>
|
89
|
+
</td>
|
90
|
+
</tr>
|
91
|
+
<tr>
|
92
|
+
<td class="function_type">
|
93
|
+
<span class="returnvalue">char</span> const *
|
94
|
+
</td>
|
95
|
+
<td class="function_name">
|
96
|
+
<a class="link" href="gsf-Infile-reading-structed-files.html#gsf-infile-name-by-index" title="gsf_infile_name_by_index ()">gsf_infile_name_by_index</a> <span class="c_punctuation">()</span>
|
97
|
+
</td>
|
98
|
+
</tr>
|
99
|
+
</tbody>
|
100
|
+
</table></div>
|
101
|
+
</div>
|
102
|
+
<a name="GsfInfile"></a><div class="refsect1">
|
103
|
+
<a name="gsf-Infile-reading-structed-files.other"></a><h2>Types and Values</h2>
|
104
|
+
<div class="informaltable"><table width="100%" border="0">
|
105
|
+
<colgroup>
|
106
|
+
<col width="150px" class="name">
|
107
|
+
<col class="description">
|
108
|
+
</colgroup>
|
109
|
+
<tbody><tr>
|
110
|
+
<td class="datatype_keyword"> </td>
|
111
|
+
<td class="function_name"><a class="link" href="gsf-Infile-reading-structed-files.html#GsfInfile-struct" title="GsfInfile">GsfInfile</a></td>
|
112
|
+
</tr></tbody>
|
113
|
+
</table></div>
|
114
|
+
</div>
|
115
|
+
<div class="refsect1">
|
116
|
+
<a name="gsf-Infile-reading-structed-files.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
117
|
+
<pre class="screen"> GObject
|
118
|
+
<span class="lineart">╰──</span> <a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput">GsfInput</a>
|
119
|
+
<span class="lineart">╰──</span> GsfInfile
|
120
|
+
<span class="lineart">├──</span> <a class="link" href="gsf-MS-OLE2.html#GsfInfileMSOle">GsfInfileMSOle</a>
|
121
|
+
<span class="lineart">├──</span> <a class="link" href="gsf-Reading-and-Writing-from-local-files-and-directories.html#GsfInfileStdio">GsfInfileStdio</a>
|
122
|
+
<span class="lineart">├──</span> <a class="link" href="gsf-Zip.html#GsfInfileZip">GsfInfileZip</a>
|
123
|
+
<span class="lineart">╰──</span> <a class="link" href="gsf-blobs.html#GsfStructuredBlob">GsfStructuredBlob</a>
|
124
|
+
</pre>
|
125
|
+
</div>
|
126
|
+
<div class="refsect1">
|
127
|
+
<a name="gsf-Infile-reading-structed-files.description"></a><h2>Description</h2>
|
128
|
+
<p>
|
129
|
+
</p>
|
130
|
+
</div>
|
131
|
+
<div class="refsect1">
|
132
|
+
<a name="gsf-Infile-reading-structed-files.functions_details"></a><h2>Functions</h2>
|
133
|
+
<div class="refsect2">
|
134
|
+
<a name="gsf-infile-num-children"></a><h3>gsf_infile_num_children ()</h3>
|
135
|
+
<pre class="programlisting"><span class="returnvalue">int</span>
|
136
|
+
gsf_infile_num_children (<em class="parameter"><code><a class="link" href="gsf-Infile-reading-structed-files.html#GsfInfile"><span class="type">GsfInfile</span></a> *infile</code></em>);</pre>
|
137
|
+
<div class="refsect3">
|
138
|
+
<a name="id-1.6.4.2.8.2.4"></a><h4>Parameters</h4>
|
139
|
+
<div class="informaltable"><table width="100%" border="0">
|
140
|
+
<colgroup>
|
141
|
+
<col width="150px" class="parameters_name">
|
142
|
+
<col class="parameters_description">
|
143
|
+
<col width="200px" class="parameters_annotations">
|
144
|
+
</colgroup>
|
145
|
+
<tbody><tr>
|
146
|
+
<td class="parameter_name"><p>infile</p></td>
|
147
|
+
<td class="parameter_description"><p>the structured storage</p></td>
|
148
|
+
<td class="parameter_annotations"> </td>
|
149
|
+
</tr></tbody>
|
150
|
+
</table></div>
|
151
|
+
</div>
|
152
|
+
<div class="refsect3">
|
153
|
+
<a name="id-1.6.4.2.8.2.5"></a><h4>Returns</h4>
|
154
|
+
<p> the number of children the storage has, or -1 if the storage can not
|
155
|
+
have children.</p>
|
156
|
+
<p></p>
|
157
|
+
</div>
|
158
|
+
</div>
|
159
|
+
<hr>
|
160
|
+
<div class="refsect2">
|
161
|
+
<a name="gsf-infile-child-by-index"></a><h3>gsf_infile_child_by_index ()</h3>
|
162
|
+
<pre class="programlisting"><a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="returnvalue">GsfInput</span></a> *
|
163
|
+
gsf_infile_child_by_index (<em class="parameter"><code><a class="link" href="gsf-Infile-reading-structed-files.html#GsfInfile"><span class="type">GsfInfile</span></a> *infile</code></em>,
|
164
|
+
<em class="parameter"><code><span class="type">int</span> i</code></em>);</pre>
|
165
|
+
<p>TODO : For 2.0 api will change to include a <span class="type">GError</span>.</p>
|
166
|
+
<div class="refsect3">
|
167
|
+
<a name="id-1.6.4.2.8.3.5"></a><h4>Parameters</h4>
|
168
|
+
<div class="informaltable"><table width="100%" border="0">
|
169
|
+
<colgroup>
|
170
|
+
<col width="150px" class="parameters_name">
|
171
|
+
<col class="parameters_description">
|
172
|
+
<col width="200px" class="parameters_annotations">
|
173
|
+
</colgroup>
|
174
|
+
<tbody>
|
175
|
+
<tr>
|
176
|
+
<td class="parameter_name"><p>infile</p></td>
|
177
|
+
<td class="parameter_description"><p><a class="link" href="gsf-Infile-reading-structed-files.html#GsfInfile"><span class="type">GsfInfile</span></a></p></td>
|
178
|
+
<td class="parameter_annotations"> </td>
|
179
|
+
</tr>
|
180
|
+
<tr>
|
181
|
+
<td class="parameter_name"><p>i</p></td>
|
182
|
+
<td class="parameter_description"><p>target index</p></td>
|
183
|
+
<td class="parameter_annotations"> </td>
|
184
|
+
</tr>
|
185
|
+
</tbody>
|
186
|
+
</table></div>
|
187
|
+
</div>
|
188
|
+
<div class="refsect3">
|
189
|
+
<a name="id-1.6.4.2.8.3.6"></a><h4>Returns</h4>
|
190
|
+
<p> a newly created child which must be unrefed. </p>
|
191
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
192
|
+
</div>
|
193
|
+
</div>
|
194
|
+
<hr>
|
195
|
+
<div class="refsect2">
|
196
|
+
<a name="gsf-infile-child-by-name"></a><h3>gsf_infile_child_by_name ()</h3>
|
197
|
+
<pre class="programlisting"><a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="returnvalue">GsfInput</span></a> *
|
198
|
+
gsf_infile_child_by_name (<em class="parameter"><code><a class="link" href="gsf-Infile-reading-structed-files.html#GsfInfile"><span class="type">GsfInfile</span></a> *infile</code></em>,
|
199
|
+
<em class="parameter"><code><span class="type">char</span> const *name</code></em>);</pre>
|
200
|
+
<p>The function returns a named child of the given infile. This only
|
201
|
+
works for an immediate child. If you need to go several levels
|
202
|
+
down use gsf_infile_child_by_aname, for example.</p>
|
203
|
+
<p>TODO : For 2.0 api will change to include a <span class="type">GError</span>.</p>
|
204
|
+
<div class="refsect3">
|
205
|
+
<a name="id-1.6.4.2.8.4.6"></a><h4>Parameters</h4>
|
206
|
+
<div class="informaltable"><table width="100%" border="0">
|
207
|
+
<colgroup>
|
208
|
+
<col width="150px" class="parameters_name">
|
209
|
+
<col class="parameters_description">
|
210
|
+
<col width="200px" class="parameters_annotations">
|
211
|
+
</colgroup>
|
212
|
+
<tbody>
|
213
|
+
<tr>
|
214
|
+
<td class="parameter_name"><p>infile</p></td>
|
215
|
+
<td class="parameter_description"><p><a class="link" href="gsf-Infile-reading-structed-files.html#GsfInfile"><span class="type">GsfInfile</span></a></p></td>
|
216
|
+
<td class="parameter_annotations"> </td>
|
217
|
+
</tr>
|
218
|
+
<tr>
|
219
|
+
<td class="parameter_name"><p>name</p></td>
|
220
|
+
<td class="parameter_description"><p>target name</p></td>
|
221
|
+
<td class="parameter_annotations"> </td>
|
222
|
+
</tr>
|
223
|
+
</tbody>
|
224
|
+
</table></div>
|
225
|
+
</div>
|
226
|
+
<div class="refsect3">
|
227
|
+
<a name="id-1.6.4.2.8.4.7"></a><h4>Returns</h4>
|
228
|
+
<p> a newly created child which must be
|
229
|
+
unrefed. </p>
|
230
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
231
|
+
</div>
|
232
|
+
</div>
|
233
|
+
<hr>
|
234
|
+
<div class="refsect2">
|
235
|
+
<a name="gsf-infile-child-by-vname"></a><h3>gsf_infile_child_by_vname ()</h3>
|
236
|
+
<pre class="programlisting"><a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="returnvalue">GsfInput</span></a> *
|
237
|
+
gsf_infile_child_by_vname (<em class="parameter"><code><a class="link" href="gsf-Infile-reading-structed-files.html#GsfInfile"><span class="type">GsfInfile</span></a> *infile</code></em>,
|
238
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
239
|
+
<p>Apart from the way arguments are specified, this is the same as
|
240
|
+
gsf_infile_child_by_aname. Please see the documentation there.</p>
|
241
|
+
<div class="refsect3">
|
242
|
+
<a name="id-1.6.4.2.8.5.5"></a><h4>Parameters</h4>
|
243
|
+
<div class="informaltable"><table width="100%" border="0">
|
244
|
+
<colgroup>
|
245
|
+
<col width="150px" class="parameters_name">
|
246
|
+
<col class="parameters_description">
|
247
|
+
<col width="200px" class="parameters_annotations">
|
248
|
+
</colgroup>
|
249
|
+
<tbody>
|
250
|
+
<tr>
|
251
|
+
<td class="parameter_name"><p>infile</p></td>
|
252
|
+
<td class="parameter_description"><p>a <a class="link" href="gsf-Infile-reading-structed-files.html#GsfInfile"><span class="type">GsfInfile</span></a></p></td>
|
253
|
+
<td class="parameter_annotations"> </td>
|
254
|
+
</tr>
|
255
|
+
<tr>
|
256
|
+
<td class="parameter_name"><p>...</p></td>
|
257
|
+
<td class="parameter_description"><p>A <code class="literal">NULL</code> terminated list of names</p></td>
|
258
|
+
<td class="parameter_annotations"> </td>
|
259
|
+
</tr>
|
260
|
+
</tbody>
|
261
|
+
</table></div>
|
262
|
+
</div>
|
263
|
+
<div class="refsect3">
|
264
|
+
<a name="id-1.6.4.2.8.5.6"></a><h4>Returns</h4>
|
265
|
+
<p> a newly created child which must be unrefed. </p>
|
266
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
267
|
+
</div>
|
268
|
+
</div>
|
269
|
+
<hr>
|
270
|
+
<div class="refsect2">
|
271
|
+
<a name="gsf-infile-child-by-aname"></a><h3>gsf_infile_child_by_aname ()</h3>
|
272
|
+
<pre class="programlisting"><a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="returnvalue">GsfInput</span></a> *
|
273
|
+
gsf_infile_child_by_aname (<em class="parameter"><code><a class="link" href="gsf-Infile-reading-structed-files.html#GsfInfile"><span class="type">GsfInfile</span></a> *infile</code></em>,
|
274
|
+
<em class="parameter"><code><span class="type">char</span> const *names[]</code></em>);</pre>
|
275
|
+
<p>This function finds a child that is several directory levels down
|
276
|
+
the tree. If, for example, the names "foo", "bar", and "baz" are
|
277
|
+
given, then this function first finds the "foo" directory in the
|
278
|
+
root infile, then locates "bar" within that directory, and finally
|
279
|
+
locates "baz" within that and returns the "baz" child. In other
|
280
|
+
words, this function finds the "foo/bar/baz" child.</p>
|
281
|
+
<p>New in 1.14.9.</p>
|
282
|
+
<div class="refsect3">
|
283
|
+
<a name="id-1.6.4.2.8.6.6"></a><h4>Parameters</h4>
|
284
|
+
<div class="informaltable"><table width="100%" border="0">
|
285
|
+
<colgroup>
|
286
|
+
<col width="150px" class="parameters_name">
|
287
|
+
<col class="parameters_description">
|
288
|
+
<col width="200px" class="parameters_annotations">
|
289
|
+
</colgroup>
|
290
|
+
<tbody>
|
291
|
+
<tr>
|
292
|
+
<td class="parameter_name"><p>infile</p></td>
|
293
|
+
<td class="parameter_description"><p><a class="link" href="gsf-Infile-reading-structed-files.html#GsfInfile"><span class="type">GsfInfile</span></a></p></td>
|
294
|
+
<td class="parameter_annotations"> </td>
|
295
|
+
</tr>
|
296
|
+
<tr>
|
297
|
+
<td class="parameter_name"><p>names</p></td>
|
298
|
+
<td class="parameter_description"><p>A <code class="literal">NULL</code> terminated array of names (e.g. from g_strsplit)</p></td>
|
299
|
+
<td class="parameter_annotations"> </td>
|
300
|
+
</tr>
|
301
|
+
</tbody>
|
302
|
+
</table></div>
|
303
|
+
</div>
|
304
|
+
<div class="refsect3">
|
305
|
+
<a name="id-1.6.4.2.8.6.7"></a><h4>Returns</h4>
|
306
|
+
<p> a newly created child which must be unrefed. </p>
|
307
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
308
|
+
</div>
|
309
|
+
</div>
|
310
|
+
<hr>
|
311
|
+
<div class="refsect2">
|
312
|
+
<a name="gsf-infile-child-by-vaname"></a><h3>gsf_infile_child_by_vaname ()</h3>
|
313
|
+
<pre class="programlisting"><a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="returnvalue">GsfInput</span></a> *
|
314
|
+
gsf_infile_child_by_vaname (<em class="parameter"><code><a class="link" href="gsf-Infile-reading-structed-files.html#GsfInfile"><span class="type">GsfInfile</span></a> *infile</code></em>,
|
315
|
+
<em class="parameter"><code><span class="type">va_list</span> names</code></em>);</pre>
|
316
|
+
<p>Apart from argument types, this is the same as gsf_infile_child_by_aname.
|
317
|
+
Please see the documentation there.
|
318
|
+
New in 1.14.9.</p>
|
319
|
+
<div class="refsect3">
|
320
|
+
<a name="id-1.6.4.2.8.7.5"></a><h4>Parameters</h4>
|
321
|
+
<div class="informaltable"><table width="100%" border="0">
|
322
|
+
<colgroup>
|
323
|
+
<col width="150px" class="parameters_name">
|
324
|
+
<col class="parameters_description">
|
325
|
+
<col width="200px" class="parameters_annotations">
|
326
|
+
</colgroup>
|
327
|
+
<tbody>
|
328
|
+
<tr>
|
329
|
+
<td class="parameter_name"><p>infile</p></td>
|
330
|
+
<td class="parameter_description"><p><a class="link" href="gsf-Infile-reading-structed-files.html#GsfInfile"><span class="type">GsfInfile</span></a></p></td>
|
331
|
+
<td class="parameter_annotations"> </td>
|
332
|
+
</tr>
|
333
|
+
<tr>
|
334
|
+
<td class="parameter_name"><p>names</p></td>
|
335
|
+
<td class="parameter_description"><p>A <code class="literal">NULL</code> terminated array of names (e.g. from g_strsplit)</p></td>
|
336
|
+
<td class="parameter_annotations"> </td>
|
337
|
+
</tr>
|
338
|
+
</tbody>
|
339
|
+
</table></div>
|
340
|
+
</div>
|
341
|
+
<div class="refsect3">
|
342
|
+
<a name="id-1.6.4.2.8.7.6"></a><h4>Returns</h4>
|
343
|
+
<p> a newly created child which must be unrefed. </p>
|
344
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
345
|
+
</div>
|
346
|
+
</div>
|
347
|
+
<hr>
|
348
|
+
<div class="refsect2">
|
349
|
+
<a name="gsf-infile-name-by-index"></a><h3>gsf_infile_name_by_index ()</h3>
|
350
|
+
<pre class="programlisting"><span class="returnvalue">char</span> const *
|
351
|
+
gsf_infile_name_by_index (<em class="parameter"><code><a class="link" href="gsf-Infile-reading-structed-files.html#GsfInfile"><span class="type">GsfInfile</span></a> *infile</code></em>,
|
352
|
+
<em class="parameter"><code><span class="type">int</span> i</code></em>);</pre>
|
353
|
+
<div class="refsect3">
|
354
|
+
<a name="id-1.6.4.2.8.8.4"></a><h4>Parameters</h4>
|
355
|
+
<div class="informaltable"><table width="100%" border="0">
|
356
|
+
<colgroup>
|
357
|
+
<col width="150px" class="parameters_name">
|
358
|
+
<col class="parameters_description">
|
359
|
+
<col width="200px" class="parameters_annotations">
|
360
|
+
</colgroup>
|
361
|
+
<tbody>
|
362
|
+
<tr>
|
363
|
+
<td class="parameter_name"><p>infile</p></td>
|
364
|
+
<td class="parameter_description"><p>An <a class="link" href="gsf-Infile-reading-structed-files.html#GsfInfile"><span class="type">GsfInfile</span></a></p></td>
|
365
|
+
<td class="parameter_annotations"> </td>
|
366
|
+
</tr>
|
367
|
+
<tr>
|
368
|
+
<td class="parameter_name"><p>i</p></td>
|
369
|
+
<td class="parameter_description"><p>zero-based index of child to find.</p></td>
|
370
|
+
<td class="parameter_annotations"> </td>
|
371
|
+
</tr>
|
372
|
+
</tbody>
|
373
|
+
</table></div>
|
374
|
+
</div>
|
375
|
+
<div class="refsect3">
|
376
|
+
<a name="id-1.6.4.2.8.8.5"></a><h4>Returns</h4>
|
377
|
+
<p> the utf8 encoded name of the <em class="parameter"><code>i</code></em>
|
378
|
+
-th child. </p>
|
379
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
380
|
+
</div>
|
381
|
+
</div>
|
382
|
+
</div>
|
383
|
+
<div class="refsect1">
|
384
|
+
<a name="gsf-Infile-reading-structed-files.other_details"></a><h2>Types and Values</h2>
|
385
|
+
<div class="refsect2">
|
386
|
+
<a name="GsfInfile-struct"></a><h3>GsfInfile</h3>
|
387
|
+
<pre class="programlisting">typedef struct _GsfInfile GsfInfile;</pre>
|
388
|
+
<p>
|
389
|
+
</p>
|
390
|
+
</div>
|
391
|
+
</div>
|
392
|
+
</div>
|
393
|
+
<div class="footer">
|
394
|
+
<hr>
|
395
|
+
Generated by GTK-Doc V1.20</div>
|
396
|
+
</body>
|
397
|
+
</html>
|