rsvg2 0.90.4-x86-mingw32 → 0.90.5-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (242) hide show
  1. data/Rakefile +13 -2
  2. data/ext/rsvg2/extconf.rb +8 -0
  3. data/lib/1.8/rsvg2.so +0 -0
  4. data/lib/1.9/rsvg2.so +0 -0
  5. data/vendor/local/bin/gsf-office-thumbnailer.exe +0 -0
  6. data/vendor/local/bin/gtk-demo.exe +0 -0
  7. data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
  8. data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
  9. data/vendor/local/bin/libcairo-2.dll +0 -0
  10. data/vendor/local/bin/libcairo-gobject-2.dll +0 -0
  11. data/vendor/local/bin/libcairo-script-interpreter-2.dll +0 -0
  12. data/vendor/local/bin/libgailutil-18.dll +0 -0
  13. data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
  14. data/vendor/local/bin/libgsf-1-114.dll +0 -0
  15. data/vendor/local/bin/libgsf-gnome-1-114.dll +0 -0
  16. data/vendor/local/bin/libgsf-win32-1-114.dll +0 -0
  17. data/vendor/local/bin/libgtk-win32-2.0-0.dll +0 -0
  18. data/vendor/local/bin/libpango-1.0-0.dll +0 -0
  19. data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
  20. data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
  21. data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
  22. data/vendor/local/bin/pango-querymodules.exe +0 -0
  23. data/vendor/local/bin/pango-view.exe +0 -0
  24. data/vendor/local/bin/pkg-config.exe +0 -0
  25. data/vendor/local/etc/gconf/schemas/gsf-office-thumbnailer.schemas +4073 -0
  26. data/vendor/local/etc/gtk-2.0/gtk.immodules +1 -1
  27. data/vendor/local/etc/pango/pango.modules +1 -1
  28. data/vendor/local/gtk+-bundle_2.22.0-20101016_win32.README.txt +29 -0
  29. data/vendor/local/include/libgsf-1/gsf-gnome/gsf-input-bonobo.h +41 -0
  30. data/vendor/local/include/libgsf-1/gsf-gnome/gsf-input-gnomevfs.h +53 -0
  31. data/vendor/local/include/libgsf-1/gsf-gnome/gsf-output-bonobo.h +41 -0
  32. data/vendor/local/include/libgsf-1/gsf-gnome/gsf-output-gnomevfs.h +49 -0
  33. data/vendor/local/include/libgsf-1/gsf-gnome/gsf-shared-bonobo-stream.h +47 -0
  34. data/vendor/local/include/libgsf-1/gsf-win32/gsf-input-win32.h +41 -0
  35. data/vendor/local/include/libgsf-1/gsf-win32/gsf-output-win32.h +41 -0
  36. data/vendor/local/include/libgsf-1/gsf/gsf-blob.h +45 -0
  37. data/vendor/local/include/libgsf-1/gsf/gsf-clip-data.h +66 -0
  38. data/vendor/local/include/libgsf-1/gsf/gsf-doc-meta-data.h +67 -0
  39. data/vendor/local/include/libgsf-1/gsf/gsf-docprop-vector.h +48 -0
  40. data/vendor/local/include/libgsf-1/gsf/gsf-impl-utils.h +156 -0
  41. data/vendor/local/include/libgsf-1/gsf/gsf-infile-impl.h +50 -0
  42. data/vendor/local/include/libgsf-1/gsf/gsf-infile-msole.h +45 -0
  43. data/vendor/local/include/libgsf-1/gsf/gsf-infile-msvba.h +48 -0
  44. data/vendor/local/include/libgsf-1/gsf/gsf-infile-stdio.h +43 -0
  45. data/vendor/local/include/libgsf-1/gsf/gsf-infile-tar.h +40 -0
  46. data/vendor/local/include/libgsf-1/gsf/gsf-infile-zip.h +43 -0
  47. data/vendor/local/include/libgsf-1/gsf/gsf-infile.h +47 -0
  48. data/vendor/local/include/libgsf-1/gsf/gsf-input-bzip.h +34 -0
  49. data/vendor/local/include/libgsf-1/gsf/gsf-input-gio.h +43 -0
  50. data/vendor/local/include/libgsf-1/gsf/gsf-input-gzip.h +42 -0
  51. data/vendor/local/include/libgsf-1/gsf/gsf-input-http.h +44 -0
  52. data/vendor/local/include/libgsf-1/gsf/gsf-input-impl.h +69 -0
  53. data/vendor/local/include/libgsf-1/gsf/gsf-input-iochannel.h +35 -0
  54. data/vendor/local/include/libgsf-1/gsf/gsf-input-memory.h +45 -0
  55. data/vendor/local/include/libgsf-1/gsf/gsf-input-proxy.h +45 -0
  56. data/vendor/local/include/libgsf-1/gsf/gsf-input-stdio.h +46 -0
  57. data/vendor/local/include/libgsf-1/gsf/gsf-input-textline.h +45 -0
  58. data/vendor/local/include/libgsf-1/gsf/gsf-input.h +65 -0
  59. data/vendor/local/include/libgsf-1/gsf/gsf-libxml.h +194 -0
  60. data/vendor/local/include/libgsf-1/gsf/gsf-meta-names.h +482 -0
  61. data/vendor/local/include/libgsf-1/gsf/gsf-msole-utils.h +54 -0
  62. data/vendor/local/include/libgsf-1/gsf/gsf-open-pkg-utils.h +92 -0
  63. data/vendor/local/include/libgsf-1/gsf/gsf-opendoc-utils.h +106 -0
  64. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-impl.h +48 -0
  65. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-msole.h +50 -0
  66. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-stdio.h +48 -0
  67. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-zip.h +61 -0
  68. data/vendor/local/include/libgsf-1/gsf/gsf-outfile.h +50 -0
  69. data/vendor/local/include/libgsf-1/gsf/gsf-output-bzip.h +42 -0
  70. data/vendor/local/include/libgsf-1/gsf/gsf-output-csv.h +74 -0
  71. data/vendor/local/include/libgsf-1/gsf/gsf-output-gio.h +43 -0
  72. data/vendor/local/include/libgsf-1/gsf/gsf-output-gzip.h +42 -0
  73. data/vendor/local/include/libgsf-1/gsf/gsf-output-iconv.h +46 -0
  74. data/vendor/local/include/libgsf-1/gsf/gsf-output-impl.h +38 -0
  75. data/vendor/local/include/libgsf-1/gsf/gsf-output-iochannel.h +42 -0
  76. data/vendor/local/include/libgsf-1/gsf/gsf-output-memory.h +43 -0
  77. data/vendor/local/include/libgsf-1/gsf/gsf-output-stdio.h +51 -0
  78. data/vendor/local/include/libgsf-1/gsf/gsf-output.h +98 -0
  79. data/vendor/local/include/libgsf-1/gsf/gsf-shared-memory.h +52 -0
  80. data/vendor/local/include/libgsf-1/gsf/gsf-structured-blob.h +46 -0
  81. data/vendor/local/include/libgsf-1/gsf/gsf-timestamp.h +64 -0
  82. data/vendor/local/include/libgsf-1/gsf/gsf-utils.h +331 -0
  83. data/vendor/local/include/libgsf-1/gsf/gsf.h +104 -0
  84. data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +2 -2
  85. data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
  86. data/vendor/local/include/pixman-1/pixman-version.h +50 -0
  87. data/vendor/local/include/pixman-1/pixman.h +936 -0
  88. data/vendor/local/lib/cairo.lib +0 -0
  89. data/vendor/local/lib/gailutil.lib +0 -0
  90. data/vendor/local/lib/gdk-win32-2.0.lib +0 -0
  91. data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
  92. data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
  93. data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
  94. data/vendor/local/lib/gtk-win32-2.0.lib +0 -0
  95. data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
  96. data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
  97. data/vendor/local/lib/libcairo.dll.a +0 -0
  98. data/vendor/local/lib/libgailutil.dll.a +0 -0
  99. data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
  100. data/vendor/local/lib/libgsf-1.dll.a +0 -0
  101. data/vendor/local/lib/libgsf-gnome-1.dll.a +0 -0
  102. data/vendor/local/lib/libgsf-win32-1.dll.a +0 -0
  103. data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
  104. data/vendor/local/lib/libpango-1.0.dll.a +0 -0
  105. data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
  106. data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
  107. data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
  108. data/vendor/local/lib/libpixman-1.a +0 -0
  109. data/vendor/local/lib/pango-1.0.lib +0 -0
  110. data/vendor/local/lib/pangocairo-1.0.lib +0 -0
  111. data/vendor/local/lib/pangoft2-1.0.lib +0 -0
  112. data/vendor/local/lib/pangowin32-1.0.lib +0 -0
  113. data/vendor/local/lib/pkgconfig/cairo-fc.pc +1 -1
  114. data/vendor/local/lib/pkgconfig/cairo-ft.pc +1 -1
  115. data/vendor/local/lib/pkgconfig/cairo-gobject.pc +1 -1
  116. data/vendor/local/lib/pkgconfig/cairo-pdf.pc +1 -1
  117. data/vendor/local/lib/pkgconfig/cairo-png.pc +1 -1
  118. data/vendor/local/lib/pkgconfig/cairo-ps.pc +1 -1
  119. data/vendor/local/lib/pkgconfig/cairo-svg.pc +1 -1
  120. data/vendor/local/lib/pkgconfig/cairo-win32-font.pc +1 -1
  121. data/vendor/local/lib/pkgconfig/cairo-win32.pc +1 -1
  122. data/vendor/local/lib/pkgconfig/cairo.pc +1 -1
  123. data/vendor/local/lib/pkgconfig/gail.pc +1 -1
  124. data/vendor/local/lib/pkgconfig/gdk-2.0.pc +1 -1
  125. data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +1 -1
  126. data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +1 -1
  127. data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +1 -1
  128. data/vendor/local/lib/pkgconfig/libgsf-1.pc +11 -0
  129. data/vendor/local/lib/pkgconfig/libgsf-gnome-1.pc +11 -0
  130. data/vendor/local/lib/pkgconfig/libgsf-win32-1.pc +11 -0
  131. data/vendor/local/lib/pkgconfig/pango.pc +2 -2
  132. data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
  133. data/vendor/local/lib/pkgconfig/pangoft2.pc +2 -2
  134. data/vendor/local/lib/pkgconfig/pangowin32.pc +2 -2
  135. data/vendor/local/lib/pkgconfig/pixman-1.pc +11 -0
  136. data/vendor/local/manifest/{cairo-dev_1.10.0-1_win32.mft → cairo-dev_1.10.0-2_win32.mft} +6 -4
  137. data/vendor/local/manifest/cairo_1.10.0-2_win32.mft +7 -0
  138. data/vendor/local/manifest/gtk+-bundle_2.22.0-20101016_win32.mft +2910 -0
  139. data/vendor/local/manifest/libgsf-dev_1.14.17-1_win32.mft +57 -0
  140. data/vendor/local/manifest/libgsf-gnome-dev_1.14.17-1_win32.mft +9 -0
  141. data/vendor/local/manifest/libgsf-gnome_1.14.17-1_win32.mft +3 -0
  142. data/vendor/local/manifest/libgsf_1.14.17-1_win32.mft +18 -0
  143. data/vendor/local/manifest/{pango-dev_1.28.1-2_win32.mft → pango-dev_1.28.3-1_win32.mft} +5 -5
  144. data/vendor/local/manifest/{pango_1.28.1-2_win32.mft → pango_1.28.3-1_win32.mft} +2 -2
  145. data/vendor/local/share/aclocal/pkg.m4 +155 -0
  146. data/vendor/local/share/doc/cairo_1.10.0-2_win32/COPYING +33 -0
  147. data/vendor/local/share/doc/cairo_1.10.0-2_win32/COPYING-LGPL-2.1 +510 -0
  148. data/vendor/local/share/doc/cairo_1.10.0-2_win32/COPYING-MPL-1.1 +470 -0
  149. data/vendor/local/share/doc/gtk+-bundle_2.22.0-20101016_win32/components.lst +28 -0
  150. data/vendor/local/share/doc/{pango-1.28.1 → pango-1.28.3}/COPYING +0 -0
  151. data/vendor/local/share/doc/{pango-dev-1.28.1 → pango-dev-1.28.3}/COPYING +0 -0
  152. data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +44 -50
  153. data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +45 -51
  154. data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +44 -61
  155. data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +89 -101
  156. data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +173 -171
  157. data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +6 -27
  158. data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +3 -24
  159. data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +3 -24
  160. data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +3 -24
  161. data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +3 -24
  162. data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +5 -26
  163. data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +3 -24
  164. data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +5 -26
  165. data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +5 -26
  166. data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +3 -24
  167. data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +3 -24
  168. data/vendor/local/share/gtk-doc/html/pango/index-1.28.html +3 -24
  169. data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +3 -24
  170. data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +6 -27
  171. data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +22 -43
  172. data/vendor/local/share/gtk-doc/html/pango/index-all.html +70 -91
  173. data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +3 -24
  174. data/vendor/local/share/gtk-doc/html/pango/index.html +5 -26
  175. data/vendor/local/share/gtk-doc/html/pango/index.sgml +31 -30
  176. data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +6 -27
  177. data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +20 -39
  178. data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +73 -88
  179. data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +405 -320
  180. data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +85 -97
  181. data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +69 -84
  182. data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +695 -645
  183. data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +225 -228
  184. data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +523 -494
  185. data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +819 -742
  186. data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +203 -204
  187. data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +58 -75
  188. data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +422 -405
  189. data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +144 -142
  190. data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +120 -130
  191. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +618 -576
  192. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +397 -384
  193. data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +44 -58
  194. data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +73 -84
  195. data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +220 -217
  196. data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +303 -302
  197. data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +293 -292
  198. data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +5 -26
  199. data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +1009 -0
  200. data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +7 -28
  201. data/vendor/local/share/gtk-doc/html/pango/pango.devhelp +68 -68
  202. data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +72 -72
  203. data/vendor/local/share/gtk-doc/html/pango/pango.html +3 -24
  204. data/vendor/local/share/gtk-doc/html/pango/rendering.html +3 -24
  205. data/vendor/local/share/gtk-doc/html/pango/style.css +21 -13
  206. data/vendor/local/share/gtk-doc/html/pango/tools.html +3 -24
  207. data/vendor/local/share/locale/de/LC_MESSAGES/libgsf.mo +0 -0
  208. data/vendor/local/share/locale/en_GB/LC_MESSAGES/libgsf.mo +0 -0
  209. data/vendor/local/share/locale/es/LC_MESSAGES/libgsf.mo +0 -0
  210. data/vendor/local/share/locale/eu/LC_MESSAGES/libgsf.mo +0 -0
  211. data/vendor/local/share/locale/fr/LC_MESSAGES/libgsf.mo +0 -0
  212. data/vendor/local/share/locale/nb/LC_MESSAGES/libgsf.mo +0 -0
  213. data/vendor/local/share/locale/oc/LC_MESSAGES/libgsf.mo +0 -0
  214. data/vendor/local/share/locale/pa/LC_MESSAGES/libgsf.mo +0 -0
  215. data/vendor/local/share/locale/pt/LC_MESSAGES/libgsf.mo +0 -0
  216. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/libgsf.mo +0 -0
  217. data/vendor/local/share/locale/sl/LC_MESSAGES/libgsf.mo +0 -0
  218. data/vendor/local/share/locale/sv/LC_MESSAGES/libgsf.mo +0 -0
  219. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/libgsf.mo +0 -0
  220. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/libgsf.mo +0 -0
  221. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/libgsf.mo +0 -0
  222. data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
  223. data/vendor/local/share/man/man1/pango-view.1 +1 -1
  224. data/vendor/local/src/tml/packaging/cairo_1.10.0-2_win32.log +1263 -0
  225. data/vendor/local/src/tml/packaging/cairo_1.10.0-2_win32.sh +84 -0
  226. data/vendor/local/src/tml/packaging/{gtk+_2.22.0-1_win32.log → gtk+_2.22.0-2_win32.log} +1835 -1832
  227. data/vendor/local/src/tml/packaging/{gtk+_2.22.0-1_win32.sh → gtk+_2.22.0-2_win32.sh} +26 -1
  228. data/vendor/local/src/tml/packaging/libgsf_1.14.17-1_win32.log +1616 -0
  229. data/vendor/local/src/tml/packaging/libgsf_1.14.17-1_win32.sh +73 -0
  230. data/vendor/local/src/tml/packaging/{pango_1.28.1-2_win32.log → pango_1.28.3-1_win32.log} +293 -413
  231. data/vendor/local/src/tml/packaging/pango_1.28.3-1_win32.sh +56 -0
  232. data/vendor/local/src/tml/packaging/pixman_0.18.4-2_win32.log +291 -0
  233. data/vendor/local/src/tml/packaging/pixman_0.18.4-2_win32.sh +141 -0
  234. data/vendor/local/src/tml/packaging/pkg-config_0.23-3_win32.log +215 -0
  235. data/vendor/local/src/tml/packaging/pkg-config_0.23-3_win32.sh +278 -0
  236. metadata +3053 -2947
  237. data/ext/rsvg2/Makefile +0 -155
  238. data/vendor/local/manifest/cairo_1.10.0-1_win32.mft +0 -5
  239. data/vendor/local/manifest/gtk+-dev_2.22.0-1_win32.mft +0 -947
  240. data/vendor/local/manifest/gtk+_2.22.0-1_win32.mft +0 -225
  241. data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +0 -1002
  242. data/vendor/local/src/tml/packaging/pango_1.28.1-2_win32.sh +0 -579
