glib2 2.2.4-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2228) hide show
  1. checksums.yaml +7 -0
  2. data/README +40 -0
  3. data/Rakefile +157 -0
  4. data/ext/glib2/depend +18 -0
  5. data/ext/glib2/extconf.rb +80 -0
  6. data/ext/glib2/glib2.def +147 -0
  7. data/ext/glib2/rbgcompat.h +29 -0
  8. data/ext/glib2/rbglib.c +1158 -0
  9. data/ext/glib2/rbglib.h +202 -0
  10. data/ext/glib2/rbglib2conversions.h +57 -0
  11. data/ext/glib2/rbglib_bookmarkfile.c +546 -0
  12. data/ext/glib2/rbglib_convert.c +197 -0
  13. data/ext/glib2/rbglib_error.c +164 -0
  14. data/ext/glib2/rbglib_fileutils.c +119 -0
  15. data/ext/glib2/rbglib_gettext.c +48 -0
  16. data/ext/glib2/rbglib_i18n.c +40 -0
  17. data/ext/glib2/rbglib_int64.c +165 -0
  18. data/ext/glib2/rbglib_io_constants.c +30 -0
  19. data/ext/glib2/rbglib_iochannel.c +824 -0
  20. data/ext/glib2/rbglib_iochannel_win32_socket.c +56 -0
  21. data/ext/glib2/rbglib_iochannelerror.c +49 -0
  22. data/ext/glib2/rbglib_keyfile.c +755 -0
  23. data/ext/glib2/rbglib_maincontext.c +565 -0
  24. data/ext/glib2/rbglib_mainloop.c +121 -0
  25. data/ext/glib2/rbglib_messages.c +148 -0
  26. data/ext/glib2/rbglib_pollfd.c +112 -0
  27. data/ext/glib2/rbglib_shell.c +64 -0
  28. data/ext/glib2/rbglib_shellerror.c +34 -0
  29. data/ext/glib2/rbglib_source.c +242 -0
  30. data/ext/glib2/rbglib_spawn.c +245 -0
  31. data/ext/glib2/rbglib_spawnerror.c +53 -0
  32. data/ext/glib2/rbglib_threads.c +61 -0
  33. data/ext/glib2/rbglib_timer.c +127 -0
  34. data/ext/glib2/rbglib_ucs4.c +79 -0
  35. data/ext/glib2/rbglib_unichar.c +201 -0
  36. data/ext/glib2/rbglib_unicode.c +90 -0
  37. data/ext/glib2/rbglib_utf16.c +78 -0
  38. data/ext/glib2/rbglib_utf8.c +257 -0
  39. data/ext/glib2/rbglib_utils.c +339 -0
  40. data/ext/glib2/rbglib_win32.c +112 -0
  41. data/ext/glib2/rbglibdeprecated.c +56 -0
  42. data/ext/glib2/rbglibdeprecated.h +34 -0
  43. data/ext/glib2/rbgobj_boxed.c +295 -0
  44. data/ext/glib2/rbgobj_closure.c +345 -0
  45. data/ext/glib2/rbgobj_convert.c +195 -0
  46. data/ext/glib2/rbgobj_enumflags.c +109 -0
  47. data/ext/glib2/rbgobj_enums.c +401 -0
  48. data/ext/glib2/rbgobj_flags.c +522 -0
  49. data/ext/glib2/rbgobj_object.c +885 -0
  50. data/ext/glib2/rbgobj_param.c +378 -0
  51. data/ext/glib2/rbgobj_paramspecs.c +311 -0
  52. data/ext/glib2/rbgobj_signal.c +978 -0
  53. data/ext/glib2/rbgobj_strv.c +44 -0
  54. data/ext/glib2/rbgobj_type.c +846 -0
  55. data/ext/glib2/rbgobj_typeinstance.c +128 -0
  56. data/ext/glib2/rbgobj_typeinterface.c +149 -0
  57. data/ext/glib2/rbgobj_typemodule.c +72 -0
  58. data/ext/glib2/rbgobj_typeplugin.c +57 -0
  59. data/ext/glib2/rbgobj_value.c +395 -0
  60. data/ext/glib2/rbgobj_valuearray.c +100 -0
  61. data/ext/glib2/rbgobj_valuetypes.c +243 -0
  62. data/ext/glib2/rbgobject.c +387 -0
  63. data/ext/glib2/rbgobject.h +301 -0
  64. data/ext/glib2/rbgprivate.h +178 -0
  65. data/ext/glib2/rbgutil.c +183 -0
  66. data/ext/glib2/rbgutil.h +119 -0
  67. data/ext/glib2/rbgutil_callback.c +272 -0
  68. data/ext/glib2/rbgutil_list.c +173 -0
  69. data/ext/glib2/rbgutil_list.h +85 -0
  70. data/ext/glib2/rbgutildeprecated.c +252 -0
  71. data/ext/glib2/rbgutildeprecated.h +63 -0
  72. data/extconf.rb +49 -0
  73. data/lib/2.0/glib2.so +0 -0
  74. data/lib/2.1/glib2.so +0 -0
  75. data/lib/2.2/glib2.so +0 -0
  76. data/lib/glib-mkenums.rb +214 -0
  77. data/lib/glib2.rb +231 -0
  78. data/lib/glib2/deprecatable.rb +153 -0
  79. data/lib/gnome2-raketask.rb +8 -0
  80. data/lib/gnome2/rake/external-package.rb +227 -0
  81. data/lib/gnome2/rake/native-binary-build-task.rb +129 -0
  82. data/lib/gnome2/rake/package-task.rb +273 -0
  83. data/lib/gnome2/rake/package.rb +152 -0
  84. data/lib/gnome2/rake/source-download-task.rb +82 -0
  85. data/lib/gnome2/rake/windows-binary-build-task.rb +303 -0
  86. data/lib/gnome2/rake/windows-binary-download-task.rb +181 -0
  87. data/lib/mkmf-gnome2.rb +637 -0
  88. data/sample/bookmarkfile.rb +66 -0
  89. data/sample/idle.rb +41 -0
  90. data/sample/iochannel.rb +44 -0
  91. data/sample/keyfile.rb +62 -0
  92. data/sample/shell.rb +36 -0
  93. data/sample/spawn.rb +25 -0
  94. data/sample/timeout.rb +28 -0
  95. data/sample/timeout2.rb +35 -0
  96. data/sample/timer.rb +40 -0
  97. data/sample/type-register.rb +103 -0
  98. data/sample/type-register2.rb +104 -0
  99. data/sample/utils.rb +54 -0
  100. data/test/glib-test-init.rb +5 -0
  101. data/test/glib-test-utils.rb +12 -0
  102. data/test/run-test.rb +21 -0
  103. data/test/test_enum.rb +99 -0
  104. data/test/test_file_utils.rb +53 -0
  105. data/test/test_flags.rb +129 -0
  106. data/test/test_glib2.rb +122 -0
  107. data/test/test_iochannel.rb +275 -0
  108. data/test/test_key_file.rb +42 -0
  109. data/test/test_mkenums.rb +25 -0
  110. data/test/test_poll_fd.rb +26 -0
  111. data/test/test_signal.rb +20 -0
  112. data/test/test_source.rb +63 -0
  113. data/test/test_spawn.rb +33 -0
  114. data/test/test_timeout.rb +28 -0
  115. data/test/test_unicode.rb +394 -0
  116. data/test/test_utils.rb +37 -0
  117. data/test/test_value.rb +31 -0
  118. data/test/test_win32.rb +13 -0
  119. data/vendor/local/bin/certtool.exe +0 -0
  120. data/vendor/local/bin/danetool.exe +0 -0
  121. data/vendor/local/bin/envsubst.exe +0 -0
  122. data/vendor/local/bin/gdbus-codegen +39 -0
  123. data/vendor/local/bin/gdbus.exe +0 -0
  124. data/vendor/local/bin/gettext.exe +0 -0
  125. data/vendor/local/bin/gettext.sh +121 -0
  126. data/vendor/local/bin/gio-querymodules.exe +0 -0
  127. data/vendor/local/bin/glib-compile-resources.exe +0 -0
  128. data/vendor/local/bin/glib-compile-schemas.exe +0 -0
  129. data/vendor/local/bin/glib-genmarshal.exe +0 -0
  130. data/vendor/local/bin/glib-gettextize +187 -0
  131. data/vendor/local/bin/glib-mkenums +565 -0
  132. data/vendor/local/bin/gnutls-cli-debug.exe +0 -0
  133. data/vendor/local/bin/gnutls-cli.exe +0 -0
  134. data/vendor/local/bin/gnutls-serv.exe +0 -0
  135. data/vendor/local/bin/gobject-query.exe +0 -0
  136. data/vendor/local/bin/gresource.exe +0 -0
  137. data/vendor/local/bin/gsettings.exe +0 -0
  138. data/vendor/local/bin/gspawn-win64-helper-console.exe +0 -0
  139. data/vendor/local/bin/gspawn-win64-helper.exe +0 -0
  140. data/vendor/local/bin/iconv.exe +0 -0
  141. data/vendor/local/bin/libasprintf-0.dll +0 -0
  142. data/vendor/local/bin/libcharset-1.dll +0 -0
  143. data/vendor/local/bin/libffi-6.dll +0 -0
  144. data/vendor/local/bin/libgio-2.0-0.dll +0 -0
  145. data/vendor/local/bin/libglib-2.0-0.dll +0 -0
  146. data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
  147. data/vendor/local/bin/libgmp-10.dll +0 -0
  148. data/vendor/local/bin/libgnutls-28.def +861 -0
  149. data/vendor/local/bin/libgnutls-28.dll +0 -0
  150. data/vendor/local/bin/libgnutls-openssl-27.dll +0 -0
  151. data/vendor/local/bin/libgnutls-openssl-28.def +228 -0
  152. data/vendor/local/bin/libgnutls-xssl-0.dll +0 -0
  153. data/vendor/local/bin/libgnutls-xssl-28.def +13 -0
  154. data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
  155. data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
  156. data/vendor/local/bin/libhogweed-2-5.dll +0 -0
  157. data/vendor/local/bin/libiconv-2.dll +0 -0
  158. data/vendor/local/bin/libintl-8.dll +0 -0
  159. data/vendor/local/bin/libnettle-4-7.dll +0 -0
  160. data/vendor/local/bin/nettle-hash.exe +0 -0
  161. data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
  162. data/vendor/local/bin/ngettext.exe +0 -0
  163. data/vendor/local/bin/ocsptool.exe +0 -0
  164. data/vendor/local/bin/pkcs1-conv.exe +0 -0
  165. data/vendor/local/bin/psktool.exe +0 -0
  166. data/vendor/local/bin/sexp-conv.exe +0 -0
  167. data/vendor/local/bin/srptool.exe +0 -0
  168. data/vendor/local/include/autosprintf.h +67 -0
  169. data/vendor/local/include/gio-win32-2.0/gio/gwin32inputstream.h +82 -0
  170. data/vendor/local/include/gio-win32-2.0/gio/gwin32outputstream.h +81 -0
  171. data/vendor/local/include/glib-2.0/gio/gaction.h +98 -0
  172. data/vendor/local/include/glib-2.0/gio/gactiongroup.h +161 -0
  173. data/vendor/local/include/glib-2.0/gio/gactiongroupexporter.h +45 -0
  174. data/vendor/local/include/glib-2.0/gio/gactionmap.h +95 -0
  175. data/vendor/local/include/glib-2.0/gio/gappinfo.h +313 -0
  176. data/vendor/local/include/glib-2.0/gio/gapplication.h +236 -0
  177. data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +122 -0
  178. data/vendor/local/include/glib-2.0/gio/gasyncinitable.h +124 -0
  179. data/vendor/local/include/glib-2.0/gio/gasyncresult.h +85 -0
  180. data/vendor/local/include/glib-2.0/gio/gbufferedinputstream.h +133 -0
  181. data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +86 -0
  182. data/vendor/local/include/glib-2.0/gio/gbytesicon.h +52 -0
  183. data/vendor/local/include/glib-2.0/gio/gcancellable.h +118 -0
  184. data/vendor/local/include/glib-2.0/gio/gcharsetconverter.h +63 -0
  185. data/vendor/local/include/glib-2.0/gio/gcontenttype.h +71 -0
  186. data/vendor/local/include/glib-2.0/gio/gconverter.h +96 -0
  187. data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +80 -0
  188. data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +80 -0
  189. data/vendor/local/include/glib-2.0/gio/gcredentials.h +85 -0
  190. data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +180 -0
  191. data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +125 -0
  192. data/vendor/local/include/glib-2.0/gio/gdbusactiongroup.h +54 -0
  193. data/vendor/local/include/glib-2.0/gio/gdbusaddress.h +65 -0
  194. data/vendor/local/include/glib-2.0/gio/gdbusauthobserver.h +51 -0
  195. data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +663 -0
  196. data/vendor/local/include/glib-2.0/gio/gdbuserror.h +109 -0
  197. data/vendor/local/include/glib-2.0/gio/gdbusinterface.h +81 -0
  198. data/vendor/local/include/glib-2.0/gio/gdbusinterfaceskeleton.h +127 -0
  199. data/vendor/local/include/glib-2.0/gio/gdbusintrospection.h +325 -0
  200. data/vendor/local/include/glib-2.0/gio/gdbusmenumodel.h +45 -0
  201. data/vendor/local/include/glib-2.0/gio/gdbusmessage.h +197 -0
  202. data/vendor/local/include/glib-2.0/gio/gdbusmethodinvocation.h +97 -0
  203. data/vendor/local/include/glib-2.0/gio/gdbusnameowning.h +115 -0
  204. data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +102 -0
  205. data/vendor/local/include/glib-2.0/gio/gdbusobject.h +78 -0
  206. data/vendor/local/include/glib-2.0/gio/gdbusobjectmanager.h +94 -0
  207. data/vendor/local/include/glib-2.0/gio/gdbusobjectmanagerclient.h +146 -0
  208. data/vendor/local/include/glib-2.0/gio/gdbusobjectmanagerserver.h +93 -0
  209. data/vendor/local/include/glib-2.0/gio/gdbusobjectproxy.h +79 -0
  210. data/vendor/local/include/glib-2.0/gio/gdbusobjectskeleton.h +96 -0
  211. data/vendor/local/include/glib-2.0/gio/gdbusproxy.h +214 -0
  212. data/vendor/local/include/glib-2.0/gio/gdbusserver.h +60 -0
  213. data/vendor/local/include/glib-2.0/gio/gdbusutils.h +55 -0
  214. data/vendor/local/include/glib-2.0/gio/gdrive.h +259 -0
  215. data/vendor/local/include/glib-2.0/gio/gemblem.h +61 -0
  216. data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +81 -0
  217. data/vendor/local/include/glib-2.0/gio/gfile.h +1250 -0
  218. data/vendor/local/include/glib-2.0/gio/gfileattribute.h +84 -0
  219. data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +144 -0
  220. data/vendor/local/include/glib-2.0/gio/gfileicon.h +57 -0
  221. data/vendor/local/include/glib-2.0/gio/gfileinfo.h +1070 -0
  222. data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +114 -0
  223. data/vendor/local/include/glib-2.0/gio/gfileiostream.h +121 -0
  224. data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +98 -0
  225. data/vendor/local/include/glib-2.0/gio/gfilenamecompleter.h +79 -0
  226. data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +122 -0
  227. data/vendor/local/include/glib-2.0/gio/gfilterinputstream.h +78 -0
  228. data/vendor/local/include/glib-2.0/gio/gfilteroutputstream.h +78 -0
  229. data/vendor/local/include/glib-2.0/gio/gicon.h +101 -0
  230. data/vendor/local/include/glib-2.0/gio/ginetaddress.h +124 -0
  231. data/vendor/local/include/glib-2.0/gio/ginetaddressmask.h +85 -0
  232. data/vendor/local/include/glib-2.0/gio/ginetsocketaddress.h +78 -0
  233. data/vendor/local/include/glib-2.0/gio/ginitable.h +99 -0
  234. data/vendor/local/include/glib-2.0/gio/ginputstream.h +201 -0
  235. data/vendor/local/include/glib-2.0/gio/gio.h +167 -0
  236. data/vendor/local/include/glib-2.0/gio/gioenums.h +1816 -0
  237. data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +167 -0
  238. data/vendor/local/include/glib-2.0/gio/gioerror.h +53 -0
  239. data/vendor/local/include/glib-2.0/gio/giomodule.h +169 -0
  240. data/vendor/local/include/glib-2.0/gio/gioscheduler.h +54 -0
  241. data/vendor/local/include/glib-2.0/gio/giostream.h +135 -0
  242. data/vendor/local/include/glib-2.0/gio/giotypes.h +535 -0
  243. data/vendor/local/include/glib-2.0/gio/gloadableicon.h +99 -0
  244. data/vendor/local/include/glib-2.0/gio/gmemoryinputstream.h +90 -0
  245. data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +107 -0
  246. data/vendor/local/include/glib-2.0/gio/gmenu.h +182 -0
  247. data/vendor/local/include/glib-2.0/gio/gmenuexporter.h +40 -0
  248. data/vendor/local/include/glib-2.0/gio/gmenumodel.h +305 -0
  249. data/vendor/local/include/glib-2.0/gio/gmount.h +276 -0
  250. data/vendor/local/include/glib-2.0/gio/gmountoperation.h +140 -0
  251. data/vendor/local/include/glib-2.0/gio/gnativevolumemonitor.h +61 -0
  252. data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +78 -0
  253. data/vendor/local/include/glib-2.0/gio/gnetworking.h +82 -0
  254. data/vendor/local/include/glib-2.0/gio/gnetworkmonitor.h +93 -0
  255. data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +76 -0
  256. data/vendor/local/include/glib-2.0/gio/gnotification.h +97 -0
  257. data/vendor/local/include/glib-2.0/gio/goutputstream.h +254 -0
  258. data/vendor/local/include/glib-2.0/gio/gpermission.h +127 -0
  259. data/vendor/local/include/glib-2.0/gio/gpollableinputstream.h +105 -0
  260. data/vendor/local/include/glib-2.0/gio/gpollableoutputstream.h +105 -0
  261. data/vendor/local/include/glib-2.0/gio/gpollableutils.h +64 -0
  262. data/vendor/local/include/glib-2.0/gio/gpropertyaction.h +47 -0
  263. data/vendor/local/include/glib-2.0/gio/gproxy.h +128 -0
  264. data/vendor/local/include/glib-2.0/gio/gproxyaddress.h +86 -0
  265. data/vendor/local/include/glib-2.0/gio/gproxyaddressenumerator.h +74 -0
  266. data/vendor/local/include/glib-2.0/gio/gproxyresolver.h +95 -0
  267. data/vendor/local/include/glib-2.0/gio/gremoteactiongroup.h +75 -0
  268. data/vendor/local/include/glib-2.0/gio/gresolver.h +212 -0
  269. data/vendor/local/include/glib-2.0/gio/gresource.h +129 -0
  270. data/vendor/local/include/glib-2.0/gio/gseekable.h +103 -0
  271. data/vendor/local/include/glib-2.0/gio/gsettings.h +331 -0
  272. data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +158 -0
  273. data/vendor/local/include/glib-2.0/gio/gsettingsschema.h +104 -0
  274. data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +59 -0
  275. data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +97 -0
  276. data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +162 -0
  277. data/vendor/local/include/glib-2.0/gio/gsimplepermission.h +45 -0
  278. data/vendor/local/include/glib-2.0/gio/gsimpleproxyresolver.h +89 -0
  279. data/vendor/local/include/glib-2.0/gio/gsocket.h +289 -0
  280. data/vendor/local/include/glib-2.0/gio/gsocketaddress.h +82 -0
  281. data/vendor/local/include/glib-2.0/gio/gsocketaddressenumerator.h +91 -0
  282. data/vendor/local/include/glib-2.0/gio/gsocketclient.h +197 -0
  283. data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +75 -0
  284. data/vendor/local/include/glib-2.0/gio/gsocketconnection.h +115 -0
  285. data/vendor/local/include/glib-2.0/gio/gsocketcontrolmessage.h +109 -0
  286. data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +150 -0
  287. data/vendor/local/include/glib-2.0/gio/gsocketservice.h +91 -0
  288. data/vendor/local/include/glib-2.0/gio/gsrvtarget.h +59 -0
  289. data/vendor/local/include/glib-2.0/gio/gsubprocess.h +167 -0
  290. data/vendor/local/include/glib-2.0/gio/gsubprocesslauncher.h +116 -0
  291. data/vendor/local/include/glib-2.0/gio/gtask.h +158 -0
  292. data/vendor/local/include/glib-2.0/gio/gtcpconnection.h +69 -0
  293. data/vendor/local/include/glib-2.0/gio/gtcpwrapperconnection.h +69 -0
  294. data/vendor/local/include/glib-2.0/gio/gtestdbus.h +72 -0
  295. data/vendor/local/include/glib-2.0/gio/gthemedicon.h +68 -0
  296. data/vendor/local/include/glib-2.0/gio/gthreadedsocketservice.h +81 -0
  297. data/vendor/local/include/glib-2.0/gio/gtlsbackend.h +96 -0
  298. data/vendor/local/include/glib-2.0/gio/gtlscertificate.h +92 -0
  299. data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +71 -0
  300. data/vendor/local/include/glib-2.0/gio/gtlsconnection.h +154 -0
  301. data/vendor/local/include/glib-2.0/gio/gtlsdatabase.h +247 -0
  302. data/vendor/local/include/glib-2.0/gio/gtlsfiledatabase.h +58 -0
  303. data/vendor/local/include/glib-2.0/gio/gtlsinteraction.h +148 -0
  304. data/vendor/local/include/glib-2.0/gio/gtlspassword.h +110 -0
  305. data/vendor/local/include/glib-2.0/gio/gtlsserverconnection.h +61 -0
  306. data/vendor/local/include/glib-2.0/gio/gvfs.h +132 -0
  307. data/vendor/local/include/glib-2.0/gio/gvolume.h +251 -0
  308. data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +154 -0
  309. data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +62 -0
  310. data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +58 -0
  311. data/vendor/local/include/glib-2.0/glib-object.h +40 -0
  312. data/vendor/local/include/glib-2.0/glib-unix.h +119 -0
  313. data/vendor/local/include/glib-2.0/glib.h +112 -0
  314. data/vendor/local/include/glib-2.0/glib/deprecated/gallocator.h +88 -0
  315. data/vendor/local/include/glib-2.0/glib/deprecated/gcache.h +75 -0
  316. data/vendor/local/include/glib-2.0/glib/deprecated/gcompletion.h +83 -0
  317. data/vendor/local/include/glib-2.0/glib/deprecated/gmain.h +139 -0
  318. data/vendor/local/include/glib-2.0/glib/deprecated/grel.h +105 -0
  319. data/vendor/local/include/glib-2.0/glib/deprecated/gthread.h +293 -0
  320. data/vendor/local/include/glib-2.0/glib/galloca.h +103 -0
  321. data/vendor/local/include/glib-2.0/glib/garray.h +238 -0
  322. data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +109 -0
  323. data/vendor/local/include/glib-2.0/glib/gatomic.h +281 -0
  324. data/vendor/local/include/glib-2.0/glib/gbacktrace.h +64 -0
  325. data/vendor/local/include/glib-2.0/glib/gbase64.h +61 -0
  326. data/vendor/local/include/glib-2.0/glib/gbitlock.h +76 -0
  327. data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +255 -0
  328. data/vendor/local/include/glib-2.0/glib/gbytes.h +90 -0
  329. data/vendor/local/include/glib-2.0/glib/gcharset.h +43 -0
  330. data/vendor/local/include/glib-2.0/glib/gchecksum.h +101 -0
  331. data/vendor/local/include/glib-2.0/glib/gconvert.h +199 -0
  332. data/vendor/local/include/glib-2.0/glib/gdataset.h +150 -0
  333. data/vendor/local/include/glib-2.0/glib/gdate.h +309 -0
  334. data/vendor/local/include/glib-2.0/glib/gdatetime.h +264 -0
  335. data/vendor/local/include/glib-2.0/glib/gdir.h +64 -0
  336. data/vendor/local/include/glib-2.0/glib/genviron.h +78 -0
  337. data/vendor/local/include/glib-2.0/glib/gerror.h +118 -0
  338. data/vendor/local/include/glib-2.0/glib/gfileutils.h +207 -0
  339. data/vendor/local/include/glib-2.0/glib/ggettext.h +63 -0
  340. data/vendor/local/include/glib-2.0/glib/ghash.h +185 -0
  341. data/vendor/local/include/glib-2.0/glib/ghmac.h +78 -0
  342. data/vendor/local/include/glib-2.0/glib/ghook.h +202 -0
  343. data/vendor/local/include/glib-2.0/glib/ghostutils.h +43 -0
  344. data/vendor/local/include/glib-2.0/glib/gi18n-lib.h +36 -0
  345. data/vendor/local/include/glib-2.0/glib/gi18n.h +32 -0
  346. data/vendor/local/include/glib-2.0/glib/giochannel.h +413 -0
  347. data/vendor/local/include/glib-2.0/glib/gkeyfile.h +320 -0
  348. data/vendor/local/include/glib-2.0/glib/glist.h +152 -0
  349. data/vendor/local/include/glib-2.0/glib/gmacros.h +366 -0
  350. data/vendor/local/include/glib-2.0/glib/gmain.h +614 -0
  351. data/vendor/local/include/glib-2.0/glib/gmappedfile.h +58 -0
  352. data/vendor/local/include/glib-2.0/glib/gmarkup.h +262 -0
  353. data/vendor/local/include/glib-2.0/glib/gmem.h +298 -0
  354. data/vendor/local/include/glib-2.0/glib/gmessages.h +407 -0
  355. data/vendor/local/include/glib-2.0/glib/gnode.h +322 -0
  356. data/vendor/local/include/glib-2.0/glib/goption.h +377 -0
  357. data/vendor/local/include/glib-2.0/glib/gpattern.h +53 -0
  358. data/vendor/local/include/glib-2.0/glib/gpoll.h +127 -0
  359. data/vendor/local/include/glib-2.0/glib/gprimes.h +50 -0
  360. data/vendor/local/include/glib-2.0/glib/gprintf.h +57 -0
  361. data/vendor/local/include/glib-2.0/glib/gqsort.h +45 -0
  362. data/vendor/local/include/glib-2.0/glib/gquark.h +68 -0
  363. data/vendor/local/include/glib-2.0/glib/gqueue.h +190 -0
  364. data/vendor/local/include/glib-2.0/glib/grand.h +99 -0
  365. data/vendor/local/include/glib-2.0/glib/gregex.h +610 -0
  366. data/vendor/local/include/glib-2.0/glib/gscanner.h +303 -0
  367. data/vendor/local/include/glib-2.0/glib/gsequence.h +171 -0
  368. data/vendor/local/include/glib-2.0/glib/gshell.h +59 -0
  369. data/vendor/local/include/glib-2.0/glib/gslice.h +98 -0
  370. data/vendor/local/include/glib-2.0/glib/gslist.h +143 -0
  371. data/vendor/local/include/glib-2.0/glib/gspawn.h +307 -0
  372. data/vendor/local/include/glib-2.0/glib/gstdio.h +171 -0
  373. data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +306 -0
  374. data/vendor/local/include/glib-2.0/glib/gstring.h +189 -0
  375. data/vendor/local/include/glib-2.0/glib/gstringchunk.h +57 -0
  376. data/vendor/local/include/glib-2.0/glib/gtestutils.h +421 -0
  377. data/vendor/local/include/glib-2.0/glib/gthread.h +271 -0
  378. data/vendor/local/include/glib-2.0/glib/gthreadpool.h +92 -0
  379. data/vendor/local/include/glib-2.0/glib/gtimer.h +74 -0
  380. data/vendor/local/include/glib-2.0/glib/gtimezone.h +89 -0
  381. data/vendor/local/include/glib-2.0/glib/gtrashstack.h +101 -0
  382. data/vendor/local/include/glib-2.0/glib/gtree.h +104 -0
  383. data/vendor/local/include/glib-2.0/glib/gtypes.h +482 -0
  384. data/vendor/local/include/glib-2.0/glib/gunicode.h +860 -0
  385. data/vendor/local/include/glib-2.0/glib/gurifuncs.h +83 -0
  386. data/vendor/local/include/glib-2.0/glib/gutils.h +374 -0
  387. data/vendor/local/include/glib-2.0/glib/gvariant.h +452 -0
  388. data/vendor/local/include/glib-2.0/glib/gvarianttype.h +380 -0
  389. data/vendor/local/include/glib-2.0/glib/gversion.h +55 -0
  390. data/vendor/local/include/glib-2.0/glib/gversionmacros.h +345 -0
  391. data/vendor/local/include/glib-2.0/glib/gwin32.h +134 -0
  392. data/vendor/local/include/glib-2.0/gmodule.h +115 -0
  393. data/vendor/local/include/glib-2.0/gobject/gbinding.h +149 -0
  394. data/vendor/local/include/glib-2.0/gobject/gboxed.h +122 -0
  395. data/vendor/local/include/glib-2.0/gobject/gclosure.h +297 -0
  396. data/vendor/local/include/glib-2.0/gobject/genums.h +273 -0
  397. data/vendor/local/include/glib-2.0/gobject/glib-types.h +358 -0
  398. data/vendor/local/include/glib-2.0/gobject/gmarshal.h +385 -0
  399. data/vendor/local/include/glib-2.0/gobject/gobject.h +672 -0
  400. data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +197 -0
  401. data/vendor/local/include/glib-2.0/gobject/gparam.h +447 -0
  402. data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +1164 -0
  403. data/vendor/local/include/glib-2.0/gobject/gsignal.h +604 -0
  404. data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +38 -0
  405. data/vendor/local/include/glib-2.0/gobject/gtype.h +1990 -0
  406. data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +278 -0
  407. data/vendor/local/include/glib-2.0/gobject/gtypeplugin.h +134 -0
  408. data/vendor/local/include/glib-2.0/gobject/gvalue.h +194 -0
  409. data/vendor/local/include/glib-2.0/gobject/gvaluearray.h +104 -0
  410. data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +254 -0
  411. data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +300 -0
  412. data/vendor/local/include/gmp.h +2301 -0
  413. data/vendor/local/include/gnutls/abstract.h +454 -0
  414. data/vendor/local/include/gnutls/compat.h +401 -0
  415. data/vendor/local/include/gnutls/crypto.h +117 -0
  416. data/vendor/local/include/gnutls/dtls.h +92 -0
  417. data/vendor/local/include/gnutls/gnutls.h +2299 -0
  418. data/vendor/local/include/gnutls/ocsp.h +257 -0
  419. data/vendor/local/include/gnutls/openpgp.h +366 -0
  420. data/vendor/local/include/gnutls/openssl.h +329 -0
  421. data/vendor/local/include/gnutls/pkcs11.h +356 -0
  422. data/vendor/local/include/gnutls/pkcs12.h +135 -0
  423. data/vendor/local/include/gnutls/tpm.h +79 -0
  424. data/vendor/local/include/gnutls/x509.h +1192 -0
  425. data/vendor/local/include/gnutls/xssl.h +125 -0
  426. data/vendor/local/include/iconv.h +242 -0
  427. data/vendor/local/include/libcharset.h +46 -0
  428. data/vendor/local/include/libintl.h +464 -0
  429. data/vendor/local/include/localcharset.h +42 -0
  430. data/vendor/local/include/nettle/aes.h +85 -0
  431. data/vendor/local/include/nettle/arcfour.h +66 -0
  432. data/vendor/local/include/nettle/arctwo.h +82 -0
  433. data/vendor/local/include/nettle/asn1.h +144 -0
  434. data/vendor/local/include/nettle/base16.h +106 -0
  435. data/vendor/local/include/nettle/base64.h +153 -0
  436. data/vendor/local/include/nettle/bignum.h +121 -0
  437. data/vendor/local/include/nettle/blowfish.h +76 -0
  438. data/vendor/local/include/nettle/buffer.h +98 -0
  439. data/vendor/local/include/nettle/camellia.h +82 -0
  440. data/vendor/local/include/nettle/cast128.h +77 -0
  441. data/vendor/local/include/nettle/cbc.h +76 -0
  442. data/vendor/local/include/nettle/ctr.h +62 -0
  443. data/vendor/local/include/nettle/des-compat.h +154 -0
  444. data/vendor/local/include/nettle/des.h +111 -0
  445. data/vendor/local/include/nettle/dsa.h +293 -0
  446. data/vendor/local/include/nettle/ecc-curve.h +45 -0
  447. data/vendor/local/include/nettle/ecc.h +261 -0
  448. data/vendor/local/include/nettle/ecdsa.h +94 -0
  449. data/vendor/local/include/nettle/gcm.h +186 -0
  450. data/vendor/local/include/nettle/gosthash94.h +88 -0
  451. data/vendor/local/include/nettle/hmac.h +202 -0
  452. data/vendor/local/include/nettle/knuth-lfib.h +75 -0
  453. data/vendor/local/include/nettle/macros.h +238 -0
  454. data/vendor/local/include/nettle/md2.h +69 -0
  455. data/vendor/local/include/nettle/md4.h +73 -0
  456. data/vendor/local/include/nettle/md5-compat.h +50 -0
  457. data/vendor/local/include/nettle/md5.h +76 -0
  458. data/vendor/local/include/nettle/memxor.h +22 -0
  459. data/vendor/local/include/nettle/nettle-meta.h +232 -0
  460. data/vendor/local/include/nettle/nettle-stdint.h +286 -0
  461. data/vendor/local/include/nettle/nettle-types.h +92 -0
  462. data/vendor/local/include/nettle/pbkdf2.h +77 -0
  463. data/vendor/local/include/nettle/pgp.h +240 -0
  464. data/vendor/local/include/nettle/pkcs1.h +106 -0
  465. data/vendor/local/include/nettle/realloc.h +41 -0
  466. data/vendor/local/include/nettle/ripemd160.h +78 -0
  467. data/vendor/local/include/nettle/rsa-compat.h +131 -0
  468. data/vendor/local/include/nettle/rsa.h +419 -0
  469. data/vendor/local/include/nettle/salsa20.h +93 -0
  470. data/vendor/local/include/nettle/serpent.h +81 -0
  471. data/vendor/local/include/nettle/sexp.h +212 -0
  472. data/vendor/local/include/nettle/sha.h +34 -0
  473. data/vendor/local/include/nettle/sha1.h +78 -0
  474. data/vendor/local/include/nettle/sha2.h +156 -0
  475. data/vendor/local/include/nettle/sha3.h +176 -0
  476. data/vendor/local/include/nettle/twofish.h +78 -0
  477. data/vendor/local/include/nettle/umac.h +241 -0
  478. data/vendor/local/include/nettle/yarrow.h +137 -0
  479. data/vendor/local/lib/charset.alias +4 -0
  480. data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
  481. data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
  482. data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
  483. data/vendor/local/lib/gio/modules/libgiognutls.la +41 -0
  484. data/vendor/local/lib/glib-2.0/include/glibconfig.h +199 -0
  485. data/vendor/local/lib/gthread-2.0.def +3 -0
  486. data/vendor/local/lib/libasprintf.a +0 -0
  487. data/vendor/local/lib/libasprintf.dll.a +0 -0
  488. data/vendor/local/lib/libasprintf.la +41 -0
  489. data/vendor/local/lib/libcharset.a +0 -0
  490. data/vendor/local/lib/libcharset.dll.a +0 -0
  491. data/vendor/local/lib/libcharset.la +41 -0
  492. data/vendor/local/lib/libffi-3.2.1/include/ffi.h +487 -0
  493. data/vendor/local/lib/libffi-3.2.1/include/ffitarget.h +150 -0
  494. data/vendor/local/lib/libffi.a +0 -0
  495. data/vendor/local/lib/libffi.dll.a +0 -0
  496. data/vendor/local/lib/libffi.la +41 -0
  497. data/vendor/local/lib/libgio-2.0.dll.a +0 -0
  498. data/vendor/local/lib/libgio-2.0.la +41 -0
  499. data/vendor/local/lib/libglib-2.0.dll.a +0 -0
  500. data/vendor/local/lib/libglib-2.0.la +41 -0
  501. data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
  502. data/vendor/local/lib/libgmodule-2.0.la +41 -0
  503. data/vendor/local/lib/libgmp.dll.a +0 -0
  504. data/vendor/local/lib/libgmp.la +41 -0
  505. data/vendor/local/lib/libgnutls-openssl.a +0 -0
  506. data/vendor/local/lib/libgnutls-openssl.dll.a +0 -0
  507. data/vendor/local/lib/libgnutls-openssl.la +41 -0
  508. data/vendor/local/lib/libgnutls-xssl.a +0 -0
  509. data/vendor/local/lib/libgnutls-xssl.dll.a +0 -0
  510. data/vendor/local/lib/libgnutls-xssl.la +41 -0
  511. data/vendor/local/lib/libgnutls.a +0 -0
  512. data/vendor/local/lib/libgnutls.dll.a +0 -0
  513. data/vendor/local/lib/libgnutls.la +41 -0
  514. data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
  515. data/vendor/local/lib/libgobject-2.0.la +41 -0
  516. data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
  517. data/vendor/local/lib/libgthread-2.0.la +41 -0
  518. data/vendor/local/lib/libhogweed.a +0 -0
  519. data/vendor/local/lib/libhogweed.dll.a +0 -0
  520. data/vendor/local/lib/libiconv.dll.a +0 -0
  521. data/vendor/local/lib/libiconv.la +41 -0
  522. data/vendor/local/lib/libintl.a +0 -0
  523. data/vendor/local/lib/libintl.dll.a +0 -0
  524. data/vendor/local/lib/libintl.la +41 -0
  525. data/vendor/local/lib/libnettle.a +0 -0
  526. data/vendor/local/lib/libnettle.dll.a +0 -0
  527. data/vendor/local/lib/pkgconfig/gio-2.0.pc +18 -0
  528. data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +11 -0
  529. data/vendor/local/lib/pkgconfig/glib-2.0.pc +16 -0
  530. data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +14 -0
  531. data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +14 -0
  532. data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +14 -0
  533. data/vendor/local/lib/pkgconfig/gnutls.pc +24 -0
  534. data/vendor/local/lib/pkgconfig/gobject-2.0.pc +12 -0
  535. data/vendor/local/lib/pkgconfig/gthread-2.0.pc +11 -0
  536. data/vendor/local/lib/pkgconfig/hogweed.pc +18 -0
  537. data/vendor/local/lib/pkgconfig/libffi.pc +11 -0
  538. data/vendor/local/lib/pkgconfig/nettle.pc +11 -0
  539. data/vendor/local/lib/pkgconfig/patched +0 -0
  540. data/vendor/local/share/aclocal/glib-2.0.m4 +211 -0
  541. data/vendor/local/share/aclocal/glib-gettext.m4 +435 -0
  542. data/vendor/local/share/aclocal/gsettings.m4 +83 -0
  543. data/vendor/local/share/bash-completion/completions/gapplication +55 -0
  544. data/vendor/local/share/bash-completion/completions/gdbus +33 -0
  545. data/vendor/local/share/bash-completion/completions/gresource +58 -0
  546. data/vendor/local/share/bash-completion/completions/gsettings +84 -0
  547. data/vendor/local/share/doc/gettext/bind_textdomain_codeset.3.html +158 -0
  548. data/vendor/local/share/doc/gettext/bindtextdomain.3.html +154 -0
  549. data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext.html +8 -0
  550. data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceManager.html +305 -0
  551. data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceSet.html +356 -0
  552. data/vendor/local/share/doc/gettext/csharpdoc/begin.html +11 -0
  553. data/vendor/local/share/doc/gettext/csharpdoc/index.html +10 -0
  554. data/vendor/local/share/doc/gettext/csharpdoc/namespaces.html +6 -0
  555. data/vendor/local/share/doc/gettext/envsubst.1.html +139 -0
  556. data/vendor/local/share/doc/gettext/gettext.1.html +188 -0
  557. data/vendor/local/share/doc/gettext/gettext.3.html +182 -0
  558. data/vendor/local/share/doc/gettext/javadoc2/allclasses-frame.html +25 -0
  559. data/vendor/local/share/doc/gettext/javadoc2/deprecated-list.html +87 -0
  560. data/vendor/local/share/doc/gettext/javadoc2/gnu/gettext/GettextResource.html +321 -0
  561. data/vendor/local/share/doc/gettext/javadoc2/gnu/gettext/package-frame.html +26 -0
  562. data/vendor/local/share/doc/gettext/javadoc2/gnu/gettext/package-summary.html +103 -0
  563. data/vendor/local/share/doc/gettext/javadoc2/gnu/gettext/package-tree.html +99 -0
  564. data/vendor/local/share/doc/gettext/javadoc2/help-doc.html +136 -0
  565. data/vendor/local/share/doc/gettext/javadoc2/index-all.html +111 -0
  566. data/vendor/local/share/doc/gettext/javadoc2/index.html +22 -0
  567. data/vendor/local/share/doc/gettext/javadoc2/overview-tree.html +96 -0
  568. data/vendor/local/share/doc/gettext/javadoc2/package-list +1 -0
  569. data/vendor/local/share/doc/gettext/javadoc2/packages.html +26 -0
  570. data/vendor/local/share/doc/gettext/javadoc2/serialized-form.html +87 -0
  571. data/vendor/local/share/doc/gettext/javadoc2/stylesheet.css +29 -0
  572. data/vendor/local/share/doc/gettext/ngettext.1.html +194 -0
  573. data/vendor/local/share/doc/gettext/ngettext.3.html +138 -0
  574. data/vendor/local/share/doc/gettext/textdomain.3.html +140 -0
  575. data/vendor/local/share/doc/libasprintf/autosprintf_all.html +174 -0
  576. data/vendor/local/share/doc/libiconv/iconv.1.html +206 -0
  577. data/vendor/local/share/doc/libiconv/iconv.3.html +207 -0
  578. data/vendor/local/share/doc/libiconv/iconv_close.3.html +90 -0
  579. data/vendor/local/share/doc/libiconv/iconv_open.3.html +318 -0
  580. data/vendor/local/share/doc/libiconv/iconv_open_into.3.html +120 -0
  581. data/vendor/local/share/doc/libiconv/iconvctl.3.html +189 -0
  582. data/vendor/local/share/gdb/auto-load/libglib-2.0.so.0.4200.1-gdb.py +10 -0
  583. data/vendor/local/share/gdb/auto-load/libgobject-2.0.so.0.4200.1-gdb.py +10 -0
  584. data/vendor/local/share/gettext/ABOUT-NLS +1282 -0
  585. data/vendor/local/share/glib-2.0/codegen/__init__.py +27 -0
  586. data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
  587. data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
  588. data/vendor/local/share/glib-2.0/codegen/codegen.py +3412 -0
  589. data/vendor/local/share/glib-2.0/codegen/codegen.pyc +0 -0
  590. data/vendor/local/share/glib-2.0/codegen/codegen.pyo +0 -0
  591. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.py +329 -0
  592. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
  593. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
  594. data/vendor/local/share/glib-2.0/codegen/codegen_main.py +201 -0
  595. data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
  596. data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
  597. data/vendor/local/share/glib-2.0/codegen/config.py +25 -0
  598. data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
  599. data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
  600. data/vendor/local/share/glib-2.0/codegen/dbustypes.py +424 -0
  601. data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
  602. data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
  603. data/vendor/local/share/glib-2.0/codegen/parser.py +288 -0
  604. data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
  605. data/vendor/local/share/glib-2.0/codegen/parser.pyo +0 -0
  606. data/vendor/local/share/glib-2.0/codegen/utils.py +102 -0
  607. data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
  608. data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
  609. data/vendor/local/share/glib-2.0/gdb/glib.py +257 -0
  610. data/vendor/local/share/glib-2.0/gdb/gobject.py +295 -0
  611. data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +268 -0
  612. data/vendor/local/share/glib-2.0/schemas/gschema.dtd +73 -0
  613. data/vendor/local/share/glib-2.0/schemas/gschemas.compiled +0 -0
  614. data/vendor/local/share/gtk-doc/html/gio/ExampleAnimal.html +1537 -0
  615. data/vendor/local/share/gtk-doc/html/gio/ExampleCat.html +679 -0
  616. data/vendor/local/share/gtk-doc/html/gio/ExampleObject.html +572 -0
  617. data/vendor/local/share/gtk-doc/html/gio/ExampleObjectManagerClient.html +561 -0
  618. data/vendor/local/share/gtk-doc/html/gio/GAction.html +832 -0
  619. data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +1242 -0
  620. data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +507 -0
  621. data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +2160 -0
  622. data/vendor/local/share/gtk-doc/html/gio/GAppInfoMonitor.html +151 -0
  623. data/vendor/local/share/gtk-doc/html/gio/GApplication.html +2448 -0
  624. data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +981 -0
  625. data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +769 -0
  626. data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +511 -0
  627. data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +705 -0
  628. data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +393 -0
  629. data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +861 -0
  630. data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +317 -0
  631. data/vendor/local/share/gtk-doc/html/gio/GConverter.html +467 -0
  632. data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +564 -0
  633. data/vendor/local/share/gtk-doc/html/gio/GDBusActionGroup.html +161 -0
  634. data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +390 -0
  635. data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +4687 -0
  636. data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +329 -0
  637. data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +882 -0
  638. data/vendor/local/share/gtk-doc/html/gio/GDBusMenuModel.html +152 -0
  639. data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +2484 -0
  640. data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +903 -0
  641. data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +404 -0
  642. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +592 -0
  643. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +1281 -0
  644. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +505 -0
  645. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectProxy.html +260 -0
  646. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectSkeleton.html +491 -0
  647. data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +2170 -0
  648. data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +635 -0
  649. data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +1595 -0
  650. data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +699 -0
  651. data/vendor/local/share/gtk-doc/html/gio/GDrive.html +1873 -0
  652. data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +354 -0
  653. data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +325 -0
  654. data/vendor/local/share/gtk-doc/html/gio/GFile.html +9688 -0
  655. data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +145 -0
  656. data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +713 -0
  657. data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +352 -0
  658. data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +200 -0
  659. data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +4261 -0
  660. data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +293 -0
  661. data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +475 -0
  662. data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +345 -0
  663. data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +287 -0
  664. data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +249 -0
  665. data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +251 -0
  666. data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +592 -0
  667. data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +772 -0
  668. data/vendor/local/share/gtk-doc/html/gio/GIcon.html +479 -0
  669. data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +1044 -0
  670. data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +419 -0
  671. data/vendor/local/share/gtk-doc/html/gio/GInitable.html +455 -0
  672. data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +1164 -0
  673. data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +354 -0
  674. data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +308 -0
  675. data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +577 -0
  676. data/vendor/local/share/gtk-doc/html/gio/GMenu.html +1877 -0
  677. data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +1205 -0
  678. data/vendor/local/share/gtk-doc/html/gio/GMount.html +1929 -0
  679. data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +1197 -0
  680. data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +451 -0
  681. data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +499 -0
  682. data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +421 -0
  683. data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +1561 -0
  684. data/vendor/local/share/gtk-doc/html/gio/GPermission.html +672 -0
  685. data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +411 -0
  686. data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +411 -0
  687. data/vendor/local/share/gtk-doc/html/gio/GProxy.html +455 -0
  688. data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +580 -0
  689. data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +395 -0
  690. data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +290 -0
  691. data/vendor/local/share/gtk-doc/html/gio/GResolver.html +1171 -0
  692. data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +441 -0
  693. data/vendor/local/share/gtk-doc/html/gio/GSettings.html +3485 -0
  694. data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +755 -0
  695. data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +540 -0
  696. data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +319 -0
  697. data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +1634 -0
  698. data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +129 -0
  699. data/vendor/local/share/gtk-doc/html/gio/GSimpleProxyResolver.html +433 -0
  700. data/vendor/local/share/gtk-doc/html/gio/GSocket.html +3696 -0
  701. data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +374 -0
  702. data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +2079 -0
  703. data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +623 -0
  704. data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +631 -0
  705. data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +330 -0
  706. data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +868 -0
  707. data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +329 -0
  708. data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +424 -0
  709. data/vendor/local/share/gtk-doc/html/gio/GSubprocess.html +1601 -0
  710. data/vendor/local/share/gtk-doc/html/gio/GTask.html +2562 -0
  711. data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +209 -0
  712. data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +211 -0
  713. data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +510 -0
  714. data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +464 -0
  715. data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +241 -0
  716. data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +432 -0
  717. data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +590 -0
  718. data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +550 -0
  719. data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +1294 -0
  720. data/vendor/local/share/gtk-doc/html/gio/GTlsDatabase.html +1091 -0
  721. data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +208 -0
  722. data/vendor/local/share/gtk-doc/html/gio/GTlsInteraction.html +735 -0
  723. data/vendor/local/share/gtk-doc/html/gio/GTlsPassword.html +662 -0
  724. data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +193 -0
  725. data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +553 -0
  726. data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +268 -0
  727. data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +455 -0
  728. data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +349 -0
  729. data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +314 -0
  730. data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +314 -0
  731. data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +612 -0
  732. data/vendor/local/share/gtk-doc/html/gio/GVfs.html +358 -0
  733. data/vendor/local/share/gtk-doc/html/gio/GVolume.html +1391 -0
  734. data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +926 -0
  735. data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +330 -0
  736. data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +220 -0
  737. data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +76 -0
  738. data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +148 -0
  739. data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +157 -0
  740. data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +1083 -0
  741. data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +210 -0
  742. data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +1640 -0
  743. data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +715 -0
  744. data/vendor/local/share/gtk-doc/html/gio/api-index-2-30.html +686 -0
  745. data/vendor/local/share/gtk-doc/html/gio/api-index-2-32.html +725 -0
  746. data/vendor/local/share/gtk-doc/html/gio/api-index-2-34.html +268 -0
  747. data/vendor/local/share/gtk-doc/html/gio/api-index-2-36.html +259 -0
  748. data/vendor/local/share/gtk-doc/html/gio/api-index-2-38.html +161 -0
  749. data/vendor/local/share/gtk-doc/html/gio/api-index-2-40.html +369 -0
  750. data/vendor/local/share/gtk-doc/html/gio/api-index-2-42.html +50 -0
  751. data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +198 -0
  752. data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +9512 -0
  753. data/vendor/local/share/gtk-doc/html/gio/application.html +80 -0
  754. data/vendor/local/share/gtk-doc/html/gio/async.html +48 -0
  755. data/vendor/local/share/gtk-doc/html/gio/ch01.html +232 -0
  756. data/vendor/local/share/gtk-doc/html/gio/ch02.html +114 -0
  757. data/vendor/local/share/gtk-doc/html/gio/ch03.html +45 -0
  758. data/vendor/local/share/gtk-doc/html/gio/ch30.html +75 -0
  759. data/vendor/local/share/gtk-doc/html/gio/ch31.html +217 -0
  760. data/vendor/local/share/gtk-doc/html/gio/ch31s02.html +41 -0
  761. data/vendor/local/share/gtk-doc/html/gio/ch31s03.html +39 -0
  762. data/vendor/local/share/gtk-doc/html/gio/ch32.html +56 -0
  763. data/vendor/local/share/gtk-doc/html/gio/ch32s02.html +59 -0
  764. data/vendor/local/share/gtk-doc/html/gio/ch32s03.html +159 -0
  765. data/vendor/local/share/gtk-doc/html/gio/ch32s04.html +46 -0
  766. data/vendor/local/share/gtk-doc/html/gio/ch32s05.html +48 -0
  767. data/vendor/local/share/gtk-doc/html/gio/ch32s06.html +278 -0
  768. data/vendor/local/share/gtk-doc/html/gio/ch32s07.html +160 -0
  769. data/vendor/local/share/gtk-doc/html/gio/ch33.html +116 -0
  770. data/vendor/local/share/gtk-doc/html/gio/ch33s02.html +142 -0
  771. data/vendor/local/share/gtk-doc/html/gio/ch33s03.html +202 -0
  772. data/vendor/local/share/gtk-doc/html/gio/ch33s04.html +97 -0
  773. data/vendor/local/share/gtk-doc/html/gio/ch33s05.html +931 -0
  774. data/vendor/local/share/gtk-doc/html/gio/conversion.html +44 -0
  775. data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +131 -0
  776. data/vendor/local/share/gtk-doc/html/gio/extending.html +41 -0
  777. data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +38 -0
  778. data/vendor/local/share/gtk-doc/html/gio/file_mon.html +33 -0
  779. data/vendor/local/share/gtk-doc/html/gio/file_ops.html +50 -0
  780. data/vendor/local/share/gtk-doc/html/gio/gapplication-tool.html +288 -0
  781. data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +1098 -0
  782. data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +65 -0
  783. data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +59 -0
  784. data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html +161 -0
  785. data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Cat.html +51 -0
  786. data/vendor/local/share/gtk-doc/html/gio/gdbus.html +300 -0
  787. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +390 -0
  788. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +1572 -0
  789. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +398 -0
  790. data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +1131 -0
  791. data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +613 -0
  792. data/vendor/local/share/gtk-doc/html/gio/gio-GActionGroup-exporter.html +192 -0
  793. data/vendor/local/share/gtk-doc/html/gio/gio-GBytesIcon.html +162 -0
  794. data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +595 -0
  795. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +214 -0
  796. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +214 -0
  797. data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +1106 -0
  798. data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +650 -0
  799. data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +539 -0
  800. data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +365 -0
  801. data/vendor/local/share/gtk-doc/html/gio/gio-GInetAddressMask.html +443 -0
  802. data/vendor/local/share/gtk-doc/html/gio/gio-GMenuModel-exporter.html +183 -0
  803. data/vendor/local/share/gtk-doc/html/gio/gio-GNotification.html +670 -0
  804. data/vendor/local/share/gtk-doc/html/gio/gio-GPropertyAction.html +177 -0
  805. data/vendor/local/share/gtk-doc/html/gio/gio-GResource.html +1141 -0
  806. data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +1186 -0
  807. data/vendor/local/share/gtk-doc/html/gio/gio-GSubprocessLauncher.html +931 -0
  808. data/vendor/local/share/gtk-doc/html/gio/gio-GWin32InputStream.html +258 -0
  809. data/vendor/local/share/gtk-doc/html/gio/gio-GWin32OutputStream.html +259 -0
  810. data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +658 -0
  811. data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +321 -0
  812. data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +1398 -0
  813. data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +575 -0
  814. data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +94 -0
  815. data/vendor/local/share/gtk-doc/html/gio/gio-gpollableutils.html +475 -0
  816. data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +188 -0
  817. data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +53 -0
  818. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +2715 -0
  819. data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +209 -0
  820. data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +111 -0
  821. data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +111 -0
  822. data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +178 -0
  823. data/vendor/local/share/gtk-doc/html/gio/gvfs-overview.png +0 -0
  824. data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +60 -0
  825. data/vendor/local/share/gtk-doc/html/gio/home.png +0 -0
  826. data/vendor/local/share/gtk-doc/html/gio/icons.html +53 -0
  827. data/vendor/local/share/gtk-doc/html/gio/index.html +646 -0
  828. data/vendor/local/share/gtk-doc/html/gio/index.sgml +4046 -0
  829. data/vendor/local/share/gtk-doc/html/gio/left-insensitive.png +0 -0
  830. data/vendor/local/share/gtk-doc/html/gio/left.png +0 -0
  831. data/vendor/local/share/gtk-doc/html/gio/menu-example.png +0 -0
  832. data/vendor/local/share/gtk-doc/html/gio/menu-model.png +0 -0
  833. data/vendor/local/share/gtk-doc/html/gio/migrating.html +82 -0
  834. data/vendor/local/share/gtk-doc/html/gio/networking.html +75 -0
  835. data/vendor/local/share/gtk-doc/html/gio/permissions.html +39 -0
  836. data/vendor/local/share/gtk-doc/html/gio/pt01.html +40 -0
  837. data/vendor/local/share/gtk-doc/html/gio/pt02.html +572 -0
  838. data/vendor/local/share/gtk-doc/html/gio/resolver.html +53 -0
  839. data/vendor/local/share/gtk-doc/html/gio/resources.html +33 -0
  840. data/vendor/local/share/gtk-doc/html/gio/right-insensitive.png +0 -0
  841. data/vendor/local/share/gtk-doc/html/gio/right.png +0 -0
  842. data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +189 -0
  843. data/vendor/local/share/gtk-doc/html/gio/settings.html +42 -0
  844. data/vendor/local/share/gtk-doc/html/gio/streaming.html +107 -0
  845. data/vendor/local/share/gtk-doc/html/gio/style.css +476 -0
  846. data/vendor/local/share/gtk-doc/html/gio/subprocesses.html +38 -0
  847. data/vendor/local/share/gtk-doc/html/gio/testing.html +33 -0
  848. data/vendor/local/share/gtk-doc/html/gio/tls.html +62 -0
  849. data/vendor/local/share/gtk-doc/html/gio/tools.html +56 -0
  850. data/vendor/local/share/gtk-doc/html/gio/types.html +44 -0
  851. data/vendor/local/share/gtk-doc/html/gio/up-insensitive.png +0 -0
  852. data/vendor/local/share/gtk-doc/html/gio/up.png +0 -0
  853. data/vendor/local/share/gtk-doc/html/gio/utils.html +33 -0
  854. data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +47 -0
  855. data/vendor/local/share/gtk-doc/html/glib/Sorted_binary_tree_breadth-first_traversal.svg +134 -0
  856. data/vendor/local/share/gtk-doc/html/glib/Sorted_binary_tree_inorder.svg +753 -0
  857. data/vendor/local/share/gtk-doc/html/glib/Sorted_binary_tree_postorder.svg +750 -0
  858. data/vendor/local/share/gtk-doc/html/glib/Sorted_binary_tree_preorder.svg +750 -0
  859. data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +81 -0
  860. data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +167 -0
  861. data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +307 -0
  862. data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +562 -0
  863. data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +357 -0
  864. data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +108 -0
  865. data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +119 -0
  866. data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +86 -0
  867. data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +189 -0
  868. data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +423 -0
  869. data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +389 -0
  870. data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +122 -0
  871. data/vendor/local/share/gtk-doc/html/glib/api-index-2-30.html +252 -0
  872. data/vendor/local/share/gtk-doc/html/glib/api-index-2-32.html +343 -0
  873. data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +116 -0
  874. data/vendor/local/share/gtk-doc/html/glib/api-index-2-36.html +116 -0
  875. data/vendor/local/share/gtk-doc/html/glib/api-index-2-38.html +111 -0
  876. data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +399 -0
  877. data/vendor/local/share/gtk-doc/html/glib/api-index-2-40.html +158 -0
  878. data/vendor/local/share/gtk-doc/html/glib/api-index-2-42.html +35 -0
  879. data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +416 -0
  880. data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +157 -0
  881. data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +596 -0
  882. data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +9013 -0
  883. data/vendor/local/share/gtk-doc/html/glib/deprecated.html +47 -0
  884. data/vendor/local/share/gtk-doc/html/glib/file-name-encodings.png +0 -0
  885. data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +1130 -0
  886. data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +1242 -0
  887. data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +944 -0
  888. data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +614 -0
  889. data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +958 -0
  890. data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +440 -0
  891. data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +1155 -0
  892. data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +2442 -0
  893. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +1513 -0
  894. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +2152 -0
  895. data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +540 -0
  896. data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +1299 -0
  897. data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +2164 -0
  898. data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +644 -0
  899. data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +549 -0
  900. data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +662 -0
  901. data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +2808 -0
  902. data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +2101 -0
  903. data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +1860 -0
  904. data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +1941 -0
  905. data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +664 -0
  906. data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +1226 -0
  907. data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +2516 -0
  908. data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +2430 -0
  909. data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +664 -0
  910. data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +6967 -0
  911. data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +1842 -0
  912. data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +373 -0
  913. data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +2260 -0
  914. data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +1817 -0
  915. data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +287 -0
  916. data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +814 -0
  917. data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +2662 -0
  918. data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +3457 -0
  919. data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +1007 -0
  920. data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +1878 -0
  921. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +1375 -0
  922. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +625 -0
  923. data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +947 -0
  924. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +1180 -0
  925. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +2274 -0
  926. data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +1995 -0
  927. data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +236 -0
  928. data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +3551 -0
  929. data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +1059 -0
  930. data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +378 -0
  931. data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +775 -0
  932. data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +660 -0
  933. data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +2054 -0
  934. data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +302 -0
  935. data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +1491 -0
  936. data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +1560 -0
  937. data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +1165 -0
  938. data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +593 -0
  939. data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +374 -0
  940. data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +4052 -0
  941. data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +1797 -0
  942. data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +3149 -0
  943. data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +5082 -0
  944. data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +774 -0
  945. data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +3183 -0
  946. data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +319 -0
  947. data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +254 -0
  948. data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +309 -0
  949. data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +618 -0
  950. data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +508 -0
  951. data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +4995 -0
  952. data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +483 -0
  953. data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +598 -0
  954. data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +585 -0
  955. data/vendor/local/share/gtk-doc/html/glib/glib-building.html +438 -0
  956. data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +153 -0
  957. data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +145 -0
  958. data/vendor/local/share/gtk-doc/html/glib/glib-core.html +68 -0
  959. data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +165 -0
  960. data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +100 -0
  961. data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +57 -0
  962. data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +96 -0
  963. data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +76 -0
  964. data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +2217 -0
  965. data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +124 -0
  966. data/vendor/local/share/gtk-doc/html/glib/glib-running.html +295 -0
  967. data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +126 -0
  968. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +2399 -0
  969. data/vendor/local/share/gtk-doc/html/glib/glib.html +72 -0
  970. data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +81 -0
  971. data/vendor/local/share/gtk-doc/html/glib/gtester.html +187 -0
  972. data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +1338 -0
  973. data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +667 -0
  974. data/vendor/local/share/gtk-doc/html/glib/home.png +0 -0
  975. data/vendor/local/share/gtk-doc/html/glib/index.html +358 -0
  976. data/vendor/local/share/gtk-doc/html/glib/index.sgml +2782 -0
  977. data/vendor/local/share/gtk-doc/html/glib/left-insensitive.png +0 -0
  978. data/vendor/local/share/gtk-doc/html/glib/left.png +0 -0
  979. data/vendor/local/share/gtk-doc/html/glib/mainloop-states.gif +0 -0
  980. data/vendor/local/share/gtk-doc/html/glib/right-insensitive.png +0 -0
  981. data/vendor/local/share/gtk-doc/html/glib/right.png +0 -0
  982. data/vendor/local/share/gtk-doc/html/glib/style.css +476 -0
  983. data/vendor/local/share/gtk-doc/html/glib/tools.html +41 -0
  984. data/vendor/local/share/gtk-doc/html/glib/up-insensitive.png +0 -0
  985. data/vendor/local/share/gtk-doc/html/glib/up.png +0 -0
  986. data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +981 -0
  987. data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +814 -0
  988. data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +558 -0
  989. data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +76 -0
  990. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +80 -0
  991. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +50 -0
  992. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +46 -0
  993. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +43 -0
  994. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +35 -0
  995. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +43 -0
  996. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +68 -0
  997. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +196 -0
  998. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +42 -0
  999. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-30.html +65 -0
  1000. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-32.html +76 -0
  1001. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-34.html +58 -0
  1002. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-36.html +51 -0
  1003. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-38.html +68 -0
  1004. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +173 -0
  1005. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-40.html +35 -0
  1006. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-42.html +35 -0
  1007. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +39 -0
  1008. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +39 -0
  1009. data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +132 -0
  1010. data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +2999 -0
  1011. data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +136 -0
  1012. data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +290 -0
  1013. data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +263 -0
  1014. data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +92 -0
  1015. data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +214 -0
  1016. data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +380 -0
  1017. data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +337 -0
  1018. data/vendor/local/share/gtk-doc/html/gobject/glue.png +0 -0
  1019. data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +677 -0
  1020. data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +3510 -0
  1021. data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +1110 -0
  1022. data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +1937 -0
  1023. data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +1101 -0
  1024. data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +3395 -0
  1025. data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +7262 -0
  1026. data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +4119 -0
  1027. data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +6080 -0
  1028. data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +644 -0
  1029. data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +309 -0
  1030. data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +234 -0
  1031. data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +392 -0
  1032. data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +128 -0
  1033. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +838 -0
  1034. data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +141 -0
  1035. data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +288 -0
  1036. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +378 -0
  1037. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +76 -0
  1038. data/vendor/local/share/gtk-doc/html/gobject/home.png +0 -0
  1039. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +98 -0
  1040. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +88 -0
  1041. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +172 -0
  1042. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +117 -0
  1043. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +250 -0
  1044. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +270 -0
  1045. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +137 -0
  1046. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-override.html +133 -0
  1047. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-prerequisite.html +123 -0
  1048. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +153 -0
  1049. data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +149 -0
  1050. data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +121 -0
  1051. data/vendor/local/share/gtk-doc/html/gobject/index.html +201 -0
  1052. data/vendor/local/share/gtk-doc/html/gobject/index.sgml +869 -0
  1053. data/vendor/local/share/gtk-doc/html/gobject/left-insensitive.png +0 -0
  1054. data/vendor/local/share/gtk-doc/html/gobject/left.png +0 -0
  1055. data/vendor/local/share/gtk-doc/html/gobject/pr01.html +72 -0
  1056. data/vendor/local/share/gtk-doc/html/gobject/pt01.html +80 -0
  1057. data/vendor/local/share/gtk-doc/html/gobject/pt02.html +67 -0
  1058. data/vendor/local/share/gtk-doc/html/gobject/pt03.html +55 -0
  1059. data/vendor/local/share/gtk-doc/html/gobject/right-insensitive.png +0 -0
  1060. data/vendor/local/share/gtk-doc/html/gobject/right.png +0 -0
  1061. data/vendor/local/share/gtk-doc/html/gobject/rn01.html +85 -0
  1062. data/vendor/local/share/gtk-doc/html/gobject/rn02.html +47 -0
  1063. data/vendor/local/share/gtk-doc/html/gobject/signal.html +378 -0
  1064. data/vendor/local/share/gtk-doc/html/gobject/style.css +476 -0
  1065. data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +35 -0
  1066. data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +40 -0
  1067. data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +63 -0
  1068. data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +48 -0
  1069. data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +43 -0
  1070. data/vendor/local/share/gtk-doc/html/gobject/up-insensitive.png +0 -0
  1071. data/vendor/local/share/gtk-doc/html/gobject/up.png +0 -0
  1072. data/vendor/local/share/info/autosprintf.info +133 -0
  1073. data/vendor/local/share/info/dir +43 -0
  1074. data/vendor/local/share/info/gmp.info +181 -0
  1075. data/vendor/local/share/info/gmp.info-1 +7073 -0
  1076. data/vendor/local/share/info/gmp.info-2 +3865 -0
  1077. data/vendor/local/share/info/gnutls-client-server-use-case.png +0 -0
  1078. data/vendor/local/share/info/gnutls-guile.info +1589 -0
  1079. data/vendor/local/share/info/gnutls-handshake-sequence.png +0 -0
  1080. data/vendor/local/share/info/gnutls-handshake-state.png +0 -0
  1081. data/vendor/local/share/info/gnutls-internals.png +0 -0
  1082. data/vendor/local/share/info/gnutls-layers.png +0 -0
  1083. data/vendor/local/share/info/gnutls-logo.png +0 -0
  1084. data/vendor/local/share/info/gnutls-modauth.png +0 -0
  1085. data/vendor/local/share/info/gnutls-pgp.png +0 -0
  1086. data/vendor/local/share/info/gnutls-x509.png +0 -0
  1087. data/vendor/local/share/info/gnutls.info +1371 -0
  1088. data/vendor/local/share/info/gnutls.info-1 +7371 -0
  1089. data/vendor/local/share/info/gnutls.info-2 +7842 -0
  1090. data/vendor/local/share/info/gnutls.info-3 +11715 -0
  1091. data/vendor/local/share/info/gnutls.info-4 +6737 -0
  1092. data/vendor/local/share/info/gnutls.info-5 +2308 -0
  1093. data/vendor/local/share/info/libffi.info +765 -0
  1094. data/vendor/local/share/info/pkcs11-vision.png +0 -0
  1095. data/vendor/local/share/license/gettext/AUTHORS +2 -0
  1096. data/vendor/local/share/license/gettext/COPYING +13 -0
  1097. data/vendor/local/share/license/glib-networking/AUTHORS +0 -0
  1098. data/vendor/local/share/license/glib-networking/COPYING +481 -0
  1099. data/vendor/local/share/license/glib/AUTHORS +40 -0
  1100. data/vendor/local/share/license/glib/COPYING +482 -0
  1101. data/vendor/local/share/license/gmp/AUTHORS +100 -0
  1102. data/vendor/local/share/license/gmp/COPYING +674 -0
  1103. data/vendor/local/share/license/gnutls/AUTHORS +92 -0
  1104. data/vendor/local/share/license/gnutls/COPYING +674 -0
  1105. data/vendor/local/share/license/libiconv/AUTHORS +1 -0
  1106. data/vendor/local/share/license/libiconv/COPYING +674 -0
  1107. data/vendor/local/share/license/libiconv/COPYING.LIB +482 -0
  1108. data/vendor/local/share/license/nettle/AUTHORS +1 -0
  1109. data/vendor/local/share/license/nettle/COPYING.LIB +510 -0
  1110. data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
  1111. data/vendor/local/share/locale/am/LC_MESSAGES/glib20.mo +0 -0
  1112. data/vendor/local/share/locale/an/LC_MESSAGES/glib-networking.mo +0 -0
  1113. data/vendor/local/share/locale/an/LC_MESSAGES/glib20.mo +0 -0
  1114. data/vendor/local/share/locale/ar/LC_MESSAGES/glib-networking.mo +0 -0
  1115. data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
  1116. data/vendor/local/share/locale/as/LC_MESSAGES/glib-networking.mo +0 -0
  1117. data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
  1118. data/vendor/local/share/locale/ast/LC_MESSAGES/glib20.mo +0 -0
  1119. data/vendor/local/share/locale/az/LC_MESSAGES/glib20.mo +0 -0
  1120. data/vendor/local/share/locale/be/LC_MESSAGES/gettext-runtime.mo +0 -0
  1121. data/vendor/local/share/locale/be/LC_MESSAGES/glib-networking.mo +0 -0
  1122. data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
  1123. data/vendor/local/share/locale/be@latin/LC_MESSAGES/glib20.mo +0 -0
  1124. data/vendor/local/share/locale/bg/LC_MESSAGES/gettext-runtime.mo +0 -0
  1125. data/vendor/local/share/locale/bg/LC_MESSAGES/glib-networking.mo +0 -0
  1126. data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
  1127. data/vendor/local/share/locale/bn/LC_MESSAGES/glib20.mo +0 -0
  1128. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib-networking.mo +0 -0
  1129. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
  1130. data/vendor/local/share/locale/bs/LC_MESSAGES/glib20.mo +0 -0
  1131. data/vendor/local/share/locale/ca/LC_MESSAGES/gettext-runtime.mo +0 -0
  1132. data/vendor/local/share/locale/ca/LC_MESSAGES/glib-networking.mo +0 -0
  1133. data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
  1134. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib-networking.mo +0 -0
  1135. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
  1136. data/vendor/local/share/locale/cs/LC_MESSAGES/gettext-runtime.mo +0 -0
  1137. data/vendor/local/share/locale/cs/LC_MESSAGES/glib-networking.mo +0 -0
  1138. data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
  1139. data/vendor/local/share/locale/cs/LC_MESSAGES/gnutls.mo +0 -0
  1140. data/vendor/local/share/locale/cy/LC_MESSAGES/glib20.mo +0 -0
  1141. data/vendor/local/share/locale/da/LC_MESSAGES/gettext-runtime.mo +0 -0
  1142. data/vendor/local/share/locale/da/LC_MESSAGES/glib-networking.mo +0 -0
  1143. data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
  1144. data/vendor/local/share/locale/de/LC_MESSAGES/gettext-runtime.mo +0 -0
  1145. data/vendor/local/share/locale/de/LC_MESSAGES/glib-networking.mo +0 -0
  1146. data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
  1147. data/vendor/local/share/locale/de/LC_MESSAGES/gnutls.mo +0 -0
  1148. data/vendor/local/share/locale/dz/LC_MESSAGES/glib20.mo +0 -0
  1149. data/vendor/local/share/locale/el/LC_MESSAGES/gettext-runtime.mo +0 -0
  1150. data/vendor/local/share/locale/el/LC_MESSAGES/glib-networking.mo +0 -0
  1151. data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
  1152. data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo +0 -0
  1153. data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gnutls.mo +0 -0
  1154. data/vendor/local/share/locale/en@quot/LC_MESSAGES/gettext-runtime.mo +0 -0
  1155. data/vendor/local/share/locale/en@quot/LC_MESSAGES/gnutls.mo +0 -0
  1156. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/glib20.mo +0 -0
  1157. data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib-networking.mo +0 -0
  1158. data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
  1159. data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib-networking.mo +0 -0
  1160. data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
  1161. data/vendor/local/share/locale/eo/LC_MESSAGES/gettext-runtime.mo +0 -0
  1162. data/vendor/local/share/locale/eo/LC_MESSAGES/glib-networking.mo +0 -0
  1163. data/vendor/local/share/locale/eo/LC_MESSAGES/glib20.mo +0 -0
  1164. data/vendor/local/share/locale/eo/LC_MESSAGES/gnutls.mo +0 -0
  1165. data/vendor/local/share/locale/es/LC_MESSAGES/gettext-runtime.mo +0 -0
  1166. data/vendor/local/share/locale/es/LC_MESSAGES/glib-networking.mo +0 -0
  1167. data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
  1168. data/vendor/local/share/locale/et/LC_MESSAGES/gettext-runtime.mo +0 -0
  1169. data/vendor/local/share/locale/et/LC_MESSAGES/glib-networking.mo +0 -0
  1170. data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
  1171. data/vendor/local/share/locale/eu/LC_MESSAGES/glib-networking.mo +0 -0
  1172. data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
  1173. data/vendor/local/share/locale/fa/LC_MESSAGES/glib-networking.mo +0 -0
  1174. data/vendor/local/share/locale/fa/LC_MESSAGES/glib20.mo +0 -0
  1175. data/vendor/local/share/locale/fi/LC_MESSAGES/gettext-runtime.mo +0 -0
  1176. data/vendor/local/share/locale/fi/LC_MESSAGES/glib-networking.mo +0 -0
  1177. data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
  1178. data/vendor/local/share/locale/fi/LC_MESSAGES/gnutls.mo +0 -0
  1179. data/vendor/local/share/locale/fr/LC_MESSAGES/gettext-runtime.mo +0 -0
  1180. data/vendor/local/share/locale/fr/LC_MESSAGES/glib-networking.mo +0 -0
  1181. data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
  1182. data/vendor/local/share/locale/fr/LC_MESSAGES/gnutls.mo +0 -0
  1183. data/vendor/local/share/locale/fur/LC_MESSAGES/glib-networking.mo +0 -0
  1184. data/vendor/local/share/locale/ga/LC_MESSAGES/gettext-runtime.mo +0 -0
  1185. data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
  1186. data/vendor/local/share/locale/gl/LC_MESSAGES/gettext-runtime.mo +0 -0
  1187. data/vendor/local/share/locale/gl/LC_MESSAGES/glib-networking.mo +0 -0
  1188. data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
  1189. data/vendor/local/share/locale/gu/LC_MESSAGES/glib-networking.mo +0 -0
  1190. data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
  1191. data/vendor/local/share/locale/he/LC_MESSAGES/glib-networking.mo +0 -0
  1192. data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
  1193. data/vendor/local/share/locale/hi/LC_MESSAGES/glib-networking.mo +0 -0
  1194. data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
  1195. data/vendor/local/share/locale/hr/LC_MESSAGES/gettext-runtime.mo +0 -0
  1196. data/vendor/local/share/locale/hr/LC_MESSAGES/glib20.mo +0 -0
  1197. data/vendor/local/share/locale/hu/LC_MESSAGES/gettext-runtime.mo +0 -0
  1198. data/vendor/local/share/locale/hu/LC_MESSAGES/glib-networking.mo +0 -0
  1199. data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
  1200. data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
  1201. data/vendor/local/share/locale/id/LC_MESSAGES/gettext-runtime.mo +0 -0
  1202. data/vendor/local/share/locale/id/LC_MESSAGES/glib-networking.mo +0 -0
  1203. data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
  1204. data/vendor/local/share/locale/is/LC_MESSAGES/glib20.mo +0 -0
  1205. data/vendor/local/share/locale/it/LC_MESSAGES/gettext-runtime.mo +0 -0
  1206. data/vendor/local/share/locale/it/LC_MESSAGES/glib-networking.mo +0 -0
  1207. data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
  1208. data/vendor/local/share/locale/it/LC_MESSAGES/gnutls.mo +0 -0
  1209. data/vendor/local/share/locale/ja/LC_MESSAGES/gettext-runtime.mo +0 -0
  1210. data/vendor/local/share/locale/ja/LC_MESSAGES/glib-networking.mo +0 -0
  1211. data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
  1212. data/vendor/local/share/locale/ka/LC_MESSAGES/glib20.mo +0 -0
  1213. data/vendor/local/share/locale/kk/LC_MESSAGES/glib-networking.mo +0 -0
  1214. data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
  1215. data/vendor/local/share/locale/km/LC_MESSAGES/glib-networking.mo +0 -0
  1216. data/vendor/local/share/locale/kn/LC_MESSAGES/glib-networking.mo +0 -0
  1217. data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
  1218. data/vendor/local/share/locale/ko/LC_MESSAGES/gettext-runtime.mo +0 -0
  1219. data/vendor/local/share/locale/ko/LC_MESSAGES/glib-networking.mo +0 -0
  1220. data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
  1221. data/vendor/local/share/locale/ku/LC_MESSAGES/glib20.mo +0 -0
  1222. data/vendor/local/share/locale/locale.alias +75 -0
  1223. data/vendor/local/share/locale/lt/LC_MESSAGES/glib-networking.mo +0 -0
  1224. data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
  1225. data/vendor/local/share/locale/lv/LC_MESSAGES/glib-networking.mo +0 -0
  1226. data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
  1227. data/vendor/local/share/locale/mai/LC_MESSAGES/glib20.mo +0 -0
  1228. data/vendor/local/share/locale/mg/LC_MESSAGES/glib20.mo +0 -0
  1229. data/vendor/local/share/locale/mk/LC_MESSAGES/glib20.mo +0 -0
  1230. data/vendor/local/share/locale/ml/LC_MESSAGES/glib-networking.mo +0 -0
  1231. data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
  1232. data/vendor/local/share/locale/mn/LC_MESSAGES/glib20.mo +0 -0
  1233. data/vendor/local/share/locale/mr/LC_MESSAGES/glib-networking.mo +0 -0
  1234. data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
  1235. data/vendor/local/share/locale/ms/LC_MESSAGES/glib20.mo +0 -0
  1236. data/vendor/local/share/locale/ms/LC_MESSAGES/gnutls.mo +0 -0
  1237. data/vendor/local/share/locale/nb/LC_MESSAGES/gettext-runtime.mo +0 -0
  1238. data/vendor/local/share/locale/nb/LC_MESSAGES/glib-networking.mo +0 -0
  1239. data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
  1240. data/vendor/local/share/locale/nds/LC_MESSAGES/glib20.mo +0 -0
  1241. data/vendor/local/share/locale/ne/LC_MESSAGES/glib20.mo +0 -0
  1242. data/vendor/local/share/locale/nl/LC_MESSAGES/gettext-runtime.mo +0 -0
  1243. data/vendor/local/share/locale/nl/LC_MESSAGES/glib-networking.mo +0 -0
  1244. data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
  1245. data/vendor/local/share/locale/nl/LC_MESSAGES/gnutls.mo +0 -0
  1246. data/vendor/local/share/locale/nn/LC_MESSAGES/gettext-runtime.mo +0 -0
  1247. data/vendor/local/share/locale/nn/LC_MESSAGES/glib20.mo +0 -0
  1248. data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
  1249. data/vendor/local/share/locale/or/LC_MESSAGES/glib-networking.mo +0 -0
  1250. data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
  1251. data/vendor/local/share/locale/pa/LC_MESSAGES/glib-networking.mo +0 -0
  1252. data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
  1253. data/vendor/local/share/locale/pl/LC_MESSAGES/gettext-runtime.mo +0 -0
  1254. data/vendor/local/share/locale/pl/LC_MESSAGES/glib-networking.mo +0 -0
  1255. data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
  1256. data/vendor/local/share/locale/pl/LC_MESSAGES/gnutls.mo +0 -0
  1257. data/vendor/local/share/locale/ps/LC_MESSAGES/glib20.mo +0 -0
  1258. data/vendor/local/share/locale/pt/LC_MESSAGES/gettext-runtime.mo +0 -0
  1259. data/vendor/local/share/locale/pt/LC_MESSAGES/glib-networking.mo +0 -0
  1260. data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
  1261. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo +0 -0
  1262. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib-networking.mo +0 -0
  1263. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
  1264. data/vendor/local/share/locale/ro/LC_MESSAGES/gettext-runtime.mo +0 -0
  1265. data/vendor/local/share/locale/ro/LC_MESSAGES/glib-networking.mo +0 -0
  1266. data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
  1267. data/vendor/local/share/locale/ru/LC_MESSAGES/gettext-runtime.mo +0 -0
  1268. data/vendor/local/share/locale/ru/LC_MESSAGES/glib-networking.mo +0 -0
  1269. data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
  1270. data/vendor/local/share/locale/rw/LC_MESSAGES/glib20.mo +0 -0
  1271. data/vendor/local/share/locale/si/LC_MESSAGES/glib20.mo +0 -0
  1272. data/vendor/local/share/locale/sk/LC_MESSAGES/gettext-runtime.mo +0 -0
  1273. data/vendor/local/share/locale/sk/LC_MESSAGES/glib-networking.mo +0 -0
  1274. data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
  1275. data/vendor/local/share/locale/sl/LC_MESSAGES/gettext-runtime.mo +0 -0
  1276. data/vendor/local/share/locale/sl/LC_MESSAGES/glib-networking.mo +0 -0
  1277. data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
  1278. data/vendor/local/share/locale/sq/LC_MESSAGES/glib20.mo +0 -0
  1279. data/vendor/local/share/locale/sr/LC_MESSAGES/gettext-runtime.mo +0 -0
  1280. data/vendor/local/share/locale/sr/LC_MESSAGES/glib-networking.mo +0 -0
  1281. data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
  1282. data/vendor/local/share/locale/sr@ije/LC_MESSAGES/glib20.mo +0 -0
  1283. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib-networking.mo +0 -0
  1284. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
  1285. data/vendor/local/share/locale/sv/LC_MESSAGES/gettext-runtime.mo +0 -0
  1286. data/vendor/local/share/locale/sv/LC_MESSAGES/glib-networking.mo +0 -0
  1287. data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
  1288. data/vendor/local/share/locale/sv/LC_MESSAGES/gnutls.mo +0 -0
  1289. data/vendor/local/share/locale/ta/LC_MESSAGES/glib-networking.mo +0 -0
  1290. data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
  1291. data/vendor/local/share/locale/te/LC_MESSAGES/glib-networking.mo +0 -0
  1292. data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
  1293. data/vendor/local/share/locale/tg/LC_MESSAGES/glib-networking.mo +0 -0
  1294. data/vendor/local/share/locale/tg/LC_MESSAGES/glib20.mo +0 -0
  1295. data/vendor/local/share/locale/th/LC_MESSAGES/glib-networking.mo +0 -0
  1296. data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
  1297. data/vendor/local/share/locale/tl/LC_MESSAGES/glib20.mo +0 -0
  1298. data/vendor/local/share/locale/tr/LC_MESSAGES/gettext-runtime.mo +0 -0
  1299. data/vendor/local/share/locale/tr/LC_MESSAGES/glib-networking.mo +0 -0
  1300. data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
  1301. data/vendor/local/share/locale/tt/LC_MESSAGES/glib20.mo +0 -0
  1302. data/vendor/local/share/locale/ug/LC_MESSAGES/glib-networking.mo +0 -0
  1303. data/vendor/local/share/locale/ug/LC_MESSAGES/glib20.mo +0 -0
  1304. data/vendor/local/share/locale/uk/LC_MESSAGES/gettext-runtime.mo +0 -0
  1305. data/vendor/local/share/locale/uk/LC_MESSAGES/glib-networking.mo +0 -0
  1306. data/vendor/local/share/locale/uk/LC_MESSAGES/glib20.mo +0 -0
  1307. data/vendor/local/share/locale/uk/LC_MESSAGES/gnutls.mo +0 -0
  1308. data/vendor/local/share/locale/vi/LC_MESSAGES/gettext-runtime.mo +0 -0
  1309. data/vendor/local/share/locale/vi/LC_MESSAGES/glib-networking.mo +0 -0
  1310. data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
  1311. data/vendor/local/share/locale/vi/LC_MESSAGES/gnutls.mo +0 -0
  1312. data/vendor/local/share/locale/wa/LC_MESSAGES/glib20.mo +0 -0
  1313. data/vendor/local/share/locale/xh/LC_MESSAGES/glib20.mo +0 -0
  1314. data/vendor/local/share/locale/yi/LC_MESSAGES/glib20.mo +0 -0
  1315. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gettext-runtime.mo +0 -0
  1316. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib-networking.mo +0 -0
  1317. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
  1318. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gnutls.mo +0 -0
  1319. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo +0 -0
  1320. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib-networking.mo +0 -0
  1321. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
  1322. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gettext-runtime.mo +0 -0
  1323. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib-networking.mo +0 -0
  1324. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
  1325. data/vendor/local/share/man/man1/certtool.1 +741 -0
  1326. data/vendor/local/share/man/man1/envsubst.1 +54 -0
  1327. data/vendor/local/share/man/man1/gettext.1 +69 -0
  1328. data/vendor/local/share/man/man1/gnutls-cli-debug.1 +165 -0
  1329. data/vendor/local/share/man/man1/gnutls-cli.1 +420 -0
  1330. data/vendor/local/share/man/man1/gnutls-serv.1 +453 -0
  1331. data/vendor/local/share/man/man1/iconv.1 +108 -0
  1332. data/vendor/local/share/man/man1/ngettext.1 +68 -0
  1333. data/vendor/local/share/man/man1/ocsptool.1 +335 -0
  1334. data/vendor/local/share/man/man1/p11tool.1 +320 -0
  1335. data/vendor/local/share/man/man1/psktool.1 +129 -0
  1336. data/vendor/local/share/man/man1/srptool.1 +164 -0
  1337. data/vendor/local/share/man/man1/tpmtool.1 +223 -0
  1338. data/vendor/local/share/man/man3/bind_textdomain_codeset.3 +72 -0
  1339. data/vendor/local/share/man/man3/bindtextdomain.3 +69 -0
  1340. data/vendor/local/share/man/man3/dcgettext.3 +1 -0
  1341. data/vendor/local/share/man/man3/dcngettext.3 +1 -0
  1342. data/vendor/local/share/man/man3/dgettext.3 +1 -0
  1343. data/vendor/local/share/man/man3/dngettext.3 +1 -0
  1344. data/vendor/local/share/man/man3/ffi.3 +41 -0
  1345. data/vendor/local/share/man/man3/ffi_call.3 +103 -0
  1346. data/vendor/local/share/man/man3/ffi_prep_cif.3 +68 -0
  1347. data/vendor/local/share/man/man3/ffi_prep_cif_var.3 +73 -0
  1348. data/vendor/local/share/man/man3/gettext.3 +99 -0
  1349. data/vendor/local/share/man/man3/gnutls_alert_get.3 +40 -0
  1350. data/vendor/local/share/man/man3/gnutls_alert_get_name.3 +36 -0
  1351. data/vendor/local/share/man/man3/gnutls_alert_get_strname.3 +37 -0
  1352. data/vendor/local/share/man/man3/gnutls_alert_send.3 +47 -0
  1353. data/vendor/local/share/man/man3/gnutls_alert_send_appropriate.3 +46 -0
  1354. data/vendor/local/share/man/man3/gnutls_alpn_get_selected_protocol.3 +42 -0
  1355. data/vendor/local/share/man/man3/gnutls_alpn_set_protocols.3 +48 -0
  1356. data/vendor/local/share/man/man3/gnutls_anon_allocate_client_credentials.3 +36 -0
  1357. data/vendor/local/share/man/man3/gnutls_anon_allocate_server_credentials.3 +36 -0
  1358. data/vendor/local/share/man/man3/gnutls_anon_free_client_credentials.3 +34 -0
  1359. data/vendor/local/share/man/man3/gnutls_anon_free_server_credentials.3 +34 -0
  1360. data/vendor/local/share/man/man3/gnutls_anon_set_params_function.3 +37 -0
  1361. data/vendor/local/share/man/man3/gnutls_anon_set_server_dh_params.3 +37 -0
  1362. data/vendor/local/share/man/man3/gnutls_anon_set_server_params_function.3 +37 -0
  1363. data/vendor/local/share/man/man3/gnutls_auth_client_get_type.3 +38 -0
  1364. data/vendor/local/share/man/man3/gnutls_auth_get_type.3 +42 -0
  1365. data/vendor/local/share/man/man3/gnutls_auth_server_get_type.3 +38 -0
  1366. data/vendor/local/share/man/man3/gnutls_bye.3 +60 -0
  1367. data/vendor/local/share/man/man3/gnutls_certificate_activation_time_peers.3 +38 -0
  1368. data/vendor/local/share/man/man3/gnutls_certificate_allocate_credentials.3 +36 -0
  1369. data/vendor/local/share/man/man3/gnutls_certificate_client_get_request_status.3 +37 -0
  1370. data/vendor/local/share/man/man3/gnutls_certificate_client_set_retrieve_function.3 +62 -0
  1371. data/vendor/local/share/man/man3/gnutls_certificate_expiration_time_peers.3 +37 -0
  1372. data/vendor/local/share/man/man3/gnutls_certificate_free_ca_names.3 +41 -0
  1373. data/vendor/local/share/man/man3/gnutls_certificate_free_cas.3 +36 -0
  1374. data/vendor/local/share/man/man3/gnutls_certificate_free_credentials.3 +38 -0
  1375. data/vendor/local/share/man/man3/gnutls_certificate_free_crls.3 +34 -0
  1376. data/vendor/local/share/man/man3/gnutls_certificate_free_keys.3 +35 -0
  1377. data/vendor/local/share/man/man3/gnutls_certificate_get_crt_raw.3 +48 -0
  1378. data/vendor/local/share/man/man3/gnutls_certificate_get_issuer.3 +44 -0
  1379. data/vendor/local/share/man/man3/gnutls_certificate_get_ours.3 +39 -0
  1380. data/vendor/local/share/man/man3/gnutls_certificate_get_peers.3 +46 -0
  1381. data/vendor/local/share/man/man3/gnutls_certificate_get_peers_subkey_id.3 +41 -0
  1382. data/vendor/local/share/man/man3/gnutls_certificate_send_x509_rdn_sequence.3 +42 -0
  1383. data/vendor/local/share/man/man3/gnutls_certificate_server_set_request.3 +39 -0
  1384. data/vendor/local/share/man/man3/gnutls_certificate_server_set_retrieve_function.3 +50 -0
  1385. data/vendor/local/share/man/man3/gnutls_certificate_set_dh_params.3 +39 -0
  1386. data/vendor/local/share/man/man3/gnutls_certificate_set_key.3 +56 -0
  1387. data/vendor/local/share/man/man3/gnutls_certificate_set_ocsp_status_request_file.3 +47 -0
  1388. data/vendor/local/share/man/man3/gnutls_certificate_set_ocsp_status_request_function.3 +56 -0
  1389. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key.3 +47 -0
  1390. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_file.3 +43 -0
  1391. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_file2.3 +51 -0
  1392. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_mem.3 +43 -0
  1393. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_mem2.3 +51 -0
  1394. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_keyring_file.3 +43 -0
  1395. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_keyring_mem.3 +45 -0
  1396. data/vendor/local/share/man/man3/gnutls_certificate_set_params_function.3 +37 -0
  1397. data/vendor/local/share/man/man3/gnutls_certificate_set_pin_function.3 +44 -0
  1398. data/vendor/local/share/man/man3/gnutls_certificate_set_retrieve_function.3 +65 -0
  1399. data/vendor/local/share/man/man3/gnutls_certificate_set_retrieve_function2.3 +68 -0
  1400. data/vendor/local/share/man/man3/gnutls_certificate_set_rsa_export_params.3 +37 -0
  1401. data/vendor/local/share/man/man3/gnutls_certificate_set_trust_list.3 +45 -0
  1402. data/vendor/local/share/man/man3/gnutls_certificate_set_verify_flags.3 +37 -0
  1403. data/vendor/local/share/man/man3/gnutls_certificate_set_verify_function.3 +51 -0
  1404. data/vendor/local/share/man/man3/gnutls_certificate_set_verify_limits.3 +40 -0
  1405. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl.3 +45 -0
  1406. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl_file.3 +43 -0
  1407. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl_mem.3 +43 -0
  1408. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key.3 +51 -0
  1409. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_file.3 +58 -0
  1410. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_file2.3 +62 -0
  1411. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_mem.3 +54 -0
  1412. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_mem2.3 +58 -0
  1413. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_simple_pkcs12_file.3 +63 -0
  1414. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_simple_pkcs12_mem.3 +64 -0
  1415. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_system_trust.3 +42 -0
  1416. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust.3 +50 -0
  1417. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust_file.3 +52 -0
  1418. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust_mem.3 +48 -0
  1419. data/vendor/local/share/man/man3/gnutls_certificate_type_get.3 +37 -0
  1420. data/vendor/local/share/man/man3/gnutls_certificate_type_get_id.3 +36 -0
  1421. data/vendor/local/share/man/man3/gnutls_certificate_type_get_name.3 +36 -0
  1422. data/vendor/local/share/man/man3/gnutls_certificate_type_list.3 +36 -0
  1423. data/vendor/local/share/man/man3/gnutls_certificate_type_set_priority.3 +42 -0
  1424. data/vendor/local/share/man/man3/gnutls_certificate_verification_status_print.3 +47 -0
  1425. data/vendor/local/share/man/man3/gnutls_certificate_verify_peers2.3 +51 -0
  1426. data/vendor/local/share/man/man3/gnutls_certificate_verify_peers3.3 +55 -0
  1427. data/vendor/local/share/man/man3/gnutls_check_version.3 +41 -0
  1428. data/vendor/local/share/man/man3/gnutls_cipher_add_auth.3 +44 -0
  1429. data/vendor/local/share/man/man3/gnutls_cipher_decrypt.3 +45 -0
  1430. data/vendor/local/share/man/man3/gnutls_cipher_decrypt2.3 +49 -0
  1431. data/vendor/local/share/man/man3/gnutls_cipher_deinit.3 +36 -0
  1432. data/vendor/local/share/man/man3/gnutls_cipher_encrypt.3 +42 -0
  1433. data/vendor/local/share/man/man3/gnutls_cipher_encrypt2.3 +46 -0
  1434. data/vendor/local/share/man/man3/gnutls_cipher_get.3 +36 -0
  1435. data/vendor/local/share/man/man3/gnutls_cipher_get_block_size.3 +35 -0
  1436. data/vendor/local/share/man/man3/gnutls_cipher_get_id.3 +36 -0
  1437. data/vendor/local/share/man/man3/gnutls_cipher_get_iv_size.3 +37 -0
  1438. data/vendor/local/share/man/man3/gnutls_cipher_get_key_size.3 +36 -0
  1439. data/vendor/local/share/man/man3/gnutls_cipher_get_name.3 +36 -0
  1440. data/vendor/local/share/man/man3/gnutls_cipher_get_tag_size.3 +35 -0
  1441. data/vendor/local/share/man/man3/gnutls_cipher_init.3 +46 -0
  1442. data/vendor/local/share/man/man3/gnutls_cipher_list.3 +41 -0
  1443. data/vendor/local/share/man/man3/gnutls_cipher_set_iv.3 +40 -0
  1444. data/vendor/local/share/man/man3/gnutls_cipher_set_priority.3 +41 -0
  1445. data/vendor/local/share/man/man3/gnutls_cipher_suite_get_name.3 +41 -0
  1446. data/vendor/local/share/man/man3/gnutls_cipher_suite_info.3 +50 -0
  1447. data/vendor/local/share/man/man3/gnutls_cipher_tag.3 +43 -0
  1448. data/vendor/local/share/man/man3/gnutls_compression_get.3 +36 -0
  1449. data/vendor/local/share/man/man3/gnutls_compression_get_id.3 +36 -0
  1450. data/vendor/local/share/man/man3/gnutls_compression_get_name.3 +36 -0
  1451. data/vendor/local/share/man/man3/gnutls_compression_list.3 +36 -0
  1452. data/vendor/local/share/man/man3/gnutls_compression_set_priority.3 +46 -0
  1453. data/vendor/local/share/man/man3/gnutls_credentials_clear.3 +33 -0
  1454. data/vendor/local/share/man/man3/gnutls_credentials_set.3 +59 -0
  1455. data/vendor/local/share/man/man3/gnutls_db_check_entry.3 +38 -0
  1456. data/vendor/local/share/man/man3/gnutls_db_check_entry_time.3 +36 -0
  1457. data/vendor/local/share/man/man3/gnutls_db_get_default_cache_expiration.3 +35 -0
  1458. data/vendor/local/share/man/man3/gnutls_db_get_ptr.3 +36 -0
  1459. data/vendor/local/share/man/man3/gnutls_db_remove_session.3 +39 -0
  1460. data/vendor/local/share/man/man3/gnutls_db_set_cache_expiration.3 +36 -0
  1461. data/vendor/local/share/man/man3/gnutls_db_set_ptr.3 +36 -0
  1462. data/vendor/local/share/man/man3/gnutls_db_set_remove_function.3 +39 -0
  1463. data/vendor/local/share/man/man3/gnutls_db_set_retrieve_function.3 +44 -0
  1464. data/vendor/local/share/man/man3/gnutls_db_set_store_function.3 +39 -0
  1465. data/vendor/local/share/man/man3/gnutls_deinit.3 +35 -0
  1466. data/vendor/local/share/man/man3/gnutls_dh_get_group.3 +44 -0
  1467. data/vendor/local/share/man/man3/gnutls_dh_get_peers_public_bits.3 +37 -0
  1468. data/vendor/local/share/man/man3/gnutls_dh_get_prime_bits.3 +41 -0
  1469. data/vendor/local/share/man/man3/gnutls_dh_get_pubkey.3 +41 -0
  1470. data/vendor/local/share/man/man3/gnutls_dh_get_secret_bits.3 +38 -0
  1471. data/vendor/local/share/man/man3/gnutls_dh_params_cpy.3 +39 -0
  1472. data/vendor/local/share/man/man3/gnutls_dh_params_deinit.3 +33 -0
  1473. data/vendor/local/share/man/man3/gnutls_dh_params_export2_pkcs3.3 +47 -0
  1474. data/vendor/local/share/man/man3/gnutls_dh_params_export_pkcs3.3 +48 -0
  1475. data/vendor/local/share/man/man3/gnutls_dh_params_export_raw.3 +45 -0
  1476. data/vendor/local/share/man/man3/gnutls_dh_params_generate2.3 +47 -0
  1477. data/vendor/local/share/man/man3/gnutls_dh_params_import_pkcs3.3 +44 -0
  1478. data/vendor/local/share/man/man3/gnutls_dh_params_import_raw.3 +42 -0
  1479. data/vendor/local/share/man/man3/gnutls_dh_params_init.3 +36 -0
  1480. data/vendor/local/share/man/man3/gnutls_dh_set_prime_bits.3 +52 -0
  1481. data/vendor/local/share/man/man3/gnutls_digest_get_id.3 +37 -0
  1482. data/vendor/local/share/man/man3/gnutls_digest_get_name.3 +36 -0
  1483. data/vendor/local/share/man/man3/gnutls_digest_list.3 +38 -0
  1484. data/vendor/local/share/man/man3/gnutls_dtls_cookie_send.3 +56 -0
  1485. data/vendor/local/share/man/man3/gnutls_dtls_cookie_verify.3 +52 -0
  1486. data/vendor/local/share/man/man3/gnutls_dtls_get_data_mtu.3 +39 -0
  1487. data/vendor/local/share/man/man3/gnutls_dtls_get_mtu.3 +40 -0
  1488. data/vendor/local/share/man/man3/gnutls_dtls_get_timeout.3 +41 -0
  1489. data/vendor/local/share/man/man3/gnutls_dtls_prestate_set.3 +42 -0
  1490. data/vendor/local/share/man/man3/gnutls_dtls_set_data_mtu.3 +48 -0
  1491. data/vendor/local/share/man/man3/gnutls_dtls_set_mtu.3 +41 -0
  1492. data/vendor/local/share/man/man3/gnutls_dtls_set_timeouts.3 +51 -0
  1493. data/vendor/local/share/man/man3/gnutls_ecc_curve_get.3 +39 -0
  1494. data/vendor/local/share/man/man3/gnutls_ecc_curve_get_name.3 +38 -0
  1495. data/vendor/local/share/man/man3/gnutls_ecc_curve_get_size.3 +37 -0
  1496. data/vendor/local/share/man/man3/gnutls_ecc_curve_list.3 +38 -0
  1497. data/vendor/local/share/man/man3/gnutls_error_is_fatal.3 +46 -0
  1498. data/vendor/local/share/man/man3/gnutls_error_to_alert.3 +44 -0
  1499. data/vendor/local/share/man/man3/gnutls_est_record_overhead_size.3 +49 -0
  1500. data/vendor/local/share/man/man3/gnutls_fingerprint.3 +50 -0
  1501. data/vendor/local/share/man/man3/gnutls_global_deinit.3 +37 -0
  1502. data/vendor/local/share/man/man3/gnutls_global_init.3 +54 -0
  1503. data/vendor/local/share/man/man3/gnutls_global_set_audit_log_function.3 +42 -0
  1504. data/vendor/local/share/man/man3/gnutls_global_set_log_function.3 +39 -0
  1505. data/vendor/local/share/man/man3/gnutls_global_set_log_level.3 +38 -0
  1506. data/vendor/local/share/man/man3/gnutls_global_set_mem_functions.3 +48 -0
  1507. data/vendor/local/share/man/man3/gnutls_global_set_mutex.3 +47 -0
  1508. data/vendor/local/share/man/man3/gnutls_global_set_time_function.3 +37 -0
  1509. data/vendor/local/share/man/man3/gnutls_handshake.3 +61 -0
  1510. data/vendor/local/share/man/man3/gnutls_handshake_description_get_name.3 +36 -0
  1511. data/vendor/local/share/man/man3/gnutls_handshake_get_last_in.3 +41 -0
  1512. data/vendor/local/share/man/man3/gnutls_handshake_get_last_out.3 +41 -0
  1513. data/vendor/local/share/man/man3/gnutls_handshake_set_hook_function.3 +55 -0
  1514. data/vendor/local/share/man/man3/gnutls_handshake_set_max_packet_length.3 +42 -0
  1515. data/vendor/local/share/man/man3/gnutls_handshake_set_post_client_hello_function.3 +49 -0
  1516. data/vendor/local/share/man/man3/gnutls_handshake_set_private_extensions.3 +42 -0
  1517. data/vendor/local/share/man/man3/gnutls_handshake_set_random.3 +46 -0
  1518. data/vendor/local/share/man/man3/gnutls_handshake_set_timeout.3 +41 -0
  1519. data/vendor/local/share/man/man3/gnutls_hash.3 +42 -0
  1520. data/vendor/local/share/man/man3/gnutls_hash_deinit.3 +38 -0
  1521. data/vendor/local/share/man/man3/gnutls_hash_fast.3 +44 -0
  1522. data/vendor/local/share/man/man3/gnutls_hash_get_len.3 +38 -0
  1523. data/vendor/local/share/man/man3/gnutls_hash_init.3 +42 -0
  1524. data/vendor/local/share/man/man3/gnutls_hash_output.3 +38 -0
  1525. data/vendor/local/share/man/man3/gnutls_heartbeat_allowed.3 +40 -0
  1526. data/vendor/local/share/man/man3/gnutls_heartbeat_enable.3 +42 -0
  1527. data/vendor/local/share/man/man3/gnutls_heartbeat_get_timeout.3 +41 -0
  1528. data/vendor/local/share/man/man3/gnutls_heartbeat_ping.3 +48 -0
  1529. data/vendor/local/share/man/man3/gnutls_heartbeat_pong.3 +39 -0
  1530. data/vendor/local/share/man/man3/gnutls_heartbeat_set_timeouts.3 +46 -0
  1531. data/vendor/local/share/man/man3/gnutls_hex2bin.3 +44 -0
  1532. data/vendor/local/share/man/man3/gnutls_hex_decode.3 +43 -0
  1533. data/vendor/local/share/man/man3/gnutls_hex_encode.3 +43 -0
  1534. data/vendor/local/share/man/man3/gnutls_hmac.3 +42 -0
  1535. data/vendor/local/share/man/man3/gnutls_hmac_deinit.3 +38 -0
  1536. data/vendor/local/share/man/man3/gnutls_hmac_fast.3 +48 -0
  1537. data/vendor/local/share/man/man3/gnutls_hmac_get_len.3 +38 -0
  1538. data/vendor/local/share/man/man3/gnutls_hmac_init.3 +49 -0
  1539. data/vendor/local/share/man/man3/gnutls_hmac_output.3 +38 -0
  1540. data/vendor/local/share/man/man3/gnutls_hmac_set_nonce.3 +39 -0
  1541. data/vendor/local/share/man/man3/gnutls_init.3 +54 -0
  1542. data/vendor/local/share/man/man3/gnutls_key_generate.3 +41 -0
  1543. data/vendor/local/share/man/man3/gnutls_kx_get.3 +36 -0
  1544. data/vendor/local/share/man/man3/gnutls_kx_get_id.3 +37 -0
  1545. data/vendor/local/share/man/man3/gnutls_kx_get_name.3 +36 -0
  1546. data/vendor/local/share/man/man3/gnutls_kx_list.3 +38 -0
  1547. data/vendor/local/share/man/man3/gnutls_kx_set_priority.3 +42 -0
  1548. data/vendor/local/share/man/man3/gnutls_load_file.3 +42 -0
  1549. data/vendor/local/share/man/man3/gnutls_mac_get.3 +36 -0
  1550. data/vendor/local/share/man/man3/gnutls_mac_get_id.3 +37 -0
  1551. data/vendor/local/share/man/man3/gnutls_mac_get_key_size.3 +36 -0
  1552. data/vendor/local/share/man/man3/gnutls_mac_get_name.3 +36 -0
  1553. data/vendor/local/share/man/man3/gnutls_mac_get_nonce_size.3 +37 -0
  1554. data/vendor/local/share/man/man3/gnutls_mac_list.3 +38 -0
  1555. data/vendor/local/share/man/man3/gnutls_mac_set_priority.3 +42 -0
  1556. data/vendor/local/share/man/man3/gnutls_ocsp_req_add_cert.3 +46 -0
  1557. data/vendor/local/share/man/man3/gnutls_ocsp_req_add_cert_id.3 +57 -0
  1558. data/vendor/local/share/man/man3/gnutls_ocsp_req_deinit.3 +33 -0
  1559. data/vendor/local/share/man/man3/gnutls_ocsp_req_export.3 +38 -0
  1560. data/vendor/local/share/man/man3/gnutls_ocsp_req_get_cert_id.3 +61 -0
  1561. data/vendor/local/share/man/man3/gnutls_ocsp_req_get_extension.3 +54 -0
  1562. data/vendor/local/share/man/man3/gnutls_ocsp_req_get_nonce.3 +43 -0
  1563. data/vendor/local/share/man/man3/gnutls_ocsp_req_get_version.3 +36 -0
  1564. data/vendor/local/share/man/man3/gnutls_ocsp_req_import.3 +40 -0
  1565. data/vendor/local/share/man/man3/gnutls_ocsp_req_init.3 +36 -0
  1566. data/vendor/local/share/man/man3/gnutls_ocsp_req_print.3 +46 -0
  1567. data/vendor/local/share/man/man3/gnutls_ocsp_req_randomize_nonce.3 +37 -0
  1568. data/vendor/local/share/man/man3/gnutls_ocsp_req_set_extension.3 +44 -0
  1569. data/vendor/local/share/man/man3/gnutls_ocsp_req_set_nonce.3 +42 -0
  1570. data/vendor/local/share/man/man3/gnutls_ocsp_resp_check_crt.3 +43 -0
  1571. data/vendor/local/share/man/man3/gnutls_ocsp_resp_deinit.3 +33 -0
  1572. data/vendor/local/share/man/man3/gnutls_ocsp_resp_export.3 +38 -0
  1573. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_certs.3 +51 -0
  1574. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_extension.3 +54 -0
  1575. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_nonce.3 +44 -0
  1576. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_produced.3 +36 -0
  1577. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_responder.3 +44 -0
  1578. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_response.3 +49 -0
  1579. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_signature.3 +38 -0
  1580. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_signature_algorithm.3 +38 -0
  1581. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_single.3 +64 -0
  1582. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_status.3 +37 -0
  1583. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_version.3 +37 -0
  1584. data/vendor/local/share/man/man3/gnutls_ocsp_resp_import.3 +40 -0
  1585. data/vendor/local/share/man/man3/gnutls_ocsp_resp_init.3 +36 -0
  1586. data/vendor/local/share/man/man3/gnutls_ocsp_resp_print.3 +46 -0
  1587. data/vendor/local/share/man/man3/gnutls_ocsp_resp_verify.3 +59 -0
  1588. data/vendor/local/share/man/man3/gnutls_ocsp_resp_verify_direct.3 +53 -0
  1589. data/vendor/local/share/man/man3/gnutls_ocsp_status_request_enable_client.3 +47 -0
  1590. data/vendor/local/share/man/man3/gnutls_ocsp_status_request_get.3 +43 -0
  1591. data/vendor/local/share/man/man3/gnutls_ocsp_status_request_is_checked.3 +42 -0
  1592. data/vendor/local/share/man/man3/gnutls_openpgp_crt_check_hostname.3 +39 -0
  1593. data/vendor/local/share/man/man3/gnutls_openpgp_crt_deinit.3 +33 -0
  1594. data/vendor/local/share/man/man3/gnutls_openpgp_crt_export.3 +44 -0
  1595. data/vendor/local/share/man/man3/gnutls_openpgp_crt_export2.3 +42 -0
  1596. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_auth_subkey.3 +42 -0
  1597. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_creation_time.3 +35 -0
  1598. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_expiration_time.3 +36 -0
  1599. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_fingerprint.3 +40 -0
  1600. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_key_id.3 +39 -0
  1601. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_key_usage.3 +39 -0
  1602. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_name.3 +45 -0
  1603. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_algorithm.3 +43 -0
  1604. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_dsa_raw.3 +47 -0
  1605. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_rsa_raw.3 +43 -0
  1606. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_preferred_key_id.3 +38 -0
  1607. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_revoked_status.3 +38 -0
  1608. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_count.3 +38 -0
  1609. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_creation_time.3 +39 -0
  1610. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_expiration_time.3 +40 -0
  1611. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_fingerprint.3 +44 -0
  1612. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_id.3 +39 -0
  1613. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_idx.3 +39 -0
  1614. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_algorithm.3 +47 -0
  1615. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_dsa_raw.3 +49 -0
  1616. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_rsa_raw.3 +45 -0
  1617. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_revoked_status.3 +40 -0
  1618. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_usage.3 +45 -0
  1619. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_version.3 +35 -0
  1620. data/vendor/local/share/man/man3/gnutls_openpgp_crt_import.3 +41 -0
  1621. data/vendor/local/share/man/man3/gnutls_openpgp_crt_init.3 +35 -0
  1622. data/vendor/local/share/man/man3/gnutls_openpgp_crt_print.3 +44 -0
  1623. data/vendor/local/share/man/man3/gnutls_openpgp_crt_set_preferred_key_id.3 +42 -0
  1624. data/vendor/local/share/man/man3/gnutls_openpgp_crt_verify_ring.3 +50 -0
  1625. data/vendor/local/share/man/man3/gnutls_openpgp_crt_verify_self.3 +41 -0
  1626. data/vendor/local/share/man/man3/gnutls_openpgp_keyring_check_id.3 +40 -0
  1627. data/vendor/local/share/man/man3/gnutls_openpgp_keyring_deinit.3 +33 -0
  1628. data/vendor/local/share/man/man3/gnutls_openpgp_keyring_get_crt.3 +42 -0
  1629. data/vendor/local/share/man/man3/gnutls_openpgp_keyring_get_crt_count.3 +36 -0
  1630. data/vendor/local/share/man/man3/gnutls_openpgp_keyring_import.3 +41 -0
  1631. data/vendor/local/share/man/man3/gnutls_openpgp_keyring_init.3 +35 -0
  1632. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_deinit.3 +33 -0
  1633. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export.3 +50 -0
  1634. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export2.3 +46 -0
  1635. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_dsa_raw.3 +49 -0
  1636. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_rsa_raw.3 +51 -0
  1637. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_subkey_dsa_raw.3 +51 -0
  1638. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_subkey_rsa_raw.3 +53 -0
  1639. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_fingerprint.3 +42 -0
  1640. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_key_id.3 +39 -0
  1641. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_pk_algorithm.3 +45 -0
  1642. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_preferred_key_id.3 +38 -0
  1643. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_revoked_status.3 +38 -0
  1644. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_count.3 +38 -0
  1645. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_creation_time.3 +39 -0
  1646. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_expiration_time.3 +40 -0
  1647. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_fingerprint.3 +44 -0
  1648. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_id.3 +41 -0
  1649. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_idx.3 +39 -0
  1650. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_pk_algorithm.3 +47 -0
  1651. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_revoked_status.3 +40 -0
  1652. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_import.3 +45 -0
  1653. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_init.3 +35 -0
  1654. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_sec_param.3 +39 -0
  1655. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_set_preferred_key_id.3 +42 -0
  1656. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_sign_hash.3 +44 -0
  1657. data/vendor/local/share/man/man3/gnutls_openpgp_send_cert.3 +38 -0
  1658. data/vendor/local/share/man/man3/gnutls_openpgp_set_recv_key_function.3 +39 -0
  1659. data/vendor/local/share/man/man3/gnutls_pcert_deinit.3 +35 -0
  1660. data/vendor/local/share/man/man3/gnutls_pcert_import_openpgp.3 +44 -0
  1661. data/vendor/local/share/man/man3/gnutls_pcert_import_openpgp_raw.3 +48 -0
  1662. data/vendor/local/share/man/man3/gnutls_pcert_import_x509.3 +44 -0
  1663. data/vendor/local/share/man/man3/gnutls_pcert_import_x509_raw.3 +46 -0
  1664. data/vendor/local/share/man/man3/gnutls_pcert_list_import_x509_raw.3 +50 -0
  1665. data/vendor/local/share/man/man3/gnutls_pem_base64_decode.3 +46 -0
  1666. data/vendor/local/share/man/man3/gnutls_pem_base64_decode_alloc.3 +46 -0
  1667. data/vendor/local/share/man/man3/gnutls_pem_base64_encode.3 +47 -0
  1668. data/vendor/local/share/man/man3/gnutls_pem_base64_encode_alloc.3 +45 -0
  1669. data/vendor/local/share/man/man3/gnutls_perror.3 +34 -0
  1670. data/vendor/local/share/man/man3/gnutls_pk_algorithm_get_name.3 +36 -0
  1671. data/vendor/local/share/man/man3/gnutls_pk_bits_to_sec_param.3 +41 -0
  1672. data/vendor/local/share/man/man3/gnutls_pk_get_id.3 +40 -0
  1673. data/vendor/local/share/man/man3/gnutls_pk_get_name.3 +38 -0
  1674. data/vendor/local/share/man/man3/gnutls_pk_list.3 +40 -0
  1675. data/vendor/local/share/man/man3/gnutls_pk_to_sign.3 +38 -0
  1676. data/vendor/local/share/man/man3/gnutls_pkcs11_add_provider.3 +42 -0
  1677. data/vendor/local/share/man/man3/gnutls_pkcs11_copy_secret_key.3 +47 -0
  1678. data/vendor/local/share/man/man3/gnutls_pkcs11_copy_x509_crt.3 +45 -0
  1679. data/vendor/local/share/man/man3/gnutls_pkcs11_copy_x509_privkey.3 +48 -0
  1680. data/vendor/local/share/man/man3/gnutls_pkcs11_deinit.3 +35 -0
  1681. data/vendor/local/share/man/man3/gnutls_pkcs11_delete_url.3 +41 -0
  1682. data/vendor/local/share/man/man3/gnutls_pkcs11_get_pin_function.3 +38 -0
  1683. data/vendor/local/share/man/man3/gnutls_pkcs11_get_raw_issuer.3 +49 -0
  1684. data/vendor/local/share/man/man3/gnutls_pkcs11_init.3 +48 -0
  1685. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_deinit.3 +35 -0
  1686. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export.3 +49 -0
  1687. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export2.3 +44 -0
  1688. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export3.3 +46 -0
  1689. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export_url.3 +42 -0
  1690. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_get_info.3 +46 -0
  1691. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_get_type.3 +38 -0
  1692. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_import_url.3 +45 -0
  1693. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_init.3 +38 -0
  1694. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_list_import_url.3 +47 -0
  1695. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_list_import_url2.3 +48 -0
  1696. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_set_pin_function.3 +41 -0
  1697. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_deinit.3 +33 -0
  1698. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_export_url.3 +40 -0
  1699. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_generate.3 +48 -0
  1700. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_generate2.3 +58 -0
  1701. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_get_info.3 +44 -0
  1702. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_get_pk_algorithm.3 +39 -0
  1703. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_import_url.3 +43 -0
  1704. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_init.3 +36 -0
  1705. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_set_pin_function.3 +41 -0
  1706. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_status.3 +38 -0
  1707. data/vendor/local/share/man/man3/gnutls_pkcs11_reinit.3 +40 -0
  1708. data/vendor/local/share/man/man3/gnutls_pkcs11_set_pin_function.3 +39 -0
  1709. data/vendor/local/share/man/man3/gnutls_pkcs11_set_token_function.3 +38 -0
  1710. data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_flags.3 +41 -0
  1711. data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_info.3 +45 -0
  1712. data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_mechanism.3 +43 -0
  1713. data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_random.3 +42 -0
  1714. data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_url.3 +44 -0
  1715. data/vendor/local/share/man/man3/gnutls_pkcs11_token_init.3 +42 -0
  1716. data/vendor/local/share/man/man3/gnutls_pkcs11_token_set_pin.3 +44 -0
  1717. data/vendor/local/share/man/man3/gnutls_pkcs11_type_get_name.3 +40 -0
  1718. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_decrypt.3 +39 -0
  1719. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_deinit.3 +33 -0
  1720. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_encrypt.3 +40 -0
  1721. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_count.3 +36 -0
  1722. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_data.3 +42 -0
  1723. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_friendly_name.3 +42 -0
  1724. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_key_id.3 +42 -0
  1725. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_type.3 +37 -0
  1726. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_init.3 +38 -0
  1727. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_crl.3 +39 -0
  1728. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_crt.3 +39 -0
  1729. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_data.3 +41 -0
  1730. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_friendly_name.3 +43 -0
  1731. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_key_id.3 +43 -0
  1732. data/vendor/local/share/man/man3/gnutls_pkcs12_deinit.3 +33 -0
  1733. data/vendor/local/share/man/man3/gnutls_pkcs12_export.3 +50 -0
  1734. data/vendor/local/share/man/man3/gnutls_pkcs12_export2.3 +47 -0
  1735. data/vendor/local/share/man/man3/gnutls_pkcs12_generate_mac.3 +38 -0
  1736. data/vendor/local/share/man/man3/gnutls_pkcs12_get_bag.3 +43 -0
  1737. data/vendor/local/share/man/man3/gnutls_pkcs12_import.3 +45 -0
  1738. data/vendor/local/share/man/man3/gnutls_pkcs12_init.3 +38 -0
  1739. data/vendor/local/share/man/man3/gnutls_pkcs12_set_bag.3 +38 -0
  1740. data/vendor/local/share/man/man3/gnutls_pkcs12_simple_parse.3 +84 -0
  1741. data/vendor/local/share/man/man3/gnutls_pkcs12_verify_mac.3 +38 -0
  1742. data/vendor/local/share/man/man3/gnutls_pkcs7_deinit.3 +33 -0
  1743. data/vendor/local/share/man/man3/gnutls_pkcs7_delete_crl.3 +39 -0
  1744. data/vendor/local/share/man/man3/gnutls_pkcs7_delete_crt.3 +39 -0
  1745. data/vendor/local/share/man/man3/gnutls_pkcs7_export.3 +50 -0
  1746. data/vendor/local/share/man/man3/gnutls_pkcs7_export2.3 +47 -0
  1747. data/vendor/local/share/man/man3/gnutls_pkcs7_get_crl_count.3 +37 -0
  1748. data/vendor/local/share/man/man3/gnutls_pkcs7_get_crl_raw.3 +45 -0
  1749. data/vendor/local/share/man/man3/gnutls_pkcs7_get_crt_count.3 +37 -0
  1750. data/vendor/local/share/man/man3/gnutls_pkcs7_get_crt_raw.3 +49 -0
  1751. data/vendor/local/share/man/man3/gnutls_pkcs7_import.3 +44 -0
  1752. data/vendor/local/share/man/man3/gnutls_pkcs7_init.3 +38 -0
  1753. data/vendor/local/share/man/man3/gnutls_pkcs7_set_crl.3 +39 -0
  1754. data/vendor/local/share/man/man3/gnutls_pkcs7_set_crl_raw.3 +38 -0
  1755. data/vendor/local/share/man/man3/gnutls_pkcs7_set_crt.3 +40 -0
  1756. data/vendor/local/share/man/man3/gnutls_pkcs7_set_crt_raw.3 +39 -0
  1757. data/vendor/local/share/man/man3/gnutls_prf.3 +64 -0
  1758. data/vendor/local/share/man/man3/gnutls_prf_raw.3 +62 -0
  1759. data/vendor/local/share/man/man3/gnutls_priority_certificate_type_list.3 +40 -0
  1760. data/vendor/local/share/man/man3/gnutls_priority_cipher_list.3 +40 -0
  1761. data/vendor/local/share/man/man3/gnutls_priority_compression_list.3 +40 -0
  1762. data/vendor/local/share/man/man3/gnutls_priority_deinit.3 +33 -0
  1763. data/vendor/local/share/man/man3/gnutls_priority_ecc_curve_list.3 +40 -0
  1764. data/vendor/local/share/man/man3/gnutls_priority_get_cipher_suite_index.3 +45 -0
  1765. data/vendor/local/share/man/man3/gnutls_priority_init.3 +102 -0
  1766. data/vendor/local/share/man/man3/gnutls_priority_kx_list.3 +40 -0
  1767. data/vendor/local/share/man/man3/gnutls_priority_mac_list.3 +40 -0
  1768. data/vendor/local/share/man/man3/gnutls_priority_protocol_list.3 +40 -0
  1769. data/vendor/local/share/man/man3/gnutls_priority_set.3 +38 -0
  1770. data/vendor/local/share/man/man3/gnutls_priority_set_direct.3 +45 -0
  1771. data/vendor/local/share/man/man3/gnutls_priority_sign_list.3 +40 -0
  1772. data/vendor/local/share/man/man3/gnutls_privkey_decrypt_data.3 +45 -0
  1773. data/vendor/local/share/man/man3/gnutls_privkey_deinit.3 +35 -0
  1774. data/vendor/local/share/man/man3/gnutls_privkey_get_pk_algorithm.3 +42 -0
  1775. data/vendor/local/share/man/man3/gnutls_privkey_get_type.3 +39 -0
  1776. data/vendor/local/share/man/man3/gnutls_privkey_import_ext.3 +52 -0
  1777. data/vendor/local/share/man/man3/gnutls_privkey_import_ext2.3 +58 -0
  1778. data/vendor/local/share/man/man3/gnutls_privkey_import_openpgp.3 +50 -0
  1779. data/vendor/local/share/man/man3/gnutls_privkey_import_openpgp_raw.3 +47 -0
  1780. data/vendor/local/share/man/man3/gnutls_privkey_import_pkcs11.3 +49 -0
  1781. data/vendor/local/share/man/man3/gnutls_privkey_import_pkcs11_url.3 +41 -0
  1782. data/vendor/local/share/man/man3/gnutls_privkey_import_tpm_raw.3 +51 -0
  1783. data/vendor/local/share/man/man3/gnutls_privkey_import_tpm_url.3 +55 -0
  1784. data/vendor/local/share/man/man3/gnutls_privkey_import_url.3 +44 -0
  1785. data/vendor/local/share/man/man3/gnutls_privkey_import_x509.3 +49 -0
  1786. data/vendor/local/share/man/man3/gnutls_privkey_import_x509_raw.3 +50 -0
  1787. data/vendor/local/share/man/man3/gnutls_privkey_init.3 +38 -0
  1788. data/vendor/local/share/man/man3/gnutls_privkey_set_pin_function.3 +44 -0
  1789. data/vendor/local/share/man/man3/gnutls_privkey_sign_data.3 +52 -0
  1790. data/vendor/local/share/man/man3/gnutls_privkey_sign_hash.3 +55 -0
  1791. data/vendor/local/share/man/man3/gnutls_privkey_sign_raw_data.3 +51 -0
  1792. data/vendor/local/share/man/man3/gnutls_privkey_status.3 +41 -0
  1793. data/vendor/local/share/man/man3/gnutls_protocol_get_id.3 +36 -0
  1794. data/vendor/local/share/man/man3/gnutls_protocol_get_name.3 +36 -0
  1795. data/vendor/local/share/man/man3/gnutls_protocol_get_version.3 +35 -0
  1796. data/vendor/local/share/man/man3/gnutls_protocol_list.3 +38 -0
  1797. data/vendor/local/share/man/man3/gnutls_protocol_set_priority.3 +39 -0
  1798. data/vendor/local/share/man/man3/gnutls_psk_allocate_client_credentials.3 +37 -0
  1799. data/vendor/local/share/man/man3/gnutls_psk_allocate_server_credentials.3 +37 -0
  1800. data/vendor/local/share/man/man3/gnutls_psk_client_get_hint.3 +39 -0
  1801. data/vendor/local/share/man/man3/gnutls_psk_free_client_credentials.3 +34 -0
  1802. data/vendor/local/share/man/man3/gnutls_psk_free_server_credentials.3 +34 -0
  1803. data/vendor/local/share/man/man3/gnutls_psk_server_get_username.3 +36 -0
  1804. data/vendor/local/share/man/man3/gnutls_psk_set_client_credentials.3 +48 -0
  1805. data/vendor/local/share/man/man3/gnutls_psk_set_client_credentials_function.3 +48 -0
  1806. data/vendor/local/share/man/man3/gnutls_psk_set_params_function.3 +37 -0
  1807. data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_file.3 +40 -0
  1808. data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_function.3 +48 -0
  1809. data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_hint.3 +43 -0
  1810. data/vendor/local/share/man/man3/gnutls_psk_set_server_dh_params.3 +37 -0
  1811. data/vendor/local/share/man/man3/gnutls_psk_set_server_params_function.3 +37 -0
  1812. data/vendor/local/share/man/man3/gnutls_pubkey_deinit.3 +35 -0
  1813. data/vendor/local/share/man/man3/gnutls_pubkey_encrypt_data.3 +45 -0
  1814. data/vendor/local/share/man/man3/gnutls_pubkey_export.3 +54 -0
  1815. data/vendor/local/share/man/man3/gnutls_pubkey_export2.3 +49 -0
  1816. data/vendor/local/share/man/man3/gnutls_pubkey_get_key_id.3 +52 -0
  1817. data/vendor/local/share/man/man3/gnutls_pubkey_get_key_usage.3 +40 -0
  1818. data/vendor/local/share/man/man3/gnutls_pubkey_get_openpgp_key_id.3 +56 -0
  1819. data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_algorithm.3 +42 -0
  1820. data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_dsa_raw.3 +47 -0
  1821. data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_ecc_raw.3 +45 -0
  1822. data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_ecc_x962.3 +43 -0
  1823. data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_rsa_raw.3 +43 -0
  1824. data/vendor/local/share/man/man3/gnutls_pubkey_get_preferred_hash_algorithm.3 +47 -0
  1825. data/vendor/local/share/man/man3/gnutls_pubkey_get_verify_algorithm.3 +43 -0
  1826. data/vendor/local/share/man/man3/gnutls_pubkey_import.3 +46 -0
  1827. data/vendor/local/share/man/man3/gnutls_pubkey_import_dsa_raw.3 +48 -0
  1828. data/vendor/local/share/man/man3/gnutls_pubkey_import_ecc_raw.3 +45 -0
  1829. data/vendor/local/share/man/man3/gnutls_pubkey_import_ecc_x962.3 +43 -0
  1830. data/vendor/local/share/man/man3/gnutls_pubkey_import_openpgp.3 +45 -0
  1831. data/vendor/local/share/man/man3/gnutls_pubkey_import_openpgp_raw.3 +47 -0
  1832. data/vendor/local/share/man/man3/gnutls_pubkey_import_pkcs11.3 +43 -0
  1833. data/vendor/local/share/man/man3/gnutls_pubkey_import_pkcs11_url.3 +43 -0
  1834. data/vendor/local/share/man/man3/gnutls_pubkey_import_privkey.3 +45 -0
  1835. data/vendor/local/share/man/man3/gnutls_pubkey_import_rsa_raw.3 +43 -0
  1836. data/vendor/local/share/man/man3/gnutls_pubkey_import_tpm_raw.3 +50 -0
  1837. data/vendor/local/share/man/man3/gnutls_pubkey_import_tpm_url.3 +51 -0
  1838. data/vendor/local/share/man/man3/gnutls_pubkey_import_url.3 +43 -0
  1839. data/vendor/local/share/man/man3/gnutls_pubkey_import_x509.3 +43 -0
  1840. data/vendor/local/share/man/man3/gnutls_pubkey_import_x509_crq.3 +43 -0
  1841. data/vendor/local/share/man/man3/gnutls_pubkey_import_x509_raw.3 +45 -0
  1842. data/vendor/local/share/man/man3/gnutls_pubkey_init.3 +38 -0
  1843. data/vendor/local/share/man/man3/gnutls_pubkey_print.3 +48 -0
  1844. data/vendor/local/share/man/man3/gnutls_pubkey_set_key_usage.3 +42 -0
  1845. data/vendor/local/share/man/man3/gnutls_pubkey_set_pin_function.3 +44 -0
  1846. data/vendor/local/share/man/man3/gnutls_pubkey_verify_data.3 +48 -0
  1847. data/vendor/local/share/man/man3/gnutls_pubkey_verify_data2.3 +47 -0
  1848. data/vendor/local/share/man/man3/gnutls_pubkey_verify_hash.3 +48 -0
  1849. data/vendor/local/share/man/man3/gnutls_pubkey_verify_hash2.3 +47 -0
  1850. data/vendor/local/share/man/man3/gnutls_random_art.3 +47 -0
  1851. data/vendor/local/share/man/man3/gnutls_range_split.3 +47 -0
  1852. data/vendor/local/share/man/man3/gnutls_record_can_use_length_hiding.3 +42 -0
  1853. data/vendor/local/share/man/man3/gnutls_record_check_corked.3 +38 -0
  1854. data/vendor/local/share/man/man3/gnutls_record_check_pending.3 +38 -0
  1855. data/vendor/local/share/man/man3/gnutls_record_cork.3 +39 -0
  1856. data/vendor/local/share/man/man3/gnutls_record_disable_padding.3 +39 -0
  1857. data/vendor/local/share/man/man3/gnutls_record_get_direction.3 +44 -0
  1858. data/vendor/local/share/man/man3/gnutls_record_get_discarded.3 +38 -0
  1859. data/vendor/local/share/man/man3/gnutls_record_get_max_size.3 +36 -0
  1860. data/vendor/local/share/man/man3/gnutls_record_overhead_size.3 +36 -0
  1861. data/vendor/local/share/man/man3/gnutls_record_recv.3 +56 -0
  1862. data/vendor/local/share/man/man3/gnutls_record_recv_seq.3 +50 -0
  1863. data/vendor/local/share/man/man3/gnutls_record_send.3 +64 -0
  1864. data/vendor/local/share/man/man3/gnutls_record_send_range.3 +51 -0
  1865. data/vendor/local/share/man/man3/gnutls_record_set_max_empty_records.3 +41 -0
  1866. data/vendor/local/share/man/man3/gnutls_record_set_max_size.3 +48 -0
  1867. data/vendor/local/share/man/man3/gnutls_record_set_timeout.3 +43 -0
  1868. data/vendor/local/share/man/man3/gnutls_record_uncork.3 +49 -0
  1869. data/vendor/local/share/man/man3/gnutls_rehandshake.3 +56 -0
  1870. data/vendor/local/share/man/man3/gnutls_rnd.3 +42 -0
  1871. data/vendor/local/share/man/man3/gnutls_rnd_refresh.3 +38 -0
  1872. data/vendor/local/share/man/man3/gnutls_rsa_export_get_modulus_bits.3 +36 -0
  1873. data/vendor/local/share/man/man3/gnutls_rsa_export_get_pubkey.3 +42 -0
  1874. data/vendor/local/share/man/man3/gnutls_rsa_params_cpy.3 +38 -0
  1875. data/vendor/local/share/man/man3/gnutls_rsa_params_deinit.3 +33 -0
  1876. data/vendor/local/share/man/man3/gnutls_rsa_params_export_pkcs1.3 +46 -0
  1877. data/vendor/local/share/man/man3/gnutls_rsa_params_export_raw.3 +51 -0
  1878. data/vendor/local/share/man/man3/gnutls_rsa_params_generate2.3 +44 -0
  1879. data/vendor/local/share/man/man3/gnutls_rsa_params_import_pkcs1.3 +43 -0
  1880. data/vendor/local/share/man/man3/gnutls_rsa_params_import_raw.3 +49 -0
  1881. data/vendor/local/share/man/man3/gnutls_rsa_params_init.3 +35 -0
  1882. data/vendor/local/share/man/man3/gnutls_safe_renegotiation_status.3 +39 -0
  1883. data/vendor/local/share/man/man3/gnutls_sec_param_get_name.3 +38 -0
  1884. data/vendor/local/share/man/man3/gnutls_sec_param_to_pk_bits.3 +43 -0
  1885. data/vendor/local/share/man/man3/gnutls_server_name_get.3 +59 -0
  1886. data/vendor/local/share/man/man3/gnutls_server_name_set.3 +50 -0
  1887. data/vendor/local/share/man/man3/gnutls_session_channel_binding.3 +45 -0
  1888. data/vendor/local/share/man/man3/gnutls_session_enable_compatibility_mode.3 +42 -0
  1889. data/vendor/local/share/man/man3/gnutls_session_force_valid.3 +37 -0
  1890. data/vendor/local/share/man/man3/gnutls_session_get_data.3 +43 -0
  1891. data/vendor/local/share/man/man3/gnutls_session_get_data2.3 +42 -0
  1892. data/vendor/local/share/man/man3/gnutls_session_get_desc.3 +38 -0
  1893. data/vendor/local/share/man/man3/gnutls_session_get_id.3 +47 -0
  1894. data/vendor/local/share/man/man3/gnutls_session_get_id2.3 +41 -0
  1895. data/vendor/local/share/man/man3/gnutls_session_get_ptr.3 +37 -0
  1896. data/vendor/local/share/man/man3/gnutls_session_get_random.3 +44 -0
  1897. data/vendor/local/share/man/man3/gnutls_session_is_resumed.3 +36 -0
  1898. data/vendor/local/share/man/man3/gnutls_session_resumption_requested.3 +36 -0
  1899. data/vendor/local/share/man/man3/gnutls_session_set_data.3 +47 -0
  1900. data/vendor/local/share/man/man3/gnutls_session_set_id.3 +42 -0
  1901. data/vendor/local/share/man/man3/gnutls_session_set_premaster.3 +55 -0
  1902. data/vendor/local/share/man/man3/gnutls_session_set_ptr.3 +37 -0
  1903. data/vendor/local/share/man/man3/gnutls_session_ticket_enable_client.3 +39 -0
  1904. data/vendor/local/share/man/man3/gnutls_session_ticket_enable_server.3 +42 -0
  1905. data/vendor/local/share/man/man3/gnutls_session_ticket_key_generate.3 +40 -0
  1906. data/vendor/local/share/man/man3/gnutls_set_default_export_priority.3 +46 -0
  1907. data/vendor/local/share/man/man3/gnutls_set_default_priority.3 +45 -0
  1908. data/vendor/local/share/man/man3/gnutls_sign_algorithm_get.3 +38 -0
  1909. data/vendor/local/share/man/man3/gnutls_sign_algorithm_get_client.3 +38 -0
  1910. data/vendor/local/share/man/man3/gnutls_sign_algorithm_get_requested.3 +50 -0
  1911. data/vendor/local/share/man/man3/gnutls_sign_callback_get.3 +40 -0
  1912. data/vendor/local/share/man/man3/gnutls_sign_callback_set.3 +50 -0
  1913. data/vendor/local/share/man/man3/gnutls_sign_get_hash_algorithm.3 +38 -0
  1914. data/vendor/local/share/man/man3/gnutls_sign_get_id.3 +36 -0
  1915. data/vendor/local/share/man/man3/gnutls_sign_get_name.3 +36 -0
  1916. data/vendor/local/share/man/man3/gnutls_sign_get_pk_algorithm.3 +38 -0
  1917. data/vendor/local/share/man/man3/gnutls_sign_is_secure.3 +33 -0
  1918. data/vendor/local/share/man/man3/gnutls_sign_list.3 +36 -0
  1919. data/vendor/local/share/man/man3/gnutls_srp_allocate_client_credentials.3 +37 -0
  1920. data/vendor/local/share/man/man3/gnutls_srp_allocate_server_credentials.3 +37 -0
  1921. data/vendor/local/share/man/man3/gnutls_srp_base64_decode.3 +46 -0
  1922. data/vendor/local/share/man/man3/gnutls_srp_base64_decode_alloc.3 +44 -0
  1923. data/vendor/local/share/man/man3/gnutls_srp_base64_encode.3 +46 -0
  1924. data/vendor/local/share/man/man3/gnutls_srp_base64_encode_alloc.3 +45 -0
  1925. data/vendor/local/share/man/man3/gnutls_srp_free_client_credentials.3 +34 -0
  1926. data/vendor/local/share/man/man3/gnutls_srp_free_server_credentials.3 +34 -0
  1927. data/vendor/local/share/man/man3/gnutls_srp_server_get_username.3 +37 -0
  1928. data/vendor/local/share/man/man3/gnutls_srp_set_client_credentials.3 +44 -0
  1929. data/vendor/local/share/man/man3/gnutls_srp_set_client_credentials_function.3 +53 -0
  1930. data/vendor/local/share/man/man3/gnutls_srp_set_prime_bits.3 +45 -0
  1931. data/vendor/local/share/man/man3/gnutls_srp_set_server_credentials_file.3 +43 -0
  1932. data/vendor/local/share/man/man3/gnutls_srp_set_server_credentials_function.3 +56 -0
  1933. data/vendor/local/share/man/man3/gnutls_srp_verifier.3 +51 -0
  1934. data/vendor/local/share/man/man3/gnutls_srtp_get_keys.3 +54 -0
  1935. data/vendor/local/share/man/man3/gnutls_srtp_get_mki.3 +42 -0
  1936. data/vendor/local/share/man/man3/gnutls_srtp_get_profile_id.3 +40 -0
  1937. data/vendor/local/share/man/man3/gnutls_srtp_get_profile_name.3 +39 -0
  1938. data/vendor/local/share/man/man3/gnutls_srtp_get_selected_profile.3 +40 -0
  1939. data/vendor/local/share/man/man3/gnutls_srtp_set_mki.3 +41 -0
  1940. data/vendor/local/share/man/man3/gnutls_srtp_set_profile.3 +41 -0
  1941. data/vendor/local/share/man/man3/gnutls_srtp_set_profile_direct.3 +44 -0
  1942. data/vendor/local/share/man/man3/gnutls_store_commitment.3 +60 -0
  1943. data/vendor/local/share/man/man3/gnutls_store_pubkey.3 +58 -0
  1944. data/vendor/local/share/man/man3/gnutls_strerror.3 +39 -0
  1945. data/vendor/local/share/man/man3/gnutls_strerror_name.3 +40 -0
  1946. data/vendor/local/share/man/man3/gnutls_supplemental_get_name.3 +37 -0
  1947. data/vendor/local/share/man/man3/gnutls_tdb_deinit.3 +33 -0
  1948. data/vendor/local/share/man/man3/gnutls_tdb_init.3 +36 -0
  1949. data/vendor/local/share/man/man3/gnutls_tdb_set_store_commitment_func.3 +40 -0
  1950. data/vendor/local/share/man/man3/gnutls_tdb_set_store_func.3 +40 -0
  1951. data/vendor/local/share/man/man3/gnutls_tdb_set_verify_func.3 +39 -0
  1952. data/vendor/local/share/man/man3/gnutls_tpm_get_registered.3 +39 -0
  1953. data/vendor/local/share/man/man3/gnutls_tpm_key_list_deinit.3 +35 -0
  1954. data/vendor/local/share/man/man3/gnutls_tpm_key_list_get_url.3 +47 -0
  1955. data/vendor/local/share/man/man3/gnutls_tpm_privkey_delete.3 +41 -0
  1956. data/vendor/local/share/man/man3/gnutls_tpm_privkey_generate.3 +64 -0
  1957. data/vendor/local/share/man/man3/gnutls_transport_get_int.3 +39 -0
  1958. data/vendor/local/share/man/man3/gnutls_transport_get_int2.3 +41 -0
  1959. data/vendor/local/share/man/man3/gnutls_transport_get_ptr.3 +37 -0
  1960. data/vendor/local/share/man/man3/gnutls_transport_get_ptr2.3 +39 -0
  1961. data/vendor/local/share/man/man3/gnutls_transport_set_errno.3 +43 -0
  1962. data/vendor/local/share/man/man3/gnutls_transport_set_errno_function.3 +42 -0
  1963. data/vendor/local/share/man/man3/gnutls_transport_set_int.3 +38 -0
  1964. data/vendor/local/share/man/man3/gnutls_transport_set_int2.3 +42 -0
  1965. data/vendor/local/share/man/man3/gnutls_transport_set_ptr.3 +37 -0
  1966. data/vendor/local/share/man/man3/gnutls_transport_set_ptr2.3 +40 -0
  1967. data/vendor/local/share/man/man3/gnutls_transport_set_pull_function.3 +42 -0
  1968. data/vendor/local/share/man/man3/gnutls_transport_set_pull_timeout_function.3 +48 -0
  1969. data/vendor/local/share/man/man3/gnutls_transport_set_push_function.3 +44 -0
  1970. data/vendor/local/share/man/man3/gnutls_transport_set_vec_push_function.3 +43 -0
  1971. data/vendor/local/share/man/man3/gnutls_url_is_supported.3 +39 -0
  1972. data/vendor/local/share/man/man3/gnutls_verify_stored_pubkey.3 +67 -0
  1973. data/vendor/local/share/man/man3/gnutls_x509_crl_check_issuer.3 +39 -0
  1974. data/vendor/local/share/man/man3/gnutls_x509_crl_deinit.3 +33 -0
  1975. data/vendor/local/share/man/man3/gnutls_x509_crl_export.3 +49 -0
  1976. data/vendor/local/share/man/man3/gnutls_x509_crl_export2.3 +47 -0
  1977. data/vendor/local/share/man/man3/gnutls_x509_crl_get_authority_key_gn_serial.3 +57 -0
  1978. data/vendor/local/share/man/man3/gnutls_x509_crl_get_authority_key_id.3 +51 -0
  1979. data/vendor/local/share/man/man3/gnutls_x509_crl_get_crt_count.3 +36 -0
  1980. data/vendor/local/share/man/man3/gnutls_x509_crl_get_crt_serial.3 +45 -0
  1981. data/vendor/local/share/man/man3/gnutls_x509_crl_get_dn_oid.3 +46 -0
  1982. data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_data.3 +53 -0
  1983. data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_info.3 +56 -0
  1984. data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_oid.3 +48 -0
  1985. data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn.3 +46 -0
  1986. data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn2.3 +43 -0
  1987. data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn_by_oid.3 +58 -0
  1988. data/vendor/local/share/man/man3/gnutls_x509_crl_get_next_update.3 +37 -0
  1989. data/vendor/local/share/man/man3/gnutls_x509_crl_get_number.3 +46 -0
  1990. data/vendor/local/share/man/man3/gnutls_x509_crl_get_raw_issuer_dn.3 +40 -0
  1991. data/vendor/local/share/man/man3/gnutls_x509_crl_get_signature.3 +40 -0
  1992. data/vendor/local/share/man/man3/gnutls_x509_crl_get_signature_algorithm.3 +37 -0
  1993. data/vendor/local/share/man/man3/gnutls_x509_crl_get_this_update.3 +35 -0
  1994. data/vendor/local/share/man/man3/gnutls_x509_crl_get_version.3 +35 -0
  1995. data/vendor/local/share/man/man3/gnutls_x509_crl_import.3 +43 -0
  1996. data/vendor/local/share/man/man3/gnutls_x509_crl_init.3 +40 -0
  1997. data/vendor/local/share/man/man3/gnutls_x509_crl_list_import.3 +49 -0
  1998. data/vendor/local/share/man/man3/gnutls_x509_crl_list_import2.3 +50 -0
  1999. data/vendor/local/share/man/man3/gnutls_x509_crl_print.3 +43 -0
  2000. data/vendor/local/share/man/man3/gnutls_x509_crl_privkey_sign.3 +50 -0
  2001. data/vendor/local/share/man/man3/gnutls_x509_crl_set_authority_key_id.3 +45 -0
  2002. data/vendor/local/share/man/man3/gnutls_x509_crl_set_crt.3 +40 -0
  2003. data/vendor/local/share/man/man3/gnutls_x509_crl_set_crt_serial.3 +42 -0
  2004. data/vendor/local/share/man/man3/gnutls_x509_crl_set_next_update.3 +38 -0
  2005. data/vendor/local/share/man/man3/gnutls_x509_crl_set_number.3 +44 -0
  2006. data/vendor/local/share/man/man3/gnutls_x509_crl_set_this_update.3 +38 -0
  2007. data/vendor/local/share/man/man3/gnutls_x509_crl_set_version.3 +40 -0
  2008. data/vendor/local/share/man/man3/gnutls_x509_crl_sign.3 +43 -0
  2009. data/vendor/local/share/man/man3/gnutls_x509_crl_sign2.3 +48 -0
  2010. data/vendor/local/share/man/man3/gnutls_x509_crl_verify.3 +51 -0
  2011. data/vendor/local/share/man/man3/gnutls_x509_crq_deinit.3 +34 -0
  2012. data/vendor/local/share/man/man3/gnutls_x509_crq_export.3 +51 -0
  2013. data/vendor/local/share/man/man3/gnutls_x509_crq_export2.3 +48 -0
  2014. data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_by_oid.3 +50 -0
  2015. data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_data.3 +53 -0
  2016. data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_info.3 +54 -0
  2017. data/vendor/local/share/man/man3/gnutls_x509_crq_get_basic_constraints.3 +52 -0
  2018. data/vendor/local/share/man/man3/gnutls_x509_crq_get_challenge_password.3 +42 -0
  2019. data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn.3 +45 -0
  2020. data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn2.3 +43 -0
  2021. data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn_by_oid.3 +57 -0
  2022. data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn_oid.3 +44 -0
  2023. data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_by_oid.3 +53 -0
  2024. data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_data.3 +53 -0
  2025. data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_info.3 +56 -0
  2026. data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_id.3 +52 -0
  2027. data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_purpose_oid.3 +50 -0
  2028. data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_rsa_raw.3 +44 -0
  2029. data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_usage.3 +50 -0
  2030. data/vendor/local/share/man/man3/gnutls_x509_crq_get_pk_algorithm.3 +43 -0
  2031. data/vendor/local/share/man/man3/gnutls_x509_crq_get_private_key_usage_period.3 +43 -0
  2032. data/vendor/local/share/man/man3/gnutls_x509_crq_get_subject_alt_name.3 +60 -0
  2033. data/vendor/local/share/man/man3/gnutls_x509_crq_get_subject_alt_othername_oid.3 +58 -0
  2034. data/vendor/local/share/man/man3/gnutls_x509_crq_get_version.3 +37 -0
  2035. data/vendor/local/share/man/man3/gnutls_x509_crq_import.3 +45 -0
  2036. data/vendor/local/share/man/man3/gnutls_x509_crq_init.3 +37 -0
  2037. data/vendor/local/share/man/man3/gnutls_x509_crq_print.3 +45 -0
  2038. data/vendor/local/share/man/man3/gnutls_x509_crq_privkey_sign.3 +52 -0
  2039. data/vendor/local/share/man/man3/gnutls_x509_crq_set_attribute_by_oid.3 +47 -0
  2040. data/vendor/local/share/man/man3/gnutls_x509_crq_set_basic_constraints.3 +44 -0
  2041. data/vendor/local/share/man/man3/gnutls_x509_crq_set_challenge_password.3 +39 -0
  2042. data/vendor/local/share/man/man3/gnutls_x509_crq_set_dn.3 +41 -0
  2043. data/vendor/local/share/man/man3/gnutls_x509_crq_set_dn_by_oid.3 +52 -0
  2044. data/vendor/local/share/man/man3/gnutls_x509_crq_set_key.3 +39 -0
  2045. data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_purpose_oid.3 +46 -0
  2046. data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_rsa_raw.3 +43 -0
  2047. data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_usage.3 +40 -0
  2048. data/vendor/local/share/man/man3/gnutls_x509_crq_set_private_key_usage_period.3 +40 -0
  2049. data/vendor/local/share/man/man3/gnutls_x509_crq_set_pubkey.3 +41 -0
  2050. data/vendor/local/share/man/man3/gnutls_x509_crq_set_subject_alt_name.3 +48 -0
  2051. data/vendor/local/share/man/man3/gnutls_x509_crq_set_version.3 +39 -0
  2052. data/vendor/local/share/man/man3/gnutls_x509_crq_sign.3 +41 -0
  2053. data/vendor/local/share/man/man3/gnutls_x509_crq_sign2.3 +50 -0
  2054. data/vendor/local/share/man/man3/gnutls_x509_crq_verify.3 +41 -0
  2055. data/vendor/local/share/man/man3/gnutls_x509_crt_check_hostname.3 +52 -0
  2056. data/vendor/local/share/man/man3/gnutls_x509_crt_check_issuer.3 +40 -0
  2057. data/vendor/local/share/man/man3/gnutls_x509_crt_check_revocation.3 +41 -0
  2058. data/vendor/local/share/man/man3/gnutls_x509_crt_cpy_crl_dist_points.3 +40 -0
  2059. data/vendor/local/share/man/man3/gnutls_x509_crt_deinit.3 +33 -0
  2060. data/vendor/local/share/man/man3/gnutls_x509_crt_export.3 +50 -0
  2061. data/vendor/local/share/man/man3/gnutls_x509_crt_export2.3 +46 -0
  2062. data/vendor/local/share/man/man3/gnutls_x509_crt_get_activation_time.3 +36 -0
  2063. data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_info_access.3 +100 -0
  2064. data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_key_gn_serial.3 +58 -0
  2065. data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_key_id.3 +48 -0
  2066. data/vendor/local/share/man/man3/gnutls_x509_crt_get_basic_constraints.3 +50 -0
  2067. data/vendor/local/share/man/man3/gnutls_x509_crt_get_ca_status.3 +45 -0
  2068. data/vendor/local/share/man/man3/gnutls_x509_crt_get_crl_dist_points.3 +53 -0
  2069. data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn.3 +46 -0
  2070. data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn2.3 +43 -0
  2071. data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn_by_oid.3 +60 -0
  2072. data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn_oid.3 +48 -0
  2073. data/vendor/local/share/man/man3/gnutls_x509_crt_get_expiration_time.3 +39 -0
  2074. data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_by_oid.3 +50 -0
  2075. data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_data.3 +51 -0
  2076. data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_info.3 +55 -0
  2077. data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_oid.3 +48 -0
  2078. data/vendor/local/share/man/man3/gnutls_x509_crt_get_fingerprint.3 +46 -0
  2079. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer.3 +42 -0
  2080. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_name.3 +64 -0
  2081. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_name2.3 +58 -0
  2082. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_othername_oid.3 +61 -0
  2083. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn.3 +46 -0
  2084. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn2.3 +43 -0
  2085. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn_by_oid.3 +60 -0
  2086. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn_oid.3 +48 -0
  2087. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_unique_id.3 +47 -0
  2088. data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_id.3 +50 -0
  2089. data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_purpose_oid.3 +51 -0
  2090. data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_usage.3 +48 -0
  2091. data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_algorithm.3 +44 -0
  2092. data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_dsa_raw.3 +45 -0
  2093. data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_rsa_raw.3 +41 -0
  2094. data/vendor/local/share/man/man3/gnutls_x509_crt_get_policy.3 +48 -0
  2095. data/vendor/local/share/man/man3/gnutls_x509_crt_get_preferred_hash_algorithm.3 +46 -0
  2096. data/vendor/local/share/man/man3/gnutls_x509_crt_get_private_key_usage_period.3 +44 -0
  2097. data/vendor/local/share/man/man3/gnutls_x509_crt_get_proxy.3 +49 -0
  2098. data/vendor/local/share/man/man3/gnutls_x509_crt_get_raw_dn.3 +39 -0
  2099. data/vendor/local/share/man/man3/gnutls_x509_crt_get_raw_issuer_dn.3 +39 -0
  2100. data/vendor/local/share/man/man3/gnutls_x509_crt_get_serial.3 +43 -0
  2101. data/vendor/local/share/man/man3/gnutls_x509_crt_get_signature.3 +40 -0
  2102. data/vendor/local/share/man/man3/gnutls_x509_crt_get_signature_algorithm.3 +38 -0
  2103. data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject.3 +42 -0
  2104. data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name.3 +61 -0
  2105. data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name2.3 +56 -0
  2106. data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_othername_oid.3 +59 -0
  2107. data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_key_id.3 +44 -0
  2108. data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_unique_id.3 +45 -0
  2109. data/vendor/local/share/man/man3/gnutls_x509_crt_get_verify_algorithm.3 +45 -0
  2110. data/vendor/local/share/man/man3/gnutls_x509_crt_get_version.3 +35 -0
  2111. data/vendor/local/share/man/man3/gnutls_x509_crt_import.3 +45 -0
  2112. data/vendor/local/share/man/man3/gnutls_x509_crt_import_pkcs11.3 +41 -0
  2113. data/vendor/local/share/man/man3/gnutls_x509_crt_import_pkcs11_url.3 +44 -0
  2114. data/vendor/local/share/man/man3/gnutls_x509_crt_init.3 +36 -0
  2115. data/vendor/local/share/man/man3/gnutls_x509_crt_list_import.3 +54 -0
  2116. data/vendor/local/share/man/man3/gnutls_x509_crt_list_import2.3 +53 -0
  2117. data/vendor/local/share/man/man3/gnutls_x509_crt_list_import_pkcs11.3 +45 -0
  2118. data/vendor/local/share/man/man3/gnutls_x509_crt_list_verify.3 +62 -0
  2119. data/vendor/local/share/man/man3/gnutls_x509_crt_print.3 +48 -0
  2120. data/vendor/local/share/man/man3/gnutls_x509_crt_privkey_sign.3 +48 -0
  2121. data/vendor/local/share/man/man3/gnutls_x509_crt_set_activation_time.3 +39 -0
  2122. data/vendor/local/share/man/man3/gnutls_x509_crt_set_authority_info_access.3 +50 -0
  2123. data/vendor/local/share/man/man3/gnutls_x509_crt_set_authority_key_id.3 +41 -0
  2124. data/vendor/local/share/man/man3/gnutls_x509_crt_set_basic_constraints.3 +42 -0
  2125. data/vendor/local/share/man/man3/gnutls_x509_crt_set_ca_status.3 +40 -0
  2126. data/vendor/local/share/man/man3/gnutls_x509_crt_set_crl_dist_points.3 +42 -0
  2127. data/vendor/local/share/man/man3/gnutls_x509_crt_set_crl_dist_points2.3 +46 -0
  2128. data/vendor/local/share/man/man3/gnutls_x509_crt_set_crq.3 +40 -0
  2129. data/vendor/local/share/man/man3/gnutls_x509_crt_set_crq_extensions.3 +41 -0
  2130. data/vendor/local/share/man/man3/gnutls_x509_crt_set_dn.3 +41 -0
  2131. data/vendor/local/share/man/man3/gnutls_x509_crt_set_dn_by_oid.3 +52 -0
  2132. data/vendor/local/share/man/man3/gnutls_x509_crt_set_expiration_time.3 +40 -0
  2133. data/vendor/local/share/man/man3/gnutls_x509_crt_set_extension_by_oid.3 +46 -0
  2134. data/vendor/local/share/man/man3/gnutls_x509_crt_set_issuer_dn.3 +41 -0
  2135. data/vendor/local/share/man/man3/gnutls_x509_crt_set_issuer_dn_by_oid.3 +56 -0
  2136. data/vendor/local/share/man/man3/gnutls_x509_crt_set_key.3 +40 -0
  2137. data/vendor/local/share/man/man3/gnutls_x509_crt_set_key_purpose_oid.3 +44 -0
  2138. data/vendor/local/share/man/man3/gnutls_x509_crt_set_key_usage.3 +38 -0
  2139. data/vendor/local/share/man/man3/gnutls_x509_crt_set_pin_function.3 +44 -0
  2140. data/vendor/local/share/man/man3/gnutls_x509_crt_set_policy.3 +47 -0
  2141. data/vendor/local/share/man/man3/gnutls_x509_crt_set_private_key_usage_period.3 +40 -0
  2142. data/vendor/local/share/man/man3/gnutls_x509_crt_set_proxy.3 +46 -0
  2143. data/vendor/local/share/man/man3/gnutls_x509_crt_set_proxy_dn.3 +47 -0
  2144. data/vendor/local/share/man/man3/gnutls_x509_crt_set_pubkey.3 +41 -0
  2145. data/vendor/local/share/man/man3/gnutls_x509_crt_set_serial.3 +45 -0
  2146. data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_alt_name.3 +47 -0
  2147. data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_alternative_name.3 +45 -0
  2148. data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_key_id.3 +41 -0
  2149. data/vendor/local/share/man/man3/gnutls_x509_crt_set_version.3 +45 -0
  2150. data/vendor/local/share/man/man3/gnutls_x509_crt_sign.3 +41 -0
  2151. data/vendor/local/share/man/man3/gnutls_x509_crt_sign2.3 +48 -0
  2152. data/vendor/local/share/man/man3/gnutls_x509_crt_verify.3 +46 -0
  2153. data/vendor/local/share/man/man3/gnutls_x509_crt_verify_data.3 +46 -0
  2154. data/vendor/local/share/man/man3/gnutls_x509_crt_verify_hash.3 +46 -0
  2155. data/vendor/local/share/man/man3/gnutls_x509_dn_deinit.3 +36 -0
  2156. data/vendor/local/share/man/man3/gnutls_x509_dn_export.3 +50 -0
  2157. data/vendor/local/share/man/man3/gnutls_x509_dn_export2.3 +47 -0
  2158. data/vendor/local/share/man/man3/gnutls_x509_dn_get_rdn_ava.3 +58 -0
  2159. data/vendor/local/share/man/man3/gnutls_x509_dn_import.3 +43 -0
  2160. data/vendor/local/share/man/man3/gnutls_x509_dn_init.3 +41 -0
  2161. data/vendor/local/share/man/man3/gnutls_x509_dn_oid_known.3 +41 -0
  2162. data/vendor/local/share/man/man3/gnutls_x509_dn_oid_name.3 +42 -0
  2163. data/vendor/local/share/man/man3/gnutls_x509_policy_release.3 +36 -0
  2164. data/vendor/local/share/man/man3/gnutls_x509_privkey_cpy.3 +39 -0
  2165. data/vendor/local/share/man/man3/gnutls_x509_privkey_deinit.3 +33 -0
  2166. data/vendor/local/share/man/man3/gnutls_x509_privkey_export.3 +52 -0
  2167. data/vendor/local/share/man/man3/gnutls_x509_privkey_export2.3 +49 -0
  2168. data/vendor/local/share/man/man3/gnutls_x509_privkey_export2_pkcs8.3 +58 -0
  2169. data/vendor/local/share/man/man3/gnutls_x509_privkey_export_dsa_raw.3 +48 -0
  2170. data/vendor/local/share/man/man3/gnutls_x509_privkey_export_ecc_raw.3 +48 -0
  2171. data/vendor/local/share/man/man3/gnutls_x509_privkey_export_pkcs8.3 +61 -0
  2172. data/vendor/local/share/man/man3/gnutls_x509_privkey_export_rsa_raw.3 +50 -0
  2173. data/vendor/local/share/man/man3/gnutls_x509_privkey_export_rsa_raw2.3 +56 -0
  2174. data/vendor/local/share/man/man3/gnutls_x509_privkey_fix.3 +37 -0
  2175. data/vendor/local/share/man/man3/gnutls_x509_privkey_generate.3 +49 -0
  2176. data/vendor/local/share/man/man3/gnutls_x509_privkey_get_key_id.3 +50 -0
  2177. data/vendor/local/share/man/man3/gnutls_x509_privkey_get_pk_algorithm.3 +37 -0
  2178. data/vendor/local/share/man/man3/gnutls_x509_privkey_get_pk_algorithm2.3 +39 -0
  2179. data/vendor/local/share/man/man3/gnutls_x509_privkey_import.3 +46 -0
  2180. data/vendor/local/share/man/man3/gnutls_x509_privkey_import2.3 +52 -0
  2181. data/vendor/local/share/man/man3/gnutls_x509_privkey_import_dsa_raw.3 +48 -0
  2182. data/vendor/local/share/man/man3/gnutls_x509_privkey_import_ecc_raw.3 +48 -0
  2183. data/vendor/local/share/man/man3/gnutls_x509_privkey_import_openssl.3 +48 -0
  2184. data/vendor/local/share/man/man3/gnutls_x509_privkey_import_pkcs8.3 +59 -0
  2185. data/vendor/local/share/man/man3/gnutls_x509_privkey_import_rsa_raw.3 +50 -0
  2186. data/vendor/local/share/man/man3/gnutls_x509_privkey_import_rsa_raw2.3 +54 -0
  2187. data/vendor/local/share/man/man3/gnutls_x509_privkey_init.3 +36 -0
  2188. data/vendor/local/share/man/man3/gnutls_x509_privkey_sec_param.3 +39 -0
  2189. data/vendor/local/share/man/man3/gnutls_x509_privkey_sign_data.3 +59 -0
  2190. data/vendor/local/share/man/man3/gnutls_x509_privkey_sign_hash.3 +45 -0
  2191. data/vendor/local/share/man/man3/gnutls_x509_privkey_verify_params.3 +36 -0
  2192. data/vendor/local/share/man/man3/gnutls_x509_rdn_get.3 +44 -0
  2193. data/vendor/local/share/man/man3/gnutls_x509_rdn_get_by_oid.3 +51 -0
  2194. data/vendor/local/share/man/man3/gnutls_x509_rdn_get_oid.3 +47 -0
  2195. data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_cas.3 +45 -0
  2196. data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_crls.3 +50 -0
  2197. data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_named_crt.3 +56 -0
  2198. data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_system_trust.3 +43 -0
  2199. data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_trust_file.3 +49 -0
  2200. data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_trust_mem.3 +48 -0
  2201. data/vendor/local/share/man/man3/gnutls_x509_trust_list_deinit.3 +37 -0
  2202. data/vendor/local/share/man/man3/gnutls_x509_trust_list_get_issuer.3 +45 -0
  2203. data/vendor/local/share/man/man3/gnutls_x509_trust_list_init.3 +40 -0
  2204. data/vendor/local/share/man/man3/gnutls_x509_trust_list_remove_cas.3 +48 -0
  2205. data/vendor/local/share/man/man3/gnutls_x509_trust_list_remove_trust_file.3 +46 -0
  2206. data/vendor/local/share/man/man3/gnutls_x509_trust_list_remove_trust_mem.3 +44 -0
  2207. data/vendor/local/share/man/man3/gnutls_x509_trust_list_verify_crt.3 +50 -0
  2208. data/vendor/local/share/man/man3/gnutls_x509_trust_list_verify_named_crt.3 +53 -0
  2209. data/vendor/local/share/man/man3/iconv.3 +92 -0
  2210. data/vendor/local/share/man/man3/iconv_close.3 +31 -0
  2211. data/vendor/local/share/man/man3/iconv_open.3 +205 -0
  2212. data/vendor/local/share/man/man3/iconv_open_into.3 +47 -0
  2213. data/vendor/local/share/man/man3/iconvctl.3 +67 -0
  2214. data/vendor/local/share/man/man3/ngettext.3 +60 -0
  2215. data/vendor/local/share/man/man3/textdomain.3 +57 -0
  2216. data/vendor/local/share/man/man3/xssl_client_init.3 +56 -0
  2217. data/vendor/local/share/man/man3/xssl_cred_deinit.3 +37 -0
  2218. data/vendor/local/share/man/man3/xssl_cred_init.3 +48 -0
  2219. data/vendor/local/share/man/man3/xssl_deinit.3 +36 -0
  2220. data/vendor/local/share/man/man3/xssl_flush.3 +39 -0
  2221. data/vendor/local/share/man/man3/xssl_get_session.3 +35 -0
  2222. data/vendor/local/share/man/man3/xssl_getdelim.3 +49 -0
  2223. data/vendor/local/share/man/man3/xssl_printf.3 +45 -0
  2224. data/vendor/local/share/man/man3/xssl_read.3 +43 -0
  2225. data/vendor/local/share/man/man3/xssl_server_init.3 +50 -0
  2226. data/vendor/local/share/man/man3/xssl_sinit.3 +44 -0
  2227. data/vendor/local/share/man/man3/xssl_write.3 +47 -0
  2228. metadata +2311 -0
@@ -0,0 +1,27 @@
1
+ # -*- Mode: Python -*-
2
+
3
+ # GDBus - GLib D-Bus Library
4
+ #
5
+ # Copyright (C) 2008-2011 Red Hat, Inc.
6
+ #
7
+ # This library is free software; you can redistribute it and/or
8
+ # modify it under the terms of the GNU Lesser General Public
9
+ # License as published by the Free Software Foundation; either
10
+ # version 2 of the License, or (at your option) any later version.
11
+ #
12
+ # This library 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 GNU
15
+ # Lesser General Public License for more details.
16
+ #
17
+ # You should have received a copy of the GNU Lesser General
18
+ # Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
19
+ #
20
+ # Author: David Zeuthen <davidz@redhat.com>
21
+
22
+ import os
23
+
24
+ builddir = os.environ.get('UNINSTALLED_GLIB_BUILDDIR')
25
+
26
+ if builddir is not None:
27
+ __path__.append(os.path.abspath(os.path.join(builddir, 'gio', 'gdbus-2.0', 'codegen')))
@@ -0,0 +1,3412 @@
1
+ # -*- Mode: Python -*-
2
+
3
+ # GDBus - GLib D-Bus Library
4
+ #
5
+ # Copyright (C) 2008-2011 Red Hat, Inc.
6
+ #
7
+ # This library is free software; you can redistribute it and/or
8
+ # modify it under the terms of the GNU Lesser General Public
9
+ # License as published by the Free Software Foundation; either
10
+ # version 2 of the License, or (at your option) any later version.
11
+ #
12
+ # This library 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 GNU
15
+ # Lesser General Public License for more details.
16
+ #
17
+ # You should have received a copy of the GNU Lesser General
18
+ # Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
19
+ #
20
+ # Author: David Zeuthen <davidz@redhat.com>
21
+
22
+ import sys
23
+
24
+ from . import config
25
+ from . import utils
26
+ from . import dbustypes
27
+
28
+ # ----------------------------------------------------------------------------------------------------
29
+
30
+ class CodeGenerator:
31
+ def __init__(self, ifaces, namespace, interface_prefix, generate_objmanager, docbook_gen, h, c):
32
+ self.docbook_gen = docbook_gen
33
+ self.generate_objmanager = generate_objmanager
34
+ self.ifaces = ifaces
35
+ self.h = h
36
+ self.c = c
37
+ self.namespace = namespace
38
+ if len(namespace) > 0:
39
+ if utils.is_ugly_case(namespace):
40
+ self.namespace = namespace.replace('_', '')
41
+ self.ns_upper = namespace.upper() + '_'
42
+ self.ns_lower = namespace.lower() + '_'
43
+ else:
44
+ self.ns_upper = utils.camel_case_to_uscore(namespace).upper() + '_'
45
+ self.ns_lower = utils.camel_case_to_uscore(namespace).lower() + '_'
46
+ else:
47
+ self.ns_upper = ''
48
+ self.ns_lower = ''
49
+ self.interface_prefix = interface_prefix
50
+ self.header_guard = self.h.name.upper().replace('.', '_').replace('-', '_').replace('/', '_')
51
+
52
+ # ----------------------------------------------------------------------------------------------------
53
+
54
+ def generate_intro(self):
55
+ self.c.write('/*\n'
56
+ ' * Generated by gdbus-codegen %s. DO NOT EDIT.\n'
57
+ ' *\n'
58
+ ' * The license of this code is the same as for the source it was derived from.\n'
59
+ ' */\n'
60
+ '\n'
61
+ %(config.VERSION))
62
+ self.c.write('#ifdef HAVE_CONFIG_H\n'
63
+ '# include "config.h"\n'
64
+ '#endif\n'
65
+ '\n'
66
+ '#include "%s"\n'
67
+ '\n'
68
+ '#include <string.h>\n'
69
+ %(self.h.name))
70
+
71
+ self.c.write('#ifdef G_OS_UNIX\n'
72
+ '# include <gio/gunixfdlist.h>\n'
73
+ '#endif\n'
74
+ '\n')
75
+
76
+ self.c.write('typedef struct\n'
77
+ '{\n'
78
+ ' GDBusArgInfo parent_struct;\n'
79
+ ' gboolean use_gvariant;\n'
80
+ '} _ExtendedGDBusArgInfo;\n'
81
+ '\n')
82
+
83
+ self.c.write('typedef struct\n'
84
+ '{\n'
85
+ ' GDBusMethodInfo parent_struct;\n'
86
+ ' const gchar *signal_name;\n'
87
+ ' gboolean pass_fdlist;\n'
88
+ '} _ExtendedGDBusMethodInfo;\n'
89
+ '\n')
90
+
91
+ self.c.write('typedef struct\n'
92
+ '{\n'
93
+ ' GDBusSignalInfo parent_struct;\n'
94
+ ' const gchar *signal_name;\n'
95
+ '} _ExtendedGDBusSignalInfo;\n'
96
+ '\n')
97
+
98
+ self.c.write('typedef struct\n'
99
+ '{\n'
100
+ ' GDBusPropertyInfo parent_struct;\n'
101
+ ' const gchar *hyphen_name;\n'
102
+ ' gboolean use_gvariant;\n'
103
+ '} _ExtendedGDBusPropertyInfo;\n'
104
+ '\n')
105
+
106
+ self.c.write('typedef struct\n'
107
+ '{\n'
108
+ ' GDBusInterfaceInfo parent_struct;\n'
109
+ ' const gchar *hyphen_name;\n'
110
+ '} _ExtendedGDBusInterfaceInfo;\n'
111
+ '\n')
112
+
113
+ self.c.write('typedef struct\n'
114
+ '{\n'
115
+ ' const _ExtendedGDBusPropertyInfo *info;\n'
116
+ ' guint prop_id;\n'
117
+ ' GValue orig_value; /* the value before the change */\n'
118
+ '} ChangedProperty;\n'
119
+ '\n'
120
+ 'static void\n'
121
+ '_changed_property_free (ChangedProperty *data)\n'
122
+ '{\n'
123
+ ' g_value_unset (&data->orig_value);\n'
124
+ ' g_free (data);\n'
125
+ '}\n'
126
+ '\n')
127
+
128
+ self.c.write('static gboolean\n'
129
+ '_g_strv_equal0 (gchar **a, gchar **b)\n'
130
+ '{\n'
131
+ ' gboolean ret = FALSE;\n'
132
+ ' guint n;\n'
133
+ ' if (a == NULL && b == NULL)\n'
134
+ ' {\n'
135
+ ' ret = TRUE;\n'
136
+ ' goto out;\n'
137
+ ' }\n'
138
+ ' if (a == NULL || b == NULL)\n'
139
+ ' goto out;\n'
140
+ ' if (g_strv_length (a) != g_strv_length (b))\n'
141
+ ' goto out;\n'
142
+ ' for (n = 0; a[n] != NULL; n++)\n'
143
+ ' if (g_strcmp0 (a[n], b[n]) != 0)\n'
144
+ ' goto out;\n'
145
+ ' ret = TRUE;\n'
146
+ 'out:\n'
147
+ ' return ret;\n'
148
+ '}\n'
149
+ '\n')
150
+
151
+ self.c.write('static gboolean\n'
152
+ '_g_variant_equal0 (GVariant *a, GVariant *b)\n'
153
+ '{\n'
154
+ ' gboolean ret = FALSE;\n'
155
+ ' if (a == NULL && b == NULL)\n'
156
+ ' {\n'
157
+ ' ret = TRUE;\n'
158
+ ' goto out;\n'
159
+ ' }\n'
160
+ ' if (a == NULL || b == NULL)\n'
161
+ ' goto out;\n'
162
+ ' ret = g_variant_equal (a, b);\n'
163
+ 'out:\n'
164
+ ' return ret;\n'
165
+ '}\n'
166
+ '\n')
167
+
168
+ # simplified - only supports the types we use
169
+ self.c.write('G_GNUC_UNUSED static gboolean\n'
170
+ '_g_value_equal (const GValue *a, const GValue *b)\n'
171
+ '{\n'
172
+ ' gboolean ret = FALSE;\n'
173
+ ' g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));\n'
174
+ ' switch (G_VALUE_TYPE (a))\n'
175
+ ' {\n'
176
+ ' case G_TYPE_BOOLEAN:\n'
177
+ ' ret = (g_value_get_boolean (a) == g_value_get_boolean (b));\n'
178
+ ' break;\n'
179
+ ' case G_TYPE_UCHAR:\n'
180
+ ' ret = (g_value_get_uchar (a) == g_value_get_uchar (b));\n'
181
+ ' break;\n'
182
+ ' case G_TYPE_INT:\n'
183
+ ' ret = (g_value_get_int (a) == g_value_get_int (b));\n'
184
+ ' break;\n'
185
+ ' case G_TYPE_UINT:\n'
186
+ ' ret = (g_value_get_uint (a) == g_value_get_uint (b));\n'
187
+ ' break;\n'
188
+ ' case G_TYPE_INT64:\n'
189
+ ' ret = (g_value_get_int64 (a) == g_value_get_int64 (b));\n'
190
+ ' break;\n'
191
+ ' case G_TYPE_UINT64:\n'
192
+ ' ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));\n'
193
+ ' break;\n'
194
+ ' case G_TYPE_DOUBLE:\n'
195
+ ' {\n'
196
+ ' /* Avoid -Wfloat-equal warnings by doing a direct bit compare */\n'
197
+ ' gdouble da = g_value_get_double (a);\n'
198
+ ' gdouble db = g_value_get_double (b);\n'
199
+ ' ret = memcmp (&da, &db, sizeof (gdouble)) == 0;\n'
200
+ ' }\n'
201
+ ' break;\n'
202
+ ' case G_TYPE_STRING:\n'
203
+ ' ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);\n'
204
+ ' break;\n'
205
+ ' case G_TYPE_VARIANT:\n'
206
+ ' ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));\n'
207
+ ' break;\n'
208
+ ' default:\n'
209
+ ' if (G_VALUE_TYPE (a) == G_TYPE_STRV)\n'
210
+ ' ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));\n'
211
+ ' else\n'
212
+ ' g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));\n'
213
+ ' break;\n'
214
+ ' }\n'
215
+ ' return ret;\n'
216
+ '}\n'
217
+ '\n')
218
+
219
+ self.h.write('/*\n'
220
+ ' * Generated by gdbus-codegen %s. DO NOT EDIT.\n'
221
+ ' *\n'
222
+ ' * The license of this code is the same as for the source it was derived from.\n'
223
+ ' */\n'
224
+ '\n'
225
+ '#ifndef __%s__\n'
226
+ '#define __%s__\n'
227
+ '\n'%(config.VERSION, self.header_guard, self.header_guard))
228
+ self.h.write('#include <gio/gio.h>\n'
229
+ '\n'
230
+ 'G_BEGIN_DECLS\n'
231
+ '\n')
232
+
233
+ # ----------------------------------------------------------------------------------------------------
234
+
235
+ def declare_types(self):
236
+ for i in self.ifaces:
237
+ self.h.write('\n')
238
+ self.h.write('/* ------------------------------------------------------------------------ */\n')
239
+ self.h.write('/* Declarations for %s */\n'%i.name)
240
+ self.h.write('\n')
241
+
242
+ # First the GInterface
243
+ self.h.write('#define %sTYPE_%s (%s_get_type ())\n'%(i.ns_upper, i.name_upper, i.name_lower))
244
+ self.h.write('#define %s%s(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), %sTYPE_%s, %s))\n'%(i.ns_upper, i.name_upper, i.ns_upper, i.name_upper, i.camel_name))
245
+ self.h.write('#define %sIS_%s(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), %sTYPE_%s))\n'%(i.ns_upper, i.name_upper, i.ns_upper, i.name_upper))
246
+ self.h.write('#define %s%s_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), %sTYPE_%s, %sIface))\n'%(i.ns_upper, i.name_upper, i.ns_upper, i.name_upper, i.camel_name))
247
+ self.h.write('\n')
248
+ self.h.write('struct _%s;\n'%(i.camel_name))
249
+ self.h.write('typedef struct _%s %s;\n'%(i.camel_name, i.camel_name))
250
+ self.h.write('typedef struct _%sIface %sIface;\n'%(i.camel_name, i.camel_name))
251
+ self.h.write('\n')
252
+ self.h.write('struct _%sIface\n'%(i.camel_name))
253
+ self.h.write('{\n')
254
+ self.h.write(' GTypeInterface parent_iface;\n')
255
+
256
+ function_pointers = {}
257
+
258
+ # vfuncs for methods
259
+ if len(i.methods) > 0:
260
+ self.h.write('\n')
261
+ for m in i.methods:
262
+ unix_fd = False
263
+ if utils.lookup_annotation(m.annotations, 'org.gtk.GDBus.C.UnixFD'):
264
+ unix_fd = True
265
+ key = (m.since, '_method_%s'%m.name_lower)
266
+ value = ' gboolean (*handle_%s) (\n'%(m.name_lower)
267
+ value += ' %s *object,\n'%(i.camel_name)
268
+ value += ' GDBusMethodInvocation *invocation'%()
269
+ if unix_fd:
270
+ value += ',\n GUnixFDList *fd_list'
271
+ for a in m.in_args:
272
+ value += ',\n %sarg_%s'%(a.ctype_in, a.name)
273
+ value += ');\n\n'
274
+ function_pointers[key] = value
275
+
276
+ # vfuncs for signals
277
+ if len(i.signals) > 0:
278
+ self.h.write('\n')
279
+ for s in i.signals:
280
+ key = (s.since, '_signal_%s'%s.name_lower)
281
+ value = ' void (*%s) (\n'%(s.name_lower)
282
+ value += ' %s *object'%(i.camel_name)
283
+ for a in s.args:
284
+ value += ',\n %sarg_%s'%(a.ctype_in, a.name)
285
+ value += ');\n\n'
286
+ function_pointers[key] = value
287
+
288
+ # vfuncs for properties
289
+ if len(i.properties) > 0:
290
+ self.h.write('\n')
291
+ for p in i.properties:
292
+ key = (p.since, '_prop_get_%s'%p.name_lower)
293
+ value = ' %s (*get_%s) (%s *object);\n\n'%(p.arg.ctype_in, p.name_lower, i.camel_name)
294
+ function_pointers[key] = value
295
+
296
+ # Sort according to @since tag, then name.. this ensures
297
+ # that the function pointers don't change order assuming
298
+ # judicious use of @since
299
+ #
300
+ # Also use a proper version comparison function so e.g.
301
+ # 10.0 comes after 2.0.
302
+ #
303
+ # See https://bugzilla.gnome.org/show_bug.cgi?id=647577#c5
304
+ # for discussion
305
+ for key in sorted(function_pointers.keys(), key=utils.version_cmp_key):
306
+ self.h.write('%s'%function_pointers[key])
307
+
308
+ self.h.write('};\n')
309
+ self.h.write('\n')
310
+ self.h.write('GType %s_get_type (void) G_GNUC_CONST;\n'%(i.name_lower))
311
+ self.h.write('\n')
312
+ self.h.write('GDBusInterfaceInfo *%s_interface_info (void);\n'%(i.name_lower))
313
+ self.h.write('guint %s_override_properties (GObjectClass *klass, guint property_id_begin);\n'%(i.name_lower))
314
+ self.h.write('\n')
315
+
316
+ # Then method call completion functions
317
+ if len(i.methods) > 0:
318
+ self.h.write('\n')
319
+ self.h.write('/* D-Bus method call completion functions: */\n')
320
+ for m in i.methods:
321
+ unix_fd = False
322
+ if utils.lookup_annotation(m.annotations, 'org.gtk.GDBus.C.UnixFD'):
323
+ unix_fd = True
324
+ if m.deprecated:
325
+ self.h.write('G_GNUC_DEPRECATED ')
326
+ self.h.write('void %s_complete_%s (\n'
327
+ ' %s *object,\n'
328
+ ' GDBusMethodInvocation *invocation'%(i.name_lower, m.name_lower, i.camel_name))
329
+ if unix_fd:
330
+ self.h.write(',\n GUnixFDList *fd_list')
331
+ for a in m.out_args:
332
+ self.h.write(',\n %s%s'%(a.ctype_in, a.name))
333
+ self.h.write(');\n')
334
+ self.h.write('\n')
335
+ self.h.write('\n')
336
+
337
+ # Then signal emission functions
338
+ if len(i.signals) > 0:
339
+ self.h.write('\n')
340
+ self.h.write('/* D-Bus signal emissions functions: */\n')
341
+ for s in i.signals:
342
+ if s.deprecated:
343
+ self.h.write('G_GNUC_DEPRECATED ')
344
+ self.h.write('void %s_emit_%s (\n'
345
+ ' %s *object'%(i.name_lower, s.name_lower, i.camel_name))
346
+ for a in s.args:
347
+ self.h.write(',\n %sarg_%s'%(a.ctype_in, a.name))
348
+ self.h.write(');\n')
349
+ self.h.write('\n')
350
+ self.h.write('\n')
351
+
352
+ # Then method call declarations
353
+ if len(i.methods) > 0:
354
+ self.h.write('\n')
355
+ self.h.write('/* D-Bus method calls: */\n')
356
+ for m in i.methods:
357
+ unix_fd = False
358
+ if utils.lookup_annotation(m.annotations, 'org.gtk.GDBus.C.UnixFD'):
359
+ unix_fd = True
360
+ # async begin
361
+ if m.deprecated:
362
+ self.h.write('G_GNUC_DEPRECATED ')
363
+ self.h.write('void %s_call_%s (\n'
364
+ ' %s *proxy'%(i.name_lower, m.name_lower, i.camel_name))
365
+ for a in m.in_args:
366
+ self.h.write(',\n %sarg_%s'%(a.ctype_in, a.name))
367
+ if unix_fd:
368
+ self.h.write(',\n GUnixFDList *fd_list')
369
+ self.h.write(',\n'
370
+ ' GCancellable *cancellable,\n'
371
+ ' GAsyncReadyCallback callback,\n'
372
+ ' gpointer user_data);\n')
373
+ self.h.write('\n')
374
+ # async finish
375
+ if m.deprecated:
376
+ self.h.write('G_GNUC_DEPRECATED ')
377
+ self.h.write('gboolean %s_call_%s_finish (\n'
378
+ ' %s *proxy'%(i.name_lower, m.name_lower, i.camel_name))
379
+ for a in m.out_args:
380
+ self.h.write(',\n %sout_%s'%(a.ctype_out, a.name))
381
+ if unix_fd:
382
+ self.h.write(',\n GUnixFDList **out_fd_list')
383
+ self.h.write(',\n'
384
+ ' GAsyncResult *res,\n'
385
+ ' GError **error);\n')
386
+ self.h.write('\n')
387
+ # sync
388
+ if m.deprecated:
389
+ self.h.write('G_GNUC_DEPRECATED ')
390
+ self.h.write('gboolean %s_call_%s_sync (\n'
391
+ ' %s *proxy'%(i.name_lower, m.name_lower, i.camel_name))
392
+ for a in m.in_args:
393
+ self.h.write(',\n %sarg_%s'%(a.ctype_in, a.name))
394
+ if unix_fd:
395
+ self.h.write(',\n GUnixFDList *fd_list')
396
+ for a in m.out_args:
397
+ self.h.write(',\n %sout_%s'%(a.ctype_out, a.name))
398
+ if unix_fd:
399
+ self.h.write(',\n GUnixFDList **out_fd_list')
400
+ self.h.write(',\n'
401
+ ' GCancellable *cancellable,\n'
402
+ ' GError **error);\n')
403
+ self.h.write('\n')
404
+ self.h.write('\n')
405
+
406
+ # Then the property accessor declarations
407
+ if len(i.properties) > 0:
408
+ self.h.write('\n')
409
+ self.h.write('/* D-Bus property accessors: */\n')
410
+ for p in i.properties:
411
+ # getter
412
+ if p.deprecated:
413
+ self.h.write('G_GNUC_DEPRECATED ')
414
+ self.h.write('%s%s_get_%s (%s *object);\n'%(p.arg.ctype_in, i.name_lower, p.name_lower, i.camel_name))
415
+ if p.arg.free_func != None:
416
+ if p.deprecated:
417
+ self.h.write('G_GNUC_DEPRECATED ')
418
+ self.h.write('%s%s_dup_%s (%s *object);\n'%(p.arg.ctype_in_dup, i.name_lower, p.name_lower, i.camel_name))
419
+ # setter
420
+ if p.deprecated:
421
+ self.h.write('G_GNUC_DEPRECATED ')
422
+ self.h.write('void %s_set_%s (%s *object, %svalue);\n'%(i.name_lower, p.name_lower, i.camel_name, p.arg.ctype_in, ))
423
+ self.h.write('\n')
424
+
425
+ # Then the proxy
426
+ self.h.write('\n')
427
+ self.h.write('/* ---- */\n')
428
+ self.h.write('\n')
429
+ self.h.write('#define %sTYPE_%s_PROXY (%s_proxy_get_type ())\n'%(i.ns_upper, i.name_upper, i.name_lower))
430
+ self.h.write('#define %s%s_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), %sTYPE_%s_PROXY, %sProxy))\n'%(i.ns_upper, i.name_upper, i.ns_upper, i.name_upper, i.camel_name))
431
+ self.h.write('#define %s%s_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), %sTYPE_%s_PROXY, %sProxyClass))\n'%(i.ns_upper, i.name_upper, i.ns_upper, i.name_upper, i.camel_name))
432
+ self.h.write('#define %s%s_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), %sTYPE_%s_PROXY, %sProxyClass))\n'%(i.ns_upper, i.name_upper, i.ns_upper, i.name_upper, i.camel_name))
433
+ self.h.write('#define %sIS_%s_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), %sTYPE_%s_PROXY))\n'%(i.ns_upper, i.name_upper, i.ns_upper, i.name_upper))
434
+ self.h.write('#define %sIS_%s_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), %sTYPE_%s_PROXY))\n'%(i.ns_upper, i.name_upper, i.ns_upper, i.name_upper))
435
+ self.h.write('\n')
436
+ self.h.write('typedef struct _%sProxy %sProxy;\n'%(i.camel_name, i.camel_name))
437
+ self.h.write('typedef struct _%sProxyClass %sProxyClass;\n'%(i.camel_name, i.camel_name))
438
+ self.h.write('typedef struct _%sProxyPrivate %sProxyPrivate;\n'%(i.camel_name, i.camel_name))
439
+ self.h.write('\n')
440
+ self.h.write('struct _%sProxy\n'%(i.camel_name))
441
+ self.h.write('{\n')
442
+ self.h.write(' /*< private >*/\n')
443
+ self.h.write(' GDBusProxy parent_instance;\n')
444
+ self.h.write(' %sProxyPrivate *priv;\n'%(i.camel_name))
445
+ self.h.write('};\n')
446
+ self.h.write('\n')
447
+ self.h.write('struct _%sProxyClass\n'%(i.camel_name))
448
+ self.h.write('{\n')
449
+ self.h.write(' GDBusProxyClass parent_class;\n')
450
+ self.h.write('};\n')
451
+ self.h.write('\n')
452
+ self.h.write('GType %s_proxy_get_type (void) G_GNUC_CONST;\n'%(i.name_lower))
453
+
454
+ self.h.write('\n')
455
+ if i.deprecated:
456
+ self.h.write('G_GNUC_DEPRECATED ')
457
+ self.h.write('void %s_proxy_new (\n'
458
+ ' GDBusConnection *connection,\n'
459
+ ' GDBusProxyFlags flags,\n'
460
+ ' const gchar *name,\n'
461
+ ' const gchar *object_path,\n'
462
+ ' GCancellable *cancellable,\n'
463
+ ' GAsyncReadyCallback callback,\n'
464
+ ' gpointer user_data);\n'
465
+ %(i.name_lower))
466
+ if i.deprecated:
467
+ self.h.write('G_GNUC_DEPRECATED ')
468
+ self.h.write('%s *%s_proxy_new_finish (\n'
469
+ ' GAsyncResult *res,\n'
470
+ ' GError **error);\n'
471
+ %(i.camel_name, i.name_lower))
472
+ if i.deprecated:
473
+ self.h.write('G_GNUC_DEPRECATED ')
474
+ self.h.write('%s *%s_proxy_new_sync (\n'
475
+ ' GDBusConnection *connection,\n'
476
+ ' GDBusProxyFlags flags,\n'
477
+ ' const gchar *name,\n'
478
+ ' const gchar *object_path,\n'
479
+ ' GCancellable *cancellable,\n'
480
+ ' GError **error);\n'
481
+ %(i.camel_name, i.name_lower))
482
+ self.h.write('\n')
483
+ if i.deprecated:
484
+ self.h.write('G_GNUC_DEPRECATED ')
485
+ self.h.write('void %s_proxy_new_for_bus (\n'
486
+ ' GBusType bus_type,\n'
487
+ ' GDBusProxyFlags flags,\n'
488
+ ' const gchar *name,\n'
489
+ ' const gchar *object_path,\n'
490
+ ' GCancellable *cancellable,\n'
491
+ ' GAsyncReadyCallback callback,\n'
492
+ ' gpointer user_data);\n'
493
+ %(i.name_lower))
494
+ if i.deprecated:
495
+ self.h.write('G_GNUC_DEPRECATED ')
496
+ self.h.write('%s *%s_proxy_new_for_bus_finish (\n'
497
+ ' GAsyncResult *res,\n'
498
+ ' GError **error);\n'
499
+ %(i.camel_name, i.name_lower))
500
+ if i.deprecated:
501
+ self.h.write('G_GNUC_DEPRECATED ')
502
+ self.h.write('%s *%s_proxy_new_for_bus_sync (\n'
503
+ ' GBusType bus_type,\n'
504
+ ' GDBusProxyFlags flags,\n'
505
+ ' const gchar *name,\n'
506
+ ' const gchar *object_path,\n'
507
+ ' GCancellable *cancellable,\n'
508
+ ' GError **error);\n'
509
+ %(i.camel_name, i.name_lower))
510
+ self.h.write('\n')
511
+
512
+ # Then the skeleton
513
+ self.h.write('\n')
514
+ self.h.write('/* ---- */\n')
515
+ self.h.write('\n')
516
+ self.h.write('#define %sTYPE_%s_SKELETON (%s_skeleton_get_type ())\n'%(i.ns_upper, i.name_upper, i.name_lower))
517
+ self.h.write('#define %s%s_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), %sTYPE_%s_SKELETON, %sSkeleton))\n'%(i.ns_upper, i.name_upper, i.ns_upper, i.name_upper, i.camel_name))
518
+ self.h.write('#define %s%s_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), %sTYPE_%s_SKELETON, %sSkeletonClass))\n'%(i.ns_upper, i.name_upper, i.ns_upper, i.name_upper, i.camel_name))
519
+ self.h.write('#define %s%s_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), %sTYPE_%s_SKELETON, %sSkeletonClass))\n'%(i.ns_upper, i.name_upper, i.ns_upper, i.name_upper, i.camel_name))
520
+ self.h.write('#define %sIS_%s_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), %sTYPE_%s_SKELETON))\n'%(i.ns_upper, i.name_upper, i.ns_upper, i.name_upper))
521
+ self.h.write('#define %sIS_%s_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), %sTYPE_%s_SKELETON))\n'%(i.ns_upper, i.name_upper, i.ns_upper, i.name_upper))
522
+ self.h.write('\n')
523
+ self.h.write('typedef struct _%sSkeleton %sSkeleton;\n'%(i.camel_name, i.camel_name))
524
+ self.h.write('typedef struct _%sSkeletonClass %sSkeletonClass;\n'%(i.camel_name, i.camel_name))
525
+ self.h.write('typedef struct _%sSkeletonPrivate %sSkeletonPrivate;\n'%(i.camel_name, i.camel_name))
526
+ self.h.write('\n')
527
+ self.h.write('struct _%sSkeleton\n'%(i.camel_name))
528
+ self.h.write('{\n')
529
+ self.h.write(' /*< private >*/\n')
530
+ self.h.write(' GDBusInterfaceSkeleton parent_instance;\n')
531
+ self.h.write(' %sSkeletonPrivate *priv;\n'%(i.camel_name))
532
+ self.h.write('};\n')
533
+ self.h.write('\n')
534
+ self.h.write('struct _%sSkeletonClass\n'%(i.camel_name))
535
+ self.h.write('{\n')
536
+ self.h.write(' GDBusInterfaceSkeletonClass parent_class;\n')
537
+ self.h.write('};\n')
538
+ self.h.write('\n')
539
+ self.h.write('GType %s_skeleton_get_type (void) G_GNUC_CONST;\n'%(i.name_lower))
540
+ self.h.write('\n')
541
+ if i.deprecated:
542
+ self.h.write('G_GNUC_DEPRECATED ')
543
+ self.h.write('%s *%s_skeleton_new (void);\n'%(i.camel_name, i.name_lower))
544
+
545
+ self.h.write('\n')
546
+
547
+ # Finally, the Object, ObjectProxy, ObjectSkeleton and ObjectManagerClient
548
+ if self.generate_objmanager:
549
+ self.h.write('\n')
550
+ self.h.write('/* ---- */\n')
551
+ self.h.write('\n')
552
+ self.h.write('#define %sTYPE_OBJECT (%sobject_get_type ())\n'%(self.ns_upper, self.ns_lower))
553
+ self.h.write('#define %sOBJECT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), %sTYPE_OBJECT, %sObject))\n'%(self.ns_upper, self.ns_upper, self.namespace))
554
+ self.h.write('#define %sIS_OBJECT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), %sTYPE_OBJECT))\n'%(self.ns_upper, self.ns_upper))
555
+ self.h.write('#define %sOBJECT_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), %sTYPE_OBJECT, %sObject))\n'%(self.ns_upper, self.ns_upper, self.namespace))
556
+ self.h.write('\n')
557
+ self.h.write('struct _%sObject;\n'%(self.namespace))
558
+ self.h.write('typedef struct _%sObject %sObject;\n'%(self.namespace, self.namespace))
559
+ self.h.write('typedef struct _%sObjectIface %sObjectIface;\n'%(self.namespace, self.namespace))
560
+ self.h.write('\n')
561
+ self.h.write('struct _%sObjectIface\n'%(self.namespace))
562
+ self.h.write('{\n'
563
+ ' GTypeInterface parent_iface;\n'
564
+ '};\n'
565
+ '\n')
566
+ self.h.write('GType %sobject_get_type (void) G_GNUC_CONST;\n'
567
+ '\n'
568
+ %(self.ns_lower))
569
+ for i in self.ifaces:
570
+ if i.deprecated:
571
+ self.h.write('G_GNUC_DEPRECATED ')
572
+ self.h.write ('%s *%sobject_get_%s (%sObject *object);\n'
573
+ %(i.camel_name, self.ns_lower, i.name_upper.lower(), self.namespace))
574
+ for i in self.ifaces:
575
+ if i.deprecated:
576
+ self.h.write('G_GNUC_DEPRECATED ')
577
+ self.h.write ('%s *%sobject_peek_%s (%sObject *object);\n'
578
+ %(i.camel_name, self.ns_lower, i.name_upper.lower(), self.namespace))
579
+ self.h.write('\n')
580
+ self.h.write('#define %sTYPE_OBJECT_PROXY (%sobject_proxy_get_type ())\n'%(self.ns_upper, self.ns_lower))
581
+ self.h.write('#define %sOBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), %sTYPE_OBJECT_PROXY, %sObjectProxy))\n'%(self.ns_upper, self.ns_upper, self.namespace))
582
+ self.h.write('#define %sOBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), %sTYPE_OBJECT_PROXY, %sObjectProxyClass))\n'%(self.ns_upper, self.ns_upper, self.namespace))
583
+ self.h.write('#define %sOBJECT_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), %sTYPE_OBJECT_PROXY, %sObjectProxyClass))\n'%(self.ns_upper, self.ns_upper, self.namespace))
584
+ self.h.write('#define %sIS_OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), %sTYPE_OBJECT_PROXY))\n'%(self.ns_upper, self.ns_upper))
585
+ self.h.write('#define %sIS_OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), %sTYPE_OBJECT_PROXY))\n'%(self.ns_upper, self.ns_upper))
586
+ self.h.write('\n')
587
+ self.h.write('typedef struct _%sObjectProxy %sObjectProxy;\n'%(self.namespace, self.namespace))
588
+ self.h.write('typedef struct _%sObjectProxyClass %sObjectProxyClass;\n'%(self.namespace, self.namespace))
589
+ self.h.write('typedef struct _%sObjectProxyPrivate %sObjectProxyPrivate;\n'%(self.namespace, self.namespace))
590
+ self.h.write('\n')
591
+ self.h.write('struct _%sObjectProxy\n'%(self.namespace))
592
+ self.h.write('{\n')
593
+ self.h.write(' /*< private >*/\n')
594
+ self.h.write(' GDBusObjectProxy parent_instance;\n')
595
+ self.h.write(' %sObjectProxyPrivate *priv;\n'%(self.namespace))
596
+ self.h.write('};\n')
597
+ self.h.write('\n')
598
+ self.h.write('struct _%sObjectProxyClass\n'%(self.namespace))
599
+ self.h.write('{\n')
600
+ self.h.write(' GDBusObjectProxyClass parent_class;\n')
601
+ self.h.write('};\n')
602
+ self.h.write('\n')
603
+ self.h.write('GType %sobject_proxy_get_type (void) G_GNUC_CONST;\n'%(self.ns_lower))
604
+ self.h.write('%sObjectProxy *%sobject_proxy_new (GDBusConnection *connection, const gchar *object_path);\n'%(self.namespace, self.ns_lower))
605
+ self.h.write('\n')
606
+ self.h.write('#define %sTYPE_OBJECT_SKELETON (%sobject_skeleton_get_type ())\n'%(self.ns_upper, self.ns_lower))
607
+ self.h.write('#define %sOBJECT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), %sTYPE_OBJECT_SKELETON, %sObjectSkeleton))\n'%(self.ns_upper, self.ns_upper, self.namespace))
608
+ self.h.write('#define %sOBJECT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), %sTYPE_OBJECT_SKELETON, %sObjectSkeletonClass))\n'%(self.ns_upper, self.ns_upper, self.namespace))
609
+ self.h.write('#define %sOBJECT_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), %sTYPE_OBJECT_SKELETON, %sObjectSkeletonClass))\n'%(self.ns_upper, self.ns_upper, self.namespace))
610
+ self.h.write('#define %sIS_OBJECT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), %sTYPE_OBJECT_SKELETON))\n'%(self.ns_upper, self.ns_upper))
611
+ self.h.write('#define %sIS_OBJECT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), %sTYPE_OBJECT_SKELETON))\n'%(self.ns_upper, self.ns_upper))
612
+ self.h.write('\n')
613
+ self.h.write('typedef struct _%sObjectSkeleton %sObjectSkeleton;\n'%(self.namespace, self.namespace))
614
+ self.h.write('typedef struct _%sObjectSkeletonClass %sObjectSkeletonClass;\n'%(self.namespace, self.namespace))
615
+ self.h.write('typedef struct _%sObjectSkeletonPrivate %sObjectSkeletonPrivate;\n'%(self.namespace, self.namespace))
616
+ self.h.write('\n')
617
+ self.h.write('struct _%sObjectSkeleton\n'%(self.namespace))
618
+ self.h.write('{\n')
619
+ self.h.write(' /*< private >*/\n')
620
+ self.h.write(' GDBusObjectSkeleton parent_instance;\n')
621
+ self.h.write(' %sObjectSkeletonPrivate *priv;\n'%(self.namespace))
622
+ self.h.write('};\n')
623
+ self.h.write('\n')
624
+ self.h.write('struct _%sObjectSkeletonClass\n'%(self.namespace))
625
+ self.h.write('{\n')
626
+ self.h.write(' GDBusObjectSkeletonClass parent_class;\n')
627
+ self.h.write('};\n')
628
+ self.h.write('\n')
629
+ self.h.write('GType %sobject_skeleton_get_type (void) G_GNUC_CONST;\n'%(self.ns_lower))
630
+ self.h.write('%sObjectSkeleton *%sobject_skeleton_new (const gchar *object_path);\n'
631
+ %(self.namespace, self.ns_lower))
632
+ for i in self.ifaces:
633
+ if i.deprecated:
634
+ self.h.write('G_GNUC_DEPRECATED ')
635
+ self.h.write ('void %sobject_skeleton_set_%s (%sObjectSkeleton *object, %s *interface_);\n'
636
+ %(self.ns_lower, i.name_upper.lower(), self.namespace, i.camel_name))
637
+ self.h.write('\n')
638
+
639
+ self.h.write('/* ---- */\n')
640
+ self.h.write('\n')
641
+ self.h.write('#define %sTYPE_OBJECT_MANAGER_CLIENT (%sobject_manager_client_get_type ())\n'%(self.ns_upper, self.ns_lower))
642
+ self.h.write('#define %sOBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), %sTYPE_OBJECT_MANAGER_CLIENT, %sObjectManagerClient))\n'%(self.ns_upper, self.ns_upper, self.namespace))
643
+ self.h.write('#define %sOBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), %sTYPE_OBJECT_MANAGER_CLIENT, %sObjectManagerClientClass))\n'%(self.ns_upper, self.ns_upper, self.namespace))
644
+ self.h.write('#define %sOBJECT_MANAGER_CLIENT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), %sTYPE_OBJECT_MANAGER_CLIENT, %sObjectManagerClientClass))\n'%(self.ns_upper, self.ns_upper, self.namespace))
645
+ self.h.write('#define %sIS_OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), %sTYPE_OBJECT_MANAGER_CLIENT))\n'%(self.ns_upper, self.ns_upper))
646
+ self.h.write('#define %sIS_OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), %sTYPE_OBJECT_MANAGER_CLIENT))\n'%(self.ns_upper, self.ns_upper))
647
+ self.h.write('\n')
648
+ self.h.write('typedef struct _%sObjectManagerClient %sObjectManagerClient;\n'%(self.namespace, self.namespace))
649
+ self.h.write('typedef struct _%sObjectManagerClientClass %sObjectManagerClientClass;\n'%(self.namespace, self.namespace))
650
+ self.h.write('typedef struct _%sObjectManagerClientPrivate %sObjectManagerClientPrivate;\n'%(self.namespace, self.namespace))
651
+ self.h.write('\n')
652
+ self.h.write('struct _%sObjectManagerClient\n'%(self.namespace))
653
+ self.h.write('{\n')
654
+ self.h.write(' /*< private >*/\n')
655
+ self.h.write(' GDBusObjectManagerClient parent_instance;\n')
656
+ self.h.write(' %sObjectManagerClientPrivate *priv;\n'%(self.namespace))
657
+ self.h.write('};\n')
658
+ self.h.write('\n')
659
+ self.h.write('struct _%sObjectManagerClientClass\n'%(self.namespace))
660
+ self.h.write('{\n')
661
+ self.h.write(' GDBusObjectManagerClientClass parent_class;\n')
662
+ self.h.write('};\n')
663
+ self.h.write('\n')
664
+ self.h.write('GType %sobject_manager_client_get_type (void) G_GNUC_CONST;\n'%(self.ns_lower))
665
+ self.h.write('\n')
666
+ self.h.write('GType %sobject_manager_client_get_proxy_type (GDBusObjectManagerClient *manager, const gchar *object_path, const gchar *interface_name, gpointer user_data);\n'%(self.ns_lower))
667
+ self.h.write('\n')
668
+ self.h.write('void %sobject_manager_client_new (\n'
669
+ ' GDBusConnection *connection,\n'
670
+ ' GDBusObjectManagerClientFlags flags,\n'
671
+ ' const gchar *name,\n'
672
+ ' const gchar *object_path,\n'
673
+ ' GCancellable *cancellable,\n'
674
+ ' GAsyncReadyCallback callback,\n'
675
+ ' gpointer user_data);\n'
676
+ %(self.ns_lower))
677
+ self.h.write('GDBusObjectManager *%sobject_manager_client_new_finish (\n'
678
+ ' GAsyncResult *res,\n'
679
+ ' GError **error);\n'
680
+ %(self.ns_lower))
681
+ self.h.write('GDBusObjectManager *%sobject_manager_client_new_sync (\n'
682
+ ' GDBusConnection *connection,\n'
683
+ ' GDBusObjectManagerClientFlags flags,\n'
684
+ ' const gchar *name,\n'
685
+ ' const gchar *object_path,\n'
686
+ ' GCancellable *cancellable,\n'
687
+ ' GError **error);\n'
688
+ %(self.ns_lower))
689
+ self.h.write('\n')
690
+ self.h.write('void %sobject_manager_client_new_for_bus (\n'
691
+ ' GBusType bus_type,\n'
692
+ ' GDBusObjectManagerClientFlags flags,\n'
693
+ ' const gchar *name,\n'
694
+ ' const gchar *object_path,\n'
695
+ ' GCancellable *cancellable,\n'
696
+ ' GAsyncReadyCallback callback,\n'
697
+ ' gpointer user_data);\n'
698
+ %(self.ns_lower))
699
+ self.h.write('GDBusObjectManager *%sobject_manager_client_new_for_bus_finish (\n'
700
+ ' GAsyncResult *res,\n'
701
+ ' GError **error);\n'
702
+ %(self.ns_lower))
703
+ self.h.write('GDBusObjectManager *%sobject_manager_client_new_for_bus_sync (\n'
704
+ ' GBusType bus_type,\n'
705
+ ' GDBusObjectManagerClientFlags flags,\n'
706
+ ' const gchar *name,\n'
707
+ ' const gchar *object_path,\n'
708
+ ' GCancellable *cancellable,\n'
709
+ ' GError **error);\n'
710
+ %(self.ns_lower))
711
+ self.h.write('\n')
712
+
713
+ # ----------------------------------------------------------------------------------------------------
714
+
715
+ def generate_outro(self):
716
+ self.h.write('\n'
717
+ 'G_END_DECLS\n'
718
+ '\n'
719
+ '#endif /* __%s__ */\n'%(self.header_guard))
720
+
721
+ # ----------------------------------------------------------------------------------------------------
722
+
723
+ def generate_annotations(self, prefix, annotations):
724
+ if annotations == None:
725
+ return
726
+
727
+ n = 0
728
+ for a in annotations:
729
+ #self.generate_annotations('%s_%d'%(prefix, n), a.get_annotations())
730
+
731
+ # skip internal annotations
732
+ if a.key.startswith('org.gtk.GDBus'):
733
+ continue
734
+
735
+ self.c.write('static const GDBusAnnotationInfo %s_%d =\n'
736
+ '{\n'
737
+ ' -1,\n'
738
+ ' (gchar *) "%s",\n'
739
+ ' (gchar *) "%s",\n'%(prefix, n, a.key, a.value))
740
+ if len(a.annotations) == 0:
741
+ self.c.write(' NULL\n')
742
+ else:
743
+ self.c.write(' (GDBusAnnotationInfo **) &%s_%d_pointers\n'%(prefix, n))
744
+ self.c.write('};\n'
745
+ '\n')
746
+ n += 1
747
+
748
+ if n > 0:
749
+ self.c.write('static const GDBusAnnotationInfo * const %s_pointers[] =\n'
750
+ '{\n'%(prefix))
751
+ m = 0;
752
+ for a in annotations:
753
+ if a.key.startswith('org.gtk.GDBus'):
754
+ continue
755
+ self.c.write(' &%s_%d,\n'%(prefix, m))
756
+ m += 1
757
+ self.c.write(' NULL\n'
758
+ '};\n'
759
+ '\n')
760
+ return n
761
+
762
+ def generate_args(self, prefix, args):
763
+ for a in args:
764
+ num_anno = self.generate_annotations('%s_arg_%s_annotation_info'%(prefix, a.name), a.annotations)
765
+
766
+ self.c.write('static const _ExtendedGDBusArgInfo %s_%s =\n'
767
+ '{\n'
768
+ ' {\n'
769
+ ' -1,\n'
770
+ ' (gchar *) "%s",\n'
771
+ ' (gchar *) "%s",\n'%(prefix, a.name, a.name, a.signature))
772
+ if num_anno == 0:
773
+ self.c.write(' NULL\n')
774
+ else:
775
+ self.c.write(' (GDBusAnnotationInfo **) &%s_arg_%s_annotation_info_pointers\n'%(prefix, a.name))
776
+ self.c.write(' },\n')
777
+ if not utils.lookup_annotation(a.annotations, 'org.gtk.GDBus.C.ForceGVariant'):
778
+ self.c.write(' FALSE\n')
779
+ else:
780
+ self.c.write(' TRUE\n')
781
+ self.c.write('};\n'
782
+ '\n')
783
+
784
+ if len(args) > 0:
785
+ self.c.write('static const _ExtendedGDBusArgInfo * const %s_pointers[] =\n'
786
+ '{\n'%(prefix))
787
+ for a in args:
788
+ self.c.write(' &%s_%s,\n'%(prefix, a.name))
789
+ self.c.write(' NULL\n'
790
+ '};\n'
791
+ '\n')
792
+
793
+ def generate_introspection_for_interface(self, i):
794
+ self.c.write('/* ---- Introspection data for %s ---- */\n'
795
+ '\n'%(i.name))
796
+
797
+ if len(i.methods) > 0:
798
+ for m in i.methods:
799
+ unix_fd = False
800
+ if utils.lookup_annotation(m.annotations, 'org.gtk.GDBus.C.UnixFD'):
801
+ unix_fd = True
802
+ self.generate_args('_%s_method_info_%s_IN_ARG'%(i.name_lower, m.name_lower), m.in_args)
803
+ self.generate_args('_%s_method_info_%s_OUT_ARG'%(i.name_lower, m.name_lower), m.out_args)
804
+
805
+ num_anno = self.generate_annotations('_%s_method_%s_annotation_info'%(i.name_lower, m.name_lower), m.annotations)
806
+
807
+ self.c.write('static const _ExtendedGDBusMethodInfo _%s_method_info_%s =\n'
808
+ '{\n'
809
+ ' {\n'
810
+ ' -1,\n'
811
+ ' (gchar *) "%s",\n'%(i.name_lower, m.name_lower, m.name))
812
+ if len(m.in_args) == 0:
813
+ self.c.write(' NULL,\n')
814
+ else:
815
+ self.c.write(' (GDBusArgInfo **) &_%s_method_info_%s_IN_ARG_pointers,\n'%(i.name_lower, m.name_lower))
816
+ if len(m.out_args) == 0:
817
+ self.c.write(' NULL,\n')
818
+ else:
819
+ self.c.write(' (GDBusArgInfo **) &_%s_method_info_%s_OUT_ARG_pointers,\n'%(i.name_lower, m.name_lower))
820
+ if num_anno == 0:
821
+ self.c.write(' NULL\n')
822
+ else:
823
+ self.c.write(' (GDBusAnnotationInfo **) &_%s_method_%s_annotation_info_pointers\n'%(i.name_lower, m.name_lower))
824
+ self.c.write(' },\n'
825
+ ' "handle-%s",\n'
826
+ ' %s\n'
827
+ %(m.name_hyphen, 'TRUE' if unix_fd else 'FALSE'))
828
+ self.c.write('};\n'
829
+ '\n')
830
+
831
+ self.c.write('static const _ExtendedGDBusMethodInfo * const _%s_method_info_pointers[] =\n'
832
+ '{\n'%(i.name_lower))
833
+ for m in i.methods:
834
+ self.c.write(' &_%s_method_info_%s,\n'%(i.name_lower, m.name_lower))
835
+ self.c.write(' NULL\n'
836
+ '};\n'
837
+ '\n')
838
+
839
+ # ---
840
+
841
+ if len(i.signals) > 0:
842
+ for s in i.signals:
843
+ self.generate_args('_%s_signal_info_%s_ARG'%(i.name_lower, s.name_lower), s.args)
844
+
845
+ num_anno = self.generate_annotations('_%s_signal_%s_annotation_info'%(i.name_lower, s.name_lower), s.annotations)
846
+ self.c.write('static const _ExtendedGDBusSignalInfo _%s_signal_info_%s =\n'
847
+ '{\n'
848
+ ' {\n'
849
+ ' -1,\n'
850
+ ' (gchar *) "%s",\n'%(i.name_lower, s.name_lower, s.name))
851
+ if len(s.args) == 0:
852
+ self.c.write(' NULL,\n')
853
+ else:
854
+ self.c.write(' (GDBusArgInfo **) &_%s_signal_info_%s_ARG_pointers,\n'%(i.name_lower, s.name_lower))
855
+ if num_anno == 0:
856
+ self.c.write(' NULL\n')
857
+ else:
858
+ self.c.write(' (GDBusAnnotationInfo **) &_%s_signal_%s_annotation_info_pointers\n'%(i.name_lower, s.name_lower))
859
+ self.c.write(' },\n'
860
+ ' "%s"\n'
861
+ %(s.name_hyphen))
862
+ self.c.write('};\n'
863
+ '\n')
864
+
865
+ self.c.write('static const _ExtendedGDBusSignalInfo * const _%s_signal_info_pointers[] =\n'
866
+ '{\n'%(i.name_lower))
867
+ for s in i.signals:
868
+ self.c.write(' &_%s_signal_info_%s,\n'%(i.name_lower, s.name_lower))
869
+ self.c.write(' NULL\n'
870
+ '};\n'
871
+ '\n')
872
+
873
+ # ---
874
+
875
+ if len(i.properties) > 0:
876
+ for p in i.properties:
877
+ if p.readable and p.writable:
878
+ access = 'G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE'
879
+ elif p.readable:
880
+ access = 'G_DBUS_PROPERTY_INFO_FLAGS_READABLE'
881
+ elif p.writable:
882
+ access = 'G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE'
883
+ else:
884
+ access = 'G_DBUS_PROPERTY_INFO_FLAGS_NONE'
885
+ num_anno = self.generate_annotations('_%s_property_%s_annotation_info'%(i.name_lower, p.name_lower), p.annotations)
886
+ self.c.write('static const _ExtendedGDBusPropertyInfo _%s_property_info_%s =\n'
887
+ '{\n'
888
+ ' {\n'
889
+ ' -1,\n'
890
+ ' (gchar *) "%s",\n'
891
+ ' (gchar *) "%s",\n'
892
+ ' %s,\n'%(i.name_lower, p.name_lower, p.name, p.arg.signature, access))
893
+ if num_anno == 0:
894
+ self.c.write(' NULL\n')
895
+ else:
896
+ self.c.write(' (GDBusAnnotationInfo **) &_%s_property_%s_annotation_info_pointers\n'%(i.name_lower, p.name_lower))
897
+ self.c.write(' },\n'
898
+ ' "%s",\n'
899
+ %(p.name_hyphen))
900
+ if not utils.lookup_annotation(p.annotations, 'org.gtk.GDBus.C.ForceGVariant'):
901
+ self.c.write(' FALSE\n')
902
+ else:
903
+ self.c.write(' TRUE\n')
904
+ self.c.write('};\n'
905
+ '\n')
906
+
907
+ self.c.write('static const _ExtendedGDBusPropertyInfo * const _%s_property_info_pointers[] =\n'
908
+ '{\n'%(i.name_lower))
909
+ for p in i.properties:
910
+ self.c.write(' &_%s_property_info_%s,\n'%(i.name_lower, p.name_lower))
911
+ self.c.write(' NULL\n'
912
+ '};\n'
913
+ '\n')
914
+
915
+ num_anno = self.generate_annotations('_%s_annotation_info'%(i.name_lower), i.annotations)
916
+ self.c.write('static const _ExtendedGDBusInterfaceInfo _%s_interface_info =\n'
917
+ '{\n'
918
+ ' {\n'
919
+ ' -1,\n'
920
+ ' (gchar *) "%s",\n'%(i.name_lower, i.name))
921
+ if len(i.methods) == 0:
922
+ self.c.write(' NULL,\n')
923
+ else:
924
+ self.c.write(' (GDBusMethodInfo **) &_%s_method_info_pointers,\n'%(i.name_lower))
925
+ if len(i.signals) == 0:
926
+ self.c.write(' NULL,\n')
927
+ else:
928
+ self.c.write(' (GDBusSignalInfo **) &_%s_signal_info_pointers,\n'%(i.name_lower))
929
+ if len(i.properties) == 0:
930
+ self.c.write(' NULL,\n')
931
+ else:
932
+ self.c.write(' (GDBusPropertyInfo **) &_%s_property_info_pointers,\n'%(i.name_lower))
933
+ if num_anno == 0:
934
+ self.c.write(' NULL\n')
935
+ else:
936
+ self.c.write(' (GDBusAnnotationInfo **) &_%s_annotation_info_pointers\n'%(i.name_lower))
937
+ self.c.write(' },\n'
938
+ ' "%s",\n'
939
+ '};\n'
940
+ '\n'
941
+ %(i.name_hyphen))
942
+ self.c.write('\n')
943
+ self.c.write(self.docbook_gen.expand(
944
+ '/**\n'
945
+ ' * %s_interface_info:\n'
946
+ ' *\n'
947
+ ' * Gets a machine-readable description of the #%s D-Bus interface.\n'
948
+ ' *\n'
949
+ ' * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.\n'
950
+ %(i.name_lower, i.name), False))
951
+ self.write_gtkdoc_deprecated_and_since_and_close(i, self.c, 0)
952
+ self.c.write('GDBusInterfaceInfo *\n'
953
+ '%s_interface_info (void)\n'
954
+ '{\n'
955
+ ' return (GDBusInterfaceInfo *) &_%s_interface_info.parent_struct;\n'
956
+ '}\n'
957
+ '\n'%(i.name_lower, i.name_lower))
958
+
959
+ self.c.write(self.docbook_gen.expand(
960
+ '/**\n'
961
+ ' * %s_override_properties:\n'
962
+ ' * @klass: The class structure for a #GObject<!-- -->-derived class.\n'
963
+ ' * @property_id_begin: The property id to assign to the first overridden property.\n'
964
+ ' *\n'
965
+ ' * Overrides all #GObject properties in the #%s interface for a concrete class.\n'
966
+ ' * The properties are overridden in the order they are defined.\n'
967
+ ' *\n'
968
+ ' * Returns: The last property id.\n'
969
+ %(i.name_lower, i.camel_name), False))
970
+ self.write_gtkdoc_deprecated_and_since_and_close(i, self.c, 0)
971
+ self.c.write('guint\n'
972
+ '%s_override_properties (GObjectClass *klass, guint property_id_begin)\n'
973
+ '{\n'%(i.name_lower))
974
+ for p in i.properties:
975
+ self.c.write (' g_object_class_override_property (klass, property_id_begin++, "%s");\n'%(p.name_hyphen))
976
+ self.c.write(' return property_id_begin - 1;\n'
977
+ '}\n'
978
+ '\n')
979
+ self.c.write('\n')
980
+
981
+ # ----------------------------------------------------------------------------------------------------
982
+
983
+ def generate_interface(self, i):
984
+ self.c.write('\n')
985
+
986
+ self.c.write(self.docbook_gen.expand(
987
+ '/**\n'
988
+ ' * %s:\n'
989
+ ' *\n'
990
+ ' * Abstract interface type for the D-Bus interface #%s.\n'
991
+ %(i.camel_name, i.name), False))
992
+ self.write_gtkdoc_deprecated_and_since_and_close(i, self.c, 0)
993
+ self.c.write('\n')
994
+
995
+ self.c.write(self.docbook_gen.expand(
996
+ '/**\n'
997
+ ' * %sIface:\n'
998
+ ' * @parent_iface: The parent interface.\n'
999
+ %(i.camel_name), False))
1000
+
1001
+ doc_bits = {}
1002
+ if len(i.methods) > 0:
1003
+ for m in i.methods:
1004
+ key = (m.since, '_method_%s'%m.name_lower)
1005
+ value = '@handle_%s: '%(m.name_lower)
1006
+ value += 'Handler for the #%s::handle-%s signal.'%(i.camel_name, m.name_hyphen)
1007
+ doc_bits[key] = value
1008
+ if len(i.signals) > 0:
1009
+ for s in i.signals:
1010
+ key = (s.since, '_signal_%s'%s.name_lower)
1011
+ value = '@%s: '%(s.name_lower)
1012
+ value += 'Handler for the #%s::%s signal.'%(i.camel_name, s.name_hyphen)
1013
+ doc_bits[key] = value
1014
+ if len(i.properties) > 0:
1015
+ for p in i.properties:
1016
+ key = (p.since, '_prop_get_%s'%p.name_lower)
1017
+ value = '@get_%s: '%(p.name_lower)
1018
+ value += 'Getter for the #%s:%s property.'%(i.camel_name, p.name_hyphen)
1019
+ doc_bits[key] = value
1020
+ for key in sorted(doc_bits.keys(), key=utils.version_cmp_key):
1021
+ self.c.write(' * %s\n'%doc_bits[key])
1022
+
1023
+ self.c.write(self.docbook_gen.expand(
1024
+ ' *\n'
1025
+ ' * Virtual table for the D-Bus interface #%s.\n'
1026
+ %(i.name), False))
1027
+ self.write_gtkdoc_deprecated_and_since_and_close(i, self.c, 0)
1028
+ self.c.write('\n')
1029
+
1030
+ self.c.write('typedef %sIface %sInterface;\n'%(i.camel_name, i.camel_name))
1031
+ self.c.write('G_DEFINE_INTERFACE (%s, %s, G_TYPE_OBJECT);\n'%(i.camel_name, i.name_lower))
1032
+ self.c.write('\n')
1033
+
1034
+ self.c.write('static void\n'
1035
+ '%s_default_init (%sIface *iface)\n'
1036
+ '{\n'%(i.name_lower, i.camel_name));
1037
+
1038
+ if len(i.methods) > 0:
1039
+ self.c.write(' /* GObject signals for incoming D-Bus method calls: */\n')
1040
+ for m in i.methods:
1041
+ unix_fd = False
1042
+ if utils.lookup_annotation(m.annotations, 'org.gtk.GDBus.C.UnixFD'):
1043
+ unix_fd = True
1044
+ self.c.write(self.docbook_gen.expand(
1045
+ ' /**\n'
1046
+ ' * %s::handle-%s:\n'
1047
+ ' * @object: A #%s.\n'
1048
+ ' * @invocation: A #GDBusMethodInvocation.\n'
1049
+ %(i.camel_name, m.name_hyphen, i.camel_name), False))
1050
+ if unix_fd:
1051
+ self.c.write (' * @fd_list: (allow-none): A #GUnixFDList or %NULL.\n')
1052
+ for a in m.in_args:
1053
+ self.c.write (' * @arg_%s: Argument passed by remote caller.\n'%(a.name))
1054
+ self.c.write(self.docbook_gen.expand(
1055
+ ' *\n'
1056
+ ' * Signal emitted when a remote caller is invoking the %s.%s() D-Bus method.\n'
1057
+ ' *\n'
1058
+ ' * If a signal handler returns %%TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call %s_complete_%s() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %%G_DBUS_ERROR_UNKNOWN_METHOD error is returned.\n'
1059
+ ' *\n'
1060
+ ' * Returns: %%TRUE if the invocation was handled, %%FALSE to let other signal handlers run.\n'
1061
+ %(i.name, m.name, i.name_lower, m.name_lower), False))
1062
+ self.write_gtkdoc_deprecated_and_since_and_close(m, self.c, 2)
1063
+ if unix_fd:
1064
+ extra_args = 2
1065
+ else:
1066
+ extra_args = 1
1067
+ self.c.write(' g_signal_new ("handle-%s",\n'
1068
+ ' G_TYPE_FROM_INTERFACE (iface),\n'
1069
+ ' G_SIGNAL_RUN_LAST,\n'
1070
+ ' G_STRUCT_OFFSET (%sIface, handle_%s),\n'
1071
+ ' g_signal_accumulator_true_handled,\n'
1072
+ ' NULL,\n' # accu_data
1073
+ ' g_cclosure_marshal_generic,\n'
1074
+ ' G_TYPE_BOOLEAN,\n'
1075
+ ' %d,\n'
1076
+ ' G_TYPE_DBUS_METHOD_INVOCATION'
1077
+ %(m.name_hyphen, i.camel_name, m.name_lower, len(m.in_args) + extra_args))
1078
+ if unix_fd:
1079
+ self.c.write(', G_TYPE_UNIX_FD_LIST')
1080
+ for a in m.in_args:
1081
+ self.c.write (', %s'%(a.gtype))
1082
+ self.c.write(');\n')
1083
+ self.c.write('\n')
1084
+
1085
+ if len(i.signals) > 0:
1086
+ self.c.write(' /* GObject signals for received D-Bus signals: */\n')
1087
+ for s in i.signals:
1088
+ self.c.write(self.docbook_gen.expand(
1089
+ ' /**\n'
1090
+ ' * %s::%s:\n'
1091
+ ' * @object: A #%s.\n'
1092
+ %(i.camel_name, s.name_hyphen, i.camel_name), False))
1093
+ for a in s.args:
1094
+ self.c.write (' * @arg_%s: Argument.\n'%(a.name))
1095
+ self.c.write(self.docbook_gen.expand(
1096
+ ' *\n'
1097
+ ' * On the client-side, this signal is emitted whenever the D-Bus signal #%s::%s is received.\n'
1098
+ ' *\n'
1099
+ ' * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.\n'
1100
+ %(i.name, s.name), False))
1101
+ self.write_gtkdoc_deprecated_and_since_and_close(s, self.c, 2)
1102
+ self.c.write(' g_signal_new ("%s",\n'
1103
+ ' G_TYPE_FROM_INTERFACE (iface),\n'
1104
+ ' G_SIGNAL_RUN_LAST,\n'
1105
+ ' G_STRUCT_OFFSET (%sIface, %s),\n'
1106
+ ' NULL,\n' # accumulator
1107
+ ' NULL,\n' # accu_data
1108
+ ' g_cclosure_marshal_generic,\n'
1109
+ ' G_TYPE_NONE,\n'
1110
+ ' %d'
1111
+ %(s.name_hyphen, i.camel_name, s.name_lower, len(s.args)))
1112
+ for a in s.args:
1113
+ self.c.write (', %s'%(a.gtype))
1114
+ self.c.write(');\n')
1115
+ self.c.write('\n')
1116
+
1117
+ if len(i.properties) > 0:
1118
+ self.c.write(' /* GObject properties for D-Bus properties: */\n')
1119
+ for p in i.properties:
1120
+ if p.readable and p.writable:
1121
+ hint = 'Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.'
1122
+ elif p.readable:
1123
+ hint = 'Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.'
1124
+ elif p.writable:
1125
+ hint = 'Since the D-Bus property for this #GObject property is writable but not readable, it is meaningful to write to it on both the client- and service-side. It is only meaningful, however, to read from it on the service-side.'
1126
+ else:
1127
+ raise RuntimeError('Cannot handle property %s that neither readable nor writable'%(p.name))
1128
+ self.c.write(self.docbook_gen.expand(
1129
+ ' /**\n'
1130
+ ' * %s:%s:\n'
1131
+ ' *\n'
1132
+ ' * Represents the D-Bus property #%s:%s.\n'
1133
+ ' *\n'
1134
+ ' * %s\n'
1135
+ %(i.camel_name, p.name_hyphen, i.name, p.name, hint), False))
1136
+ self.write_gtkdoc_deprecated_and_since_and_close(p, self.c, 2)
1137
+ self.c.write(' g_object_interface_install_property (iface,\n')
1138
+ if p.arg.gtype == 'G_TYPE_VARIANT':
1139
+ s = 'g_param_spec_variant ("%s", "%s", "%s", G_VARIANT_TYPE ("%s"), NULL'%(p.name_hyphen, p.name, p.name, p.arg.signature)
1140
+ elif p.arg.signature == 'b':
1141
+ s = 'g_param_spec_boolean ("%s", "%s", "%s", FALSE'%(p.name_hyphen, p.name, p.name)
1142
+ elif p.arg.signature == 'y':
1143
+ s = 'g_param_spec_uchar ("%s", "%s", "%s", 0, 255, 0'%(p.name_hyphen, p.name, p.name)
1144
+ elif p.arg.signature == 'n':
1145
+ s = 'g_param_spec_int ("%s", "%s", "%s", G_MININT16, G_MAXINT16, 0'%(p.name_hyphen, p.name, p.name)
1146
+ elif p.arg.signature == 'q':
1147
+ s = 'g_param_spec_uint ("%s", "%s", "%s", 0, G_MAXUINT16, 0'%(p.name_hyphen, p.name, p.name)
1148
+ elif p.arg.signature == 'i':
1149
+ s = 'g_param_spec_int ("%s", "%s", "%s", G_MININT32, G_MAXINT32, 0'%(p.name_hyphen, p.name, p.name)
1150
+ elif p.arg.signature == 'u':
1151
+ s = 'g_param_spec_uint ("%s", "%s", "%s", 0, G_MAXUINT32, 0'%(p.name_hyphen, p.name, p.name)
1152
+ elif p.arg.signature == 'x':
1153
+ s = 'g_param_spec_int64 ("%s", "%s", "%s", G_MININT64, G_MAXINT64, 0'%(p.name_hyphen, p.name, p.name)
1154
+ elif p.arg.signature == 't':
1155
+ s = 'g_param_spec_uint64 ("%s", "%s", "%s", 0, G_MAXUINT64, 0'%(p.name_hyphen, p.name, p.name)
1156
+ elif p.arg.signature == 'd':
1157
+ s = 'g_param_spec_double ("%s", "%s", "%s", -G_MAXDOUBLE, G_MAXDOUBLE, 0.0'%(p.name_hyphen, p.name, p.name)
1158
+ elif p.arg.signature == 's':
1159
+ s = 'g_param_spec_string ("%s", "%s", "%s", NULL'%(p.name_hyphen, p.name, p.name)
1160
+ elif p.arg.signature == 'o':
1161
+ s = 'g_param_spec_string ("%s", "%s", "%s", NULL'%(p.name_hyphen, p.name, p.name)
1162
+ elif p.arg.signature == 'g':
1163
+ s = 'g_param_spec_string ("%s", "%s", "%s", NULL'%(p.name_hyphen, p.name, p.name)
1164
+ elif p.arg.signature == 'ay':
1165
+ s = 'g_param_spec_string ("%s", "%s", "%s", NULL'%(p.name_hyphen, p.name, p.name)
1166
+ elif p.arg.signature == 'as':
1167
+ s = 'g_param_spec_boxed ("%s", "%s", "%s", G_TYPE_STRV'%(p.name_hyphen, p.name, p.name)
1168
+ elif p.arg.signature == 'ao':
1169
+ s = 'g_param_spec_boxed ("%s", "%s", "%s", G_TYPE_STRV'%(p.name_hyphen, p.name, p.name)
1170
+ elif p.arg.signature == 'aay':
1171
+ s = 'g_param_spec_boxed ("%s", "%s", "%s", G_TYPE_STRV'%(p.name_hyphen, p.name, p.name)
1172
+ else:
1173
+ raise RuntimeError('Unsupported gtype %s for GParamSpec'%(p.arg.gtype))
1174
+ self.c.write(' %s, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));'%s);
1175
+ self.c.write('\n')
1176
+
1177
+ self.c.write('}\n'
1178
+ '\n')
1179
+
1180
+ # ----------------------------------------------------------------------------------------------------
1181
+
1182
+ def generate_property_accessors(self, i):
1183
+ for p in i.properties:
1184
+ # getter
1185
+ if p.readable and p.writable:
1186
+ hint = 'Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.'
1187
+ elif p.readable:
1188
+ hint = 'Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.'
1189
+ elif p.writable:
1190
+ hint = 'Since this D-Bus property is not readable, it is only meaningful to use this function on the service-side.'
1191
+ else:
1192
+ raise RuntimeError('Cannot handle property %s that neither readable nor writable'%(p.name))
1193
+ self.c.write(self.docbook_gen.expand(
1194
+ '/**\n'
1195
+ ' * %s_get_%s: (skip)\n'
1196
+ ' * @object: A #%s.\n'
1197
+ ' *\n'
1198
+ ' * Gets the value of the #%s:%s D-Bus property.\n'
1199
+ ' *\n'
1200
+ ' * %s\n'
1201
+ ' *\n'
1202
+ %(i.name_lower, p.name_lower, i.camel_name, i.name, p.name, hint), False))
1203
+ if p.arg.free_func != None:
1204
+ self.c.write(' * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use %s_dup_%s() if on another thread.</warning>\n'
1205
+ ' *\n'
1206
+ ' * Returns: (transfer none): The property value or %%NULL if the property is not set. Do not free the returned value, it belongs to @object.\n'
1207
+ %(i.name_lower, p.name_lower))
1208
+ else:
1209
+ self.c.write(' * Returns: The property value.\n')
1210
+ self.write_gtkdoc_deprecated_and_since_and_close(p, self.c, 0)
1211
+ self.c.write('%s\n'
1212
+ '%s_get_%s (%s *object)\n'
1213
+ '{\n'%(p.arg.ctype_in, i.name_lower, p.name_lower, i.camel_name))
1214
+ self.c.write(' return %s%s_GET_IFACE (object)->get_%s (object);\n'%(i.ns_upper, i.name_upper, p.name_lower))
1215
+ self.c.write('}\n')
1216
+ self.c.write('\n')
1217
+ if p.arg.free_func != None:
1218
+
1219
+ self.c.write(self.docbook_gen.expand(
1220
+ '/**\n'
1221
+ ' * %s_dup_%s: (skip)\n'
1222
+ ' * @object: A #%s.\n'
1223
+ ' *\n'
1224
+ ' * Gets a copy of the #%s:%s D-Bus property.\n'
1225
+ ' *\n'
1226
+ ' * %s\n'
1227
+ ' *\n'
1228
+ ' * Returns: (transfer full): The property value or %%NULL if the property is not set. The returned value should be freed with %s().\n'
1229
+ %(i.name_lower, p.name_lower, i.camel_name, i.name, p.name, hint, p.arg.free_func), False))
1230
+ self.write_gtkdoc_deprecated_and_since_and_close(p, self.c, 0)
1231
+ self.c.write('%s\n'
1232
+ '%s_dup_%s (%s *object)\n'
1233
+ '{\n'
1234
+ ' %svalue;\n'%(p.arg.ctype_in_dup, i.name_lower, p.name_lower, i.camel_name, p.arg.ctype_in_dup))
1235
+ self.c.write(' g_object_get (G_OBJECT (object), "%s", &value, NULL);\n'%(p.name_hyphen))
1236
+ self.c.write(' return value;\n')
1237
+ self.c.write('}\n')
1238
+ self.c.write('\n')
1239
+
1240
+ # setter
1241
+ if p.readable and p.writable:
1242
+ hint = 'Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.'
1243
+ elif p.readable:
1244
+ hint = 'Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.'
1245
+ elif p.writable:
1246
+ hint = 'Since this D-Bus property is writable, it is meaningful to use this function on both the client- and service-side.'
1247
+ else:
1248
+ raise RuntimeError('Cannot handle property %s that neither readable nor writable'%(p.name))
1249
+ self.c.write(self.docbook_gen.expand(
1250
+ '/**\n'
1251
+ ' * %s_set_%s: (skip)\n'
1252
+ ' * @object: A #%s.\n'
1253
+ ' * @value: The value to set.\n'
1254
+ ' *\n'
1255
+ ' * Sets the #%s:%s D-Bus property to @value.\n'
1256
+ ' *\n'
1257
+ ' * %s\n'
1258
+ %(i.name_lower, p.name_lower, i.camel_name, i.name, p.name, hint), False))
1259
+ self.write_gtkdoc_deprecated_and_since_and_close(p, self.c, 0)
1260
+ self.c.write('void\n'
1261
+ '%s_set_%s (%s *object, %svalue)\n'
1262
+ '{\n'%(i.name_lower, p.name_lower, i.camel_name, p.arg.ctype_in, ))
1263
+ self.c.write(' g_object_set (G_OBJECT (object), "%s", value, NULL);\n'%(p.name_hyphen))
1264
+ self.c.write('}\n')
1265
+ self.c.write('\n')
1266
+
1267
+ # ---------------------------------------------------------------------------------------------------
1268
+
1269
+ def generate_signal_emitters(self, i):
1270
+ for s in i.signals:
1271
+ self.c.write(self.docbook_gen.expand(
1272
+ '/**\n'
1273
+ ' * %s_emit_%s:\n'
1274
+ ' * @object: A #%s.\n'
1275
+ %(i.name_lower, s.name_lower, i.camel_name), False))
1276
+ for a in s.args:
1277
+ self.c.write(' * @arg_%s: Argument to pass with the signal.\n'%(a.name))
1278
+ self.c.write(self.docbook_gen.expand(
1279
+ ' *\n'
1280
+ ' * Emits the #%s::%s D-Bus signal.\n'
1281
+ %(i.name, s.name), False))
1282
+ self.write_gtkdoc_deprecated_and_since_and_close(s, self.c, 0)
1283
+ self.c.write('void\n'
1284
+ '%s_emit_%s (\n'
1285
+ ' %s *object'%(i.name_lower, s.name_lower, i.camel_name))
1286
+ for a in s.args:
1287
+ self.c.write(',\n %sarg_%s'%(a.ctype_in, a.name))
1288
+ self.c.write(')\n'
1289
+ '{\n'
1290
+ ' g_signal_emit_by_name (object, "%s"'%(s.name_hyphen))
1291
+ for a in s.args:
1292
+ self.c.write(', arg_%s'%a.name)
1293
+ self.c.write(');\n')
1294
+ self.c.write('}\n'
1295
+ '\n')
1296
+
1297
+ # ---------------------------------------------------------------------------------------------------
1298
+
1299
+ def generate_method_calls(self, i):
1300
+ for m in i.methods:
1301
+ unix_fd = False
1302
+ if utils.lookup_annotation(m.annotations, 'org.gtk.GDBus.C.UnixFD'):
1303
+ unix_fd = True
1304
+ # async begin
1305
+ self.c.write('/**\n'
1306
+ ' * %s_call_%s:\n'
1307
+ ' * @proxy: A #%sProxy.\n'
1308
+ %(i.name_lower, m.name_lower, i.camel_name))
1309
+ for a in m.in_args:
1310
+ self.c.write(' * @arg_%s: Argument to pass with the method invocation.\n'%(a.name))
1311
+ if unix_fd:
1312
+ self.c.write(' * @fd_list: (allow-none): A #GUnixFDList or %NULL.\n')
1313
+ self.c.write(self.docbook_gen.expand(
1314
+ ' * @cancellable: (allow-none): A #GCancellable or %%NULL.\n'
1315
+ ' * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %%NULL.\n'
1316
+ ' * @user_data: User data to pass to @callback.\n'
1317
+ ' *\n'
1318
+ ' * Asynchronously invokes the %s.%s() D-Bus method on @proxy.\n'
1319
+ ' * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.\n'
1320
+ ' * You can then call %s_call_%s_finish() to get the result of the operation.\n'
1321
+ ' *\n'
1322
+ ' * See %s_call_%s_sync() for the synchronous, blocking version of this method.\n'
1323
+ %(i.name, m.name, i.name_lower, m.name_lower, i.name_lower, m.name_lower), False))
1324
+ self.write_gtkdoc_deprecated_and_since_and_close(m, self.c, 0)
1325
+ self.c.write('void\n'
1326
+ '%s_call_%s (\n'
1327
+ ' %s *proxy'%(i.name_lower, m.name_lower, i.camel_name))
1328
+ for a in m.in_args:
1329
+ self.c.write(',\n %sarg_%s'%(a.ctype_in, a.name))
1330
+ if unix_fd:
1331
+ self.c.write(',\n GUnixFDList *fd_list')
1332
+ self.c.write(',\n'
1333
+ ' GCancellable *cancellable,\n'
1334
+ ' GAsyncReadyCallback callback,\n'
1335
+ ' gpointer user_data)\n'
1336
+ '{\n')
1337
+ if unix_fd:
1338
+ self.c.write(' g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy),\n')
1339
+ else:
1340
+ self.c.write(' g_dbus_proxy_call (G_DBUS_PROXY (proxy),\n')
1341
+ self.c.write(' "%s",\n'
1342
+ ' g_variant_new ("('%(m.name))
1343
+ for a in m.in_args:
1344
+ self.c.write('%s'%(a.format_in))
1345
+ self.c.write(')"')
1346
+ for a in m.in_args:
1347
+ self.c.write(',\n arg_%s'%(a.name))
1348
+ self.c.write('),\n'
1349
+ ' G_DBUS_CALL_FLAGS_NONE,\n'
1350
+ ' -1,\n')
1351
+ if unix_fd:
1352
+ self.c.write(' fd_list,\n')
1353
+ self.c.write(' cancellable,\n'
1354
+ ' callback,\n'
1355
+ ' user_data);\n')
1356
+ self.c.write('}\n'
1357
+ '\n')
1358
+ # async finish
1359
+ self.c.write('/**\n'
1360
+ ' * %s_call_%s_finish:\n'
1361
+ ' * @proxy: A #%sProxy.\n'
1362
+ %(i.name_lower, m.name_lower, i.camel_name))
1363
+ for a in m.out_args:
1364
+ self.c.write(' * @out_%s: (out): Return location for return parameter or %%NULL to ignore.\n'%(a.name))
1365
+ if unix_fd:
1366
+ self.c.write(' * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL.\n')
1367
+ self.c.write(self.docbook_gen.expand(
1368
+ ' * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to %s_call_%s().\n'
1369
+ ' * @error: Return location for error or %%NULL.\n'
1370
+ ' *\n'
1371
+ ' * Finishes an operation started with %s_call_%s().\n'
1372
+ ' *\n'
1373
+ ' * Returns: (skip): %%TRUE if the call succeded, %%FALSE if @error is set.\n'
1374
+ %(i.name_lower, m.name_lower, i.name_lower, m.name_lower), False))
1375
+ self.write_gtkdoc_deprecated_and_since_and_close(m, self.c, 0)
1376
+ self.c.write('gboolean\n'
1377
+ '%s_call_%s_finish (\n'
1378
+ ' %s *proxy'%(i.name_lower, m.name_lower, i.camel_name))
1379
+ for a in m.out_args:
1380
+ self.c.write(',\n %sout_%s'%(a.ctype_out, a.name))
1381
+ if unix_fd:
1382
+ self.c.write(',\n GUnixFDList **out_fd_list')
1383
+ self.c.write(',\n'
1384
+ ' GAsyncResult *res,\n'
1385
+ ' GError **error)\n'
1386
+ '{\n'
1387
+ ' GVariant *_ret;\n')
1388
+ if unix_fd:
1389
+ self.c.write(' _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error);\n')
1390
+ else:
1391
+ self.c.write(' _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);\n')
1392
+ self.c.write(' if (_ret == NULL)\n'
1393
+ ' goto _out;\n')
1394
+ self.c.write(' g_variant_get (_ret,\n'
1395
+ ' \"(')
1396
+ for a in m.out_args:
1397
+ self.c.write('%s'%(a.format_out))
1398
+ self.c.write(')"')
1399
+ for a in m.out_args:
1400
+ self.c.write(',\n out_%s'%(a.name))
1401
+ self.c.write(');\n'
1402
+ ' g_variant_unref (_ret);\n')
1403
+ self.c.write('_out:\n'
1404
+ ' return _ret != NULL;\n'
1405
+ '}\n'
1406
+ '\n')
1407
+
1408
+
1409
+ # sync
1410
+ self.c.write('/**\n'
1411
+ ' * %s_call_%s_sync:\n'
1412
+ ' * @proxy: A #%sProxy.\n'
1413
+ %(i.name_lower, m.name_lower, i.camel_name))
1414
+ for a in m.in_args:
1415
+ self.c.write(' * @arg_%s: Argument to pass with the method invocation.\n'%(a.name))
1416
+ if unix_fd:
1417
+ self.c.write(' * @fd_list: (allow-none): A #GUnixFDList or %NULL.\n')
1418
+ for a in m.out_args:
1419
+ self.c.write(' * @out_%s: (out): Return location for return parameter or %%NULL to ignore.\n'%(a.name))
1420
+ if unix_fd:
1421
+ self.c.write(' * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL.\n')
1422
+ self.c.write(self.docbook_gen.expand(
1423
+ ' * @cancellable: (allow-none): A #GCancellable or %%NULL.\n'
1424
+ ' * @error: Return location for error or %%NULL.\n'
1425
+ ' *\n'
1426
+ ' * Synchronously invokes the %s.%s() D-Bus method on @proxy. The calling thread is blocked until a reply is received.\n'
1427
+ ' *\n'
1428
+ ' * See %s_call_%s() for the asynchronous version of this method.\n'
1429
+ ' *\n'
1430
+ ' * Returns: (skip): %%TRUE if the call succeded, %%FALSE if @error is set.\n'
1431
+ %(i.name, m.name, i.name_lower, m.name_lower), False))
1432
+ self.write_gtkdoc_deprecated_and_since_and_close(m, self.c, 0)
1433
+ self.c.write('gboolean\n'
1434
+ '%s_call_%s_sync (\n'
1435
+ ' %s *proxy'%(i.name_lower, m.name_lower, i.camel_name))
1436
+ for a in m.in_args:
1437
+ self.c.write(',\n %sarg_%s'%(a.ctype_in, a.name))
1438
+ if unix_fd:
1439
+ self.c.write(',\n GUnixFDList *fd_list')
1440
+ for a in m.out_args:
1441
+ self.c.write(',\n %sout_%s'%(a.ctype_out, a.name))
1442
+ if unix_fd:
1443
+ self.c.write(',\n GUnixFDList **out_fd_list')
1444
+ self.c.write(',\n'
1445
+ ' GCancellable *cancellable,\n'
1446
+ ' GError **error)\n'
1447
+ '{\n'
1448
+ ' GVariant *_ret;\n')
1449
+ if unix_fd:
1450
+ self.c.write(' _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy),\n')
1451
+ else:
1452
+ self.c.write(' _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),\n')
1453
+ self.c.write(' "%s",\n'
1454
+ ' g_variant_new ("('%(m.name))
1455
+ for a in m.in_args:
1456
+ self.c.write('%s'%(a.format_in))
1457
+ self.c.write(')"')
1458
+ for a in m.in_args:
1459
+ self.c.write(',\n arg_%s'%(a.name))
1460
+ self.c.write('),\n'
1461
+ ' G_DBUS_CALL_FLAGS_NONE,\n'
1462
+ ' -1,\n')
1463
+ if unix_fd:
1464
+ self.c.write(' fd_list,\n'
1465
+ ' out_fd_list,\n')
1466
+ self.c.write(' cancellable,\n'
1467
+ ' error);\n'
1468
+ ' if (_ret == NULL)\n'
1469
+ ' goto _out;\n')
1470
+ self.c.write(' g_variant_get (_ret,\n'
1471
+ ' \"(')
1472
+ for a in m.out_args:
1473
+ self.c.write('%s'%(a.format_out))
1474
+ self.c.write(')"')
1475
+ for a in m.out_args:
1476
+ self.c.write(',\n out_%s'%(a.name))
1477
+ self.c.write(');\n'
1478
+ ' g_variant_unref (_ret);\n')
1479
+ self.c.write('_out:\n'
1480
+ ' return _ret != NULL;\n'
1481
+ '}\n'
1482
+ '\n')
1483
+
1484
+ # ---------------------------------------------------------------------------------------------------
1485
+
1486
+ def generate_method_completers(self, i):
1487
+ for m in i.methods:
1488
+ unix_fd = False
1489
+ if utils.lookup_annotation(m.annotations, 'org.gtk.GDBus.C.UnixFD'):
1490
+ unix_fd = True
1491
+ self.c.write('/**\n'
1492
+ ' * %s_complete_%s:\n'
1493
+ ' * @object: A #%s.\n'
1494
+ ' * @invocation: (transfer full): A #GDBusMethodInvocation.\n'
1495
+ %(i.name_lower, m.name_lower, i.camel_name))
1496
+ if unix_fd:
1497
+ self.c.write (' * @fd_list: (allow-none): A #GUnixFDList or %NULL.\n')
1498
+ for a in m.out_args:
1499
+ self.c.write(' * @%s: Parameter to return.\n'%(a.name))
1500
+ self.c.write(self.docbook_gen.expand(
1501
+ ' *\n'
1502
+ ' * Helper function used in service implementations to finish handling invocations of the %s.%s() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.\n'
1503
+ ' *\n'
1504
+ ' * This method will free @invocation, you cannot use it afterwards.\n'
1505
+ %(i.name, m.name), False))
1506
+ self.write_gtkdoc_deprecated_and_since_and_close(m, self.c, 0)
1507
+ self.c.write('void\n'
1508
+ '%s_complete_%s (\n'
1509
+ ' %s *object,\n'
1510
+ ' GDBusMethodInvocation *invocation'%(i.name_lower, m.name_lower, i.camel_name))
1511
+ if unix_fd:
1512
+ self.c.write(',\n GUnixFDList *fd_list')
1513
+ for a in m.out_args:
1514
+ self.c.write(',\n %s%s'%(a.ctype_in, a.name))
1515
+ self.c.write(')\n'
1516
+ '{\n')
1517
+
1518
+ if unix_fd:
1519
+ self.c.write(' g_dbus_method_invocation_return_value_with_unix_fd_list (invocation,\n'
1520
+ ' g_variant_new ("(')
1521
+ else:
1522
+ self.c.write(' g_dbus_method_invocation_return_value (invocation,\n'
1523
+ ' g_variant_new ("(')
1524
+ for a in m.out_args:
1525
+ self.c.write('%s'%(a.format_in))
1526
+ self.c.write(')"')
1527
+ for a in m.out_args:
1528
+ self.c.write(',\n %s'%(a.name))
1529
+ if unix_fd:
1530
+ self.c.write('),\n fd_list);\n')
1531
+ else:
1532
+ self.c.write('));\n')
1533
+ self.c.write('}\n'
1534
+ '\n')
1535
+
1536
+ # ---------------------------------------------------------------------------------------------------
1537
+
1538
+ def generate_proxy(self, i):
1539
+ # class boilerplate
1540
+ self.c.write('/* ------------------------------------------------------------------------ */\n'
1541
+ '\n')
1542
+
1543
+ self.c.write(self.docbook_gen.expand(
1544
+ '/**\n'
1545
+ ' * %sProxy:\n'
1546
+ ' *\n'
1547
+ ' * The #%sProxy structure contains only private data and should only be accessed using the provided API.\n'
1548
+ %(i.camel_name, i.camel_name), False))
1549
+ self.write_gtkdoc_deprecated_and_since_and_close(i, self.c, 0)
1550
+ self.c.write('\n')
1551
+
1552
+ self.c.write(self.docbook_gen.expand(
1553
+ '/**\n'
1554
+ ' * %sProxyClass:\n'
1555
+ ' * @parent_class: The parent class.\n'
1556
+ ' *\n'
1557
+ ' * Class structure for #%sProxy.\n'
1558
+ %(i.camel_name, i.camel_name), False))
1559
+ self.write_gtkdoc_deprecated_and_since_and_close(i, self.c, 0)
1560
+ self.c.write('\n')
1561
+
1562
+ self.c.write('struct _%sProxyPrivate\n'
1563
+ '{\n'
1564
+ ' GData *qdata;\n'
1565
+ '};\n'
1566
+ '\n'%i.camel_name)
1567
+
1568
+ self.c.write('static void %s_proxy_iface_init (%sIface *iface);\n'
1569
+ '\n'%(i.name_lower, i.camel_name))
1570
+ self.c.write('#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38\n')
1571
+ self.c.write('G_DEFINE_TYPE_WITH_CODE (%sProxy, %s_proxy, G_TYPE_DBUS_PROXY,\n'%(i.camel_name, i.name_lower))
1572
+ self.c.write(' G_ADD_PRIVATE (%sProxy)\n'%(i.camel_name))
1573
+ self.c.write(' G_IMPLEMENT_INTERFACE (%sTYPE_%s, %s_proxy_iface_init));\n\n'%(i.ns_upper, i.name_upper, i.name_lower))
1574
+ self.c.write('#else\n')
1575
+ self.c.write('G_DEFINE_TYPE_WITH_CODE (%sProxy, %s_proxy, G_TYPE_DBUS_PROXY,\n'%(i.camel_name, i.name_lower))
1576
+ self.c.write(' G_IMPLEMENT_INTERFACE (%sTYPE_%s, %s_proxy_iface_init));\n\n'%(i.ns_upper, i.name_upper, i.name_lower))
1577
+ self.c.write('#endif\n')
1578
+
1579
+ # finalize
1580
+ self.c.write('static void\n'
1581
+ '%s_proxy_finalize (GObject *object)\n'
1582
+ '{\n'%(i.name_lower))
1583
+ self.c.write(' %sProxy *proxy = %s%s_PROXY (object);\n'%(i.camel_name, i.ns_upper, i.name_upper))
1584
+ self.c.write(' g_datalist_clear (&proxy->priv->qdata);\n')
1585
+ self.c.write(' G_OBJECT_CLASS (%s_proxy_parent_class)->finalize (object);\n'
1586
+ '}\n'
1587
+ '\n'%(i.name_lower))
1588
+
1589
+ # property accessors
1590
+ #
1591
+ # Note that we are guaranteed that prop_id starts at 1 and is
1592
+ # laid out in the same order as introspection data pointers
1593
+ #
1594
+ self.c.write('static void\n'
1595
+ '%s_proxy_get_property (GObject *object,\n'
1596
+ ' guint prop_id,\n'
1597
+ ' GValue *value,\n'
1598
+ ' GParamSpec *pspec G_GNUC_UNUSED)\n'
1599
+ '{\n'%(i.name_lower))
1600
+ if len(i.properties) > 0:
1601
+ self.c.write(' const _ExtendedGDBusPropertyInfo *info;\n'
1602
+ ' GVariant *variant;\n'
1603
+ ' g_assert (prop_id != 0 && prop_id - 1 < %d);\n'
1604
+ ' info = _%s_property_info_pointers[prop_id - 1];\n'
1605
+ ' variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);\n'
1606
+ ' if (info->use_gvariant)\n'
1607
+ ' {\n'
1608
+ ' g_value_set_variant (value, variant);\n'
1609
+ ' }\n'
1610
+ ' else\n'
1611
+ ' {\n'
1612
+ # could be that we don't have the value in cache - in that case, we do
1613
+ # nothing and the user gets the default value for the GType
1614
+ ' if (variant != NULL)\n'
1615
+ ' g_dbus_gvariant_to_gvalue (variant, value);\n'
1616
+ ' }\n'
1617
+ ' if (variant != NULL)\n'
1618
+ ' g_variant_unref (variant);\n'
1619
+ %(len(i.properties), i.name_lower))
1620
+ self.c.write('}\n'
1621
+ '\n')
1622
+ if len(i.properties) > 0:
1623
+ self.c.write('static void\n'
1624
+ '%s_proxy_set_property_cb (GDBusProxy *proxy,\n'
1625
+ ' GAsyncResult *res,\n'
1626
+ ' gpointer user_data)\n'
1627
+ '{\n'%(i.name_lower))
1628
+ self.c.write(' const _ExtendedGDBusPropertyInfo *info = user_data;\n'
1629
+ ' GError *error;\n'
1630
+ ' GVariant *_ret;\n'
1631
+ ' error = NULL;\n'
1632
+ ' _ret = g_dbus_proxy_call_finish (proxy, res, &error);\n'
1633
+ ' if (!_ret)\n'
1634
+ ' {\n'
1635
+ ' g_warning ("Error setting property \'%%s\' on interface %s: %%s (%%s, %%d)",\n'
1636
+ ' info->parent_struct.name, \n'
1637
+ ' error->message, g_quark_to_string (error->domain), error->code);\n'
1638
+ ' g_error_free (error);\n'
1639
+ ' }\n'
1640
+ ' else\n'
1641
+ ' {\n'
1642
+ ' g_variant_unref (_ret);\n'
1643
+ ' }\n'
1644
+ %(i.name))
1645
+ self.c.write('}\n'
1646
+ '\n')
1647
+ self.c.write('static void\n'
1648
+ '%s_proxy_set_property (GObject *object,\n'
1649
+ ' guint prop_id,\n'
1650
+ ' const GValue *value,\n'
1651
+ ' GParamSpec *pspec G_GNUC_UNUSED)\n'
1652
+ '{\n'%(i.name_lower))
1653
+ if len(i.properties) > 0:
1654
+ self.c.write(' const _ExtendedGDBusPropertyInfo *info;\n'
1655
+ ' GVariant *variant;\n'
1656
+ ' g_assert (prop_id != 0 && prop_id - 1 < %d);\n'
1657
+ ' info = _%s_property_info_pointers[prop_id - 1];\n'
1658
+ ' variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));\n'
1659
+ ' g_dbus_proxy_call (G_DBUS_PROXY (object),\n'
1660
+ ' "org.freedesktop.DBus.Properties.Set",\n'
1661
+ ' g_variant_new ("(ssv)", "%s", info->parent_struct.name, variant),\n'
1662
+ ' G_DBUS_CALL_FLAGS_NONE,\n'
1663
+ ' -1,\n'
1664
+ ' NULL, (GAsyncReadyCallback) %s_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);\n'
1665
+ ' g_variant_unref (variant);\n'
1666
+ %(len(i.properties), i.name_lower, i.name, i.name_lower))
1667
+ self.c.write('}\n'
1668
+ '\n')
1669
+
1670
+ # signal received
1671
+ self.c.write('static void\n'
1672
+ '%s_proxy_g_signal (GDBusProxy *proxy,\n'
1673
+ ' const gchar *sender_name G_GNUC_UNUSED,\n'
1674
+ ' const gchar *signal_name,\n'
1675
+ ' GVariant *parameters)\n'
1676
+ '{\n'%(i.name_lower))
1677
+ self.c.write(' _ExtendedGDBusSignalInfo *info;\n'
1678
+ ' GVariantIter iter;\n'
1679
+ ' GVariant *child;\n'
1680
+ ' GValue *paramv;\n'
1681
+ ' guint num_params;\n'
1682
+ ' guint n;\n'
1683
+ ' guint signal_id;\n');
1684
+ # Note: info could be NULL if we are talking to a newer version of the interface
1685
+ self.c.write(' info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_%s_interface_info.parent_struct, signal_name);\n'
1686
+ ' if (info == NULL)\n'
1687
+ ' return;\n'
1688
+ %(i.name_lower))
1689
+ self.c.write (' num_params = g_variant_n_children (parameters);\n'
1690
+ ' paramv = g_new0 (GValue, num_params + 1);\n'
1691
+ ' g_value_init (&paramv[0], %sTYPE_%s);\n'
1692
+ ' g_value_set_object (&paramv[0], proxy);\n'
1693
+ %(i.ns_upper, i.name_upper))
1694
+ self.c.write(' g_variant_iter_init (&iter, parameters);\n'
1695
+ ' n = 1;\n'
1696
+ ' while ((child = g_variant_iter_next_value (&iter)) != NULL)\n'
1697
+ ' {\n'
1698
+ ' _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];\n'
1699
+ ' if (arg_info->use_gvariant)\n'
1700
+ ' {\n'
1701
+ ' g_value_init (&paramv[n], G_TYPE_VARIANT);\n'
1702
+ ' g_value_set_variant (&paramv[n], child);\n'
1703
+ ' n++;\n'
1704
+ ' }\n'
1705
+ ' else\n'
1706
+ ' g_dbus_gvariant_to_gvalue (child, &paramv[n++]);\n'
1707
+ ' g_variant_unref (child);\n'
1708
+ ' }\n'
1709
+ )
1710
+ self.c.write(' signal_id = g_signal_lookup (info->signal_name, %sTYPE_%s);\n'
1711
+ %(i.ns_upper, i.name_upper))
1712
+ self.c.write(' g_signal_emitv (paramv, signal_id, 0, NULL);\n')
1713
+ self.c.write(' for (n = 0; n < num_params + 1; n++)\n'
1714
+ ' g_value_unset (&paramv[n]);\n'
1715
+ ' g_free (paramv);\n')
1716
+ self.c.write('}\n'
1717
+ '\n')
1718
+
1719
+ # property changed
1720
+ self.c.write('static void\n'
1721
+ '%s_proxy_g_properties_changed (GDBusProxy *_proxy,\n'
1722
+ ' GVariant *changed_properties,\n'
1723
+ ' const gchar *const *invalidated_properties)\n'
1724
+ '{\n'%(i.name_lower))
1725
+ # Note: info could be NULL if we are talking to a newer version of the interface
1726
+ self.c.write(' %sProxy *proxy = %s%s_PROXY (_proxy);\n'
1727
+ ' guint n;\n'
1728
+ ' const gchar *key;\n'
1729
+ ' GVariantIter *iter;\n'
1730
+ ' _ExtendedGDBusPropertyInfo *info;\n'
1731
+ ' g_variant_get (changed_properties, "a{sv}", &iter);\n'
1732
+ ' while (g_variant_iter_next (iter, "{&sv}", &key, NULL))\n'
1733
+ ' {\n'
1734
+ ' info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_%s_interface_info.parent_struct, key);\n'
1735
+ ' g_datalist_remove_data (&proxy->priv->qdata, key);\n'
1736
+ ' if (info != NULL)\n'
1737
+ ' g_object_notify (G_OBJECT (proxy), info->hyphen_name);\n'
1738
+ ' }\n'
1739
+ ' g_variant_iter_free (iter);\n'
1740
+ ' for (n = 0; invalidated_properties[n] != NULL; n++)\n'
1741
+ ' {\n'
1742
+ ' info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_%s_interface_info.parent_struct, invalidated_properties[n]);\n'
1743
+ ' g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);\n'
1744
+ ' if (info != NULL)\n'
1745
+ ' g_object_notify (G_OBJECT (proxy), info->hyphen_name);\n'
1746
+ ' }\n'
1747
+ '}\n'
1748
+ '\n'
1749
+ %(i.camel_name, i.ns_upper, i.name_upper,
1750
+ i.name_lower, i.name_lower))
1751
+
1752
+ # property vfuncs
1753
+ for p in i.properties:
1754
+ nul_value = '0'
1755
+ if p.arg.free_func != None:
1756
+ nul_value = 'NULL'
1757
+ self.c.write('static %s\n'
1758
+ '%s_proxy_get_%s (%s *object)\n'
1759
+ '{\n'
1760
+ ' %sProxy *proxy = %s%s_PROXY (object);\n'
1761
+ ' GVariant *variant;\n'
1762
+ ' %svalue = %s;\n'%(p.arg.ctype_in, i.name_lower, p.name_lower, i.camel_name,
1763
+ i.camel_name, i.ns_upper, i.name_upper,
1764
+ p.arg.ctype_in, nul_value))
1765
+ # For some property types, we have to free the returned
1766
+ # value (or part of it, e.g. the container) because of how
1767
+ # GVariant works.. see https://bugzilla.gnome.org/show_bug.cgi?id=657100
1768
+ # for details
1769
+ #
1770
+ free_container = False;
1771
+ if p.arg.gvariant_get == 'g_variant_get_strv' or p.arg.gvariant_get == 'g_variant_get_objpathv' or p.arg.gvariant_get == 'g_variant_get_bytestring_array':
1772
+ free_container = True;
1773
+ # If already using an old value for strv, objpathv, bytestring_array (see below),
1774
+ # then just return that... that way the result from multiple consecutive calls
1775
+ # to the getter are valid as long as they're freed
1776
+ #
1777
+ if free_container:
1778
+ self.c.write(' value = g_datalist_get_data (&proxy->priv->qdata, \"%s\");\n'
1779
+ ' if (value != NULL)\n'
1780
+ ' return value;\n'
1781
+ %(p.name))
1782
+ self.c.write(' variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), \"%s\");\n'%(p.name))
1783
+ if p.arg.gtype == 'G_TYPE_VARIANT':
1784
+ self.c.write(' value = variant;\n')
1785
+ self.c.write(' if (variant != NULL)\n')
1786
+ self.c.write(' g_variant_unref (variant);\n')
1787
+ else:
1788
+ self.c.write(' if (variant != NULL)\n'
1789
+ ' {\n')
1790
+ extra_len = ''
1791
+ if p.arg.gvariant_get == 'g_variant_get_string' or p.arg.gvariant_get == 'g_variant_get_strv' or p.arg.gvariant_get == 'g_variant_get_objv' or p.arg.gvariant_get == 'g_variant_get_bytestring_array':
1792
+ extra_len = ', NULL'
1793
+ self.c.write(' value = %s (variant%s);\n'%(p.arg.gvariant_get, extra_len))
1794
+ if free_container:
1795
+ self.c.write(' g_datalist_set_data_full (&proxy->priv->qdata, \"%s\", (gpointer) value, g_free);\n'
1796
+ %(p.name))
1797
+ self.c.write(' g_variant_unref (variant);\n')
1798
+ self.c.write(' }\n')
1799
+ self.c.write(' return value;\n')
1800
+ self.c.write('}\n')
1801
+ self.c.write('\n')
1802
+
1803
+ # class boilerplate
1804
+ self.c.write('static void\n'
1805
+ '%s_proxy_init (%sProxy *proxy)\n'
1806
+ '{\n'
1807
+ '#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38\n'
1808
+ ' proxy->priv = %s_proxy_get_instance_private (proxy);\n'
1809
+ '#else\n'
1810
+ ' proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, %sTYPE_%s_PROXY, %sProxyPrivate);\n'
1811
+ '#endif\n\n'
1812
+ ' g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), %s_interface_info ());\n'
1813
+ '}\n'
1814
+ '\n'
1815
+ %(i.name_lower, i.camel_name,
1816
+ i.name_lower,
1817
+ i.ns_upper, i.name_upper, i.camel_name,
1818
+ i.name_lower))
1819
+ self.c.write('static void\n'
1820
+ '%s_proxy_class_init (%sProxyClass *klass)\n'
1821
+ '{\n'
1822
+ ' GObjectClass *gobject_class;\n'
1823
+ ' GDBusProxyClass *proxy_class;\n'
1824
+ '\n'
1825
+ ' gobject_class = G_OBJECT_CLASS (klass);\n'
1826
+ ' gobject_class->finalize = %s_proxy_finalize;\n'
1827
+ ' gobject_class->get_property = %s_proxy_get_property;\n'
1828
+ ' gobject_class->set_property = %s_proxy_set_property;\n'
1829
+ '\n'
1830
+ ' proxy_class = G_DBUS_PROXY_CLASS (klass);\n'
1831
+ ' proxy_class->g_signal = %s_proxy_g_signal;\n'
1832
+ ' proxy_class->g_properties_changed = %s_proxy_g_properties_changed;\n'
1833
+ '\n'%(i.name_lower, i.camel_name,
1834
+ i.name_lower, i.name_lower, i.name_lower, i.name_lower, i.name_lower))
1835
+ if len(i.properties) > 0:
1836
+ self.c.write(' %s_override_properties (gobject_class, 1);\n\n'%(i.name_lower))
1837
+ self.c.write('#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38\n'
1838
+ ' g_type_class_add_private (klass, sizeof (%sProxyPrivate));\n'
1839
+ '#endif\n'%(i.camel_name))
1840
+ self.c.write('}\n'
1841
+ '\n')
1842
+
1843
+ self.c.write('static void\n'
1844
+ '%s_proxy_iface_init (%sIface *iface)\n'
1845
+ '{\n'%(i.name_lower, i.camel_name))
1846
+ for p in i.properties:
1847
+ self.c.write(' iface->get_%s = %s_proxy_get_%s;\n'%(p.name_lower, i.name_lower, p.name_lower))
1848
+ self.c.write('}\n'
1849
+ '\n')
1850
+
1851
+ # constructors
1852
+ self.c.write(self.docbook_gen.expand(
1853
+ '/**\n'
1854
+ ' * %s_proxy_new:\n'
1855
+ ' * @connection: A #GDBusConnection.\n'
1856
+ ' * @flags: Flags from the #GDBusProxyFlags enumeration.\n'
1857
+ ' * @name: (allow-none): A bus name (well-known or unique) or %%NULL if @connection is not a message bus connection.\n'
1858
+ ' * @object_path: An object path.\n'
1859
+ ' * @cancellable: (allow-none): A #GCancellable or %%NULL.\n'
1860
+ ' * @callback: A #GAsyncReadyCallback to call when the request is satisfied.\n'
1861
+ ' * @user_data: User data to pass to @callback.\n'
1862
+ ' *\n'
1863
+ ' * Asynchronously creates a proxy for the D-Bus interface #%s. See g_dbus_proxy_new() for more details.\n'
1864
+ ' *\n'
1865
+ ' * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.\n'
1866
+ ' * You can then call %s_proxy_new_finish() to get the result of the operation.\n'
1867
+ ' *\n'
1868
+ ' * See %s_proxy_new_sync() for the synchronous, blocking version of this constructor.\n'
1869
+ %(i.name_lower, i.name, i.name_lower, i.name_lower), False))
1870
+ self.write_gtkdoc_deprecated_and_since_and_close(i, self.c, 0)
1871
+ self.c.write('void\n'
1872
+ '%s_proxy_new (\n'
1873
+ ' GDBusConnection *connection,\n'
1874
+ ' GDBusProxyFlags flags,\n'
1875
+ ' const gchar *name,\n'
1876
+ ' const gchar *object_path,\n'
1877
+ ' GCancellable *cancellable,\n'
1878
+ ' GAsyncReadyCallback callback,\n'
1879
+ ' gpointer user_data)\n'
1880
+ '{\n'
1881
+ ' g_async_initable_new_async (%sTYPE_%s_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "%s", NULL);\n'
1882
+ '}\n'
1883
+ '\n'
1884
+ %(i.name_lower, i.ns_upper, i.name_upper, i.name))
1885
+ self.c.write('/**\n'
1886
+ ' * %s_proxy_new_finish:\n'
1887
+ ' * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to %s_proxy_new().\n'
1888
+ ' * @error: Return location for error or %%NULL\n'
1889
+ ' *\n'
1890
+ ' * Finishes an operation started with %s_proxy_new().\n'
1891
+ ' *\n'
1892
+ ' * Returns: (transfer full) (type %sProxy): The constructed proxy object or %%NULL if @error is set.\n'
1893
+ %(i.name_lower, i.name_lower, i.name_lower, i.camel_name))
1894
+ self.write_gtkdoc_deprecated_and_since_and_close(i, self.c, 0)
1895
+ self.c.write('%s *\n'
1896
+ '%s_proxy_new_finish (\n'
1897
+ ' GAsyncResult *res,\n'
1898
+ ' GError **error)\n'
1899
+ '{\n'
1900
+ ' GObject *ret;\n'
1901
+ ' GObject *source_object;\n'
1902
+ ' source_object = g_async_result_get_source_object (res);\n'
1903
+ ' ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);\n'
1904
+ ' g_object_unref (source_object);\n'
1905
+ ' if (ret != NULL)\n'
1906
+ ' return %s%s (ret);\n'
1907
+ ' else\n'
1908
+ ' return NULL;\n'
1909
+ '}\n'
1910
+ '\n'
1911
+ %(i.camel_name, i.name_lower, i.ns_upper, i.name_upper))
1912
+ self.c.write(self.docbook_gen.expand(
1913
+ '/**\n'
1914
+ ' * %s_proxy_new_sync:\n'
1915
+ ' * @connection: A #GDBusConnection.\n'
1916
+ ' * @flags: Flags from the #GDBusProxyFlags enumeration.\n'
1917
+ ' * @name: (allow-none): A bus name (well-known or unique) or %%NULL if @connection is not a message bus connection.\n'
1918
+ ' * @object_path: An object path.\n'
1919
+ ' * @cancellable: (allow-none): A #GCancellable or %%NULL.\n'
1920
+ ' * @error: Return location for error or %%NULL\n'
1921
+ ' *\n'
1922
+ ' * Synchronously creates a proxy for the D-Bus interface #%s. See g_dbus_proxy_new_sync() for more details.\n'
1923
+ ' *\n'
1924
+ ' * The calling thread is blocked until a reply is received.\n'
1925
+ ' *\n'
1926
+ ' * See %s_proxy_new() for the asynchronous version of this constructor.\n'
1927
+ ' *\n'
1928
+ ' * Returns: (transfer full) (type %sProxy): The constructed proxy object or %%NULL if @error is set.\n'
1929
+ %(i.name_lower, i.name, i.name_lower, i.camel_name), False))
1930
+ self.write_gtkdoc_deprecated_and_since_and_close(i, self.c, 0)
1931
+ self.c.write('%s *\n'
1932
+ '%s_proxy_new_sync (\n'
1933
+ ' GDBusConnection *connection,\n'
1934
+ ' GDBusProxyFlags flags,\n'
1935
+ ' const gchar *name,\n'
1936
+ ' const gchar *object_path,\n'
1937
+ ' GCancellable *cancellable,\n'
1938
+ ' GError **error)\n'
1939
+ '{\n'
1940
+ ' GInitable *ret;\n'
1941
+ ' ret = g_initable_new (%sTYPE_%s_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "%s", NULL);\n'
1942
+ ' if (ret != NULL)\n'
1943
+ ' return %s%s (ret);\n'
1944
+ ' else\n'
1945
+ ' return NULL;\n'
1946
+ '}\n'
1947
+ '\n'
1948
+ %(i.camel_name, i.name_lower, i.ns_upper, i.name_upper, i.name, i.ns_upper, i.name_upper))
1949
+ self.c.write('\n')
1950
+ self.c.write(self.docbook_gen.expand(
1951
+ '/**\n'
1952
+ ' * %s_proxy_new_for_bus:\n'
1953
+ ' * @bus_type: A #GBusType.\n'
1954
+ ' * @flags: Flags from the #GDBusProxyFlags enumeration.\n'
1955
+ ' * @name: A bus name (well-known or unique).\n'
1956
+ ' * @object_path: An object path.\n'
1957
+ ' * @cancellable: (allow-none): A #GCancellable or %%NULL.\n'
1958
+ ' * @callback: A #GAsyncReadyCallback to call when the request is satisfied.\n'
1959
+ ' * @user_data: User data to pass to @callback.\n'
1960
+ ' *\n'
1961
+ ' * Like %s_proxy_new() but takes a #GBusType instead of a #GDBusConnection.\n'
1962
+ ' *\n'
1963
+ ' * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.\n'
1964
+ ' * You can then call %s_proxy_new_for_bus_finish() to get the result of the operation.\n'
1965
+ ' *\n'
1966
+ ' * See %s_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.\n'
1967
+ %(i.name_lower, i.name_lower, i.name_lower, i.name_lower), False))
1968
+ self.write_gtkdoc_deprecated_and_since_and_close(i, self.c, 0)
1969
+ self.c.write('void\n'
1970
+ '%s_proxy_new_for_bus (\n'
1971
+ ' GBusType bus_type,\n'
1972
+ ' GDBusProxyFlags flags,\n'
1973
+ ' const gchar *name,\n'
1974
+ ' const gchar *object_path,\n'
1975
+ ' GCancellable *cancellable,\n'
1976
+ ' GAsyncReadyCallback callback,\n'
1977
+ ' gpointer user_data)\n'
1978
+ '{\n'
1979
+ ' g_async_initable_new_async (%sTYPE_%s_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "%s", NULL);\n'
1980
+ '}\n'
1981
+ '\n'
1982
+ %(i.name_lower, i.ns_upper, i.name_upper, i.name))
1983
+ self.c.write('/**\n'
1984
+ ' * %s_proxy_new_for_bus_finish:\n'
1985
+ ' * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to %s_proxy_new_for_bus().\n'
1986
+ ' * @error: Return location for error or %%NULL\n'
1987
+ ' *\n'
1988
+ ' * Finishes an operation started with %s_proxy_new_for_bus().\n'
1989
+ ' *\n'
1990
+ ' * Returns: (transfer full) (type %sProxy): The constructed proxy object or %%NULL if @error is set.\n'
1991
+ %(i.name_lower, i.name_lower, i.name_lower, i.camel_name))
1992
+ self.write_gtkdoc_deprecated_and_since_and_close(i, self.c, 0)
1993
+ self.c.write('%s *\n'
1994
+ '%s_proxy_new_for_bus_finish (\n'
1995
+ ' GAsyncResult *res,\n'
1996
+ ' GError **error)\n'
1997
+ '{\n'
1998
+ ' GObject *ret;\n'
1999
+ ' GObject *source_object;\n'
2000
+ ' source_object = g_async_result_get_source_object (res);\n'
2001
+ ' ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);\n'
2002
+ ' g_object_unref (source_object);\n'
2003
+ ' if (ret != NULL)\n'
2004
+ ' return %s%s (ret);\n'
2005
+ ' else\n'
2006
+ ' return NULL;\n'
2007
+ '}\n'
2008
+ '\n'
2009
+ %(i.camel_name, i.name_lower, i.ns_upper, i.name_upper))
2010
+ self.c.write(self.docbook_gen.expand(
2011
+ '/**\n'
2012
+ ' * %s_proxy_new_for_bus_sync:\n'
2013
+ ' * @bus_type: A #GBusType.\n'
2014
+ ' * @flags: Flags from the #GDBusProxyFlags enumeration.\n'
2015
+ ' * @name: A bus name (well-known or unique).\n'
2016
+ ' * @object_path: An object path.\n'
2017
+ ' * @cancellable: (allow-none): A #GCancellable or %%NULL.\n'
2018
+ ' * @error: Return location for error or %%NULL\n'
2019
+ ' *\n'
2020
+ ' * Like %s_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.\n'
2021
+ ' *\n'
2022
+ ' * The calling thread is blocked until a reply is received.\n'
2023
+ ' *\n'
2024
+ ' * See %s_proxy_new_for_bus() for the asynchronous version of this constructor.\n'
2025
+ ' *\n'
2026
+ ' * Returns: (transfer full) (type %sProxy): The constructed proxy object or %%NULL if @error is set.\n'
2027
+ %(i.name_lower, i.name_lower, i.name_lower, i.camel_name), False))
2028
+ self.write_gtkdoc_deprecated_and_since_and_close(i, self.c, 0)
2029
+ self.c.write('%s *\n'
2030
+ '%s_proxy_new_for_bus_sync (\n'
2031
+ ' GBusType bus_type,\n'
2032
+ ' GDBusProxyFlags flags,\n'
2033
+ ' const gchar *name,\n'
2034
+ ' const gchar *object_path,\n'
2035
+ ' GCancellable *cancellable,\n'
2036
+ ' GError **error)\n'
2037
+ '{\n'
2038
+ ' GInitable *ret;\n'
2039
+ ' ret = g_initable_new (%sTYPE_%s_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "%s", NULL);\n'
2040
+ ' if (ret != NULL)\n'
2041
+ ' return %s%s (ret);\n'
2042
+ ' else\n'
2043
+ ' return NULL;\n'
2044
+ '}\n'
2045
+ '\n'
2046
+ %(i.camel_name, i.name_lower, i.ns_upper, i.name_upper, i.name, i.ns_upper, i.name_upper))
2047
+ self.c.write('\n')
2048
+
2049
+ # ---------------------------------------------------------------------------------------------------
2050
+
2051
+ def generate_skeleton(self, i):
2052
+ # class boilerplate
2053
+ self.c.write('/* ------------------------------------------------------------------------ */\n'
2054
+ '\n')
2055
+
2056
+ self.c.write(self.docbook_gen.expand(
2057
+ '/**\n'
2058
+ ' * %sSkeleton:\n'
2059
+ ' *\n'
2060
+ ' * The #%sSkeleton structure contains only private data and should only be accessed using the provided API.\n'
2061
+ %(i.camel_name, i.camel_name), False))
2062
+ self.write_gtkdoc_deprecated_and_since_and_close(i, self.c, 0)
2063
+ self.c.write('\n')
2064
+
2065
+ self.c.write(self.docbook_gen.expand(
2066
+ '/**\n'
2067
+ ' * %sSkeletonClass:\n'
2068
+ ' * @parent_class: The parent class.\n'
2069
+ ' *\n'
2070
+ ' * Class structure for #%sSkeleton.\n'
2071
+ %(i.camel_name, i.camel_name), False))
2072
+ self.write_gtkdoc_deprecated_and_since_and_close(i, self.c, 0)
2073
+ self.c.write('\n')
2074
+
2075
+ self.c.write('struct _%sSkeletonPrivate\n'
2076
+ '{\n'
2077
+ ' GValue *properties;\n'
2078
+ ' GList *changed_properties;\n'
2079
+ ' GSource *changed_properties_idle_source;\n'
2080
+ ' GMainContext *context;\n'
2081
+ ' GMutex lock;\n'
2082
+ '};\n'
2083
+ '\n'%i.camel_name)
2084
+
2085
+ self.c.write('static void\n'
2086
+ '_%s_skeleton_handle_method_call (\n'
2087
+ ' GDBusConnection *connection G_GNUC_UNUSED,\n'
2088
+ ' const gchar *sender G_GNUC_UNUSED,\n'
2089
+ ' const gchar *object_path G_GNUC_UNUSED,\n'
2090
+ ' const gchar *interface_name,\n'
2091
+ ' const gchar *method_name,\n'
2092
+ ' GVariant *parameters,\n'
2093
+ ' GDBusMethodInvocation *invocation,\n'
2094
+ ' gpointer user_data)\n'
2095
+ '{\n'
2096
+ ' %sSkeleton *skeleton = %s%s_SKELETON (user_data);\n'
2097
+ ' _ExtendedGDBusMethodInfo *info;\n'
2098
+ ' GVariantIter iter;\n'
2099
+ ' GVariant *child;\n'
2100
+ ' GValue *paramv;\n'
2101
+ ' guint num_params;\n'
2102
+ ' guint num_extra;\n'
2103
+ ' guint n;\n'
2104
+ ' guint signal_id;\n'
2105
+ ' GValue return_value = G_VALUE_INIT;\n'
2106
+ %(i.name_lower, i.camel_name, i.ns_upper, i.name_upper))
2107
+ self.c.write(' info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);\n'
2108
+ ' g_assert (info != NULL);\n'
2109
+ %())
2110
+ self.c.write (' num_params = g_variant_n_children (parameters);\n'
2111
+ ' num_extra = info->pass_fdlist ? 3 : 2;'
2112
+ ' paramv = g_new0 (GValue, num_params + num_extra);\n'
2113
+ ' n = 0;\n'
2114
+ ' g_value_init (&paramv[n], %sTYPE_%s);\n'
2115
+ ' g_value_set_object (&paramv[n++], skeleton);\n'
2116
+ ' g_value_init (&paramv[n], G_TYPE_DBUS_METHOD_INVOCATION);\n'
2117
+ ' g_value_set_object (&paramv[n++], invocation);\n'
2118
+ ' if (info->pass_fdlist)\n'
2119
+ ' {\n'
2120
+ '#ifdef G_OS_UNIX\n'
2121
+ ' g_value_init (&paramv[n], G_TYPE_UNIX_FD_LIST);\n'
2122
+ ' g_value_set_object (&paramv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));\n'
2123
+ '#else\n'
2124
+ ' g_assert_not_reached ();\n'
2125
+ '#endif\n'
2126
+ ' }\n'
2127
+ %(i.ns_upper, i.name_upper))
2128
+ self.c.write(' g_variant_iter_init (&iter, parameters);\n'
2129
+ ' while ((child = g_variant_iter_next_value (&iter)) != NULL)\n'
2130
+ ' {\n'
2131
+ ' _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];\n'
2132
+ ' if (arg_info->use_gvariant)\n'
2133
+ ' {\n'
2134
+ ' g_value_init (&paramv[n], G_TYPE_VARIANT);\n'
2135
+ ' g_value_set_variant (&paramv[n], child);\n'
2136
+ ' n++;\n'
2137
+ ' }\n'
2138
+ ' else\n'
2139
+ ' g_dbus_gvariant_to_gvalue (child, &paramv[n++]);\n'
2140
+ ' g_variant_unref (child);\n'
2141
+ ' }\n'
2142
+ )
2143
+ self.c.write(' signal_id = g_signal_lookup (info->signal_name, %sTYPE_%s);\n'
2144
+ %(i.ns_upper, i.name_upper))
2145
+ self.c.write(' g_value_init (&return_value, G_TYPE_BOOLEAN);\n'
2146
+ ' g_signal_emitv (paramv, signal_id, 0, &return_value);\n'
2147
+ ' if (!g_value_get_boolean (&return_value))\n'
2148
+ ' g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);\n'
2149
+ ' g_value_unset (&return_value);\n'
2150
+ )
2151
+ self.c.write(' for (n = 0; n < num_params + num_extra; n++)\n'
2152
+ ' g_value_unset (&paramv[n]);\n'
2153
+ ' g_free (paramv);\n')
2154
+ self.c.write('}\n'
2155
+ '\n')
2156
+
2157
+ self.c.write('static GVariant *\n'
2158
+ '_%s_skeleton_handle_get_property (\n'
2159
+ ' GDBusConnection *connection G_GNUC_UNUSED,\n'
2160
+ ' const gchar *sender G_GNUC_UNUSED,\n'
2161
+ ' const gchar *object_path G_GNUC_UNUSED,\n'
2162
+ ' const gchar *interface_name G_GNUC_UNUSED,\n'
2163
+ ' const gchar *property_name,\n'
2164
+ ' GError **error,\n'
2165
+ ' gpointer user_data)\n'
2166
+ '{\n'
2167
+ ' %sSkeleton *skeleton = %s%s_SKELETON (user_data);\n'
2168
+ ' GValue value = G_VALUE_INIT;\n'
2169
+ ' GParamSpec *pspec;\n'
2170
+ ' _ExtendedGDBusPropertyInfo *info;\n'
2171
+ ' GVariant *ret;\n'
2172
+ %(i.name_lower, i.camel_name, i.ns_upper, i.name_upper))
2173
+ self.c.write(' ret = NULL;\n'
2174
+ ' info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_%s_interface_info.parent_struct, property_name);\n'
2175
+ ' g_assert (info != NULL);\n'
2176
+ ' pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);\n'
2177
+ ' if (pspec == NULL)\n'
2178
+ ' {\n'
2179
+ ' g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %%s", property_name);\n'
2180
+ ' }\n'
2181
+ ' else\n'
2182
+ ' {\n'
2183
+ ' g_value_init (&value, pspec->value_type);\n'
2184
+ ' g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);\n'
2185
+ ' ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));\n'
2186
+ ' g_value_unset (&value);\n'
2187
+ ' }\n'
2188
+ ' return ret;\n'
2189
+ '}\n'
2190
+ '\n'
2191
+ %(i.name_lower))
2192
+
2193
+ self.c.write('static gboolean\n'
2194
+ '_%s_skeleton_handle_set_property (\n'
2195
+ ' GDBusConnection *connection G_GNUC_UNUSED,\n'
2196
+ ' const gchar *sender G_GNUC_UNUSED,\n'
2197
+ ' const gchar *object_path G_GNUC_UNUSED,\n'
2198
+ ' const gchar *interface_name G_GNUC_UNUSED,\n'
2199
+ ' const gchar *property_name,\n'
2200
+ ' GVariant *variant,\n'
2201
+ ' GError **error,\n'
2202
+ ' gpointer user_data)\n'
2203
+ '{\n'
2204
+ ' %sSkeleton *skeleton = %s%s_SKELETON (user_data);\n'
2205
+ ' GValue value = G_VALUE_INIT;\n'
2206
+ ' GParamSpec *pspec;\n'
2207
+ ' _ExtendedGDBusPropertyInfo *info;\n'
2208
+ ' gboolean ret;\n'
2209
+ %(i.name_lower, i.camel_name, i.ns_upper, i.name_upper))
2210
+ self.c.write(' ret = FALSE;\n'
2211
+ ' info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_%s_interface_info.parent_struct, property_name);\n'
2212
+ ' g_assert (info != NULL);\n'
2213
+ ' pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);\n'
2214
+ ' if (pspec == NULL)\n'
2215
+ ' {\n'
2216
+ ' g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %%s", property_name);\n'
2217
+ ' }\n'
2218
+ ' else\n'
2219
+ ' {\n'
2220
+ ' if (info->use_gvariant)\n'
2221
+ ' g_value_set_variant (&value, variant);\n'
2222
+ ' else\n'
2223
+ ' g_dbus_gvariant_to_gvalue (variant, &value);\n'
2224
+ ' g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);\n'
2225
+ ' g_value_unset (&value);\n'
2226
+ ' ret = TRUE;\n'
2227
+ ' }\n'
2228
+ ' return ret;\n'
2229
+ '}\n'
2230
+ '\n'
2231
+ %(i.name_lower))
2232
+
2233
+
2234
+ self.c.write('static const GDBusInterfaceVTable _%s_skeleton_vtable =\n'
2235
+ '{\n'
2236
+ ' _%s_skeleton_handle_method_call,\n'
2237
+ ' _%s_skeleton_handle_get_property,\n'
2238
+ ' _%s_skeleton_handle_set_property,\n'
2239
+ ' {NULL}\n'
2240
+ '};\n'
2241
+ '\n'%(i.name_lower, i.name_lower, i.name_lower, i.name_lower))
2242
+
2243
+ self.c.write('static GDBusInterfaceInfo *\n'
2244
+ '%s_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)\n'
2245
+ '{\n'
2246
+ ' return %s_interface_info ();\n'
2247
+ %(i.name_lower, i.name_lower))
2248
+ self.c.write('}\n'
2249
+ '\n')
2250
+
2251
+ self.c.write('static GDBusInterfaceVTable *\n'
2252
+ '%s_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)\n'
2253
+ '{\n'
2254
+ ' return (GDBusInterfaceVTable *) &_%s_skeleton_vtable;\n'
2255
+ %(i.name_lower, i.name_lower))
2256
+ self.c.write('}\n'
2257
+ '\n')
2258
+
2259
+ self.c.write('static GVariant *\n'
2260
+ '%s_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)\n'
2261
+ '{\n'
2262
+ ' %sSkeleton *skeleton = %s%s_SKELETON (_skeleton);\n'
2263
+ %(i.name_lower, i.camel_name, i.ns_upper, i.name_upper))
2264
+ self.c.write('\n'
2265
+ ' GVariantBuilder builder;\n'
2266
+ ' guint n;\n'
2267
+ ' g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));\n'
2268
+ ' if (_%s_interface_info.parent_struct.properties == NULL)\n'
2269
+ ' goto out;\n'
2270
+ ' for (n = 0; _%s_interface_info.parent_struct.properties[n] != NULL; n++)\n'
2271
+ ' {\n'
2272
+ ' GDBusPropertyInfo *info = _%s_interface_info.parent_struct.properties[n];\n'
2273
+ ' if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)\n'
2274
+ ' {\n'
2275
+ ' GVariant *value;\n'
2276
+ ' value = _%s_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "%s", info->name, NULL, skeleton);\n'
2277
+ ' if (value != NULL)\n'
2278
+ ' {\n'
2279
+ ' g_variant_take_ref (value);\n'
2280
+ ' g_variant_builder_add (&builder, "{sv}", info->name, value);\n'
2281
+ ' g_variant_unref (value);\n'
2282
+ ' }\n'
2283
+ ' }\n'
2284
+ ' }\n'
2285
+ 'out:\n'
2286
+ ' return g_variant_builder_end (&builder);\n'
2287
+ '}\n'
2288
+ '\n'
2289
+ %(i.name_lower, i.name_lower, i.name_lower, i.name_lower, i.name))
2290
+
2291
+ if len(i.properties) > 0:
2292
+ self.c.write('static gboolean _%s_emit_changed (gpointer user_data);\n'
2293
+ '\n'
2294
+ %(i.name_lower))
2295
+
2296
+ self.c.write('static void\n'
2297
+ '%s_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)\n'
2298
+ '{\n'
2299
+ %(i.name_lower))
2300
+ if len(i.properties) > 0:
2301
+ self.c.write(' %sSkeleton *skeleton = %s%s_SKELETON (_skeleton);\n'
2302
+ ' gboolean emit_changed = FALSE;\n'
2303
+ '\n'
2304
+ ' g_mutex_lock (&skeleton->priv->lock);\n'
2305
+ ' if (skeleton->priv->changed_properties_idle_source != NULL)\n'
2306
+ ' {\n'
2307
+ ' g_source_destroy (skeleton->priv->changed_properties_idle_source);\n'
2308
+ ' skeleton->priv->changed_properties_idle_source = NULL;\n'
2309
+ ' emit_changed = TRUE;\n'
2310
+ ' }\n'
2311
+ ' g_mutex_unlock (&skeleton->priv->lock);\n'
2312
+ '\n'
2313
+ ' if (emit_changed)\n'
2314
+ ' _%s_emit_changed (skeleton);\n'
2315
+ %(i.camel_name, i.ns_upper, i.name_upper, i.name_lower))
2316
+ self.c.write('}\n'
2317
+ '\n')
2318
+
2319
+ for s in i.signals:
2320
+ self.c.write('static void\n'
2321
+ '_%s_on_signal_%s (\n'
2322
+ ' %s *object'%(i.name_lower, s.name_lower, i.camel_name))
2323
+ for a in s.args:
2324
+ self.c.write(',\n %sarg_%s'%(a.ctype_in, a.name))
2325
+ self.c.write(')\n'
2326
+ '{\n'
2327
+ ' %sSkeleton *skeleton = %s%s_SKELETON (object);\n\n'
2328
+ ' GList *connections, *l;\n'
2329
+ ' GVariant *signal_variant;\n'
2330
+ ' connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));\n'
2331
+ %(i.camel_name, i.ns_upper, i.name_upper))
2332
+ self.c.write('\n'
2333
+ ' signal_variant = g_variant_ref_sink (g_variant_new ("(')
2334
+ for a in s.args:
2335
+ self.c.write('%s'%(a.format_in))
2336
+ self.c.write(')"')
2337
+ for a in s.args:
2338
+ self.c.write(',\n arg_%s'%(a.name))
2339
+ self.c.write('));\n')
2340
+
2341
+ self.c.write(' for (l = connections; l != NULL; l = l->next)\n'
2342
+ ' {\n'
2343
+ ' GDBusConnection *connection = l->data;\n'
2344
+ ' g_dbus_connection_emit_signal (connection,\n'
2345
+ ' NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "%s", "%s",\n'
2346
+ ' signal_variant, NULL);\n'
2347
+ ' }\n'
2348
+ %(i.name, s.name))
2349
+ self.c.write(' g_variant_unref (signal_variant);\n')
2350
+ self.c.write(' g_list_free_full (connections, g_object_unref);\n')
2351
+ self.c.write('}\n'
2352
+ '\n')
2353
+
2354
+ self.c.write('static void %s_skeleton_iface_init (%sIface *iface);\n'
2355
+ %(i.name_lower, i.camel_name))
2356
+
2357
+ self.c.write('#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38\n')
2358
+ self.c.write('G_DEFINE_TYPE_WITH_CODE (%sSkeleton, %s_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,\n'%(i.camel_name, i.name_lower))
2359
+ self.c.write(' G_ADD_PRIVATE (%sSkeleton)\n'%(i.camel_name))
2360
+ self.c.write(' G_IMPLEMENT_INTERFACE (%sTYPE_%s, %s_skeleton_iface_init));\n\n'%(i.ns_upper, i.name_upper, i.name_lower))
2361
+ self.c.write('#else\n')
2362
+ self.c.write('G_DEFINE_TYPE_WITH_CODE (%sSkeleton, %s_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,\n'%(i.camel_name, i.name_lower))
2363
+ self.c.write(' G_IMPLEMENT_INTERFACE (%sTYPE_%s, %s_skeleton_iface_init));\n\n'%(i.ns_upper, i.name_upper, i.name_lower))
2364
+ self.c.write('#endif\n')
2365
+
2366
+ # finalize
2367
+ self.c.write('static void\n'
2368
+ '%s_skeleton_finalize (GObject *object)\n'
2369
+ '{\n'%(i.name_lower))
2370
+ self.c.write(' %sSkeleton *skeleton = %s%s_SKELETON (object);\n'%(i.camel_name, i.ns_upper, i.name_upper))
2371
+ if len(i.properties) > 0:
2372
+ self.c.write(' guint n;\n'
2373
+ ' for (n = 0; n < %d; n++)\n'
2374
+ ' g_value_unset (&skeleton->priv->properties[n]);\n'%(len(i.properties)))
2375
+ self.c.write(' g_free (skeleton->priv->properties);\n')
2376
+ self.c.write(' g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);\n')
2377
+ self.c.write(' if (skeleton->priv->changed_properties_idle_source != NULL)\n')
2378
+ self.c.write(' g_source_destroy (skeleton->priv->changed_properties_idle_source);\n')
2379
+ self.c.write(' g_main_context_unref (skeleton->priv->context);\n')
2380
+ self.c.write(' g_mutex_clear (&skeleton->priv->lock);\n')
2381
+ self.c.write(' G_OBJECT_CLASS (%s_skeleton_parent_class)->finalize (object);\n'
2382
+ '}\n'
2383
+ '\n'%(i.name_lower))
2384
+
2385
+ # property accessors (TODO: generate PropertiesChanged signals in setter)
2386
+ if len(i.properties) > 0:
2387
+ self.c.write('static void\n'
2388
+ '%s_skeleton_get_property (GObject *object,\n'
2389
+ ' guint prop_id,\n'
2390
+ ' GValue *value,\n'
2391
+ ' GParamSpec *pspec G_GNUC_UNUSED)\n'
2392
+ '{\n'%(i.name_lower))
2393
+ self.c.write(' %sSkeleton *skeleton = %s%s_SKELETON (object);\n'
2394
+ ' g_assert (prop_id != 0 && prop_id - 1 < %d);\n'
2395
+ ' g_mutex_lock (&skeleton->priv->lock);\n'
2396
+ ' g_value_copy (&skeleton->priv->properties[prop_id - 1], value);\n'
2397
+ ' g_mutex_unlock (&skeleton->priv->lock);\n'
2398
+ %(i.camel_name, i.ns_upper, i.name_upper, len(i.properties)))
2399
+ self.c.write('}\n'
2400
+ '\n')
2401
+
2402
+ # if property is already scheduled then re-use entry.. though it could be
2403
+ # that the user did
2404
+ #
2405
+ # foo_set_prop_bar (object, "");
2406
+ # foo_set_prop_bar (object, "blah");
2407
+ #
2408
+ # say, every update... In this case, where nothing happens, we obviously
2409
+ # don't want a PropertiesChanged() event. We can easily check for this
2410
+ # by comparing against the _original value_ recorded before the first
2411
+ # change event. If the latest value is not different from the original
2412
+ # one, we can simply ignore the ChangedProperty
2413
+ #
2414
+ self.c.write('static gboolean\n'
2415
+ '_%s_emit_changed (gpointer user_data)\n'
2416
+ '{\n'
2417
+ ' %sSkeleton *skeleton = %s%s_SKELETON (user_data);\n'
2418
+ %(i.name_lower, i.camel_name, i.ns_upper, i.name_upper))
2419
+ self.c.write(' GList *l;\n'
2420
+ ' GVariantBuilder builder;\n'
2421
+ ' GVariantBuilder invalidated_builder;\n'
2422
+ ' guint num_changes;\n'
2423
+ '\n'
2424
+ ' g_mutex_lock (&skeleton->priv->lock);\n'
2425
+ ' g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));\n'
2426
+ ' g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));\n'
2427
+ ' for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)\n'
2428
+ ' {\n'
2429
+ ' ChangedProperty *cp = l->data;\n'
2430
+ ' GVariant *variant;\n'
2431
+ ' const GValue *cur_value;\n'
2432
+ '\n'
2433
+ ' cur_value = &skeleton->priv->properties[cp->prop_id - 1];\n'
2434
+ ' if (!_g_value_equal (cur_value, &cp->orig_value))\n'
2435
+ ' {\n'
2436
+ ' variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));\n'
2437
+ ' g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);\n'
2438
+ ' g_variant_unref (variant);\n'
2439
+ ' num_changes++;\n'
2440
+ ' }\n'
2441
+ ' }\n'
2442
+ ' if (num_changes > 0)\n'
2443
+ ' {\n'
2444
+ ' GList *connections, *ll;\n'
2445
+ ' GVariant *signal_variant;'
2446
+ '\n'
2447
+ ' signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "%s",\n'
2448
+ ' &builder, &invalidated_builder));\n'
2449
+ ' connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));\n'
2450
+ ' for (ll = connections; ll != NULL; ll = ll->next)\n'
2451
+ ' {\n'
2452
+ ' GDBusConnection *connection = ll->data;\n'
2453
+ '\n'
2454
+ ' g_dbus_connection_emit_signal (connection,\n'
2455
+ ' NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),\n'
2456
+ ' "org.freedesktop.DBus.Properties",\n'
2457
+ ' "PropertiesChanged",\n'
2458
+ ' signal_variant,\n'
2459
+ ' NULL);\n'
2460
+ ' }\n'
2461
+ ' g_variant_unref (signal_variant);\n'
2462
+ ' g_list_free_full (connections, g_object_unref);\n'
2463
+ ' }\n'
2464
+ ' else\n'
2465
+ ' {\n'
2466
+ ' g_variant_builder_clear (&builder);\n'
2467
+ ' g_variant_builder_clear (&invalidated_builder);\n'
2468
+ ' }\n'
2469
+ %(i.name))
2470
+ self.c.write(' g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);\n')
2471
+ self.c.write(' skeleton->priv->changed_properties = NULL;\n')
2472
+ self.c.write(' skeleton->priv->changed_properties_idle_source = NULL;\n')
2473
+ self.c.write(' g_mutex_unlock (&skeleton->priv->lock);\n')
2474
+ self.c.write(' return FALSE;\n'
2475
+ '}\n'
2476
+ '\n')
2477
+ # holding lock while being called
2478
+ self.c.write('static void\n'
2479
+ '_%s_schedule_emit_changed (%sSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)\n'
2480
+ '{\n'
2481
+ ' ChangedProperty *cp;\n'
2482
+ ' GList *l;\n'
2483
+ ' cp = NULL;\n'
2484
+ ' for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)\n'
2485
+ ' {\n'
2486
+ ' ChangedProperty *i_cp = l->data;\n'
2487
+ ' if (i_cp->info == info)\n'
2488
+ ' {\n'
2489
+ ' cp = i_cp;\n'
2490
+ ' break;\n'
2491
+ ' }\n'
2492
+ ' }\n'
2493
+ %(i.name_lower, i.camel_name))
2494
+ self.c.write(' if (cp == NULL)\n'
2495
+ ' {\n'
2496
+ ' cp = g_new0 (ChangedProperty, 1);\n'
2497
+ ' cp->prop_id = prop_id;\n'
2498
+ ' cp->info = info;\n'
2499
+ ' skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);\n'
2500
+ ' g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));\n'
2501
+ ' g_value_copy (orig_value, &cp->orig_value);\n'
2502
+ ' }\n'
2503
+ '}\n'
2504
+ '\n'
2505
+ %())
2506
+
2507
+ # Postpone setting up the refresh source until the ::notify signal is emitted as
2508
+ # this allows use of g_object_freeze_notify()/g_object_thaw_notify() ...
2509
+ # This is useful when updating several properties from another thread than
2510
+ # where the idle will be emitted from
2511
+ self.c.write('static void\n'
2512
+ '%s_skeleton_notify (GObject *object,\n'
2513
+ ' GParamSpec *pspec G_GNUC_UNUSED)\n'
2514
+ '{\n'
2515
+ ' %sSkeleton *skeleton = %s%s_SKELETON (object);\n'
2516
+ ' g_mutex_lock (&skeleton->priv->lock);\n'
2517
+ ' if (skeleton->priv->changed_properties != NULL &&\n'
2518
+ ' skeleton->priv->changed_properties_idle_source == NULL)\n'
2519
+ ' {\n'
2520
+ ' skeleton->priv->changed_properties_idle_source = g_idle_source_new ();\n'
2521
+ ' g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);\n'
2522
+ ' g_source_set_callback (skeleton->priv->changed_properties_idle_source, _%s_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);\n'
2523
+ ' g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _%s_emit_changed");\n'
2524
+ ' g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);\n'
2525
+ ' g_source_unref (skeleton->priv->changed_properties_idle_source);\n'
2526
+ ' }\n'
2527
+ ' g_mutex_unlock (&skeleton->priv->lock);\n'
2528
+ '}\n'
2529
+ '\n'
2530
+ %(i.name_lower, i.camel_name, i.ns_upper, i.name_upper, i.name_lower, i.name_lower))
2531
+
2532
+ self.c.write('static void\n'
2533
+ '%s_skeleton_set_property (GObject *object,\n'
2534
+ ' guint prop_id,\n'
2535
+ ' const GValue *value,\n'
2536
+ ' GParamSpec *pspec)\n'
2537
+ '{\n'%(i.name_lower))
2538
+ self.c.write(' %sSkeleton *skeleton = %s%s_SKELETON (object);\n'
2539
+ ' g_assert (prop_id != 0 && prop_id - 1 < %d);\n'
2540
+ ' g_mutex_lock (&skeleton->priv->lock);\n'
2541
+ ' g_object_freeze_notify (object);\n'
2542
+ ' if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))\n'
2543
+ ' {\n'
2544
+ ' if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL)\n'
2545
+ ' _%s_schedule_emit_changed (skeleton, _%s_property_info_pointers[prop_id - 1], prop_id, &skeleton->priv->properties[prop_id - 1]);\n'
2546
+ ' g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);\n'
2547
+ ' g_object_notify_by_pspec (object, pspec);\n'
2548
+ ' }\n'
2549
+ ' g_mutex_unlock (&skeleton->priv->lock);\n'
2550
+ ' g_object_thaw_notify (object);\n'
2551
+ %(i.camel_name, i.ns_upper, i.name_upper, len(i.properties), i.name_lower, i.name_lower))
2552
+ self.c.write('}\n'
2553
+ '\n')
2554
+
2555
+ self.c.write('static void\n'
2556
+ '%s_skeleton_init (%sSkeleton *skeleton)\n'
2557
+ '{\n'
2558
+ '#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38\n'
2559
+ ' skeleton->priv = %s_skeleton_get_instance_private (skeleton);\n'
2560
+ '#else\n'
2561
+ ' skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, %sTYPE_%s_SKELETON, %sSkeletonPrivate);\n'
2562
+ '#endif\n\n'
2563
+ %(i.name_lower, i.camel_name,
2564
+ i.name_lower,
2565
+ i.ns_upper, i.name_upper, i.camel_name))
2566
+ self.c.write(' g_mutex_init (&skeleton->priv->lock);\n')
2567
+ self.c.write(' skeleton->priv->context = g_main_context_ref_thread_default ();\n')
2568
+ if len(i.properties) > 0:
2569
+ self.c.write(' skeleton->priv->properties = g_new0 (GValue, %d);\n'%(len(i.properties)))
2570
+ n = 0
2571
+ for p in i.properties:
2572
+ self.c.write(' g_value_init (&skeleton->priv->properties[%d], %s);\n'%(n, p.arg.gtype))
2573
+ n += 1
2574
+ self.c.write('}\n'
2575
+ '\n')
2576
+
2577
+ # property vfuncs
2578
+ n = 0
2579
+ for p in i.properties:
2580
+ self.c.write('static %s\n'
2581
+ '%s_skeleton_get_%s (%s *object)\n'
2582
+ '{\n'
2583
+ %(p.arg.ctype_in, i.name_lower, p.name_lower, i.camel_name))
2584
+ self.c.write(' %sSkeleton *skeleton = %s%s_SKELETON (object);\n'%(i.camel_name, i.ns_upper, i.name_upper))
2585
+ self.c.write(' %svalue;\n'
2586
+ ' g_mutex_lock (&skeleton->priv->lock);\n'
2587
+ ' value = %s (&(skeleton->priv->properties[%d]));\n'
2588
+ ' g_mutex_unlock (&skeleton->priv->lock);\n'
2589
+ %(p.arg.ctype_in_g, p.arg.gvalue_get, n))
2590
+ self.c.write(' return value;\n')
2591
+ self.c.write('}\n')
2592
+ self.c.write('\n')
2593
+ n += 1
2594
+
2595
+ self.c.write('static void\n'
2596
+ '%s_skeleton_class_init (%sSkeletonClass *klass)\n'
2597
+ '{\n'
2598
+ ' GObjectClass *gobject_class;\n'
2599
+ ' GDBusInterfaceSkeletonClass *skeleton_class;\n'
2600
+ '\n'
2601
+ ' gobject_class = G_OBJECT_CLASS (klass);\n'
2602
+ ' gobject_class->finalize = %s_skeleton_finalize;\n'
2603
+ %(i.name_lower, i.camel_name, i.name_lower))
2604
+ if len(i.properties) > 0:
2605
+ self.c.write(' gobject_class->get_property = %s_skeleton_get_property;\n'
2606
+ ' gobject_class->set_property = %s_skeleton_set_property;\n'
2607
+ ' gobject_class->notify = %s_skeleton_notify;\n'
2608
+ '\n'%(i.name_lower, i.name_lower, i.name_lower))
2609
+ self.c.write('\n'
2610
+ ' %s_override_properties (gobject_class, 1);\n'%(i.name_lower))
2611
+ self.c.write('\n'
2612
+ ' skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);\n');
2613
+ self.c.write(' skeleton_class->get_info = %s_skeleton_dbus_interface_get_info;\n'%(i.name_lower))
2614
+ self.c.write(' skeleton_class->get_properties = %s_skeleton_dbus_interface_get_properties;\n'%(i.name_lower))
2615
+ self.c.write(' skeleton_class->flush = %s_skeleton_dbus_interface_flush;\n'%(i.name_lower))
2616
+ self.c.write(' skeleton_class->get_vtable = %s_skeleton_dbus_interface_get_vtable;\n'%(i.name_lower))
2617
+
2618
+ self.c.write('\n'
2619
+ '#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38\n'
2620
+ ' g_type_class_add_private (klass, sizeof (%sSkeletonPrivate));\n'
2621
+ '#endif\n'%(i.camel_name))
2622
+
2623
+ self.c.write('}\n'
2624
+ '\n')
2625
+
2626
+ self.c.write('static void\n'
2627
+ '%s_skeleton_iface_init (%sIface *iface)\n'
2628
+ '{\n'
2629
+ %(i.name_lower, i.camel_name))
2630
+ for s in i.signals:
2631
+ self.c.write(' iface->%s = _%s_on_signal_%s;\n'
2632
+ %(s.name_lower, i.name_lower, s.name_lower))
2633
+ for p in i.properties:
2634
+ self.c.write(' iface->get_%s = %s_skeleton_get_%s;\n'%(p.name_lower, i.name_lower, p.name_lower))
2635
+ self.c.write('}\n'
2636
+ '\n')
2637
+
2638
+ # constructors
2639
+ self.c.write(self.docbook_gen.expand(
2640
+ '/**\n'
2641
+ ' * %s_skeleton_new:\n'
2642
+ ' *\n'
2643
+ ' * Creates a skeleton object for the D-Bus interface #%s.\n'
2644
+ ' *\n'
2645
+ ' * Returns: (transfer full) (type %sSkeleton): The skeleton object.\n'
2646
+ %(i.name_lower, i.name, i.camel_name), False))
2647
+ self.write_gtkdoc_deprecated_and_since_and_close(i, self.c, 0)
2648
+ self.c.write('%s *\n'
2649
+ '%s_skeleton_new (void)\n'
2650
+ '{\n'
2651
+ ' return %s%s (g_object_new (%sTYPE_%s_SKELETON, NULL));\n'
2652
+ '}\n'
2653
+ '\n'%(i.camel_name, i.name_lower, i.ns_upper, i.name_upper, i.ns_upper, i.name_upper))
2654
+
2655
+ # ---------------------------------------------------------------------------------------------------
2656
+
2657
+ def generate_object(self):
2658
+ self.c.write('/* ------------------------------------------------------------------------\n'
2659
+ ' * Code for Object, ObjectProxy and ObjectSkeleton\n'
2660
+ ' * ------------------------------------------------------------------------\n'
2661
+ ' */\n'
2662
+ '\n')
2663
+
2664
+ self.c.write(self.docbook_gen.expand(
2665
+ '/**\n'
2666
+ ' * SECTION:%sObject\n'
2667
+ ' * @title: %sObject\n'
2668
+ ' * @short_description: Specialized GDBusObject types\n'
2669
+ ' *\n'
2670
+ ' * This section contains the #%sObject, #%sObjectProxy, and #%sObjectSkeleton types which make it easier to work with objects implementing generated types for D-Bus interfaces.\n'
2671
+ ' */\n'
2672
+ %(self.namespace, self.namespace, self.namespace, self.namespace, self.namespace), False))
2673
+ self.c.write('\n')
2674
+
2675
+ self.c.write(self.docbook_gen.expand(
2676
+ '/**\n'
2677
+ ' * %sObject:\n'
2678
+ ' *\n'
2679
+ ' * The #%sObject type is a specialized container of interfaces.\n'
2680
+ ' */\n'
2681
+ %(self.namespace, self.namespace), False))
2682
+ self.c.write('\n')
2683
+
2684
+ self.c.write(self.docbook_gen.expand(
2685
+ '/**\n'
2686
+ ' * %sObjectIface:\n'
2687
+ ' * @parent_iface: The parent interface.\n'
2688
+ ' *\n'
2689
+ ' * Virtual table for the #%sObject interface.\n'
2690
+ ' */\n'
2691
+ %(self.namespace, self.namespace), False))
2692
+ self.c.write('\n')
2693
+
2694
+ self.c.write('typedef %sObjectIface %sObjectInterface;\n'%(self.namespace, self.namespace))
2695
+ self.c.write('G_DEFINE_INTERFACE_WITH_CODE (%sObject, %sobject, G_TYPE_OBJECT, g_type_interface_add_prerequisite (g_define_type_id, G_TYPE_DBUS_OBJECT));\n'%(self.namespace, self.ns_lower))
2696
+ self.c.write('\n')
2697
+ self.c.write('static void\n'
2698
+ '%sobject_default_init (%sObjectIface *iface)\n'
2699
+ '{\n'
2700
+ %(self.ns_lower, self.namespace));
2701
+ for i in self.ifaces:
2702
+ self.c.write(self.docbook_gen.expand(
2703
+ ' /**\n'
2704
+ ' * %sObject:%s:\n'
2705
+ ' *\n'
2706
+ ' * The #%s instance corresponding to the D-Bus interface #%s, if any.\n'
2707
+ ' *\n'
2708
+ ' * Connect to the #GObject::notify signal to get informed of property changes.\n'
2709
+ %(self.namespace, i.name_hyphen, i.camel_name, i.name), False))
2710
+ self.write_gtkdoc_deprecated_and_since_and_close(i, self.c, 2)
2711
+ self.c.write(' g_object_interface_install_property (iface, g_param_spec_object ("%s", "%s", "%s", %sTYPE_%s, G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS));\n'
2712
+ '\n'
2713
+ %(i.name_hyphen, i.name_hyphen, i.name_hyphen, self.ns_upper, i.name_upper))
2714
+ self.c.write('}\n'
2715
+ '\n')
2716
+
2717
+ for i in self.ifaces:
2718
+ self.c.write(self.docbook_gen.expand(
2719
+ '/**\n'
2720
+ ' * %sobject_get_%s:\n'
2721
+ ' * @object: A #%sObject.\n'
2722
+ ' *\n'
2723
+ ' * Gets the #%s instance for the D-Bus interface #%s on @object, if any.\n'
2724
+ ' *\n'
2725
+ ' * Returns: (transfer full): A #%s that must be freed with g_object_unref() or %%NULL if @object does not implement the interface.\n'
2726
+ %(self.ns_lower, i.name_upper.lower(), self.namespace, i.camel_name, i.name, i.camel_name), False))
2727
+ self.write_gtkdoc_deprecated_and_since_and_close(i, self.c, 0)
2728
+ self.c.write ('%s *%sobject_get_%s (%sObject *object)\n'
2729
+ %(i.camel_name, self.ns_lower, i.name_upper.lower(), self.namespace))
2730
+ self.c.write('{\n'
2731
+ ' GDBusInterface *ret;\n'
2732
+ ' ret = g_dbus_object_get_interface (G_DBUS_OBJECT (object), "%s");\n'
2733
+ ' if (ret == NULL)\n'
2734
+ ' return NULL;\n'
2735
+ ' return %s%s (ret);\n'
2736
+ '}\n'
2737
+ '\n'
2738
+ %(i.name, self.ns_upper, i.name_upper))
2739
+ self.c.write('\n')
2740
+ for i in self.ifaces:
2741
+ self.c.write(self.docbook_gen.expand(
2742
+ '/**\n'
2743
+ ' * %sobject_peek_%s: (skip)\n'
2744
+ ' * @object: A #%sObject.\n'
2745
+ ' *\n'
2746
+ ' * Like %sobject_get_%s() but doesn\'t increase the reference count on the returned object.\n'
2747
+ ' *\n'
2748
+ ' * <warning>It is not safe to use the returned object if you are on another thread than the one where the #GDBusObjectManagerClient or #GDBusObjectManagerServer for @object is running.</warning>\n'
2749
+ ' *\n'
2750
+ ' * Returns: (transfer none): A #%s or %%NULL if @object does not implement the interface. Do not free the returned object, it is owned by @object.\n'
2751
+ %(self.ns_lower, i.name_upper.lower(), self.namespace, self.ns_lower, i.name_upper.lower(), i.camel_name), False))
2752
+ self.write_gtkdoc_deprecated_and_since_and_close(i, self.c, 0)
2753
+ self.c.write ('%s *%sobject_peek_%s (%sObject *object)\n'
2754
+ %(i.camel_name, self.ns_lower, i.name_upper.lower(), self.namespace))
2755
+ self.c.write('{\n'
2756
+ ' GDBusInterface *ret;\n'
2757
+ ' ret = g_dbus_object_get_interface (G_DBUS_OBJECT (object), "%s");\n'
2758
+ ' if (ret == NULL)\n'
2759
+ ' return NULL;\n'
2760
+ ' g_object_unref (ret);\n'
2761
+ ' return %s%s (ret);\n'
2762
+ '}\n'
2763
+ '\n'
2764
+ %(i.name, self.ns_upper, i.name_upper))
2765
+ self.c.write('\n')
2766
+ # shared by ObjectProxy and ObjectSkeleton classes
2767
+ self.c.write('static void\n'
2768
+ '%sobject_notify (GDBusObject *object, GDBusInterface *interface)\n'
2769
+ '{\n'
2770
+ ' _ExtendedGDBusInterfaceInfo *info = (_ExtendedGDBusInterfaceInfo *) g_dbus_interface_get_info (interface);\n'
2771
+ ' /* info can be NULL if the other end is using a D-Bus interface we don\'t know\n'
2772
+ ' * anything about, for example old generated code in this process talking to\n'
2773
+ ' * newer generated code in the other process. */\n'
2774
+ ' if (info != NULL)\n'
2775
+ ' g_object_notify (G_OBJECT (object), info->hyphen_name);\n'
2776
+ '}\n'
2777
+ '\n'
2778
+ %(self.ns_lower))
2779
+
2780
+ self.c.write(self.docbook_gen.expand(
2781
+ '/**\n'
2782
+ ' * %sObjectProxy:\n'
2783
+ ' *\n'
2784
+ ' * The #%sObjectProxy structure contains only private data and should only be accessed using the provided API.\n'
2785
+ %(self.namespace, self.namespace), False))
2786
+ self.c.write(' */\n')
2787
+ self.c.write('\n')
2788
+ self.c.write(self.docbook_gen.expand(
2789
+ '/**\n'
2790
+ ' * %sObjectProxyClass:\n'
2791
+ ' * @parent_class: The parent class.\n'
2792
+ ' *\n'
2793
+ ' * Class structure for #%sObjectProxy.\n'
2794
+ %(self.namespace, self.namespace), False))
2795
+ self.c.write(' */\n')
2796
+ self.c.write('\n')
2797
+ # class boilerplate
2798
+ self.c.write('static void\n'
2799
+ '%sobject_proxy__%sobject_iface_init (%sObjectIface *iface G_GNUC_UNUSED)\n'
2800
+ '{\n'
2801
+ '}\n'
2802
+ '\n'
2803
+ %(self.ns_lower, self.ns_lower, self.namespace))
2804
+ self.c.write('static void\n'
2805
+ '%sobject_proxy__g_dbus_object_iface_init (GDBusObjectIface *iface)\n'
2806
+ '{\n'
2807
+ ' iface->interface_added = %sobject_notify;\n'
2808
+ ' iface->interface_removed = %sobject_notify;\n'
2809
+ '}\n'
2810
+ '\n'
2811
+ %(self.ns_lower, self.ns_lower, self.ns_lower))
2812
+ self.c.write('\n')
2813
+ self.c.write('G_DEFINE_TYPE_WITH_CODE (%sObjectProxy, %sobject_proxy, G_TYPE_DBUS_OBJECT_PROXY,\n'
2814
+ ' G_IMPLEMENT_INTERFACE (%sTYPE_OBJECT, %sobject_proxy__%sobject_iface_init)\n'
2815
+ ' G_IMPLEMENT_INTERFACE (G_TYPE_DBUS_OBJECT, %sobject_proxy__g_dbus_object_iface_init));\n'
2816
+ '\n'
2817
+ %(self.namespace, self.ns_lower, self.ns_upper, self.ns_lower, self.ns_lower, self.ns_lower))
2818
+ # class boilerplate
2819
+ self.c.write('static void\n'
2820
+ '%sobject_proxy_init (%sObjectProxy *object G_GNUC_UNUSED)\n'
2821
+ '{\n'
2822
+ '}\n'
2823
+ '\n'%(self.ns_lower, self.namespace))
2824
+ self.c.write('static void\n'
2825
+ '%sobject_proxy_set_property (GObject *gobject,\n'
2826
+ ' guint prop_id,\n'
2827
+ ' const GValue *value G_GNUC_UNUSED,\n'
2828
+ ' GParamSpec *pspec)\n'
2829
+ '{\n'
2830
+ ' G_OBJECT_WARN_INVALID_PROPERTY_ID (gobject, prop_id, pspec);\n'
2831
+ %(self.ns_lower))
2832
+ self.c.write('}\n'
2833
+ '\n'%())
2834
+ self.c.write('static void\n'
2835
+ '%sobject_proxy_get_property (GObject *gobject,\n'
2836
+ ' guint prop_id,\n'
2837
+ ' GValue *value,\n'
2838
+ ' GParamSpec *pspec)\n'
2839
+ '{\n'
2840
+ ' %sObjectProxy *object = %sOBJECT_PROXY (gobject);\n'
2841
+ ' GDBusInterface *interface;\n'
2842
+ '\n'
2843
+ ' switch (prop_id)\n'
2844
+ ' {\n'
2845
+ %(self.ns_lower, self.namespace, self.ns_upper))
2846
+ n = 1
2847
+ for i in self.ifaces:
2848
+ self.c.write(' case %d:\n'
2849
+ ' interface = g_dbus_object_get_interface (G_DBUS_OBJECT (object), "%s");\n'
2850
+ ' g_value_take_object (value, interface);\n'
2851
+ ' break;\n'
2852
+ '\n'
2853
+ %(n, i.name))
2854
+ n += 1
2855
+ self.c.write(' default:\n'
2856
+ ' G_OBJECT_WARN_INVALID_PROPERTY_ID (gobject, prop_id, pspec);\n'
2857
+ ' break;\n'
2858
+ ' }\n'
2859
+ '}\n'
2860
+ '\n'%())
2861
+ self.c.write('static void\n'
2862
+ '%sobject_proxy_class_init (%sObjectProxyClass *klass)\n'
2863
+ '{\n'
2864
+ ' GObjectClass *gobject_class = G_OBJECT_CLASS (klass);\n'
2865
+ '\n'
2866
+ ' gobject_class->set_property = %sobject_proxy_set_property;\n'
2867
+ ' gobject_class->get_property = %sobject_proxy_get_property;\n'
2868
+ '\n'
2869
+ %(self.ns_lower, self.namespace, self.ns_lower, self.ns_lower))
2870
+ n = 1
2871
+ for i in self.ifaces:
2872
+ self.c.write(' g_object_class_override_property (gobject_class, %d, "%s");'
2873
+ '\n'
2874
+ %(n, i.name_hyphen))
2875
+ n += 1
2876
+ self.c.write('}\n'
2877
+ '\n')
2878
+
2879
+ self.c.write(self.docbook_gen.expand(
2880
+ '/**\n'
2881
+ ' * %sobject_proxy_new:\n'
2882
+ ' * @connection: A #GDBusConnection.\n'
2883
+ ' * @object_path: An object path.\n'
2884
+ ' *\n'
2885
+ ' * Creates a new proxy object.\n'
2886
+ ' *\n'
2887
+ ' * Returns: (transfer full): The proxy object.\n'
2888
+ ' */\n'
2889
+ %(self.ns_lower), False))
2890
+ self.c.write('%sObjectProxy *\n'
2891
+ '%sobject_proxy_new (GDBusConnection *connection,\n'
2892
+ ' const gchar *object_path)\n'
2893
+ '{\n'
2894
+ ' g_return_val_if_fail (G_IS_DBUS_CONNECTION (connection), NULL);\n'
2895
+ ' g_return_val_if_fail (g_variant_is_object_path (object_path), NULL);\n'
2896
+ ' return %sOBJECT_PROXY (g_object_new (%sTYPE_OBJECT_PROXY, "g-connection", connection, "g-object-path", object_path, NULL));\n'
2897
+ '}\n'
2898
+ '\n'%(self.namespace, self.ns_lower, self.ns_upper, self.ns_upper))
2899
+
2900
+ self.c.write(self.docbook_gen.expand(
2901
+ '/**\n'
2902
+ ' * %sObjectSkeleton:\n'
2903
+ ' *\n'
2904
+ ' * The #%sObjectSkeleton structure contains only private data and should only be accessed using the provided API.\n'
2905
+ %(self.namespace, self.namespace), False))
2906
+ self.c.write(' */\n')
2907
+ self.c.write('\n')
2908
+ self.c.write(self.docbook_gen.expand(
2909
+ '/**\n'
2910
+ ' * %sObjectSkeletonClass:\n'
2911
+ ' * @parent_class: The parent class.\n'
2912
+ ' *\n'
2913
+ ' * Class structure for #%sObjectSkeleton.\n'
2914
+ %(self.namespace, self.namespace), False))
2915
+ self.c.write(' */\n')
2916
+ self.c.write('\n')
2917
+ # class boilerplate
2918
+ self.c.write('static void\n'
2919
+ '%sobject_skeleton__%sobject_iface_init (%sObjectIface *iface G_GNUC_UNUSED)\n'
2920
+ '{\n'
2921
+ '}\n'
2922
+ '\n'
2923
+ %(self.ns_lower, self.ns_lower, self.namespace))
2924
+ self.c.write('\n')
2925
+ self.c.write('static void\n'
2926
+ '%sobject_skeleton__g_dbus_object_iface_init (GDBusObjectIface *iface)\n'
2927
+ '{\n'
2928
+ ' iface->interface_added = %sobject_notify;\n'
2929
+ ' iface->interface_removed = %sobject_notify;\n'
2930
+ '}\n'
2931
+ '\n'
2932
+ %(self.ns_lower, self.ns_lower, self.ns_lower))
2933
+ self.c.write('G_DEFINE_TYPE_WITH_CODE (%sObjectSkeleton, %sobject_skeleton, G_TYPE_DBUS_OBJECT_SKELETON,\n'
2934
+ ' G_IMPLEMENT_INTERFACE (%sTYPE_OBJECT, %sobject_skeleton__%sobject_iface_init)\n'
2935
+ ' G_IMPLEMENT_INTERFACE (G_TYPE_DBUS_OBJECT, %sobject_skeleton__g_dbus_object_iface_init));\n'
2936
+ '\n'
2937
+ %(self.namespace, self.ns_lower, self.ns_upper, self.ns_lower, self.ns_lower, self.ns_lower))
2938
+ # class boilerplate
2939
+ self.c.write('static void\n'
2940
+ '%sobject_skeleton_init (%sObjectSkeleton *object G_GNUC_UNUSED)\n'
2941
+ '{\n'
2942
+ '}\n'
2943
+ '\n'%(self.ns_lower, self.namespace))
2944
+ self.c.write('static void\n'
2945
+ '%sobject_skeleton_set_property (GObject *gobject,\n'
2946
+ ' guint prop_id,\n'
2947
+ ' const GValue *value,\n'
2948
+ ' GParamSpec *pspec)\n'
2949
+ '{\n'
2950
+ ' %sObjectSkeleton *object = %sOBJECT_SKELETON (gobject);\n'
2951
+ ' GDBusInterfaceSkeleton *interface;\n'
2952
+ '\n'
2953
+ ' switch (prop_id)\n'
2954
+ ' {\n'
2955
+ %(self.ns_lower, self.namespace, self.ns_upper))
2956
+ n = 1
2957
+ for i in self.ifaces:
2958
+ self.c.write(' case %d:\n'
2959
+ ' interface = g_value_get_object (value);\n'
2960
+ ' if (interface != NULL)\n'
2961
+ ' {\n'
2962
+ ' g_warn_if_fail (%sIS_%s (interface));\n'
2963
+ ' g_dbus_object_skeleton_add_interface (G_DBUS_OBJECT_SKELETON (object), interface);\n'
2964
+ ' }\n'
2965
+ ' else\n'
2966
+ ' {\n'
2967
+ ' g_dbus_object_skeleton_remove_interface_by_name (G_DBUS_OBJECT_SKELETON (object), "%s");\n'
2968
+ ' }\n'
2969
+ ' break;\n'
2970
+ '\n'
2971
+ %(n, self.ns_upper, i.name_upper, i.name))
2972
+ n += 1
2973
+ self.c.write(' default:\n'
2974
+ ' G_OBJECT_WARN_INVALID_PROPERTY_ID (gobject, prop_id, pspec);\n'
2975
+ ' break;\n'
2976
+ ' }\n'
2977
+ '}\n'
2978
+ '\n'%())
2979
+ self.c.write('static void\n'
2980
+ '%sobject_skeleton_get_property (GObject *gobject,\n'
2981
+ ' guint prop_id,\n'
2982
+ ' GValue *value,\n'
2983
+ ' GParamSpec *pspec)\n'
2984
+ '{\n'
2985
+ ' %sObjectSkeleton *object = %sOBJECT_SKELETON (gobject);\n'
2986
+ ' GDBusInterface *interface;\n'
2987
+ '\n'
2988
+ ' switch (prop_id)\n'
2989
+ ' {\n'
2990
+ %(self.ns_lower, self.namespace, self.ns_upper))
2991
+ n = 1
2992
+ for i in self.ifaces:
2993
+ self.c.write(' case %d:\n'
2994
+ ' interface = g_dbus_object_get_interface (G_DBUS_OBJECT (object), "%s");\n'
2995
+ ' g_value_take_object (value, interface);\n'
2996
+ ' break;\n'
2997
+ '\n'
2998
+ %(n, i.name))
2999
+ n += 1
3000
+ self.c.write(' default:\n'
3001
+ ' G_OBJECT_WARN_INVALID_PROPERTY_ID (gobject, prop_id, pspec);\n'
3002
+ ' break;\n'
3003
+ ' }\n'
3004
+ '}\n'
3005
+ '\n'%())
3006
+ self.c.write('static void\n'
3007
+ '%sobject_skeleton_class_init (%sObjectSkeletonClass *klass)\n'
3008
+ '{\n'
3009
+ ' GObjectClass *gobject_class = G_OBJECT_CLASS (klass);\n'
3010
+ '\n'
3011
+ ' gobject_class->set_property = %sobject_skeleton_set_property;\n'
3012
+ ' gobject_class->get_property = %sobject_skeleton_get_property;\n'
3013
+ '\n'
3014
+ %(self.ns_lower, self.namespace, self.ns_lower, self.ns_lower))
3015
+ n = 1
3016
+ for i in self.ifaces:
3017
+ self.c.write(' g_object_class_override_property (gobject_class, %d, "%s");'
3018
+ '\n'
3019
+ %(n, i.name_hyphen))
3020
+ n += 1
3021
+ self.c.write('}\n'
3022
+ '\n')
3023
+ self.c.write(self.docbook_gen.expand(
3024
+ '/**\n'
3025
+ ' * %sobject_skeleton_new:\n'
3026
+ ' * @object_path: An object path.\n'
3027
+ ' *\n'
3028
+ ' * Creates a new skeleton object.\n'
3029
+ ' *\n'
3030
+ ' * Returns: (transfer full): The skeleton object.\n'
3031
+ ' */\n'
3032
+ %(self.ns_lower), False))
3033
+ self.c.write('%sObjectSkeleton *\n'
3034
+ '%sobject_skeleton_new (const gchar *object_path)\n'
3035
+ '{\n'
3036
+ ' g_return_val_if_fail (g_variant_is_object_path (object_path), NULL);\n'
3037
+ ' return %sOBJECT_SKELETON (g_object_new (%sTYPE_OBJECT_SKELETON, "g-object-path", object_path, NULL));\n'
3038
+ '}\n'
3039
+ '\n'%(self.namespace, self.ns_lower, self.ns_upper, self.ns_upper))
3040
+ for i in self.ifaces:
3041
+ self.c.write(self.docbook_gen.expand(
3042
+ '/**\n'
3043
+ ' * %sobject_skeleton_set_%s:\n'
3044
+ ' * @object: A #%sObjectSkeleton.\n'
3045
+ ' * @interface_: (allow-none): A #%s or %%NULL to clear the interface.\n'
3046
+ ' *\n'
3047
+ ' * Sets the #%s instance for the D-Bus interface #%s on @object.\n'
3048
+ %(self.ns_lower, i.name_upper.lower(), self.namespace, i.camel_name, i.camel_name, i.name), False))
3049
+ self.write_gtkdoc_deprecated_and_since_and_close(i, self.c, 0)
3050
+ self.c.write ('void %sobject_skeleton_set_%s (%sObjectSkeleton *object, %s *interface_)\n'
3051
+ %(self.ns_lower, i.name_upper.lower(), self.namespace, i.camel_name))
3052
+ self.c.write('{\n'
3053
+ ' g_object_set (G_OBJECT (object), "%s", interface_, NULL);\n'
3054
+ '}\n'
3055
+ '\n'
3056
+ %(i.name_hyphen))
3057
+ self.c.write('\n')
3058
+
3059
+
3060
+ def generate_object_manager_client(self):
3061
+ self.c.write('/* ------------------------------------------------------------------------\n'
3062
+ ' * Code for ObjectManager client\n'
3063
+ ' * ------------------------------------------------------------------------\n'
3064
+ ' */\n'
3065
+ '\n')
3066
+
3067
+ self.c.write(self.docbook_gen.expand(
3068
+ '/**\n'
3069
+ ' * SECTION:%sObjectManagerClient\n'
3070
+ ' * @title: %sObjectManagerClient\n'
3071
+ ' * @short_description: Generated GDBusObjectManagerClient type\n'
3072
+ ' *\n'
3073
+ ' * This section contains a #GDBusObjectManagerClient that uses %sobject_manager_client_get_proxy_type() as the #GDBusProxyTypeFunc.\n'
3074
+ ' */\n'
3075
+ %(self.namespace, self.namespace, self.ns_lower), False))
3076
+ self.c.write('\n')
3077
+
3078
+ self.c.write(self.docbook_gen.expand(
3079
+ '/**\n'
3080
+ ' * %sObjectManagerClient:\n'
3081
+ ' *\n'
3082
+ ' * The #%sObjectManagerClient structure contains only private data and should only be accessed using the provided API.\n'
3083
+ %(self.namespace, self.namespace), False))
3084
+ self.c.write(' */\n')
3085
+ self.c.write('\n')
3086
+
3087
+ self.c.write(self.docbook_gen.expand(
3088
+ '/**\n'
3089
+ ' * %sObjectManagerClientClass:\n'
3090
+ ' * @parent_class: The parent class.\n'
3091
+ ' *\n'
3092
+ ' * Class structure for #%sObjectManagerClient.\n'
3093
+ %(self.namespace, self.namespace), False))
3094
+ self.c.write(' */\n')
3095
+ self.c.write('\n')
3096
+
3097
+ # class boilerplate
3098
+ self.c.write('G_DEFINE_TYPE (%sObjectManagerClient, %sobject_manager_client, G_TYPE_DBUS_OBJECT_MANAGER_CLIENT);\n'
3099
+ '\n'
3100
+ %(self.namespace, self.ns_lower))
3101
+
3102
+ # class boilerplate
3103
+ self.c.write('static void\n'
3104
+ '%sobject_manager_client_init (%sObjectManagerClient *manager G_GNUC_UNUSED)\n'
3105
+ '{\n'
3106
+ '}\n'
3107
+ '\n'%(self.ns_lower, self.namespace))
3108
+ self.c.write('static void\n'
3109
+ '%sobject_manager_client_class_init (%sObjectManagerClientClass *klass G_GNUC_UNUSED)\n'
3110
+ '{\n'
3111
+ '}\n'
3112
+ '\n'%(self.ns_lower, self.namespace))
3113
+
3114
+ self.c.write(self.docbook_gen.expand(
3115
+ '/**\n'
3116
+ ' * %sobject_manager_client_get_proxy_type:\n'
3117
+ ' * @manager: A #GDBusObjectManagerClient.\n'
3118
+ ' * @object_path: The object path of the remote object (unused).\n'
3119
+ ' * @interface_name: (allow-none): Interface name of the remote object or %%NULL to get the object proxy #GType.\n'
3120
+ ' * @user_data: User data (unused).\n'
3121
+ ' *\n'
3122
+ ' * A #GDBusProxyTypeFunc that maps @interface_name to the generated #GDBusObjectProxy<!-- -->- and #GDBusProxy<!-- -->-derived types.\n'
3123
+ ' *\n'
3124
+ ' * Returns: A #GDBusProxy<!-- -->-derived #GType if @interface_name is not %%NULL, otherwise the #GType for #%sObjectProxy.\n'
3125
+ %(self.ns_lower, self.namespace), False))
3126
+ self.c.write(' */\n')
3127
+ self.c.write('GType\n'
3128
+ '%sobject_manager_client_get_proxy_type (GDBusObjectManagerClient *manager G_GNUC_UNUSED, const gchar *object_path G_GNUC_UNUSED, const gchar *interface_name, gpointer user_data G_GNUC_UNUSED)\n'
3129
+ '{\n'
3130
+ %(self.ns_lower))
3131
+ self.c.write(' static gsize once_init_value = 0;\n'
3132
+ ' static GHashTable *lookup_hash;\n'
3133
+ ' GType ret;\n'
3134
+ '\n'
3135
+ ' if (interface_name == NULL)\n'
3136
+ ' return %sTYPE_OBJECT_PROXY;\n'
3137
+ ' if (g_once_init_enter (&once_init_value))\n'
3138
+ ' {\n'
3139
+ ' lookup_hash = g_hash_table_new (g_str_hash, g_str_equal);\n'
3140
+ %(self.ns_upper))
3141
+ for i in self.ifaces:
3142
+ self.c.write(' g_hash_table_insert (lookup_hash, (gpointer) "%s", GSIZE_TO_POINTER (%sTYPE_%s_PROXY));\n'
3143
+ %(i.name, i.ns_upper, i.name_upper))
3144
+ self.c.write(' g_once_init_leave (&once_init_value, 1);\n'
3145
+ ' }\n')
3146
+ self.c.write(' ret = (GType) GPOINTER_TO_SIZE (g_hash_table_lookup (lookup_hash, interface_name));\n'
3147
+ ' if (ret == (GType) 0)\n'
3148
+ ' ret = G_TYPE_DBUS_PROXY;\n')
3149
+ self.c.write(' return ret;\n'
3150
+ '}\n'
3151
+ '\n')
3152
+
3153
+ # constructors
3154
+ self.c.write(self.docbook_gen.expand(
3155
+ '/**\n'
3156
+ ' * %sobject_manager_client_new:\n'
3157
+ ' * @connection: A #GDBusConnection.\n'
3158
+ ' * @flags: Flags from the #GDBusObjectManagerClientFlags enumeration.\n'
3159
+ ' * @name: (allow-none): A bus name (well-known or unique) or %%NULL if @connection is not a message bus connection.\n'
3160
+ ' * @object_path: An object path.\n'
3161
+ ' * @cancellable: (allow-none): A #GCancellable or %%NULL.\n'
3162
+ ' * @callback: A #GAsyncReadyCallback to call when the request is satisfied.\n'
3163
+ ' * @user_data: User data to pass to @callback.\n'
3164
+ ' *\n'
3165
+ ' * Asynchronously creates #GDBusObjectManagerClient using %sobject_manager_client_get_proxy_type() as the #GDBusProxyTypeFunc. See g_dbus_object_manager_client_new() for more details.\n'
3166
+ ' *\n'
3167
+ ' * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.\n'
3168
+ ' * You can then call %sobject_manager_client_new_finish() to get the result of the operation.\n'
3169
+ ' *\n'
3170
+ ' * See %sobject_manager_client_new_sync() for the synchronous, blocking version of this constructor.\n'
3171
+ %(self.ns_lower, self.ns_lower, self.ns_lower, self.ns_lower), False))
3172
+ self.c.write(' */\n')
3173
+ self.c.write('void\n'
3174
+ '%sobject_manager_client_new (\n'
3175
+ ' GDBusConnection *connection,\n'
3176
+ ' GDBusObjectManagerClientFlags flags,\n'
3177
+ ' const gchar *name,\n'
3178
+ ' const gchar *object_path,\n'
3179
+ ' GCancellable *cancellable,\n'
3180
+ ' GAsyncReadyCallback callback,\n'
3181
+ ' gpointer user_data)\n'
3182
+ '{\n'
3183
+ ' g_async_initable_new_async (%sTYPE_OBJECT_MANAGER_CLIENT, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "flags", flags, "name", name, "connection", connection, "object-path", object_path, "get-proxy-type-func", %sobject_manager_client_get_proxy_type, NULL);\n'
3184
+ '}\n'
3185
+ '\n'
3186
+ %(self.ns_lower, self.ns_upper, self.ns_lower))
3187
+ self.c.write('/**\n'
3188
+ ' * %sobject_manager_client_new_finish:\n'
3189
+ ' * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to %sobject_manager_client_new().\n'
3190
+ ' * @error: Return location for error or %%NULL\n'
3191
+ ' *\n'
3192
+ ' * Finishes an operation started with %sobject_manager_client_new().\n'
3193
+ ' *\n'
3194
+ ' * Returns: (transfer full) (type %sObjectManagerClient): The constructed object manager client or %%NULL if @error is set.\n'
3195
+ %(self.ns_lower, self.ns_lower, self.ns_lower, self.namespace))
3196
+ self.c.write(' */\n')
3197
+ self.c.write('GDBusObjectManager *\n'
3198
+ '%sobject_manager_client_new_finish (\n'
3199
+ ' GAsyncResult *res,\n'
3200
+ ' GError **error)\n'
3201
+ '{\n'
3202
+ ' GObject *ret;\n'
3203
+ ' GObject *source_object;\n'
3204
+ ' source_object = g_async_result_get_source_object (res);\n'
3205
+ ' ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);\n'
3206
+ ' g_object_unref (source_object);\n'
3207
+ ' if (ret != NULL)\n'
3208
+ ' return G_DBUS_OBJECT_MANAGER (ret);\n'
3209
+ ' else\n'
3210
+ ' return NULL;\n'
3211
+ '}\n'
3212
+ '\n'
3213
+ %(self.ns_lower))
3214
+ self.c.write(self.docbook_gen.expand(
3215
+ '/**\n'
3216
+ ' * %sobject_manager_client_new_sync:\n'
3217
+ ' * @connection: A #GDBusConnection.\n'
3218
+ ' * @flags: Flags from the #GDBusObjectManagerClientFlags enumeration.\n'
3219
+ ' * @name: (allow-none): A bus name (well-known or unique) or %%NULL if @connection is not a message bus connection.\n'
3220
+ ' * @object_path: An object path.\n'
3221
+ ' * @cancellable: (allow-none): A #GCancellable or %%NULL.\n'
3222
+ ' * @error: Return location for error or %%NULL\n'
3223
+ ' *\n'
3224
+ ' * Synchronously creates #GDBusObjectManagerClient using %sobject_manager_client_get_proxy_type() as the #GDBusProxyTypeFunc. See g_dbus_object_manager_client_new_sync() for more details.\n'
3225
+ ' *\n'
3226
+ ' * The calling thread is blocked until a reply is received.\n'
3227
+ ' *\n'
3228
+ ' * See %sobject_manager_client_new() for the asynchronous version of this constructor.\n'
3229
+ ' *\n'
3230
+ ' * Returns: (transfer full) (type %sObjectManagerClient): The constructed object manager client or %%NULL if @error is set.\n'
3231
+ %(self.ns_lower, self.ns_lower, self.ns_lower, self.namespace), False))
3232
+ self.c.write(' */\n')
3233
+ self.c.write('GDBusObjectManager *\n'
3234
+ '%sobject_manager_client_new_sync (\n'
3235
+ ' GDBusConnection *connection,\n'
3236
+ ' GDBusObjectManagerClientFlags flags,\n'
3237
+ ' const gchar *name,\n'
3238
+ ' const gchar *object_path,\n'
3239
+ ' GCancellable *cancellable,\n'
3240
+ ' GError **error)\n'
3241
+ '{\n'
3242
+ ' GInitable *ret;\n'
3243
+ ' ret = g_initable_new (%sTYPE_OBJECT_MANAGER_CLIENT, cancellable, error, "flags", flags, "name", name, "connection", connection, "object-path", object_path, "get-proxy-type-func", %sobject_manager_client_get_proxy_type, NULL);\n'
3244
+ ' if (ret != NULL)\n'
3245
+ ' return G_DBUS_OBJECT_MANAGER (ret);\n'
3246
+ ' else\n'
3247
+ ' return NULL;\n'
3248
+ '}\n'
3249
+ '\n'
3250
+ %(self.ns_lower, self.ns_upper, self.ns_lower))
3251
+ self.c.write('\n')
3252
+ self.c.write(self.docbook_gen.expand(
3253
+ '/**\n'
3254
+ ' * %sobject_manager_client_new_for_bus:\n'
3255
+ ' * @bus_type: A #GBusType.\n'
3256
+ ' * @flags: Flags from the #GDBusObjectManagerClientFlags enumeration.\n'
3257
+ ' * @name: A bus name (well-known or unique).\n'
3258
+ ' * @object_path: An object path.\n'
3259
+ ' * @cancellable: (allow-none): A #GCancellable or %%NULL.\n'
3260
+ ' * @callback: A #GAsyncReadyCallback to call when the request is satisfied.\n'
3261
+ ' * @user_data: User data to pass to @callback.\n'
3262
+ ' *\n'
3263
+ ' * Like %sobject_manager_client_new() but takes a #GBusType instead of a #GDBusConnection.\n'
3264
+ ' *\n'
3265
+ ' * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.\n'
3266
+ ' * You can then call %sobject_manager_client_new_for_bus_finish() to get the result of the operation.\n'
3267
+ ' *\n'
3268
+ ' * See %sobject_manager_client_new_for_bus_sync() for the synchronous, blocking version of this constructor.\n'
3269
+ %(self.ns_lower, self.ns_lower, self.ns_lower, self.ns_lower), False))
3270
+ self.c.write(' */\n')
3271
+ self.c.write('void\n'
3272
+ '%sobject_manager_client_new_for_bus (\n'
3273
+ ' GBusType bus_type,\n'
3274
+ ' GDBusObjectManagerClientFlags flags,\n'
3275
+ ' const gchar *name,\n'
3276
+ ' const gchar *object_path,\n'
3277
+ ' GCancellable *cancellable,\n'
3278
+ ' GAsyncReadyCallback callback,\n'
3279
+ ' gpointer user_data)\n'
3280
+ '{\n'
3281
+ ' g_async_initable_new_async (%sTYPE_OBJECT_MANAGER_CLIENT, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "flags", flags, "name", name, "bus-type", bus_type, "object-path", object_path, "get-proxy-type-func", %sobject_manager_client_get_proxy_type, NULL);\n'
3282
+ '}\n'
3283
+ '\n'
3284
+ %(self.ns_lower, self.ns_upper, self.ns_lower))
3285
+ self.c.write('/**\n'
3286
+ ' * %sobject_manager_client_new_for_bus_finish:\n'
3287
+ ' * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to %sobject_manager_client_new_for_bus().\n'
3288
+ ' * @error: Return location for error or %%NULL\n'
3289
+ ' *\n'
3290
+ ' * Finishes an operation started with %sobject_manager_client_new_for_bus().\n'
3291
+ ' *\n'
3292
+ ' * Returns: (transfer full) (type %sObjectManagerClient): The constructed object manager client or %%NULL if @error is set.\n'
3293
+ %(self.ns_lower, self.ns_lower, self.ns_lower, self.namespace))
3294
+ self.c.write(' */\n')
3295
+ self.c.write('GDBusObjectManager *\n'
3296
+ '%sobject_manager_client_new_for_bus_finish (\n'
3297
+ ' GAsyncResult *res,\n'
3298
+ ' GError **error)\n'
3299
+ '{\n'
3300
+ ' GObject *ret;\n'
3301
+ ' GObject *source_object;\n'
3302
+ ' source_object = g_async_result_get_source_object (res);\n'
3303
+ ' ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);\n'
3304
+ ' g_object_unref (source_object);\n'
3305
+ ' if (ret != NULL)\n'
3306
+ ' return G_DBUS_OBJECT_MANAGER (ret);\n'
3307
+ ' else\n'
3308
+ ' return NULL;\n'
3309
+ '}\n'
3310
+ '\n'
3311
+ %(self.ns_lower))
3312
+ self.c.write(self.docbook_gen.expand(
3313
+ '/**\n'
3314
+ ' * %sobject_manager_client_new_for_bus_sync:\n'
3315
+ ' * @bus_type: A #GBusType.\n'
3316
+ ' * @flags: Flags from the #GDBusObjectManagerClientFlags enumeration.\n'
3317
+ ' * @name: A bus name (well-known or unique).\n'
3318
+ ' * @object_path: An object path.\n'
3319
+ ' * @cancellable: (allow-none): A #GCancellable or %%NULL.\n'
3320
+ ' * @error: Return location for error or %%NULL\n'
3321
+ ' *\n'
3322
+ ' * Like %sobject_manager_client_new_sync() but takes a #GBusType instead of a #GDBusConnection.\n'
3323
+ ' *\n'
3324
+ ' * The calling thread is blocked until a reply is received.\n'
3325
+ ' *\n'
3326
+ ' * See %sobject_manager_client_new_for_bus() for the asynchronous version of this constructor.\n'
3327
+ ' *\n'
3328
+ ' * Returns: (transfer full) (type %sObjectManagerClient): The constructed object manager client or %%NULL if @error is set.\n'
3329
+ %(self.ns_lower, self.ns_lower, self.ns_lower, self.namespace), False))
3330
+ self.c.write(' */\n')
3331
+ self.c.write('GDBusObjectManager *\n'
3332
+ '%sobject_manager_client_new_for_bus_sync (\n'
3333
+ ' GBusType bus_type,\n'
3334
+ ' GDBusObjectManagerClientFlags flags,\n'
3335
+ ' const gchar *name,\n'
3336
+ ' const gchar *object_path,\n'
3337
+ ' GCancellable *cancellable,\n'
3338
+ ' GError **error)\n'
3339
+ '{\n'
3340
+ ' GInitable *ret;\n'
3341
+ ' ret = g_initable_new (%sTYPE_OBJECT_MANAGER_CLIENT, cancellable, error, "flags", flags, "name", name, "bus-type", bus_type, "object-path", object_path, "get-proxy-type-func", %sobject_manager_client_get_proxy_type, NULL);\n'
3342
+ ' if (ret != NULL)\n'
3343
+ ' return G_DBUS_OBJECT_MANAGER (ret);\n'
3344
+ ' else\n'
3345
+ ' return NULL;\n'
3346
+ '}\n'
3347
+ '\n'
3348
+ %(self.ns_lower, self.ns_upper, self.ns_lower))
3349
+ self.c.write('\n')
3350
+
3351
+ # ---------------------------------------------------------------------------------------------------
3352
+
3353
+ def write_gtkdoc_deprecated_and_since_and_close(self, obj, f, indent):
3354
+ if len(obj.since) > 0:
3355
+ f.write('%*s *\n'
3356
+ '%*s * Since: %s\n'
3357
+ %(indent, '', indent, '', obj.since))
3358
+ if obj.deprecated:
3359
+ if isinstance(obj, dbustypes.Interface):
3360
+ thing = 'The D-Bus interface'
3361
+ elif isinstance(obj, dbustypes.Method):
3362
+ thing = 'The D-Bus method'
3363
+ elif isinstance(obj, dbustypes.Signal):
3364
+ thing = 'The D-Bus signal'
3365
+ elif isinstance(obj, dbustypes.Property):
3366
+ thing = 'The D-Bus property'
3367
+ else:
3368
+ raise RuntimeError('Cannot handle object ', obj)
3369
+ f.write(self.docbook_gen.expand(
3370
+ '%*s *\n'
3371
+ '%*s * Deprecated: %s has been deprecated.\n'
3372
+ %(indent, '', indent, '', thing), False))
3373
+ f.write('%*s */\n'%(indent, ''))
3374
+
3375
+ # ---------------------------------------------------------------------------------------------------
3376
+
3377
+ def generate_interface_intro(self, i):
3378
+ self.c.write('/* ------------------------------------------------------------------------\n'
3379
+ ' * Code for interface %s\n'
3380
+ ' * ------------------------------------------------------------------------\n'
3381
+ ' */\n'
3382
+ '\n'%(i.name))
3383
+
3384
+ self.c.write(self.docbook_gen.expand(
3385
+ '/**\n'
3386
+ ' * SECTION:%s\n'
3387
+ ' * @title: %s\n'
3388
+ ' * @short_description: Generated C code for the %s D-Bus interface\n'
3389
+ ' *\n'
3390
+ ' * This section contains code for working with the #%s D-Bus interface in C.\n'
3391
+ ' */\n'
3392
+ %(i.camel_name, i.camel_name, i.name, i.name), False))
3393
+ self.c.write('\n')
3394
+
3395
+ def generate(self):
3396
+ self.generate_intro()
3397
+ self.declare_types()
3398
+ for i in self.ifaces:
3399
+ self.generate_interface_intro(i)
3400
+ self.generate_introspection_for_interface(i)
3401
+ self.generate_interface(i)
3402
+ self.generate_property_accessors(i)
3403
+ self.generate_signal_emitters(i)
3404
+ self.generate_method_calls(i)
3405
+ self.generate_method_completers(i)
3406
+ self.generate_proxy(i)
3407
+ self.generate_skeleton(i)
3408
+ if self.generate_objmanager:
3409
+ self.generate_object()
3410
+ self.generate_object_manager_client()
3411
+
3412
+ self.generate_outro()