gsf 3.0.9-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (166) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +55 -0
  3. data/lib/gsf/input.rb +26 -0
  4. data/lib/gsf/loader.rb +57 -0
  5. data/lib/gsf.rb +53 -0
  6. data/test/gsf-test-utils.rb +22 -0
  7. data/test/run-test.rb +46 -0
  8. data/test/test-input-stdio.rb +25 -0
  9. data/vendor/local/bin/gsf-office-thumbnailer.exe +0 -0
  10. data/vendor/local/bin/gsf-vba-dump.exe +0 -0
  11. data/vendor/local/bin/gsf.exe +0 -0
  12. data/vendor/local/bin/libgsf-1-114.dll +0 -0
  13. data/vendor/local/bin/libgsf-win32-1-114.dll +0 -0
  14. data/vendor/local/include/libgsf-1/gsf/gsf-blob.h +39 -0
  15. data/vendor/local/include/libgsf-1/gsf/gsf-clip-data.h +72 -0
  16. data/vendor/local/include/libgsf-1/gsf/gsf-doc-meta-data.h +66 -0
  17. data/vendor/local/include/libgsf-1/gsf/gsf-docprop-vector.h +47 -0
  18. data/vendor/local/include/libgsf-1/gsf/gsf-fwd.h +121 -0
  19. data/vendor/local/include/libgsf-1/gsf/gsf-impl-utils.h +156 -0
  20. data/vendor/local/include/libgsf-1/gsf/gsf-infile-impl.h +50 -0
  21. data/vendor/local/include/libgsf-1/gsf/gsf-infile-msole.h +45 -0
  22. data/vendor/local/include/libgsf-1/gsf/gsf-infile-msvba.h +49 -0
  23. data/vendor/local/include/libgsf-1/gsf/gsf-infile-stdio.h +43 -0
  24. data/vendor/local/include/libgsf-1/gsf/gsf-infile-tar.h +40 -0
  25. data/vendor/local/include/libgsf-1/gsf/gsf-infile-zip.h +43 -0
  26. data/vendor/local/include/libgsf-1/gsf/gsf-infile.h +46 -0
  27. data/vendor/local/include/libgsf-1/gsf/gsf-input-bzip.h +34 -0
  28. data/vendor/local/include/libgsf-1/gsf/gsf-input-gio.h +44 -0
  29. data/vendor/local/include/libgsf-1/gsf/gsf-input-gzip.h +43 -0
  30. data/vendor/local/include/libgsf-1/gsf/gsf-input-http.h +45 -0
  31. data/vendor/local/include/libgsf-1/gsf/gsf-input-impl.h +68 -0
  32. data/vendor/local/include/libgsf-1/gsf/gsf-input-iochannel.h +35 -0
  33. data/vendor/local/include/libgsf-1/gsf/gsf-input-memory.h +46 -0
  34. data/vendor/local/include/libgsf-1/gsf/gsf-input-proxy.h +46 -0
  35. data/vendor/local/include/libgsf-1/gsf/gsf-input-stdio.h +48 -0
  36. data/vendor/local/include/libgsf-1/gsf/gsf-input-textline.h +46 -0
  37. data/vendor/local/include/libgsf-1/gsf/gsf-input.h +69 -0
  38. data/vendor/local/include/libgsf-1/gsf/gsf-libxml.h +225 -0
  39. data/vendor/local/include/libgsf-1/gsf/gsf-meta-names.h +482 -0
  40. data/vendor/local/include/libgsf-1/gsf/gsf-msole-utils.h +70 -0
  41. data/vendor/local/include/libgsf-1/gsf/gsf-open-pkg-utils.h +95 -0
  42. data/vendor/local/include/libgsf-1/gsf/gsf-opendoc-utils.h +162 -0
  43. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-impl.h +46 -0
  44. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-msole.h +47 -0
  45. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-stdio.h +49 -0
  46. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-zip.h +61 -0
  47. data/vendor/local/include/libgsf-1/gsf/gsf-outfile.h +49 -0
  48. data/vendor/local/include/libgsf-1/gsf/gsf-output-bzip.h +43 -0
  49. data/vendor/local/include/libgsf-1/gsf/gsf-output-csv.h +84 -0
  50. data/vendor/local/include/libgsf-1/gsf/gsf-output-gio.h +44 -0
  51. data/vendor/local/include/libgsf-1/gsf/gsf-output-gzip.h +43 -0
  52. data/vendor/local/include/libgsf-1/gsf/gsf-output-iconv.h +47 -0
  53. data/vendor/local/include/libgsf-1/gsf/gsf-output-impl.h +37 -0
  54. data/vendor/local/include/libgsf-1/gsf/gsf-output-iochannel.h +43 -0
  55. data/vendor/local/include/libgsf-1/gsf/gsf-output-memory.h +44 -0
  56. data/vendor/local/include/libgsf-1/gsf/gsf-output-stdio.h +52 -0
  57. data/vendor/local/include/libgsf-1/gsf/gsf-output.h +99 -0
  58. data/vendor/local/include/libgsf-1/gsf/gsf-shared-memory.h +51 -0
  59. data/vendor/local/include/libgsf-1/gsf/gsf-structured-blob.h +45 -0
  60. data/vendor/local/include/libgsf-1/gsf/gsf-timestamp.h +70 -0
  61. data/vendor/local/include/libgsf-1/gsf/gsf-utils.h +340 -0
  62. data/vendor/local/include/libgsf-1/gsf/gsf.h +98 -0
  63. data/vendor/local/include/libgsf-1/gsf-win32/gsf-input-win32.h +41 -0
  64. data/vendor/local/include/libgsf-1/gsf-win32/gsf-output-win32.h +41 -0
  65. data/vendor/local/lib/libgsf-1.a +0 -0
  66. data/vendor/local/lib/libgsf-1.dll.a +0 -0
  67. data/vendor/local/lib/libgsf-1.la +41 -0
  68. data/vendor/local/lib/libgsf-win32-1.a +0 -0
  69. data/vendor/local/lib/libgsf-win32-1.dll.a +0 -0
  70. data/vendor/local/lib/libgsf-win32-1.la +41 -0
  71. data/vendor/local/lib/pkgconfig/libgsf-1.pc +11 -0
  72. data/vendor/local/lib/pkgconfig/libgsf-win32-1.pc +11 -0
  73. data/vendor/local/share/gtk-doc/html/gsf/annotation-glossary.html +56 -0
  74. data/vendor/local/share/gtk-doc/html/gsf/api.html +107 -0
  75. data/vendor/local/share/gtk-doc/html/gsf/dependencies.html +109 -0
  76. data/vendor/local/share/gtk-doc/html/gsf/gsf-Compression.html +369 -0
  77. data/vendor/local/share/gtk-doc/html/gsf/gsf-GIO.html +307 -0
  78. data/vendor/local/share/gtk-doc/html/gsf/gsf-GIOChannel.html +119 -0
  79. data/vendor/local/share/gtk-doc/html/gsf/gsf-Infile-reading-structed-files.html +397 -0
  80. data/vendor/local/share/gtk-doc/html/gsf/gsf-Input-from-unstructured-files.html +887 -0
  81. data/vendor/local/share/gtk-doc/html/gsf/gsf-MS-OLE2.html +894 -0
  82. data/vendor/local/share/gtk-doc/html/gsf/gsf-OASIS-Open-Document.html +398 -0
  83. data/vendor/local/share/gtk-doc/html/gsf/gsf-Outfile-writing-structed-files.html +237 -0
  84. data/vendor/local/share/gtk-doc/html/gsf/gsf-Output-to-unstructured-files.html +830 -0
  85. data/vendor/local/share/gtk-doc/html/gsf/gsf-Reading-and-Writing-from-local-files-and-directories.html +593 -0
  86. data/vendor/local/share/gtk-doc/html/gsf/gsf-Text.html +523 -0
  87. data/vendor/local/share/gtk-doc/html/gsf/gsf-XML-and-libxml.html +2032 -0
  88. data/vendor/local/share/gtk-doc/html/gsf/gsf-Zip.html +338 -0
  89. data/vendor/local/share/gtk-doc/html/gsf/gsf-blobs.html +56 -0
  90. data/vendor/local/share/gtk-doc/html/gsf/gsf-clip-data.html +444 -0
  91. data/vendor/local/share/gtk-doc/html/gsf/gsf-index.html +875 -0
  92. data/vendor/local/share/gtk-doc/html/gsf/gsf-memory.html +332 -0
  93. data/vendor/local/share/gtk-doc/html/gsf/gsf-metadata.html +1762 -0
  94. data/vendor/local/share/gtk-doc/html/gsf/gsf-users.html +73 -0
  95. data/vendor/local/share/gtk-doc/html/gsf/gsf-utils.html +2503 -0
  96. data/vendor/local/share/gtk-doc/html/gsf/gsf.devhelp2 +440 -0
  97. data/vendor/local/share/gtk-doc/html/gsf/history.html +45 -0
  98. data/vendor/local/share/gtk-doc/html/gsf/home.png +0 -0
  99. data/vendor/local/share/gtk-doc/html/gsf/index.html +98 -0
  100. data/vendor/local/share/gtk-doc/html/gsf/index.sgml +572 -0
  101. data/vendor/local/share/gtk-doc/html/gsf/intro.html +39 -0
  102. data/vendor/local/share/gtk-doc/html/gsf/io.html +38 -0
  103. data/vendor/local/share/gtk-doc/html/gsf/left-insensitive.png +0 -0
  104. data/vendor/local/share/gtk-doc/html/gsf/left.png +0 -0
  105. data/vendor/local/share/gtk-doc/html/gsf/misc.html +33 -0
  106. data/vendor/local/share/gtk-doc/html/gsf/parsers.html +59 -0
  107. data/vendor/local/share/gtk-doc/html/gsf/right-insensitive.png +0 -0
  108. data/vendor/local/share/gtk-doc/html/gsf/right.png +0 -0
  109. data/vendor/local/share/gtk-doc/html/gsf/sources.html +50 -0
  110. data/vendor/local/share/gtk-doc/html/gsf/style.css +461 -0
  111. data/vendor/local/share/gtk-doc/html/gsf/up-insensitive.png +0 -0
  112. data/vendor/local/share/gtk-doc/html/gsf/up.png +0 -0
  113. data/vendor/local/share/license/libgsf/AUTHORS +3 -0
  114. data/vendor/local/share/license/libgsf/COPYING +340 -0
  115. data/vendor/local/share/license/libgsf/COPYING.LIB +504 -0
  116. data/vendor/local/share/locale/as/LC_MESSAGES/libgsf.mo +0 -0
  117. data/vendor/local/share/locale/bs/LC_MESSAGES/libgsf.mo +0 -0
  118. data/vendor/local/share/locale/ca/LC_MESSAGES/libgsf.mo +0 -0
  119. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/libgsf.mo +0 -0
  120. data/vendor/local/share/locale/cs/LC_MESSAGES/libgsf.mo +0 -0
  121. data/vendor/local/share/locale/da/LC_MESSAGES/libgsf.mo +0 -0
  122. data/vendor/local/share/locale/de/LC_MESSAGES/libgsf.mo +0 -0
  123. data/vendor/local/share/locale/el/LC_MESSAGES/libgsf.mo +0 -0
  124. data/vendor/local/share/locale/en_GB/LC_MESSAGES/libgsf.mo +0 -0
  125. data/vendor/local/share/locale/eo/LC_MESSAGES/libgsf.mo +0 -0
  126. data/vendor/local/share/locale/es/LC_MESSAGES/libgsf.mo +0 -0
  127. data/vendor/local/share/locale/eu/LC_MESSAGES/libgsf.mo +0 -0
  128. data/vendor/local/share/locale/fi/LC_MESSAGES/libgsf.mo +0 -0
  129. data/vendor/local/share/locale/fr/LC_MESSAGES/libgsf.mo +0 -0
  130. data/vendor/local/share/locale/gl/LC_MESSAGES/libgsf.mo +0 -0
  131. data/vendor/local/share/locale/he/LC_MESSAGES/libgsf.mo +0 -0
  132. data/vendor/local/share/locale/hu/LC_MESSAGES/libgsf.mo +0 -0
  133. data/vendor/local/share/locale/id/LC_MESSAGES/libgsf.mo +0 -0
  134. data/vendor/local/share/locale/it/LC_MESSAGES/libgsf.mo +0 -0
  135. data/vendor/local/share/locale/ja/LC_MESSAGES/libgsf.mo +0 -0
  136. data/vendor/local/share/locale/ko/LC_MESSAGES/libgsf.mo +0 -0
  137. data/vendor/local/share/locale/lt/LC_MESSAGES/libgsf.mo +0 -0
  138. data/vendor/local/share/locale/lv/LC_MESSAGES/libgsf.mo +0 -0
  139. data/vendor/local/share/locale/ml/LC_MESSAGES/libgsf.mo +0 -0
  140. data/vendor/local/share/locale/nb/LC_MESSAGES/libgsf.mo +0 -0
  141. data/vendor/local/share/locale/nn/LC_MESSAGES/libgsf.mo +0 -0
  142. data/vendor/local/share/locale/oc/LC_MESSAGES/libgsf.mo +0 -0
  143. data/vendor/local/share/locale/pa/LC_MESSAGES/libgsf.mo +0 -0
  144. data/vendor/local/share/locale/pl/LC_MESSAGES/libgsf.mo +0 -0
  145. data/vendor/local/share/locale/pt/LC_MESSAGES/libgsf.mo +0 -0
  146. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/libgsf.mo +0 -0
  147. data/vendor/local/share/locale/ro/LC_MESSAGES/libgsf.mo +0 -0
  148. data/vendor/local/share/locale/ru/LC_MESSAGES/libgsf.mo +0 -0
  149. data/vendor/local/share/locale/sk/LC_MESSAGES/libgsf.mo +0 -0
  150. data/vendor/local/share/locale/sl/LC_MESSAGES/libgsf.mo +0 -0
  151. data/vendor/local/share/locale/sr/LC_MESSAGES/libgsf.mo +0 -0
  152. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/libgsf.mo +0 -0
  153. data/vendor/local/share/locale/sv/LC_MESSAGES/libgsf.mo +0 -0
  154. data/vendor/local/share/locale/ta/LC_MESSAGES/libgsf.mo +0 -0
  155. data/vendor/local/share/locale/tg/LC_MESSAGES/libgsf.mo +0 -0
  156. data/vendor/local/share/locale/th/LC_MESSAGES/libgsf.mo +0 -0
  157. data/vendor/local/share/locale/tr/LC_MESSAGES/libgsf.mo +0 -0
  158. data/vendor/local/share/locale/uk/LC_MESSAGES/libgsf.mo +0 -0
  159. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/libgsf.mo +0 -0
  160. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/libgsf.mo +0 -0
  161. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/libgsf.mo +0 -0
  162. data/vendor/local/share/man/man1/gsf-office-thumbnailer.1 +71 -0
  163. data/vendor/local/share/man/man1/gsf-vba-dump.1 +61 -0
  164. data/vendor/local/share/man/man1/gsf.1 +91 -0
  165. data/vendor/local/share/thumbnailers/gsf-office.thumbnailer +4 -0
  166. metadata +235 -0
