gsf 3.0.9-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- 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,593 @@
|
|
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: Reading and Writing from local files and directories</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="gsf-Outfile-writing-structed-files.html" title="Outfile writing structed files">
|
10
|
+
<link rel="next" href="gsf-memory.html" title="memory">
|
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-Reading-and-Writing-from-local-files-and-directories.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#gsf-Reading-and-Writing-from-local-files-and-directories.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="gsf-Outfile-writing-structed-files.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
24
|
+
<td><a accesskey="n" href="gsf-memory.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-Reading-and-Writing-from-local-files-and-directories"></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-Reading-and-Writing-from-local-files-and-directories.top_of_page"></a>Reading and Writing from local files and directories</span></h2>
|
31
|
+
<p>Reading and Writing from local files and directories</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-Reading-and-Writing-from-local-files-and-directories.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
|
+
<a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="returnvalue">GsfInput</span></a> *
|
46
|
+
</td>
|
47
|
+
<td class="function_name">
|
48
|
+
<a class="link" href="gsf-Reading-and-Writing-from-local-files-and-directories.html#gsf-input-stdio-new" title="gsf_input_stdio_new ()">gsf_input_stdio_new</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-Reading-and-Writing-from-local-files-and-directories.html#gsf-input-stdio-new-FILE" title="gsf_input_stdio_new_FILE ()">gsf_input_stdio_new_FILE</a> <span class="c_punctuation">()</span>
|
57
|
+
</td>
|
58
|
+
</tr>
|
59
|
+
<tr>
|
60
|
+
<td class="function_type">
|
61
|
+
<a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="returnvalue">GsfOutput</span></a> *
|
62
|
+
</td>
|
63
|
+
<td class="function_name">
|
64
|
+
<a class="link" href="gsf-Reading-and-Writing-from-local-files-and-directories.html#gsf-output-stdio-new" title="gsf_output_stdio_new ()">gsf_output_stdio_new</a> <span class="c_punctuation">()</span>
|
65
|
+
</td>
|
66
|
+
</tr>
|
67
|
+
<tr>
|
68
|
+
<td class="function_type">
|
69
|
+
<a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="returnvalue">GsfOutput</span></a> *
|
70
|
+
</td>
|
71
|
+
<td class="function_name">
|
72
|
+
<a class="link" href="gsf-Reading-and-Writing-from-local-files-and-directories.html#gsf-output-stdio-new-full" title="gsf_output_stdio_new_full ()">gsf_output_stdio_new_full</a> <span class="c_punctuation">()</span>
|
73
|
+
</td>
|
74
|
+
</tr>
|
75
|
+
<tr>
|
76
|
+
<td class="function_type">
|
77
|
+
<a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="returnvalue">GsfOutput</span></a> *
|
78
|
+
</td>
|
79
|
+
<td class="function_name">
|
80
|
+
<a class="link" href="gsf-Reading-and-Writing-from-local-files-and-directories.html#gsf-output-stdio-new-valist" title="gsf_output_stdio_new_valist ()">gsf_output_stdio_new_valist</a> <span class="c_punctuation">()</span>
|
81
|
+
</td>
|
82
|
+
</tr>
|
83
|
+
<tr>
|
84
|
+
<td class="function_type">
|
85
|
+
<a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="returnvalue">GsfOutput</span></a> *
|
86
|
+
</td>
|
87
|
+
<td class="function_name">
|
88
|
+
<a class="link" href="gsf-Reading-and-Writing-from-local-files-and-directories.html#gsf-output-stdio-new-FILE" title="gsf_output_stdio_new_FILE ()">gsf_output_stdio_new_FILE</a> <span class="c_punctuation">()</span>
|
89
|
+
</td>
|
90
|
+
</tr>
|
91
|
+
<tr>
|
92
|
+
<td class="function_type">
|
93
|
+
<a class="link" href="gsf-Outfile-writing-structed-files.html#GsfOutfile"><span class="returnvalue">GsfOutfile</span></a> *
|
94
|
+
</td>
|
95
|
+
<td class="function_name">
|
96
|
+
<a class="link" href="gsf-Reading-and-Writing-from-local-files-and-directories.html#gsf-outfile-stdio-new" title="gsf_outfile_stdio_new ()">gsf_outfile_stdio_new</a> <span class="c_punctuation">()</span>
|
97
|
+
</td>
|
98
|
+
</tr>
|
99
|
+
<tr>
|
100
|
+
<td class="function_type">
|
101
|
+
<a class="link" href="gsf-Outfile-writing-structed-files.html#GsfOutfile"><span class="returnvalue">GsfOutfile</span></a> *
|
102
|
+
</td>
|
103
|
+
<td class="function_name">
|
104
|
+
<a class="link" href="gsf-Reading-and-Writing-from-local-files-and-directories.html#gsf-outfile-stdio-new-full" title="gsf_outfile_stdio_new_full ()">gsf_outfile_stdio_new_full</a> <span class="c_punctuation">()</span>
|
105
|
+
</td>
|
106
|
+
</tr>
|
107
|
+
<tr>
|
108
|
+
<td class="function_type">
|
109
|
+
<a class="link" href="gsf-Outfile-writing-structed-files.html#GsfOutfile"><span class="returnvalue">GsfOutfile</span></a> *
|
110
|
+
</td>
|
111
|
+
<td class="function_name">
|
112
|
+
<a class="link" href="gsf-Reading-and-Writing-from-local-files-and-directories.html#gsf-outfile-stdio-new-valist" title="gsf_outfile_stdio_new_valist ()">gsf_outfile_stdio_new_valist</a> <span class="c_punctuation">()</span>
|
113
|
+
</td>
|
114
|
+
</tr>
|
115
|
+
<tr>
|
116
|
+
<td class="function_type">
|
117
|
+
<a class="link" href="gsf-Infile-reading-structed-files.html#GsfInfile"><span class="returnvalue">GsfInfile</span></a> *
|
118
|
+
</td>
|
119
|
+
<td class="function_name">
|
120
|
+
<a class="link" href="gsf-Reading-and-Writing-from-local-files-and-directories.html#gsf-infile-stdio-new" title="gsf_infile_stdio_new ()">gsf_infile_stdio_new</a> <span class="c_punctuation">()</span>
|
121
|
+
</td>
|
122
|
+
</tr>
|
123
|
+
</tbody>
|
124
|
+
</table></div>
|
125
|
+
</div>
|
126
|
+
<a name="GsfInputStdio"></a><a name="GsfOutputStdio"></a><a name="GsfOutfileStdio"></a><a name="GsfInfileStdio"></a><div class="refsect1">
|
127
|
+
<a name="gsf-Reading-and-Writing-from-local-files-and-directories.other"></a><h2>Types and Values</h2>
|
128
|
+
<div class="informaltable"><table width="100%" border="0">
|
129
|
+
<colgroup>
|
130
|
+
<col width="150px" class="name">
|
131
|
+
<col class="description">
|
132
|
+
</colgroup>
|
133
|
+
<tbody>
|
134
|
+
<tr>
|
135
|
+
<td class="datatype_keyword"> </td>
|
136
|
+
<td class="function_name"><a class="link" href="gsf-Reading-and-Writing-from-local-files-and-directories.html#GsfInputStdio-struct" title="GsfInputStdio">GsfInputStdio</a></td>
|
137
|
+
</tr>
|
138
|
+
<tr>
|
139
|
+
<td class="datatype_keyword"> </td>
|
140
|
+
<td class="function_name"><a class="link" href="gsf-Reading-and-Writing-from-local-files-and-directories.html#GsfOutputStdio-struct" title="GsfOutputStdio">GsfOutputStdio</a></td>
|
141
|
+
</tr>
|
142
|
+
<tr>
|
143
|
+
<td class="datatype_keyword"> </td>
|
144
|
+
<td class="function_name"><a class="link" href="gsf-Reading-and-Writing-from-local-files-and-directories.html#GsfOutfileStdio-struct" title="GsfOutfileStdio">GsfOutfileStdio</a></td>
|
145
|
+
</tr>
|
146
|
+
<tr>
|
147
|
+
<td class="datatype_keyword"> </td>
|
148
|
+
<td class="function_name"><a class="link" href="gsf-Reading-and-Writing-from-local-files-and-directories.html#GsfInfileStdio-struct" title="GsfInfileStdio">GsfInfileStdio</a></td>
|
149
|
+
</tr>
|
150
|
+
</tbody>
|
151
|
+
</table></div>
|
152
|
+
</div>
|
153
|
+
<div class="refsect1">
|
154
|
+
<a name="gsf-Reading-and-Writing-from-local-files-and-directories.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
155
|
+
<pre class="screen"> GObject
|
156
|
+
<span class="lineart">├──</span> <a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput">GsfInput</a>
|
157
|
+
<span class="lineart">│</span> <span class="lineart">├──</span> <a class="link" href="gsf-Infile-reading-structed-files.html#GsfInfile">GsfInfile</a>
|
158
|
+
<span class="lineart">│</span> <span class="lineart">│</span> <span class="lineart">╰──</span> GsfInfileStdio
|
159
|
+
<span class="lineart">│</span> <span class="lineart">╰──</span> GsfInputStdio
|
160
|
+
<span class="lineart">╰──</span> <a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput">GsfOutput</a>
|
161
|
+
<span class="lineart">├──</span> <a class="link" href="gsf-Outfile-writing-structed-files.html#GsfOutfile">GsfOutfile</a>
|
162
|
+
<span class="lineart">│</span> <span class="lineart">╰──</span> GsfOutfileStdio
|
163
|
+
<span class="lineart">╰──</span> GsfOutputStdio
|
164
|
+
</pre>
|
165
|
+
</div>
|
166
|
+
<div class="refsect1">
|
167
|
+
<a name="gsf-Reading-and-Writing-from-local-files-and-directories.description"></a><h2>Description</h2>
|
168
|
+
<p>
|
169
|
+
</p>
|
170
|
+
</div>
|
171
|
+
<div class="refsect1">
|
172
|
+
<a name="gsf-Reading-and-Writing-from-local-files-and-directories.functions_details"></a><h2>Functions</h2>
|
173
|
+
<div class="refsect2">
|
174
|
+
<a name="gsf-input-stdio-new"></a><h3>gsf_input_stdio_new ()</h3>
|
175
|
+
<pre class="programlisting"><a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="returnvalue">GsfInput</span></a> *
|
176
|
+
gsf_input_stdio_new (<em class="parameter"><code><span class="type">char</span> const *filename</code></em>,
|
177
|
+
<em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre>
|
178
|
+
<div class="refsect3">
|
179
|
+
<a name="id-1.6.4.4.11.2.4"></a><h4>Parameters</h4>
|
180
|
+
<div class="informaltable"><table width="100%" border="0">
|
181
|
+
<colgroup>
|
182
|
+
<col width="150px" class="parameters_name">
|
183
|
+
<col class="parameters_description">
|
184
|
+
<col width="200px" class="parameters_annotations">
|
185
|
+
</colgroup>
|
186
|
+
<tbody>
|
187
|
+
<tr>
|
188
|
+
<td class="parameter_name"><p>filename</p></td>
|
189
|
+
<td class="parameter_description"><p>in utf8.</p></td>
|
190
|
+
<td class="parameter_annotations"> </td>
|
191
|
+
</tr>
|
192
|
+
<tr>
|
193
|
+
<td class="parameter_name"><p>err</p></td>
|
194
|
+
<td class="parameter_description"><p> place to store a <span class="type">GError</span> if anything goes wrong. </p></td>
|
195
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
196
|
+
</tr>
|
197
|
+
</tbody>
|
198
|
+
</table></div>
|
199
|
+
</div>
|
200
|
+
<div class="refsect3">
|
201
|
+
<a name="id-1.6.4.4.11.2.5"></a><h4>Returns</h4>
|
202
|
+
<p> a new file or <code class="literal">NULL</code>.</p>
|
203
|
+
<p></p>
|
204
|
+
</div>
|
205
|
+
</div>
|
206
|
+
<hr>
|
207
|
+
<div class="refsect2">
|
208
|
+
<a name="gsf-input-stdio-new-FILE"></a><h3>gsf_input_stdio_new_FILE ()</h3>
|
209
|
+
<pre class="programlisting"><a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="returnvalue">GsfInput</span></a> *
|
210
|
+
gsf_input_stdio_new_FILE (<em class="parameter"><code><span class="type">char</span> const *filename</code></em>,
|
211
|
+
<em class="parameter"><code><span class="type">FILE</span> *file</code></em>,
|
212
|
+
<em class="parameter"><code><span class="type">gboolean</span> keep_open</code></em>);</pre>
|
213
|
+
<p>Assumes ownership of <em class="parameter"><code>file</code></em>
|
214
|
+
when succeeding. If <em class="parameter"><code>keep_open</code></em>
|
215
|
+
is true,
|
216
|
+
ownership reverts to caller when the <a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="type">GsfInput</span></a> is closed.</p>
|
217
|
+
<div class="refsect3">
|
218
|
+
<a name="id-1.6.4.4.11.3.5"></a><h4>Parameters</h4>
|
219
|
+
<div class="informaltable"><table width="100%" border="0">
|
220
|
+
<colgroup>
|
221
|
+
<col width="150px" class="parameters_name">
|
222
|
+
<col class="parameters_description">
|
223
|
+
<col width="200px" class="parameters_annotations">
|
224
|
+
</colgroup>
|
225
|
+
<tbody>
|
226
|
+
<tr>
|
227
|
+
<td class="parameter_name"><p>filename</p></td>
|
228
|
+
<td class="parameter_description"><p>The filename corresponding to <em class="parameter"><code>file</code></em>
|
229
|
+
.</p></td>
|
230
|
+
<td class="parameter_annotations"> </td>
|
231
|
+
</tr>
|
232
|
+
<tr>
|
233
|
+
<td class="parameter_name"><p>file</p></td>
|
234
|
+
<td class="parameter_description"><p> an existing stdio <span class="type">FILE</span> *. </p></td>
|
235
|
+
<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>
|
236
|
+
</tr>
|
237
|
+
<tr>
|
238
|
+
<td class="parameter_name"><p>keep_open</p></td>
|
239
|
+
<td class="parameter_description"><p>Should <em class="parameter"><code>file</code></em>
|
240
|
+
be closed when the wrapper is closed</p></td>
|
241
|
+
<td class="parameter_annotations"> </td>
|
242
|
+
</tr>
|
243
|
+
</tbody>
|
244
|
+
</table></div>
|
245
|
+
</div>
|
246
|
+
<div class="refsect3">
|
247
|
+
<a name="id-1.6.4.4.11.3.6"></a><h4>Returns</h4>
|
248
|
+
<p> a new <a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="type">GsfInput</span></a> wrapper for <em class="parameter"><code>file</code></em>
|
249
|
+
. Note that if the file is not
|
250
|
+
seekable, this function will make a local copy of the entire file.</p>
|
251
|
+
<p></p>
|
252
|
+
</div>
|
253
|
+
</div>
|
254
|
+
<hr>
|
255
|
+
<div class="refsect2">
|
256
|
+
<a name="gsf-output-stdio-new"></a><h3>gsf_output_stdio_new ()</h3>
|
257
|
+
<pre class="programlisting"><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="returnvalue">GsfOutput</span></a> *
|
258
|
+
gsf_output_stdio_new (<em class="parameter"><code><span class="type">char</span> const *filename</code></em>,
|
259
|
+
<em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre>
|
260
|
+
<div class="refsect3">
|
261
|
+
<a name="id-1.6.4.4.11.4.4"></a><h4>Parameters</h4>
|
262
|
+
<div class="informaltable"><table width="100%" border="0">
|
263
|
+
<colgroup>
|
264
|
+
<col width="150px" class="parameters_name">
|
265
|
+
<col class="parameters_description">
|
266
|
+
<col width="200px" class="parameters_annotations">
|
267
|
+
</colgroup>
|
268
|
+
<tbody>
|
269
|
+
<tr>
|
270
|
+
<td class="parameter_name"><p>filename</p></td>
|
271
|
+
<td class="parameter_description"><p>name of file to create or replace.</p></td>
|
272
|
+
<td class="parameter_annotations"> </td>
|
273
|
+
</tr>
|
274
|
+
<tr>
|
275
|
+
<td class="parameter_name"><p>err</p></td>
|
276
|
+
<td class="parameter_description"><p> place to store a <span class="type">GError</span> if anything goes wrong. </p></td>
|
277
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
278
|
+
</tr>
|
279
|
+
</tbody>
|
280
|
+
</table></div>
|
281
|
+
</div>
|
282
|
+
<div class="refsect3">
|
283
|
+
<a name="id-1.6.4.4.11.4.5"></a><h4>Returns</h4>
|
284
|
+
<p> a new file or <code class="literal">NULL</code>.</p>
|
285
|
+
<p></p>
|
286
|
+
</div>
|
287
|
+
</div>
|
288
|
+
<hr>
|
289
|
+
<div class="refsect2">
|
290
|
+
<a name="gsf-output-stdio-new-full"></a><h3>gsf_output_stdio_new_full ()</h3>
|
291
|
+
<pre class="programlisting"><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="returnvalue">GsfOutput</span></a> *
|
292
|
+
gsf_output_stdio_new_full (<em class="parameter"><code><span class="type">char</span> const *filename</code></em>,
|
293
|
+
<em class="parameter"><code><span class="type">GError</span> **err</code></em>,
|
294
|
+
<em class="parameter"><code><span class="type">char</span> const *first_property_name</code></em>,
|
295
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
296
|
+
<div class="refsect3">
|
297
|
+
<a name="id-1.6.4.4.11.5.4"></a><h4>Parameters</h4>
|
298
|
+
<div class="informaltable"><table width="100%" border="0">
|
299
|
+
<colgroup>
|
300
|
+
<col width="150px" class="parameters_name">
|
301
|
+
<col class="parameters_description">
|
302
|
+
<col width="200px" class="parameters_annotations">
|
303
|
+
</colgroup>
|
304
|
+
<tbody>
|
305
|
+
<tr>
|
306
|
+
<td class="parameter_name"><p>filename</p></td>
|
307
|
+
<td class="parameter_description"><p>name of file to create or replace.</p></td>
|
308
|
+
<td class="parameter_annotations"> </td>
|
309
|
+
</tr>
|
310
|
+
<tr>
|
311
|
+
<td class="parameter_name"><p>err</p></td>
|
312
|
+
<td class="parameter_description"><p> place to store a <span class="type">GError</span> if anything goes wrong. </p></td>
|
313
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
314
|
+
</tr>
|
315
|
+
<tr>
|
316
|
+
<td class="parameter_name"><p>first_property_name</p></td>
|
317
|
+
<td class="parameter_description"><p><code class="literal">NULL</code> terminated list of properties</p></td>
|
318
|
+
<td class="parameter_annotations"> </td>
|
319
|
+
</tr>
|
320
|
+
</tbody>
|
321
|
+
</table></div>
|
322
|
+
</div>
|
323
|
+
<div class="refsect3">
|
324
|
+
<a name="id-1.6.4.4.11.5.5"></a><h4>Returns</h4>
|
325
|
+
<p> a new file or <code class="literal">NULL</code>.</p>
|
326
|
+
<p></p>
|
327
|
+
</div>
|
328
|
+
</div>
|
329
|
+
<hr>
|
330
|
+
<div class="refsect2">
|
331
|
+
<a name="gsf-output-stdio-new-valist"></a><h3>gsf_output_stdio_new_valist ()</h3>
|
332
|
+
<pre class="programlisting"><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="returnvalue">GsfOutput</span></a> *
|
333
|
+
gsf_output_stdio_new_valist (<em class="parameter"><code><span class="type">char</span> const *filename</code></em>,
|
334
|
+
<em class="parameter"><code><span class="type">GError</span> **err</code></em>,
|
335
|
+
<em class="parameter"><code><span class="type">char</span> const *first_property_name</code></em>,
|
336
|
+
<em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);</pre>
|
337
|
+
<p>
|
338
|
+
</p>
|
339
|
+
<div class="refsect3">
|
340
|
+
<a name="id-1.6.4.4.11.6.5"></a><h4>Returns</h4>
|
341
|
+
<p></p>
|
342
|
+
</div>
|
343
|
+
</div>
|
344
|
+
<hr>
|
345
|
+
<div class="refsect2">
|
346
|
+
<a name="gsf-output-stdio-new-FILE"></a><h3>gsf_output_stdio_new_FILE ()</h3>
|
347
|
+
<pre class="programlisting"><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="returnvalue">GsfOutput</span></a> *
|
348
|
+
gsf_output_stdio_new_FILE (<em class="parameter"><code><span class="type">char</span> const *filename</code></em>,
|
349
|
+
<em class="parameter"><code><span class="type">FILE</span> *file</code></em>,
|
350
|
+
<em class="parameter"><code><span class="type">gboolean</span> keep_open</code></em>);</pre>
|
351
|
+
<p>Assumes ownership of <em class="parameter"><code>file</code></em>
|
352
|
+
. If <em class="parameter"><code>keep_open</code></em>
|
353
|
+
is true, ownership reverts
|
354
|
+
to caller when the GsfOutput is closed.</p>
|
355
|
+
<div class="refsect3">
|
356
|
+
<a name="id-1.6.4.4.11.7.5"></a><h4>Parameters</h4>
|
357
|
+
<div class="informaltable"><table width="100%" border="0">
|
358
|
+
<colgroup>
|
359
|
+
<col width="150px" class="parameters_name">
|
360
|
+
<col class="parameters_description">
|
361
|
+
<col width="200px" class="parameters_annotations">
|
362
|
+
</colgroup>
|
363
|
+
<tbody>
|
364
|
+
<tr>
|
365
|
+
<td class="parameter_name"><p>filename</p></td>
|
366
|
+
<td class="parameter_description"><p>The filename corresponding to <em class="parameter"><code>file</code></em>
|
367
|
+
.</p></td>
|
368
|
+
<td class="parameter_annotations"> </td>
|
369
|
+
</tr>
|
370
|
+
<tr>
|
371
|
+
<td class="parameter_name"><p>file</p></td>
|
372
|
+
<td class="parameter_description"><p> an existing stdio <span class="type">FILE</span> *. </p></td>
|
373
|
+
<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>
|
374
|
+
</tr>
|
375
|
+
<tr>
|
376
|
+
<td class="parameter_name"><p>keep_open</p></td>
|
377
|
+
<td class="parameter_description"><p>Should <em class="parameter"><code>file</code></em>
|
378
|
+
be closed when the wrapper is closed</p></td>
|
379
|
+
<td class="parameter_annotations"> </td>
|
380
|
+
</tr>
|
381
|
+
</tbody>
|
382
|
+
</table></div>
|
383
|
+
</div>
|
384
|
+
<div class="refsect3">
|
385
|
+
<a name="id-1.6.4.4.11.7.6"></a><h4>Returns</h4>
|
386
|
+
<p> a new GsfOutput wrapper for <em class="parameter"><code>file</code></em>
|
387
|
+
. Warning: the result will be
|
388
|
+
seekable only if <em class="parameter"><code>file</code></em>
|
389
|
+
is seekable. If it is seekable, the resulting
|
390
|
+
GsfOutput object will seek relative to <em class="parameter"><code>file</code></em>
|
391
|
+
's beginning, not its
|
392
|
+
current location at the time the GsfOutput object is created.</p>
|
393
|
+
<p></p>
|
394
|
+
</div>
|
395
|
+
</div>
|
396
|
+
<hr>
|
397
|
+
<div class="refsect2">
|
398
|
+
<a name="gsf-outfile-stdio-new"></a><h3>gsf_outfile_stdio_new ()</h3>
|
399
|
+
<pre class="programlisting"><a class="link" href="gsf-Outfile-writing-structed-files.html#GsfOutfile"><span class="returnvalue">GsfOutfile</span></a> *
|
400
|
+
gsf_outfile_stdio_new (<em class="parameter"><code><span class="type">char</span> const *root</code></em>,
|
401
|
+
<em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre>
|
402
|
+
<div class="refsect3">
|
403
|
+
<a name="id-1.6.4.4.11.8.4"></a><h4>Parameters</h4>
|
404
|
+
<div class="informaltable"><table width="100%" border="0">
|
405
|
+
<colgroup>
|
406
|
+
<col width="150px" class="parameters_name">
|
407
|
+
<col class="parameters_description">
|
408
|
+
<col width="200px" class="parameters_annotations">
|
409
|
+
</colgroup>
|
410
|
+
<tbody>
|
411
|
+
<tr>
|
412
|
+
<td class="parameter_name"><p>root</p></td>
|
413
|
+
<td class="parameter_description"><p>root directory in utf8.</p></td>
|
414
|
+
<td class="parameter_annotations"> </td>
|
415
|
+
</tr>
|
416
|
+
<tr>
|
417
|
+
<td class="parameter_name"><p>err</p></td>
|
418
|
+
<td class="parameter_description"><p> place to store a <span class="type">GError</span> if anything goes wrong. </p></td>
|
419
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
420
|
+
</tr>
|
421
|
+
</tbody>
|
422
|
+
</table></div>
|
423
|
+
</div>
|
424
|
+
<div class="refsect3">
|
425
|
+
<a name="id-1.6.4.4.11.8.5"></a><h4>Returns</h4>
|
426
|
+
<p> a new outfile or <code class="literal">NULL</code>.</p>
|
427
|
+
<p></p>
|
428
|
+
</div>
|
429
|
+
</div>
|
430
|
+
<hr>
|
431
|
+
<div class="refsect2">
|
432
|
+
<a name="gsf-outfile-stdio-new-full"></a><h3>gsf_outfile_stdio_new_full ()</h3>
|
433
|
+
<pre class="programlisting"><a class="link" href="gsf-Outfile-writing-structed-files.html#GsfOutfile"><span class="returnvalue">GsfOutfile</span></a> *
|
434
|
+
gsf_outfile_stdio_new_full (<em class="parameter"><code><span class="type">char</span> const *root</code></em>,
|
435
|
+
<em class="parameter"><code><span class="type">GError</span> **err</code></em>,
|
436
|
+
<em class="parameter"><code><span class="type">char</span> const *first_property_name</code></em>,
|
437
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
438
|
+
<div class="refsect3">
|
439
|
+
<a name="id-1.6.4.4.11.9.4"></a><h4>Parameters</h4>
|
440
|
+
<div class="informaltable"><table width="100%" border="0">
|
441
|
+
<colgroup>
|
442
|
+
<col width="150px" class="parameters_name">
|
443
|
+
<col class="parameters_description">
|
444
|
+
<col width="200px" class="parameters_annotations">
|
445
|
+
</colgroup>
|
446
|
+
<tbody>
|
447
|
+
<tr>
|
448
|
+
<td class="parameter_name"><p>root</p></td>
|
449
|
+
<td class="parameter_description"><p>root directory in utf8.</p></td>
|
450
|
+
<td class="parameter_annotations"> </td>
|
451
|
+
</tr>
|
452
|
+
<tr>
|
453
|
+
<td class="parameter_name"><p>err</p></td>
|
454
|
+
<td class="parameter_description"><p> place to store a <span class="type">GError</span> if anything goes wrong. </p></td>
|
455
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
456
|
+
</tr>
|
457
|
+
<tr>
|
458
|
+
<td class="parameter_name"><p>first_property_name</p></td>
|
459
|
+
<td class="parameter_description"><p>name of first property to set</p></td>
|
460
|
+
<td class="parameter_annotations"> </td>
|
461
|
+
</tr>
|
462
|
+
<tr>
|
463
|
+
<td class="parameter_name"><p>...</p></td>
|
464
|
+
<td class="parameter_description"><p>value of first property, followed by more properties,
|
465
|
+
<code class="literal">NULL</code>-terminated</p></td>
|
466
|
+
<td class="parameter_annotations"> </td>
|
467
|
+
</tr>
|
468
|
+
</tbody>
|
469
|
+
</table></div>
|
470
|
+
</div>
|
471
|
+
<div class="refsect3">
|
472
|
+
<a name="id-1.6.4.4.11.9.5"></a><h4>Returns</h4>
|
473
|
+
<p> a new outfile or <code class="literal">NULL</code>. </p>
|
474
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
475
|
+
</div>
|
476
|
+
</div>
|
477
|
+
<hr>
|
478
|
+
<div class="refsect2">
|
479
|
+
<a name="gsf-outfile-stdio-new-valist"></a><h3>gsf_outfile_stdio_new_valist ()</h3>
|
480
|
+
<pre class="programlisting"><a class="link" href="gsf-Outfile-writing-structed-files.html#GsfOutfile"><span class="returnvalue">GsfOutfile</span></a> *
|
481
|
+
gsf_outfile_stdio_new_valist (<em class="parameter"><code><span class="type">char</span> const *root</code></em>,
|
482
|
+
<em class="parameter"><code><span class="type">GError</span> **err</code></em>,
|
483
|
+
<em class="parameter"><code><span class="type">char</span> const *first_property_name</code></em>,
|
484
|
+
<em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);</pre>
|
485
|
+
<div class="refsect3">
|
486
|
+
<a name="id-1.6.4.4.11.10.4"></a><h4>Parameters</h4>
|
487
|
+
<div class="informaltable"><table width="100%" border="0">
|
488
|
+
<colgroup>
|
489
|
+
<col width="150px" class="parameters_name">
|
490
|
+
<col class="parameters_description">
|
491
|
+
<col width="200px" class="parameters_annotations">
|
492
|
+
</colgroup>
|
493
|
+
<tbody>
|
494
|
+
<tr>
|
495
|
+
<td class="parameter_name"><p>root</p></td>
|
496
|
+
<td class="parameter_description"><p>root directory in utf8.</p></td>
|
497
|
+
<td class="parameter_annotations"> </td>
|
498
|
+
</tr>
|
499
|
+
<tr>
|
500
|
+
<td class="parameter_name"><p>err</p></td>
|
501
|
+
<td class="parameter_description"><p> place to store a <span class="type">GError</span> if anything goes wrong. </p></td>
|
502
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
503
|
+
</tr>
|
504
|
+
<tr>
|
505
|
+
<td class="parameter_name"><p>first_property_name</p></td>
|
506
|
+
<td class="parameter_description"><p>name of first property to set</p></td>
|
507
|
+
<td class="parameter_annotations"> </td>
|
508
|
+
</tr>
|
509
|
+
<tr>
|
510
|
+
<td class="parameter_name"><p>var_args</p></td>
|
511
|
+
<td class="parameter_description"><p>a <code class="literal">NULL</code>-terminated <span class="type">va_list</span></p></td>
|
512
|
+
<td class="parameter_annotations"> </td>
|
513
|
+
</tr>
|
514
|
+
</tbody>
|
515
|
+
</table></div>
|
516
|
+
</div>
|
517
|
+
<div class="refsect3">
|
518
|
+
<a name="id-1.6.4.4.11.10.5"></a><h4>Returns</h4>
|
519
|
+
<p> a new outfile or <code class="literal">NULL</code>. </p>
|
520
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
521
|
+
</div>
|
522
|
+
</div>
|
523
|
+
<hr>
|
524
|
+
<div class="refsect2">
|
525
|
+
<a name="gsf-infile-stdio-new"></a><h3>gsf_infile_stdio_new ()</h3>
|
526
|
+
<pre class="programlisting"><a class="link" href="gsf-Infile-reading-structed-files.html#GsfInfile"><span class="returnvalue">GsfInfile</span></a> *
|
527
|
+
gsf_infile_stdio_new (<em class="parameter"><code><span class="type">char</span> const *root</code></em>,
|
528
|
+
<em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre>
|
529
|
+
<div class="refsect3">
|
530
|
+
<a name="id-1.6.4.4.11.11.4"></a><h4>Parameters</h4>
|
531
|
+
<div class="informaltable"><table width="100%" border="0">
|
532
|
+
<colgroup>
|
533
|
+
<col width="150px" class="parameters_name">
|
534
|
+
<col class="parameters_description">
|
535
|
+
<col width="200px" class="parameters_annotations">
|
536
|
+
</colgroup>
|
537
|
+
<tbody>
|
538
|
+
<tr>
|
539
|
+
<td class="parameter_name"><p>root</p></td>
|
540
|
+
<td class="parameter_description"><p>in locale dependent encoding</p></td>
|
541
|
+
<td class="parameter_annotations"> </td>
|
542
|
+
</tr>
|
543
|
+
<tr>
|
544
|
+
<td class="parameter_name"><p>err</p></td>
|
545
|
+
<td class="parameter_description"><p>optionally <code class="literal">NULL</code>.</p></td>
|
546
|
+
<td class="parameter_annotations"> </td>
|
547
|
+
</tr>
|
548
|
+
</tbody>
|
549
|
+
</table></div>
|
550
|
+
</div>
|
551
|
+
<div class="refsect3">
|
552
|
+
<a name="id-1.6.4.4.11.11.5"></a><h4>Returns</h4>
|
553
|
+
<p> a new file or <code class="literal">NULL</code>.</p>
|
554
|
+
<p></p>
|
555
|
+
</div>
|
556
|
+
</div>
|
557
|
+
</div>
|
558
|
+
<div class="refsect1">
|
559
|
+
<a name="gsf-Reading-and-Writing-from-local-files-and-directories.other_details"></a><h2>Types and Values</h2>
|
560
|
+
<div class="refsect2">
|
561
|
+
<a name="GsfInputStdio-struct"></a><h3>GsfInputStdio</h3>
|
562
|
+
<pre class="programlisting">typedef struct _GsfInputStdio GsfInputStdio;</pre>
|
563
|
+
<p>
|
564
|
+
</p>
|
565
|
+
</div>
|
566
|
+
<hr>
|
567
|
+
<div class="refsect2">
|
568
|
+
<a name="GsfOutputStdio-struct"></a><h3>GsfOutputStdio</h3>
|
569
|
+
<pre class="programlisting">typedef struct _GsfOutputStdio GsfOutputStdio;</pre>
|
570
|
+
<p>
|
571
|
+
</p>
|
572
|
+
</div>
|
573
|
+
<hr>
|
574
|
+
<div class="refsect2">
|
575
|
+
<a name="GsfOutfileStdio-struct"></a><h3>GsfOutfileStdio</h3>
|
576
|
+
<pre class="programlisting">typedef struct _GsfOutfileStdio GsfOutfileStdio;</pre>
|
577
|
+
<p>
|
578
|
+
</p>
|
579
|
+
</div>
|
580
|
+
<hr>
|
581
|
+
<div class="refsect2">
|
582
|
+
<a name="GsfInfileStdio-struct"></a><h3>GsfInfileStdio</h3>
|
583
|
+
<pre class="programlisting">typedef struct _GsfInfileStdio GsfInfileStdio;</pre>
|
584
|
+
<p>
|
585
|
+
</p>
|
586
|
+
</div>
|
587
|
+
</div>
|
588
|
+
</div>
|
589
|
+
<div class="footer">
|
590
|
+
<hr>
|
591
|
+
Generated by GTK-Doc V1.20</div>
|
592
|
+
</body>
|
593
|
+
</html>
|