@@ -0,0 +1,98 @@
1
+ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
+ /*
3
+ * gsf-output.h: interface for storing data
4
+ *
5
+ * Copyright (C) 2002-2006 Jody Goldberg (jody@gnome.org)
6
+ *
7
+ * This program is free software; you can redistribute it and/or
8
+ * modify it under the terms of version 2.1 of the GNU Lesser General Public
9
+ * License as published by the Free Software Foundation.
10
+ *
11
+ * This program is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ * GNU General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU Lesser General Public License
17
+ * along with this program; if not, write to the Free Software
18
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
19
+ * USA
20
+ */
21
+
22
+ #ifndef GSF_OUTPUT_H
23
+ #define GSF_OUTPUT_H
24
+
25
+ #include <gsf/gsf.h>
26
+ #include <sys/types.h>
27
+ #include <glib-object.h>
28
+
29
+ G_BEGIN_DECLS
30
+
31
+ typedef struct {
32
+ GObjectClass g_object_class;
33
+
34
+ gboolean (*Close) (GsfOutput *output);
35
+ gboolean (*Seek) (GsfOutput *output,
36
+ gsf_off_t offset, GSeekType whence);
37
+ gboolean (*Write) (GsfOutput *output,
38
+ size_t num_bytes, guint8 const *data);
39
+ gsf_off_t (*Vprintf) (GsfOutput *output,
40
+ char const *format, va_list args)
41
+ G_GNUC_PRINTF (2, 0);
42
+ } GsfOutputClass;
43
+ #define GSF_OUTPUT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GSF_OUTPUT_TYPE, GsfOutputClass))
44
+ #define GSF_IS_OUTPUT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GSF_OUTPUT_TYPE))
45
+
46
+ struct _GsfOutput {
47
+ GObject g_object;
48
+
49
+ /*< protected >*/
50
+ gsf_off_t cur_size, cur_offset;
51
+ char *name;
52
+ GObject *wrapped_by;
53
+ GsfOutfile *container;
54
+ GError *err;
55
+ gboolean is_closed;
56
+
57
+ char *printf_buf;
58
+ int printf_buf_size;
59
+ };
60
+ #define GSF_OUTPUT_TYPE (gsf_output_get_type ())
61
+ #define GSF_OUTPUT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_OUTPUT_TYPE, GsfOutput))
62
+ #define GSF_IS_OUTPUT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_OUTPUT_TYPE))
63
+
64
+ GType gsf_output_get_type (void) G_GNUC_CONST;
65
+ /* void gsf_output_register_type (GTypeModule *module); glib dynamic types are not thread safe */
66
+
67
+ char const *gsf_output_name (GsfOutput const *output);
68
+ GsfOutfile *gsf_output_container (GsfOutput const *output);
69
+
70
+ GError const *gsf_output_error (GsfOutput const *output);
71
+ gboolean gsf_output_set_error (GsfOutput *output,
72
+ gint code,
73
+ char const *format,
74
+ ...) G_GNUC_PRINTF (3, 4);
75
+
76
+ gsf_off_t gsf_output_size (GsfOutput *output);
77
+ gboolean gsf_output_close (GsfOutput *output);
78
+ gboolean gsf_output_is_closed (GsfOutput const *output);
79
+ gsf_off_t gsf_output_tell (GsfOutput *output);
80
+ gboolean gsf_output_seek (GsfOutput *output,
81
+ gsf_off_t offset, GSeekType whence);
82
+ gboolean gsf_output_write (GsfOutput *output,
83
+ size_t num_bytes, guint8 const *data);
84
+
85
+ gboolean gsf_output_wrap (GObject *wrapper, GsfOutput *wrapee);
86
+ gboolean gsf_output_unwrap (GObject *wrapper, GsfOutput *wrapee);
87
+
88
+ GQuark gsf_output_error_id (void);
89
+
90
+ gboolean gsf_output_printf (GsfOutput *output, char const *format,
91
+ ...) G_GNUC_PRINTF (2, 3);
92
+ gsf_off_t gsf_output_vprintf (GsfOutput *output, char const *format,
93
+ va_list args) G_GNUC_PRINTF (2, 0);
94
+ gboolean gsf_output_puts (GsfOutput *output, char const *line);
95
+
96
+ G_END_DECLS
97
+
98
+ #endif /* GSF_OUTPUT_H */
@@ -0,0 +1,52 @@
1
+ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
+ /*
3
+ * gsf-shared-memory.h
4
+ *
5
+ * Copyright (C) 2002-2006 Morten Welinder (terra@diku.dk)
6
+ *
7
+ * This program is free software; you can redistribute it and/or
8
+ * modify it under the terms of version 2.1 of the GNU Lesser General Public
9
+ * License as published by the Free Software Foundation.
10
+ *
11
+ * This program is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ * GNU General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU Lesser General Public License
17
+ * along with this program; if not, write to the Free Software
18
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
19
+ * USA
20
+ */
21
+
22
+ #ifndef GSF_SHARED_MEMORY_H
23
+ #define GSF_SHARED_MEMORY_H
24
+
25
+ #include <gsf/gsf.h>
26
+ #include <glib-object.h>
27
+
28
+ G_BEGIN_DECLS
29
+
30
+ #define GSF_SHARED_MEMORY_TYPE (gsf_shared_memory_get_type ())
31
+ #define GSF_SHARED_MEMORY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_SHARED_MEMORY_TYPE, GsfSharedMemory))
32
+ #define GSF_IS_SHARED_MEMORY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_SHARED_MEMORY_TYPE))
33
+
34
+ typedef struct _GsfSharedMemory GsfSharedMemory;
35
+ struct _GsfSharedMemory {
36
+ GObject g_object;
37
+ void *buf;
38
+ gsf_off_t size;
39
+
40
+ gboolean needs_free;
41
+ gboolean needs_unmap;
42
+ };
43
+
44
+ GType gsf_shared_memory_get_type (void) G_GNUC_CONST;
45
+ /* void gsf_shared_memory_register_type (GTypeModule *module); glib dynamic types are not thread safe */
46
+
47
+ GsfSharedMemory *gsf_shared_memory_new (void *buf, gsf_off_t size, gboolean needs_free);
48
+ GsfSharedMemory *gsf_shared_memory_mmapped_new (void *buf, gsf_off_t size);
49
+
50
+ G_END_DECLS
51
+
52
+ #endif /* GSF_SHARED_MEMORY_H */
@@ -0,0 +1,46 @@
1
+ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
+ /*
3
+ * gsf-structured-blob.h: Utility storage to blob in/out a tree of data
4
+ *
5
+ * Copyright (C) 2002-2006 Jody Goldberg (jody@gnome.org)
6
+ *
7
+ * This program is free software; you can redistribute it and/or
8
+ * modify it under the terms of version 2.1 of the GNU Lesser General Public
9
+ * License as published by the Free Software Foundation.
10
+ *
11
+ * This program is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ * GNU General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU Lesser General Public License
17
+ * along with this program; if not, write to the Free Software
18
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
19
+ * USA
20
+ */
21
+
22
+ #ifndef GSF_STRUCTURED_BLOB_H
23
+ #define GSF_STRUCTURED_BLOB_H
24
+
25
+ #include <gsf/gsf.h>
26
+ #include <glib-object.h>
27
+
28
+ G_BEGIN_DECLS
29
+
30
+ #define GSF_STRUCTURED_BLOB_TYPE (gsf_structured_blob_get_type ())
31
+ #define GSF_STRUCTURED_BLOB(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_STRUCTURED_BLOB_TYPE, GsfStructuredBlob))
32
+ #define GSF_IS_STRUCTURED_BLOB(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_STRUCTURED_BLOB_TYPE))
33
+
34
+ typedef struct _GsfStructuredBlob GsfStructuredBlob;
35
+
36
+ /* inherits from GsfInfile */
37
+ GType gsf_structured_blob_get_type (void) G_GNUC_CONST;
38
+ /* void gsf_structured_blob_register_type (GTypeModule *module); glib dynamic types are not thread safe */
39
+
40
+ GsfStructuredBlob *gsf_structured_blob_read (GsfInput *input);
41
+ gboolean gsf_structured_blob_write (GsfStructuredBlob *blob,
42
+ GsfOutfile *container);
43
+
44
+ G_END_DECLS
45
+
46
+ #endif /* GSF_STRUCTURED_BLOB_H */
@@ -0,0 +1,64 @@
1
+ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
+ /*
3
+ * gsf-timestamp.h: A useful little type for metadata, contains a superset of
4
+ * all the features it would be nice to have.
5
+ *
6
+ * Copyright (C) 2002-2006 Jody Goldberg (jody@gnome.org)
7
+ *
8
+ * This program is free software; you can redistribute it and/or
9
+ * modify it under the terms of version 2.1 of the GNU Lesser General Public
10
+ * License as published by the Free Software Foundation.
11
+ *
12
+ * This program is distributed in the hope that it will be useful,
13
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ * GNU General Public License for more details.
16
+ *
17
+ * You should have received a copy of the GNU Lesser General Public License
18
+ * along with this program; if not, write to the Free Software
19
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
20
+ * USA
21
+ */
22
+
23
+ #ifndef GSF_TIMESTAMP_H
24
+ #define GSF_TIMESTAMP_H
25
+
26
+ #include <gsf/gsf.h>
27
+ #include <glib-object.h>
28
+
29
+ G_BEGIN_DECLS
30
+
31
+ #define GSF_TIMESTAMP_TYPE (gsf_timestamp_get_type ())
32
+ #define VAL_IS_GSF_TIMESTAMP(v) (G_TYPE_CHECK_VALUE_TYPE((v), GSF_TIMESTAMP_TYPE))
33
+
34
+ struct _GsfTimestamp {
35
+ GDate date; /* In local timezone */
36
+ glong seconds; /* time of day */
37
+ GString time_zone; /* possibly blank */
38
+
39
+ guint32 timet;
40
+ };
41
+
42
+ GType gsf_timestamp_get_type (void) G_GNUC_CONST;
43
+ /* void gsf_timestamp_register_type (GTypeModule *module); glib dynamic types are not thread safe */
44
+
45
+ GsfTimestamp *gsf_timestamp_new (void);
46
+
47
+ GsfTimestamp *gsf_timestamp_copy (GsfTimestamp const *stamp);
48
+ void gsf_timestamp_free (GsfTimestamp *stamp);
49
+ int gsf_timestamp_from_string (char const *spec, GsfTimestamp *stamp);
50
+ char *gsf_timestamp_as_string (GsfTimestamp const *stamp);
51
+ guint gsf_timestamp_hash (GsfTimestamp const *stamp);
52
+ gboolean gsf_timestamp_equal (GsfTimestamp const *a,
53
+ GsfTimestamp const *b);
54
+
55
+ void gsf_timestamp_set_time (GsfTimestamp *stamp, guint64 t);
56
+
57
+ void gsf_value_set_timestamp (GValue *value, GsfTimestamp const *stamp);
58
+
59
+ /* Deprecated */
60
+ int gsf_timestamp_parse (char const *spec, GsfTimestamp *stamp);
61
+
62
+ G_END_DECLS
63
+
64
+ #endif /* GSF_TIMESTAMP_H */
@@ -0,0 +1,331 @@
1
+ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
+ /*
3
+ * gsf-utils.h:
4
+ *
5
+ * Copyright (C) 2002-2006 Jody Goldberg (jody@gnome.org)
6
+ *
7
+ * This program is free software; you can redistribute it and/or
8
+ * modify it under the terms of version 2.1 of the GNU Lesser General Public
9
+ * License as published by the Free Software Foundation.
10
+ *
11
+ * This program is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ * GNU General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU Lesser General Public License
17
+ * along with this program; if not, write to the Free Software
18
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
19
+ * USA
20
+ */
21
+
22
+ #ifndef GSF_UTILS_H
23
+ #define GSF_UTILS_H
24
+
25
+ #include <gsf/gsf.h>
26
+ #include <glib-object.h>
27
+
28
+ G_BEGIN_DECLS
29
+
30
+ /* Do this the ugly way so that we don't have to worry about alignment */
31
+
32
+ /**
33
+ * GSF_LE_GET_GUINT8
34
+ * @p: pointer to storage
35
+ *
36
+ * Interpret binary data as an unsigned 8-bit integer in little endian order.
37
+ *
38
+ * Returns: interpreted data
39
+ */
40
+ #define GSF_LE_GET_GUINT8(p) (*(guint8 const *)(p))
41
+
42
+ /**
43
+ * GSF_LE_GET_GUINT16
44
+ * @p: pointer to storage
45
+ *
46
+ * Interpret binary data as an unsigned 16-bit integer in little endian order.
47
+ *
48
+ * Returns: interpreted data
49
+ */
50
+ #define GSF_LE_GET_GUINT16(p) \
51
+ (guint16)((((guint8 const *)(p))[0] << 0) | \
52
+ (((guint8 const *)(p))[1] << 8))
53
+
54
+ /**
55
+ * GSF_LE_GET_GUINT32
56
+ * @p: pointer to storage
57
+ *
58
+ * Interpret binary data as an unsigned 32-bit integer in little endian order.
59
+ *
60
+ * Returns: interpreted data
61
+ */
62
+ #define GSF_LE_GET_GUINT32(p) \
63
+ (guint32)((((guint8 const *)(p))[0] << 0) | \
64
+ (((guint8 const *)(p))[1] << 8) | \
65
+ (((guint8 const *)(p))[2] << 16) | \
66
+ (((guint8 const *)(p))[3] << 24))
67
+
68
+ /**
69
+ * GSF_LE_GET_GUINT64
70
+ * @p: pointer to storage
71
+ *
72
+ * Interpret binary data as an unsigned 64-bit integer in little endian order.
73
+ *
74
+ * Returns: interpreted data
75
+ */
76
+ #define GSF_LE_GET_GUINT64(p) (gsf_le_get_guint64 (p))
77
+
78
+ /**
79
+ * GSF_LE_GET_GINT8
80
+ * @p: pointer to storage
81
+ *
82
+ * Interpret binary data as a signed 8-bit integer in little endian order.
83
+ *
84
+ * Returns: interpreted data
85
+ */
86
+ #define GSF_LE_GET_GINT8(p) ((gint8)GSF_LE_GET_GUINT8(p))
87
+
88
+ /**
89
+ * GSF_LE_GET_GINT16
90
+ * @p: pointer to storage
91
+ *
92
+ * Interpret binary data as a signed 16-bit integer in little endian order.
93
+ *
94
+ * Returns: interpreted data
95
+ */
96
+ #define GSF_LE_GET_GINT16(p) ((gint16)GSF_LE_GET_GUINT16(p))
97
+
98
+ /**
99
+ * GSF_LE_GET_GINT32
100
+ * @p: pointer to storage
101
+ *
102
+ * Interpret binary data as a signed 32-bit integer in little endian order.
103
+ *
104
+ * Returns: interpreted data
105
+ */
106
+ #define GSF_LE_GET_GINT32(p) ((gint32)GSF_LE_GET_GUINT32(p))
107
+
108
+ /**
109
+ * GSF_LE_GET_GINT64
110
+ * @p: pointer to storage
111
+ *
112
+ * Interpret binary data as a signed 64-bit integer in little endian order.
113
+ *
114
+ * Returns: interpreted data
115
+ */
116
+ #define GSF_LE_GET_GINT64(p) ((gint64)GSF_LE_GET_GUINT64(p))
117
+
118
+ /**
119
+ * GSF_LE_GET_FLOAT
120
+ * @p: pointer to storage
121
+ *
122
+ * Interpret binary data as a float in little endian order.
123
+ *
124
+ * Returns: interpreted data
125
+ */
126
+ #define GSF_LE_GET_FLOAT(p) (gsf_le_get_float (p))
127
+
128
+ /**
129
+ * GSF_LE_GET_DOUBLE
130
+ * @p: pointer to storage
131
+ *
132
+ * Interpret binary data as a double in little endian order.
133
+ *
134
+ * Returns: interpreted data
135
+ */
136
+ #define GSF_LE_GET_DOUBLE(p) (gsf_le_get_double (p))
137
+
138
+ guint64 gsf_le_get_guint64 (void const *p);
139
+ float gsf_le_get_float (void const *p);
140
+ double gsf_le_get_double (void const *p);
141
+
142
+ /**
143
+ * GSF_LE_SET_GUINT8
144
+ * @p: pointer to storage
145
+ * @dat: 8-bit unsigned integer
146
+ *
147
+ * Store @dat in little endian order in memory pointed to by @p.
148
+ */
149
+ #define GSF_LE_SET_GUINT8(p, dat) \
150
+ (*((guint8 *)(p)) = ((dat) & 0xff))
151
+
152
+ /**
153
+ * GSF_LE_SET_GUINT16
154
+ * @p: pointer to storage
155
+ * @dat: 16-bit unsigned integer
156
+ *
157
+ * Store @dat in little endian order in memory pointed to by @p.
158
+ */
159
+ #define GSF_LE_SET_GUINT16(p, dat) \
160
+ ((*((guint8 *)(p) + 0) = ((dat) & 0xff)),\
161
+ (*((guint8 *)(p) + 1) = ((dat) >> 8) & 0xff))
162
+
163
+ /**
164
+ * GSF_LE_SET_GUINT32
165
+ * @p: pointer to storage
166
+ * @dat: 32-bit unsigned integer
167
+ *
168
+ * Store @dat in little endian order in memory pointed to by @p.
169
+ */
170
+ #define GSF_LE_SET_GUINT32(p, dat) \
171
+ ((*((guint8 *)(p) + 0) = (guchar) ((dat)) & 0xff), \
172
+ (*((guint8 *)(p) + 1) = (guchar) ((dat) >> 8) & 0xff), \
173
+ (*((guint8 *)(p) + 2) = (guchar) ((dat) >> 16) & 0xff), \
174
+ (*((guint8 *)(p) + 3) = (guchar) ((dat) >> 24) & 0xff))
175
+
176
+ /**
177
+ * GSF_LE_SET_GUINT64
178
+ * @p: pointer to storage
179
+ * @dat: 64-bit unsigned integer
180
+ *
181
+ * Store @dat in little endian order in memory pointed to by @p.
182
+ */
183
+ #define GSF_LE_SET_GUINT64(p, dat) \
184
+ ((*((guint8 *)(p) + 0) = (guchar) ((dat)) & 0xff), \
185
+ (*((guint8 *)(p) + 1) = (guchar) ((dat) >> 8) & 0xff), \
186
+ (*((guint8 *)(p) + 2) = (guchar) ((dat) >> 16) & 0xff), \
187
+ (*((guint8 *)(p) + 3) = (guchar) ((dat) >> 24) & 0xff), \
188
+ (*((guint8 *)(p) + 4) = (guchar) ((dat) >> 32) & 0xff), \
189
+ (*((guint8 *)(p) + 5) = (guchar) ((dat) >> 40) & 0xff), \
190
+ (*((guint8 *)(p) + 6) = (guchar) ((dat) >> 48) & 0xff), \
191
+ (*((guint8 *)(p) + 7) = (guchar) ((dat) >> 56) & 0xff))
192
+
193
+ /**
194
+ * GSF_LE_SET_GINT8
195
+ * @p: pointer to storage
196
+ * @dat: 8-bit signed integer
197
+ *
198
+ * Store @dat in little endian order in memory pointed to by @p.
199
+ */
200
+ #define GSF_LE_SET_GINT8(p,dat) GSF_LE_SET_GUINT8((p),(dat))
201
+
202
+ /**
203
+ * GSF_LE_SET_GINT16
204
+ * @p: pointer to storage
205
+ * @dat: 16-bit signed integer
206
+ *
207
+ * Store @dat in little endian order in memory pointed to by @p.
208
+ */
209
+ #define GSF_LE_SET_GINT16(p,dat) GSF_LE_SET_GUINT16((p),(dat))
210
+
211
+ /**
212
+ * GSF_LE_SET_GINT32
213
+ * @p: pointer to storage
214
+ * @dat: 32-bit signed integer
215
+ *
216
+ * Store @dat in little endian order in memory pointed to by @p.
217
+ */
218
+ #define GSF_LE_SET_GINT32(p,dat) GSF_LE_SET_GUINT32((p),(dat))
219
+
220
+ /**
221
+ * GSF_LE_SET_GINT64
222
+ * @p: pointer to storage
223
+ * @dat: 64-bit signed integer
224
+ *
225
+ * Store @dat in little endian order in memory pointed to by @p.
226
+ */
227
+ #define GSF_LE_SET_GINT64(p,dat) GSF_LE_SET_GUINT64((p),(dat))
228
+
229
+ /**
230
+ * GSF_LE_SET_FLOAT
231
+ * @p: pointer to storage
232
+ * @dat: float to be stored
233
+ *
234
+ * Store @dat in little endian order in memory pointed to by @p.
235
+ */
236
+ #define GSF_LE_SET_FLOAT(p,dat) gsf_le_set_float((p),(dat))
237
+
238
+ /**
239
+ * GSF_LE_SET_DOUBLE
240
+ * @p: pointer to storage
241
+ * @dat: double to be stored
242
+ *
243
+ * Store @dat in little endian order in memory pointed to by @p.
244
+ */
245
+ #define GSF_LE_SET_DOUBLE(p,dat) gsf_le_set_double((p),(dat))
246
+
247
+ void gsf_le_set_float (void *p, float f);
248
+ void gsf_le_set_double (void *p, double d);
249
+
250
+ void gsf_init (void);
251
+ void gsf_shutdown (void);
252
+ void gsf_init_dynamic (GTypeModule *module);
253
+ void gsf_shutdown_dynamic (GTypeModule *module);
254
+
255
+ /* Debugging utilities */
256
+ void gsf_mem_dump (guint8 const *ptr, size_t len);
257
+ void gsf_input_dump (GsfInput *input, gboolean dump_as_hex);
258
+
259
+ /* base64 encoding utilities */
260
+ guint8 *gsf_base64_encode_simple (guint8 const *data, size_t len);
261
+ size_t gsf_base64_encode_close (guint8 const *in, size_t inlen,
262
+ gboolean break_lines, guint8 *out,
263
+ int *state, guint *save);
264
+ size_t gsf_base64_encode_step (guint8 const *in, size_t len,
265
+ gboolean break_lines, guint8 *out,
266
+ int *state, guint *save);
267
+
268
+ size_t gsf_base64_decode_simple (guint8 *data, size_t len);
269
+ size_t gsf_base64_decode_step (guint8 const *in, size_t len,
270
+ guint8 *out, int *state, guint *save);
271
+
272
+
273
+ /* For putting filenames into error messages. */
274
+ char *gsf_filename_to_utf8 (char const *filename, gboolean quoted);
275
+
276
+ /* Some version checking */
277
+
278
+ /**
279
+ * libgsf_major_version:
280
+ *
281
+ * Major version number of libgsf, indicating the ABI version.
282
+ */
283
+ extern int libgsf_major_version;
284
+
285
+ /**
286
+ * libgsf_minor_version:
287
+ *
288
+ * Minor (secondary) version number of libgsf, indicating the API version.
289
+ */
290
+ extern int libgsf_minor_version;
291
+
292
+ /**
293
+ * libgsf_micro_version:
294
+ *
295
+ * Micro (tertiary) version number of libgsf, indicating bug fixes.
296
+ */
297
+ extern int libgsf_micro_version;
298
+
299
+ char const *gsf_extension_pointer (char const * path);
300
+ void gsf_iconv_close (GIConv handle);
301
+
302
+ void gsf_property_settings_collect_valist (GType object_type,
303
+ GParameter **p_params,
304
+ size_t *p_n_params,
305
+ const gchar *first_property_name,
306
+ va_list var_args);
307
+ void gsf_property_settings_collect (GType object_type,
308
+ GParameter **p_params,
309
+ size_t *p_n_params,
310
+ const gchar *first_property_name,
311
+ ...);
312
+ void gsf_property_settings_free (GParameter *params,
313
+ size_t n_params);
314
+
315
+
316
+
317
+ /* Errors */
318
+
319
+ #define GSF_ERROR (gsf_error_quark ())
320
+
321
+ typedef enum {
322
+ GSF_ERROR_OUT_OF_MEMORY,
323
+ GSF_ERROR_INVALID_DATA
324
+ } GsfError;
325
+
326
+ GQuark gsf_error_quark (void);
327
+
328
+
329
+ G_END_DECLS
330
+
331
+ #endif /* GSF_UTILS_H */