@@ -0,0 +1,830 @@
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: Output to unstructured 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="io.html" title="Basic Input/Output">
9
+ <link rel="prev" href="gsf-Input-from-unstructured-files.html" title="Input from unstructured files">
10
+ <link rel="next" href="sources.html" title="Stream Sources">
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-Output-to-unstructured-files.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 
19
+ <a href="#gsf-Output-to-unstructured-files.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span> 
20
+ <a href="#gsf-Output-to-unstructured-files.properties" class="shortcut">Properties</a></span>
21
+ </td>
22
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
23
+ <td><a accesskey="u" href="io.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
24
+ <td><a accesskey="p" href="gsf-Input-from-unstructured-files.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
25
+ <td><a accesskey="n" href="sources.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
26
+ </tr></table>
27
+ <div class="refentry">
28
+ <a name="gsf-Output-to-unstructured-files"></a><div class="titlepage"></div>
29
+ <div class="refnamediv"><table width="100%"><tr>
30
+ <td valign="top">
31
+ <h2><span class="refentrytitle"><a name="gsf-Output-to-unstructured-files.top_of_page"></a>Output to unstructured files</span></h2>
32
+ <p>Output to unstructured files</p>
33
+ </td>
34
+ <td class="gallery_image" valign="top" align="right"></td>
35
+ </tr></table></div>
36
+ <div class="refsect1">
37
+ <a name="gsf-Output-to-unstructured-files.functions"></a><h2>Functions</h2>
38
+ <div class="informaltable"><table width="100%" border="0">
39
+ <colgroup>
40
+ <col width="150px" class="functions_return">
41
+ <col class="functions_name">
42
+ </colgroup>
43
+ <tbody>
44
+ <tr>
45
+ <td class="function_type">
46
+ <a class="link" href="gsf-utils.html#gsf-off-t" title="gsf_off_t"><span class="returnvalue">gsf_off_t</span></a>
47
+ </td>
48
+ <td class="function_name">
49
+ <a class="link" href="gsf-Output-to-unstructured-files.html#gsf-output-size" title="gsf_output_size ()">gsf_output_size</a> <span class="c_punctuation">()</span>
50
+ </td>
51
+ </tr>
52
+ <tr>
53
+ <td class="function_type">
54
+ <span class="returnvalue">gboolean</span>
55
+ </td>
56
+ <td class="function_name">
57
+ <a class="link" href="gsf-Output-to-unstructured-files.html#gsf-output-close" title="gsf_output_close ()">gsf_output_close</a> <span class="c_punctuation">()</span>
58
+ </td>
59
+ </tr>
60
+ <tr>
61
+ <td class="function_type">
62
+ <a class="link" href="gsf-utils.html#gsf-off-t" title="gsf_off_t"><span class="returnvalue">gsf_off_t</span></a>
63
+ </td>
64
+ <td class="function_name">
65
+ <a class="link" href="gsf-Output-to-unstructured-files.html#gsf-output-tell" title="gsf_output_tell ()">gsf_output_tell</a> <span class="c_punctuation">()</span>
66
+ </td>
67
+ </tr>
68
+ <tr>
69
+ <td class="function_type">
70
+ <span class="returnvalue">gboolean</span>
71
+ </td>
72
+ <td class="function_name">
73
+ <a class="link" href="gsf-Output-to-unstructured-files.html#gsf-output-seek" title="gsf_output_seek ()">gsf_output_seek</a> <span class="c_punctuation">()</span>
74
+ </td>
75
+ </tr>
76
+ <tr>
77
+ <td class="function_type">
78
+ <span class="returnvalue">gboolean</span>
79
+ </td>
80
+ <td class="function_name">
81
+ <a class="link" href="gsf-Output-to-unstructured-files.html#gsf-output-write" title="gsf_output_write ()">gsf_output_write</a> <span class="c_punctuation">()</span>
82
+ </td>
83
+ </tr>
84
+ <tr>
85
+ <td class="function_type">
86
+ <span class="returnvalue">gboolean</span>
87
+ </td>
88
+ <td class="function_name">
89
+ <a class="link" href="gsf-Output-to-unstructured-files.html#gsf-output-puts" title="gsf_output_puts ()">gsf_output_puts</a> <span class="c_punctuation">()</span>
90
+ </td>
91
+ </tr>
92
+ <tr>
93
+ <td class="function_type">
94
+ <span class="returnvalue">gboolean</span>
95
+ </td>
96
+ <td class="function_name">
97
+ <a class="link" href="gsf-Output-to-unstructured-files.html#gsf-output-printf" title="gsf_output_printf ()">gsf_output_printf</a> <span class="c_punctuation">()</span>
98
+ </td>
99
+ </tr>
100
+ <tr>
101
+ <td class="function_type">
102
+ <a class="link" href="gsf-utils.html#gsf-off-t" title="gsf_off_t"><span class="returnvalue">gsf_off_t</span></a>
103
+ </td>
104
+ <td class="function_name">
105
+ <a class="link" href="gsf-Output-to-unstructured-files.html#gsf-output-vprintf" title="gsf_output_vprintf ()">gsf_output_vprintf</a> <span class="c_punctuation">()</span>
106
+ </td>
107
+ </tr>
108
+ <tr>
109
+ <td class="function_type">
110
+ <a class="link" href="gsf-Outfile-writing-structed-files.html#GsfOutfile"><span class="returnvalue">GsfOutfile</span></a> *
111
+ </td>
112
+ <td class="function_name">
113
+ <a class="link" href="gsf-Output-to-unstructured-files.html#gsf-output-container" title="gsf_output_container ()">gsf_output_container</a> <span class="c_punctuation">()</span>
114
+ </td>
115
+ </tr>
116
+ <tr>
117
+ <td class="function_type">
118
+ <span class="returnvalue">char</span> const *
119
+ </td>
120
+ <td class="function_name">
121
+ <a class="link" href="gsf-Output-to-unstructured-files.html#gsf-output-name" title="gsf_output_name ()">gsf_output_name</a> <span class="c_punctuation">()</span>
122
+ </td>
123
+ </tr>
124
+ <tr>
125
+ <td class="function_type">
126
+ <span class="returnvalue">gboolean</span>
127
+ </td>
128
+ <td class="function_name">
129
+ <a class="link" href="gsf-Output-to-unstructured-files.html#gsf-output-set-name-from-filename" title="gsf_output_set_name_from_filename ()">gsf_output_set_name_from_filename</a> <span class="c_punctuation">()</span>
130
+ </td>
131
+ </tr>
132
+ <tr>
133
+ <td class="function_type">
134
+ <span class="returnvalue">GQuark</span>
135
+ </td>
136
+ <td class="function_name">
137
+ <a class="link" href="gsf-Output-to-unstructured-files.html#gsf-output-error-id" title="gsf_output_error_id ()">gsf_output_error_id</a> <span class="c_punctuation">()</span>
138
+ </td>
139
+ </tr>
140
+ <tr>
141
+ <td class="function_type">
142
+ <span class="returnvalue">gboolean</span>
143
+ </td>
144
+ <td class="function_name">
145
+ <a class="link" href="gsf-Output-to-unstructured-files.html#gsf-output-set-error" title="gsf_output_set_error ()">gsf_output_set_error</a> <span class="c_punctuation">()</span>
146
+ </td>
147
+ </tr>
148
+ <tr>
149
+ <td class="function_type">
150
+ <span class="returnvalue">GError</span> const *
151
+ </td>
152
+ <td class="function_name">
153
+ <a class="link" href="gsf-Output-to-unstructured-files.html#gsf-output-error" title="gsf_output_error ()">gsf_output_error</a> <span class="c_punctuation">()</span>
154
+ </td>
155
+ </tr>
156
+ <tr>
157
+ <td class="function_type">
158
+ <span class="returnvalue">gboolean</span>
159
+ </td>
160
+ <td class="function_name">
161
+ <a class="link" href="gsf-Output-to-unstructured-files.html#gsf-output-is-closed" title="gsf_output_is_closed ()">gsf_output_is_closed</a> <span class="c_punctuation">()</span>
162
+ </td>
163
+ </tr>
164
+ <tr>
165
+ <td class="function_type">
166
+ <span class="returnvalue">gboolean</span>
167
+ </td>
168
+ <td class="function_name">
169
+ <a class="link" href="gsf-Output-to-unstructured-files.html#gsf-output-wrap" title="gsf_output_wrap ()">gsf_output_wrap</a> <span class="c_punctuation">()</span>
170
+ </td>
171
+ </tr>
172
+ <tr>
173
+ <td class="function_type">
174
+ <span class="returnvalue">gboolean</span>
175
+ </td>
176
+ <td class="function_name">
177
+ <a class="link" href="gsf-Output-to-unstructured-files.html#gsf-output-unwrap" title="gsf_output_unwrap ()">gsf_output_unwrap</a> <span class="c_punctuation">()</span>
178
+ </td>
179
+ </tr>
180
+ </tbody>
181
+ </table></div>
182
+ </div>
183
+ <div class="refsect1">
184
+ <a name="gsf-Output-to-unstructured-files.properties"></a><h2>Properties</h2>
185
+ <div class="informaltable"><table border="0">
186
+ <colgroup>
187
+ <col width="150px" class="properties_type">
188
+ <col width="300px" class="properties_name">
189
+ <col width="200px" class="properties_flags">
190
+ </colgroup>
191
+ <tbody>
192
+ <tr>
193
+ <td class="property_type">
194
+ <a class="link" href="gsf-Outfile-writing-structed-files.html#GsfOutfile"><span class="type">GsfOutfile</span></a> *</td>
195
+ <td class="property_name"><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput--container" title="The “container” property">container</a></td>
196
+ <td class="property_flags">Read / Write</td>
197
+ </tr>
198
+ <tr>
199
+ <td class="property_type"><span class="type">gboolean</span></td>
200
+ <td class="property_name"><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput--is-closed" title="The “is-closed” property">is-closed</a></td>
201
+ <td class="property_flags">Read</td>
202
+ </tr>
203
+ <tr>
204
+ <td class="property_type">
205
+ <span class="type">GDateTime</span> *</td>
206
+ <td class="property_name"><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput--modtime" title="The “modtime” property">modtime</a></td>
207
+ <td class="property_flags">Read / Write / Construct Only</td>
208
+ </tr>
209
+ <tr>
210
+ <td class="property_type">
211
+ <span class="type">gchar</span> *</td>
212
+ <td class="property_name"><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput--name" title="The “name” property">name</a></td>
213
+ <td class="property_flags">Read / Write</td>
214
+ </tr>
215
+ <tr>
216
+ <td class="property_type"><span class="type">gint64</span></td>
217
+ <td class="property_name"><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput--position" title="The “position” property">position</a></td>
218
+ <td class="property_flags">Read</td>
219
+ </tr>
220
+ <tr>
221
+ <td class="property_type"><span class="type">gint64</span></td>
222
+ <td class="property_name"><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput--size" title="The “size” property">size</a></td>
223
+ <td class="property_flags">Read</td>
224
+ </tr>
225
+ </tbody>
226
+ </table></div>
227
+ </div>
228
+ <a name="GsfOutput"></a><div class="refsect1">
229
+ <a name="gsf-Output-to-unstructured-files.other"></a><h2>Types and Values</h2>
230
+ <div class="informaltable"><table width="100%" border="0">
231
+ <colgroup>
232
+ <col width="150px" class="name">
233
+ <col class="description">
234
+ </colgroup>
235
+ <tbody><tr>
236
+ <td class="datatype_keyword"> </td>
237
+ <td class="function_name"><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput-struct" title="GsfOutput">GsfOutput</a></td>
238
+ </tr></tbody>
239
+ </table></div>
240
+ </div>
241
+ <div class="refsect1">
242
+ <a name="gsf-Output-to-unstructured-files.object-hierarchy"></a><h2>Object Hierarchy</h2>
243
+ <pre class="screen"> GObject
244
+ <span class="lineart">╰──</span> GsfOutput
245
+ <span class="lineart">├──</span> <a class="link" href="gsf-Outfile-writing-structed-files.html#GsfOutfile">GsfOutfile</a>
246
+ <span class="lineart">├──</span> <a class="link" href="gsf-Compression.html#GsfOutputBzip">GsfOutputBzip</a>
247
+ <span class="lineart">├──</span> <a class="link" href="gsf-Text.html#GsfOutputCsv">GsfOutputCsv</a>
248
+ <span class="lineart">├──</span> <a class="link" href="gsf-Compression.html#GsfOutputGZip">GsfOutputGZip</a>
249
+ <span class="lineart">├──</span> <a class="link" href="gsf-Text.html#GsfOutputIconv">GsfOutputIconv</a>
250
+ <span class="lineart">├──</span> <a class="link" href="gsf-GIOChannel.html#GsfOutputIOChannel">GsfOutputIOChannel</a>
251
+ <span class="lineart">├──</span> <a class="link" href="gsf-memory.html#GsfOutputMemory">GsfOutputMemory</a>
252
+ <span class="lineart">╰──</span> <a class="link" href="gsf-Reading-and-Writing-from-local-files-and-directories.html#GsfOutputStdio">GsfOutputStdio</a>
253
+ </pre>
254
+ </div>
255
+ <div class="refsect1">
256
+ <a name="gsf-Output-to-unstructured-files.description"></a><h2>Description</h2>
257
+ <p>
258
+ </p>
259
+ </div>
260
+ <div class="refsect1">
261
+ <a name="gsf-Output-to-unstructured-files.functions_details"></a><h2>Functions</h2>
262
+ <div class="refsect2">
263
+ <a name="gsf-output-size"></a><h3>gsf_output_size ()</h3>
264
+ <pre class="programlisting"><a class="link" href="gsf-utils.html#gsf-off-t" title="gsf_off_t"><span class="returnvalue">gsf_off_t</span></a>
265
+ gsf_output_size (<em class="parameter"><code><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> *output</code></em>);</pre>
266
+ <p>Determine the size of the output stream <em class="parameter"><code>output</code></em>
267
+ .</p>
268
+ <div class="refsect3">
269
+ <a name="id-1.6.3.3.9.2.5"></a><h4>Parameters</h4>
270
+ <div class="informaltable"><table width="100%" border="0">
271
+ <colgroup>
272
+ <col width="150px" class="parameters_name">
273
+ <col class="parameters_description">
274
+ <col width="200px" class="parameters_annotations">
275
+ </colgroup>
276
+ <tbody><tr>
277
+ <td class="parameter_name"><p>output</p></td>
278
+ <td class="parameter_description"><p><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a></p></td>
279
+ <td class="parameter_annotations"> </td>
280
+ </tr></tbody>
281
+ </table></div>
282
+ </div>
283
+ <div class="refsect3">
284
+ <a name="id-1.6.3.3.9.2.6"></a><h4>Returns</h4>
285
+ <p> the size of the output, or -1 if it does not have a size.</p>
286
+ <p></p>
287
+ </div>
288
+ </div>
289
+ <hr>
290
+ <div class="refsect2">
291
+ <a name="gsf-output-close"></a><h3>gsf_output_close ()</h3>
292
+ <pre class="programlisting"><span class="returnvalue">gboolean</span>
293
+ gsf_output_close (<em class="parameter"><code><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> *output</code></em>);</pre>
294
+ <p>Close a stream.</p>
295
+ <div class="refsect3">
296
+ <a name="id-1.6.3.3.9.3.5"></a><h4>Parameters</h4>
297
+ <div class="informaltable"><table width="100%" border="0">
298
+ <colgroup>
299
+ <col width="150px" class="parameters_name">
300
+ <col class="parameters_description">
301
+ <col width="200px" class="parameters_annotations">
302
+ </colgroup>
303
+ <tbody><tr>
304
+ <td class="parameter_name"><p>output</p></td>
305
+ <td class="parameter_description"><p><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a></p></td>
306
+ <td class="parameter_annotations"> </td>
307
+ </tr></tbody>
308
+ </table></div>
309
+ </div>
310
+ <div class="refsect3">
311
+ <a name="id-1.6.3.3.9.3.6"></a><h4>Returns</h4>
312
+ <p> <code class="literal">FALSE</code> on error</p>
313
+ <p></p>
314
+ </div>
315
+ </div>
316
+ <hr>
317
+ <div class="refsect2">
318
+ <a name="gsf-output-tell"></a><h3>gsf_output_tell ()</h3>
319
+ <pre class="programlisting"><a class="link" href="gsf-utils.html#gsf-off-t" title="gsf_off_t"><span class="returnvalue">gsf_off_t</span></a>
320
+ gsf_output_tell (<em class="parameter"><code><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> *output</code></em>);</pre>
321
+ <p>Tell the current position in <em class="parameter"><code>output</code></em>
322
+ , similar to</p>
323
+ <span class="citerefentry"><span class="refentrytitle">ftell</span>(3)</span>.
324
+ <div class="refsect3">
325
+ <a name="id-1.6.3.3.9.4.6"></a><h4>Parameters</h4>
326
+ <div class="informaltable"><table width="100%" border="0">
327
+ <colgroup>
328
+ <col width="150px" class="parameters_name">
329
+ <col class="parameters_description">
330
+ <col width="200px" class="parameters_annotations">
331
+ </colgroup>
332
+ <tbody><tr>
333
+ <td class="parameter_name"><p>output</p></td>
334
+ <td class="parameter_description"><p><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a></p></td>
335
+ <td class="parameter_annotations"> </td>
336
+ </tr></tbody>
337
+ </table></div>
338
+ </div>
339
+ <div class="refsect3">
340
+ <a name="id-1.6.3.3.9.4.7"></a><h4>Returns</h4>
341
+ <p> the current position in the file</p>
342
+ <p></p>
343
+ </div>
344
+ </div>
345
+ <hr>
346
+ <div class="refsect2">
347
+ <a name="gsf-output-seek"></a><h3>gsf_output_seek ()</h3>
348
+ <pre class="programlisting"><span class="returnvalue">gboolean</span>
349
+ gsf_output_seek (<em class="parameter"><code><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> *output</code></em>,
350
+ <em class="parameter"><code><a class="link" href="gsf-utils.html#gsf-off-t" title="gsf_off_t"><span class="type">gsf_off_t</span></a> offset</code></em>,
351
+ <em class="parameter"><code><span class="type">GSeekType</span> whence</code></em>);</pre>
352
+ <p>Reposition in output stream <em class="parameter"><code>output</code></em>
353
+ . <em class="parameter"><code>whence</code></em>
354
+ specifies what the offset is
355
+ relative to: the beginning of the stream (<code class="literal">G_SEEK_SET</code>), current position in
356
+ the stream (<code class="literal">G_SEEK_CUR</code>) or the end of the stream (<code class="literal">G_SEEK_END</code>).
357
+ This function is similar to</p>
358
+ <span class="citerefentry"><span class="refentrytitle">fseek</span>(3)</span>.
359
+ <div class="refsect3">
360
+ <a name="id-1.6.3.3.9.5.6"></a><h4>Parameters</h4>
361
+ <div class="informaltable"><table width="100%" border="0">
362
+ <colgroup>
363
+ <col width="150px" class="parameters_name">
364
+ <col class="parameters_description">
365
+ <col width="200px" class="parameters_annotations">
366
+ </colgroup>
367
+ <tbody>
368
+ <tr>
369
+ <td class="parameter_name"><p>output</p></td>
370
+ <td class="parameter_description"><p><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a></p></td>
371
+ <td class="parameter_annotations"> </td>
372
+ </tr>
373
+ <tr>
374
+ <td class="parameter_name"><p>offset</p></td>
375
+ <td class="parameter_description"><p>Relative amount to reposition</p></td>
376
+ <td class="parameter_annotations"> </td>
377
+ </tr>
378
+ <tr>
379
+ <td class="parameter_name"><p>whence</p></td>
380
+ <td class="parameter_description"><p>What the offset is relative to.</p></td>
381
+ <td class="parameter_annotations"> </td>
382
+ </tr>
383
+ </tbody>
384
+ </table></div>
385
+ </div>
386
+ <div class="refsect3">
387
+ <a name="id-1.6.3.3.9.5.7"></a><h4>Returns</h4>
388
+ <p> <code class="literal">FALSE</code> on error.</p>
389
+ <p></p>
390
+ </div>
391
+ </div>
392
+ <hr>
393
+ <div class="refsect2">
394
+ <a name="gsf-output-write"></a><h3>gsf_output_write ()</h3>
395
+ <pre class="programlisting"><span class="returnvalue">gboolean</span>
396
+ gsf_output_write (<em class="parameter"><code><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> *output</code></em>,
397
+ <em class="parameter"><code><span class="type">size_t</span> num_bytes</code></em>,
398
+ <em class="parameter"><code><span class="type">guint8</span> const *data</code></em>);</pre>
399
+ <p>Write <em class="parameter"><code>num_bytes</code></em>
400
+ of <em class="parameter"><code>data</code></em>
401
+ to <em class="parameter"><code>output</code></em>
402
+ .</p>
403
+ <div class="refsect3">
404
+ <a name="id-1.6.3.3.9.6.5"></a><h4>Parameters</h4>
405
+ <div class="informaltable"><table width="100%" border="0">
406
+ <colgroup>
407
+ <col width="150px" class="parameters_name">
408
+ <col class="parameters_description">
409
+ <col width="200px" class="parameters_annotations">
410
+ </colgroup>
411
+ <tbody>
412
+ <tr>
413
+ <td class="parameter_name"><p>output</p></td>
414
+ <td class="parameter_description"><p>Output stream</p></td>
415
+ <td class="parameter_annotations"> </td>
416
+ </tr>
417
+ <tr>
418
+ <td class="parameter_name"><p>num_bytes</p></td>
419
+ <td class="parameter_description"><p>Number of bytes to write</p></td>
420
+ <td class="parameter_annotations"> </td>
421
+ </tr>
422
+ <tr>
423
+ <td class="parameter_name"><p>data</p></td>
424
+ <td class="parameter_description"><p> Data to write. </p></td>
425
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=num_bytes]</span></td>
426
+ </tr>
427
+ </tbody>
428
+ </table></div>
429
+ </div>
430
+ <div class="refsect3">
431
+ <a name="id-1.6.3.3.9.6.6"></a><h4>Returns</h4>
432
+ <p> <code class="literal">FALSE</code> on error.</p>
433
+ <p></p>
434
+ </div>
435
+ </div>
436
+ <hr>
437
+ <div class="refsect2">
438
+ <a name="gsf-output-puts"></a><h3>gsf_output_puts ()</h3>
439
+ <pre class="programlisting"><span class="returnvalue">gboolean</span>
440
+ gsf_output_puts (<em class="parameter"><code><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> *output</code></em>,
441
+ <em class="parameter"><code><span class="type">char</span> const *line</code></em>);</pre>
442
+ <p>Like fputs, this assumes that the line already ends with a newline</p>
443
+ <div class="refsect3">
444
+ <a name="id-1.6.3.3.9.7.5"></a><h4>Parameters</h4>
445
+ <div class="informaltable"><table width="100%" border="0">
446
+ <colgroup>
447
+ <col width="150px" class="parameters_name">
448
+ <col class="parameters_description">
449
+ <col width="200px" class="parameters_annotations">
450
+ </colgroup>
451
+ <tbody>
452
+ <tr>
453
+ <td class="parameter_name"><p>output</p></td>
454
+ <td class="parameter_description"><p>A <a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a></p></td>
455
+ <td class="parameter_annotations"> </td>
456
+ </tr>
457
+ <tr>
458
+ <td class="parameter_name"><p>line</p></td>
459
+ <td class="parameter_description"><p>Nul terminated string to write</p></td>
460
+ <td class="parameter_annotations"> </td>
461
+ </tr>
462
+ </tbody>
463
+ </table></div>
464
+ </div>
465
+ <div class="refsect3">
466
+ <a name="id-1.6.3.3.9.7.6"></a><h4>Returns</h4>
467
+ <p> <code class="literal">TRUE</code> if successful, <code class="literal">FALSE</code> if not</p>
468
+ <p></p>
469
+ </div>
470
+ </div>
471
+ <hr>
472
+ <div class="refsect2">
473
+ <a name="gsf-output-printf"></a><h3>gsf_output_printf ()</h3>
474
+ <pre class="programlisting"><span class="returnvalue">gboolean</span>
475
+ gsf_output_printf (<em class="parameter"><code><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> *output</code></em>,
476
+ <em class="parameter"><code><span class="type">char</span> const *format</code></em>,
477
+ <em class="parameter"><code>...</code></em>);</pre>
478
+ <p>Output <em class="parameter"><code>Varargs</code></em>
479
+ to <em class="parameter"><code>output</code></em>
480
+ using the format string <em class="parameter"><code>format</code></em>
481
+ , similar to</p>
482
+ <span class="citerefentry"><span class="refentrytitle">printf</span>(3)</span>.
483
+ <div class="refsect3">
484
+ <a name="id-1.6.3.3.9.8.6"></a><h4>Parameters</h4>
485
+ <div class="informaltable"><table width="100%" border="0">
486
+ <colgroup>
487
+ <col width="150px" class="parameters_name">
488
+ <col class="parameters_description">
489
+ <col width="200px" class="parameters_annotations">
490
+ </colgroup>
491
+ <tbody>
492
+ <tr>
493
+ <td class="parameter_name"><p>output</p></td>
494
+ <td class="parameter_description"><p>A <a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a></p></td>
495
+ <td class="parameter_annotations"> </td>
496
+ </tr>
497
+ <tr>
498
+ <td class="parameter_name"><p>format</p></td>
499
+ <td class="parameter_description"><p>The printf-style format string</p></td>
500
+ <td class="parameter_annotations"> </td>
501
+ </tr>
502
+ <tr>
503
+ <td class="parameter_name"><p>...</p></td>
504
+ <td class="parameter_description"><p>the arguments for <em class="parameter"><code>format</code></em>
505
+ </p></td>
506
+ <td class="parameter_annotations"> </td>
507
+ </tr>
508
+ </tbody>
509
+ </table></div>
510
+ </div>
511
+ <div class="refsect3">
512
+ <a name="id-1.6.3.3.9.8.7"></a><h4>Returns</h4>
513
+ <p> <code class="literal">TRUE</code> if successful, <code class="literal">FALSE</code> if not</p>
514
+ <p></p>
515
+ </div>
516
+ </div>
517
+ <hr>
518
+ <div class="refsect2">
519
+ <a name="gsf-output-vprintf"></a><h3>gsf_output_vprintf ()</h3>
520
+ <pre class="programlisting"><a class="link" href="gsf-utils.html#gsf-off-t" title="gsf_off_t"><span class="returnvalue">gsf_off_t</span></a>
521
+ gsf_output_vprintf (<em class="parameter"><code><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> *output</code></em>,
522
+ <em class="parameter"><code><span class="type">char</span> const *format</code></em>,
523
+ <em class="parameter"><code><span class="type">va_list</span> args</code></em>);</pre>
524
+ <p>Output <em class="parameter"><code>args</code></em>
525
+ to <em class="parameter"><code>output</code></em>
526
+ using the format string <em class="parameter"><code>format</code></em>
527
+ , similar to</p>
528
+ <span class="citerefentry"><span class="refentrytitle">vprintf</span>(3)</span>.
529
+ <div class="refsect3">
530
+ <a name="id-1.6.3.3.9.9.6"></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>output</p></td>
540
+ <td class="parameter_description"><p>A <a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a></p></td>
541
+ <td class="parameter_annotations"> </td>
542
+ </tr>
543
+ <tr>
544
+ <td class="parameter_name"><p>format</p></td>
545
+ <td class="parameter_description"><p>The printf-style format string</p></td>
546
+ <td class="parameter_annotations"> </td>
547
+ </tr>
548
+ <tr>
549
+ <td class="parameter_name"><p>args</p></td>
550
+ <td class="parameter_description"><p>the arguments for <em class="parameter"><code>format</code></em>
551
+ </p></td>
552
+ <td class="parameter_annotations"> </td>
553
+ </tr>
554
+ </tbody>
555
+ </table></div>
556
+ </div>
557
+ <div class="refsect3">
558
+ <a name="id-1.6.3.3.9.9.7"></a><h4>Returns</h4>
559
+ <p> number of bytes printed, a negative value if not successful</p>
560
+ <p></p>
561
+ </div>
562
+ </div>
563
+ <hr>
564
+ <div class="refsect2">
565
+ <a name="gsf-output-container"></a><h3>gsf_output_container ()</h3>
566
+ <pre class="programlisting"><a class="link" href="gsf-Outfile-writing-structed-files.html#GsfOutfile"><span class="returnvalue">GsfOutfile</span></a> *
567
+ gsf_output_container (<em class="parameter"><code><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> const *output</code></em>);</pre>
568
+ <div class="refsect3">
569
+ <a name="id-1.6.3.3.9.10.4"></a><h4>Returns</h4>
570
+ <p> <em class="parameter"><code>output</code></em>
571
+ 's container, potentially <code class="literal">NULL</code>. </p>
572
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
573
+ </div>
574
+ </div>
575
+ <hr>
576
+ <div class="refsect2">
577
+ <a name="gsf-output-name"></a><h3>gsf_output_name ()</h3>
578
+ <pre class="programlisting"><span class="returnvalue">char</span> const *
579
+ gsf_output_name (<em class="parameter"><code><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> const *output</code></em>);</pre>
580
+ <p>Give the name of <em class="parameter"><code>output</code></em>
581
+ .</p>
582
+ <div class="refsect3">
583
+ <a name="id-1.6.3.3.9.11.5"></a><h4>Parameters</h4>
584
+ <div class="informaltable"><table width="100%" border="0">
585
+ <colgroup>
586
+ <col width="150px" class="parameters_name">
587
+ <col class="parameters_description">
588
+ <col width="200px" class="parameters_annotations">
589
+ </colgroup>
590
+ <tbody><tr>
591
+ <td class="parameter_name"><p>output</p></td>
592
+ <td class="parameter_description"><p><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a></p></td>
593
+ <td class="parameter_annotations"> </td>
594
+ </tr></tbody>
595
+ </table></div>
596
+ </div>
597
+ <div class="refsect3">
598
+ <a name="id-1.6.3.3.9.11.6"></a><h4>Returns</h4>
599
+ <p> <em class="parameter"><code>output</code></em>
600
+ 's name in utf8 form. </p>
601
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
602
+ </div>
603
+ </div>
604
+ <hr>
605
+ <div class="refsect2">
606
+ <a name="gsf-output-set-name-from-filename"></a><h3>gsf_output_set_name_from_filename ()</h3>
607
+ <pre class="programlisting"><span class="returnvalue">gboolean</span>
608
+ gsf_output_set_name_from_filename (<em class="parameter"><code><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> *output</code></em>,
609
+ <em class="parameter"><code><span class="type">char</span> const *filename</code></em>);</pre>
610
+ <div class="note">This is a utility routine that should only be used by derived
611
+ outputs.</div>
612
+ <div class="refsect3">
613
+ <a name="id-1.6.3.3.9.12.5"></a><h4>Parameters</h4>
614
+ <div class="informaltable"><table width="100%" border="0">
615
+ <colgroup>
616
+ <col width="150px" class="parameters_name">
617
+ <col class="parameters_description">
618
+ <col width="200px" class="parameters_annotations">
619
+ </colgroup>
620
+ <tbody>
621
+ <tr>
622
+ <td class="parameter_name"><p>output</p></td>
623
+ <td class="parameter_description"><p>the output stream</p></td>
624
+ <td class="parameter_annotations"> </td>
625
+ </tr>
626
+ <tr>
627
+ <td class="parameter_name"><p>filename</p></td>
628
+ <td class="parameter_description"><p>the (fs-sys encoded) filename</p></td>
629
+ <td class="parameter_annotations"> </td>
630
+ </tr>
631
+ </tbody>
632
+ </table></div>
633
+ </div>
634
+ <div class="refsect3">
635
+ <a name="id-1.6.3.3.9.12.6"></a><h4>Returns</h4>
636
+ <p> <code class="literal">TRUE</code> if the assignment was ok.</p>
637
+ <p></p>
638
+ </div>
639
+ </div>
640
+ <hr>
641
+ <div class="refsect2">
642
+ <a name="gsf-output-error-id"></a><h3>gsf_output_error_id ()</h3>
643
+ <pre class="programlisting"><span class="returnvalue">GQuark</span>
644
+ gsf_output_error_id (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
645
+ <p>
646
+ </p>
647
+ <div class="refsect3">
648
+ <a name="id-1.6.3.3.9.13.5"></a><h4>Returns</h4>
649
+ <p></p>
650
+ </div>
651
+ </div>
652
+ <hr>
653
+ <div class="refsect2">
654
+ <a name="gsf-output-set-error"></a><h3>gsf_output_set_error ()</h3>
655
+ <pre class="programlisting"><span class="returnvalue">gboolean</span>
656
+ gsf_output_set_error (<em class="parameter"><code><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> *output</code></em>,
657
+ <em class="parameter"><code><span class="type">gint</span> code</code></em>,
658
+ <em class="parameter"><code><span class="type">char</span> const *format</code></em>,
659
+ <em class="parameter"><code>...</code></em>);</pre>
660
+ <div class="note">This is a utility routine that should only be used by derived
661
+ outputs.</div>
662
+ <div class="refsect3">
663
+ <a name="id-1.6.3.3.9.14.5"></a><h4>Parameters</h4>
664
+ <div class="informaltable"><table width="100%" border="0">
665
+ <colgroup>
666
+ <col width="150px" class="parameters_name">
667
+ <col class="parameters_description">
668
+ <col width="200px" class="parameters_annotations">
669
+ </colgroup>
670
+ <tbody>
671
+ <tr>
672
+ <td class="parameter_name"><p>output</p></td>
673
+ <td class="parameter_description"><p><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a></p></td>
674
+ <td class="parameter_annotations"> </td>
675
+ </tr>
676
+ <tr>
677
+ <td class="parameter_name"><p>code</p></td>
678
+ <td class="parameter_description"><p>The error id</p></td>
679
+ <td class="parameter_annotations"> </td>
680
+ </tr>
681
+ <tr>
682
+ <td class="parameter_name"><p>format</p></td>
683
+ <td class="parameter_description"><p>printf style format string</p></td>
684
+ <td class="parameter_annotations"> </td>
685
+ </tr>
686
+ <tr>
687
+ <td class="parameter_name"><p>...</p></td>
688
+ <td class="parameter_description"><p>arguments for <em class="parameter"><code>format</code></em>
689
+ </p></td>
690
+ <td class="parameter_annotations"> </td>
691
+ </tr>
692
+ </tbody>
693
+ </table></div>
694
+ </div>
695
+ <div class="refsect3">
696
+ <a name="id-1.6.3.3.9.14.6"></a><h4>Returns</h4>
697
+ <p> Always returns <code class="literal">FALSE</code> to facilitate its use.</p>
698
+ <p></p>
699
+ </div>
700
+ </div>
701
+ <hr>
702
+ <div class="refsect2">
703
+ <a name="gsf-output-error"></a><h3>gsf_output_error ()</h3>
704
+ <pre class="programlisting"><span class="returnvalue">GError</span> const *
705
+ gsf_output_error (<em class="parameter"><code><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> const *output</code></em>);</pre>
706
+ <div class="refsect3">
707
+ <a name="id-1.6.3.3.9.15.4"></a><h4>Returns</h4>
708
+ <p> the last error logged on the output, or <code class="literal">NULL</code>. </p>
709
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
710
+ </div>
711
+ </div>
712
+ <hr>
713
+ <div class="refsect2">
714
+ <a name="gsf-output-is-closed"></a><h3>gsf_output_is_closed ()</h3>
715
+ <pre class="programlisting"><span class="returnvalue">gboolean</span>
716
+ gsf_output_is_closed (<em class="parameter"><code><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> const *output</code></em>);</pre>
717
+ <div class="refsect3">
718
+ <a name="id-1.6.3.3.9.16.4"></a><h4>Parameters</h4>
719
+ <div class="informaltable"><table width="100%" border="0">
720
+ <colgroup>
721
+ <col width="150px" class="parameters_name">
722
+ <col class="parameters_description">
723
+ <col width="200px" class="parameters_annotations">
724
+ </colgroup>
725
+ <tbody><tr>
726
+ <td class="parameter_name"><p>output</p></td>
727
+ <td class="parameter_description"><p><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a></p></td>
728
+ <td class="parameter_annotations"> </td>
729
+ </tr></tbody>
730
+ </table></div>
731
+ </div>
732
+ <div class="refsect3">
733
+ <a name="id-1.6.3.3.9.16.5"></a><h4>Returns</h4>
734
+ <p> <code class="literal">TRUE</code> if <em class="parameter"><code>output</code></em>
735
+ has already been closed.</p>
736
+ <p></p>
737
+ </div>
738
+ </div>
739
+ <hr>
740
+ <div class="refsect2">
741
+ <a name="gsf-output-wrap"></a><h3>gsf_output_wrap ()</h3>
742
+ <pre class="programlisting"><span class="returnvalue">gboolean</span>
743
+ gsf_output_wrap (<em class="parameter"><code><span class="type">GObject</span> *wrapper</code></em>,
744
+ <em class="parameter"><code><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> *wrapee</code></em>);</pre>
745
+ <div class="refsect3">
746
+ <a name="id-1.6.3.3.9.17.4"></a><h4>Returns</h4>
747
+ <p> <code class="literal">TRUE</code> if the wrapping succeeded.</p>
748
+ <p></p>
749
+ </div>
750
+ </div>
751
+ <hr>
752
+ <div class="refsect2">
753
+ <a name="gsf-output-unwrap"></a><h3>gsf_output_unwrap ()</h3>
754
+ <pre class="programlisting"><span class="returnvalue">gboolean</span>
755
+ gsf_output_unwrap (<em class="parameter"><code><span class="type">GObject</span> *wrapper</code></em>,
756
+ <em class="parameter"><code><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> *wrapee</code></em>);</pre>
757
+ <div class="refsect3">
758
+ <a name="id-1.6.3.3.9.18.4"></a><h4>Returns</h4>
759
+ <p> <code class="literal">TRUE</code> if the unwrapping succeeded.</p>
760
+ <p></p>
761
+ </div>
762
+ </div>
763
+ </div>
764
+ <div class="refsect1">
765
+ <a name="gsf-Output-to-unstructured-files.other_details"></a><h2>Types and Values</h2>
766
+ <div class="refsect2">
767
+ <a name="GsfOutput-struct"></a><h3>GsfOutput</h3>
768
+ <pre class="programlisting">typedef struct _GsfOutput GsfOutput;</pre>
769
+ <p>Class representing an output stream, counterpart to <a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="type">GsfInput</span></a>.</p>
770
+ </div>
771
+ </div>
772
+ <div class="refsect1">
773
+ <a name="gsf-Output-to-unstructured-files.property-details"></a><h2>Property Details</h2>
774
+ <div class="refsect2">
775
+ <a name="GsfOutput--container"></a><h3>The <code class="literal">“container”</code> property</h3>
776
+ <pre class="programlisting"> “container” <a class="link" href="gsf-Outfile-writing-structed-files.html#GsfOutfile"><span class="type">GsfOutfile</span></a> *</pre>
777
+ <p>The container, optionally <code class="literal">NULL</code>, in which this output lives.</p>
778
+ <p>Flags: Read / Write</p>
779
+ </div>
780
+ <hr>
781
+ <div class="refsect2">
782
+ <a name="GsfOutput--is-closed"></a><h3>The <code class="literal">“is-closed”</code> property</h3>
783
+ <pre class="programlisting"> “is-closed” <span class="type">gboolean</span></pre>
784
+ <p><code class="literal">TRUE</code> if the output has been closed.</p>
785
+ <p>Flags: Read</p>
786
+ <p>Default value: FALSE</p>
787
+ </div>
788
+ <hr>
789
+ <div class="refsect2">
790
+ <a name="GsfOutput--modtime"></a><h3>The <code class="literal">“modtime”</code> property</h3>
791
+ <pre class="programlisting"> “modtime” <span class="type">GDateTime</span> *</pre>
792
+ <p>The time the output was last updated. This must be set on object
793
+ construction and represents the timestamp to put on the resulting
794
+ file or <a class="link" href="gsf-Outfile-writing-structed-files.html#GsfOutfile"><span class="type">GsfOutfile</span></a> member. Not all derived classes will actually
795
+ do anything with this property.</p>
796
+ <p>Flags: Read / Write / Construct Only</p>
797
+ </div>
798
+ <hr>
799
+ <div class="refsect2">
800
+ <a name="GsfOutput--name"></a><h3>The <code class="literal">“name”</code> property</h3>
801
+ <pre class="programlisting"> “name” <span class="type">gchar</span> *</pre>
802
+ <p>The output's name.</p>
803
+ <p>Flags: Read / Write</p>
804
+ <p>Default value: NULL</p>
805
+ </div>
806
+ <hr>
807
+ <div class="refsect2">
808
+ <a name="GsfOutput--position"></a><h3>The <code class="literal">“position”</code> property</h3>
809
+ <pre class="programlisting"> “position” <span class="type">gint64</span></pre>
810
+ <p>The current position in the output.</p>
811
+ <p>Flags: Read</p>
812
+ <p>Allowed values: &gt;= 0</p>
813
+ <p>Default value: 0</p>
814
+ </div>
815
+ <hr>
816
+ <div class="refsect2">
817
+ <a name="GsfOutput--size"></a><h3>The <code class="literal">“size”</code> property</h3>
818
+ <pre class="programlisting"> “size” <span class="type">gint64</span></pre>
819
+ <p>The current file size.</p>
820
+ <p>Flags: Read</p>
821
+ <p>Allowed values: &gt;= 0</p>
822
+ <p>Default value: 0</p>
823
+ </div>
824
+ </div>
825
+ </div>
826
+ <div class="footer">
827
+ <hr>
828
+ Generated by GTK-Doc V1.20</div>
829
+ </body>
830
+ </html>