glib2 1.2.5-x86-mingw32 → 1.2.6-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1752) hide show
  1. data/Rakefile +3 -3
  2. data/ext/glib2/rbglib.c +0 -1
  3. data/ext/glib2/rbglib.h +1 -1
  4. data/ext/glib2/rbglib2conversions.h +0 -2
  5. data/ext/glib2/rbglib_source.c +9 -6
  6. data/ext/glib2/rbgobj_closure.c +4 -2
  7. data/ext/glib2/rbgprivate.h +0 -1
  8. data/lib/1.9/glib2.so +0 -0
  9. data/lib/2.0/glib2.so +0 -0
  10. data/lib/glib-mkenums.rb +1 -3
  11. data/lib/gnome2-raketask.rb +3 -0
  12. data/lib/gnome2-win32-binary-build-task.rb +4 -2
  13. data/test/test_source.rb +29 -0
  14. data/vendor/local/bin/certtool.exe +0 -0
  15. data/vendor/local/bin/danetool.exe +0 -0
  16. data/vendor/local/bin/gdbus-codegen +1 -1
  17. data/vendor/local/bin/gdbus.exe +0 -0
  18. data/vendor/local/bin/gio-querymodules.exe +0 -0
  19. data/vendor/local/bin/glib-compile-resources.exe +0 -0
  20. data/vendor/local/bin/glib-compile-schemas.exe +0 -0
  21. data/vendor/local/bin/glib-genmarshal.exe +0 -0
  22. data/vendor/local/bin/glib-gettextize +1 -1
  23. data/vendor/local/bin/glib-mkenums +1 -1
  24. data/vendor/local/bin/gnutls-cli-debug.exe +0 -0
  25. data/vendor/local/bin/gnutls-cli.exe +0 -0
  26. data/vendor/local/bin/gnutls-serv.exe +0 -0
  27. data/vendor/local/bin/gobject-query.exe +0 -0
  28. data/vendor/local/bin/gresource.exe +0 -0
  29. data/vendor/local/bin/gsettings.exe +0 -0
  30. data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
  31. data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
  32. data/vendor/local/bin/libgio-2.0-0.dll +0 -0
  33. data/vendor/local/bin/libglib-2.0-0.dll +0 -0
  34. data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
  35. data/vendor/local/bin/libgmp-10.dll +0 -0
  36. data/vendor/local/bin/libgnutls-28.def +837 -803
  37. data/vendor/local/bin/libgnutls-28.dll +0 -0
  38. data/vendor/local/bin/libgnutls-openssl-27.dll +0 -0
  39. data/vendor/local/bin/libgnutls-openssl-28.def +200 -194
  40. data/vendor/local/bin/libgnutls-xssl-0.dll +0 -0
  41. data/vendor/local/bin/libgnutls-xssl-28.def +176 -0
  42. data/vendor/local/bin/libgnutlsxx-28.dll +0 -0
  43. data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
  44. data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
  45. data/vendor/local/bin/libhogweed-2-2.dll +0 -0
  46. data/vendor/local/bin/libnettle-4-4.dll +0 -0
  47. data/vendor/local/bin/nettle-hash.exe +0 -0
  48. data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
  49. data/vendor/local/bin/ocsptool.exe +0 -0
  50. data/vendor/local/bin/pkcs1-conv.exe +0 -0
  51. data/vendor/local/bin/psktool.exe +0 -0
  52. data/vendor/local/bin/sexp-conv.exe +0 -0
  53. data/vendor/local/bin/srptool.exe +0 -0
  54. data/vendor/local/include/gio-win32-2.0/gio/gwin32inputstream.h +5 -0
  55. data/vendor/local/include/gio-win32-2.0/gio/gwin32outputstream.h +5 -0
  56. data/vendor/local/include/glib-2.0/gio/gaction.h +11 -3
  57. data/vendor/local/include/glib-2.0/gio/gactiongroup.h +17 -3
  58. data/vendor/local/include/glib-2.0/gio/gactiongroupexporter.h +3 -3
  59. data/vendor/local/include/glib-2.0/gio/gactionmap.h +7 -3
  60. data/vendor/local/include/glib-2.0/gio/gappinfo.h +43 -4
  61. data/vendor/local/include/glib-2.0/gio/gapplication.h +41 -3
  62. data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +27 -8
  63. data/vendor/local/include/glib-2.0/gio/gasyncinitable.h +10 -3
  64. data/vendor/local/include/glib-2.0/gio/gasyncresult.h +7 -4
  65. data/vendor/local/include/glib-2.0/gio/gbufferedinputstream.h +15 -3
  66. data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +10 -3
  67. data/vendor/local/include/glib-2.0/gio/gcancellable.h +18 -3
  68. data/vendor/local/include/glib-2.0/gio/gcharsetconverter.h +8 -3
  69. data/vendor/local/include/glib-2.0/gio/gcontenttype.h +15 -3
  70. data/vendor/local/include/glib-2.0/gio/gconverter.h +6 -3
  71. data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +6 -3
  72. data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +6 -3
  73. data/vendor/local/include/glib-2.0/gio/gcredentials.h +14 -3
  74. data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +25 -3
  75. data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +15 -3
  76. data/vendor/local/include/glib-2.0/gio/gdbusactiongroup.h +4 -3
  77. data/vendor/local/include/glib-2.0/gio/gdbusaddress.h +12 -3
  78. data/vendor/local/include/glib-2.0/gio/gdbusauthobserver.h +6 -3
  79. data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +44 -3
  80. data/vendor/local/include/glib-2.0/gio/gdbuserror.h +16 -5
  81. data/vendor/local/include/glib-2.0/gio/gdbusinterface.h +4 -0
  82. data/vendor/local/include/glib-2.0/gio/gdbusinterfaceskeleton.h +14 -0
  83. data/vendor/local/include/glib-2.0/gio/gdbusintrospection.h +34 -3
  84. data/vendor/local/include/glib-2.0/gio/gdbusmenumodel.h +2 -0
  85. data/vendor/local/include/glib-2.0/gio/gdbusmessage.h +53 -3
  86. data/vendor/local/include/glib-2.0/gio/gdbusmethodinvocation.h +24 -5
  87. data/vendor/local/include/glib-2.0/gio/gdbusnameowning.h +8 -3
  88. data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +14 -4
  89. data/vendor/local/include/glib-2.0/gio/gdbusobject.h +4 -0
  90. data/vendor/local/include/glib-2.0/gio/gdbusobjectmanager.h +5 -0
  91. data/vendor/local/include/glib-2.0/gio/gdbusobjectmanagerclient.h +11 -0
  92. data/vendor/local/include/glib-2.0/gio/gdbusobjectmanagerserver.h +8 -0
  93. data/vendor/local/include/glib-2.0/gio/gdbusobjectproxy.h +3 -0
  94. data/vendor/local/include/glib-2.0/gio/gdbusobjectskeleton.h +7 -0
  95. data/vendor/local/include/glib-2.0/gio/gdbusproxy.h +29 -3
  96. data/vendor/local/include/glib-2.0/gio/gdbusserver.h +11 -3
  97. data/vendor/local/include/glib-2.0/gio/gdbusutils.h +11 -3
  98. data/vendor/local/include/glib-2.0/gio/gdrive.h +28 -3
  99. data/vendor/local/include/glib-2.0/gio/gemblem.h +8 -3
  100. data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +9 -3
  101. data/vendor/local/include/glib-2.0/gio/gfile.h +115 -3
  102. data/vendor/local/include/glib-2.0/gio/gfileattribute.h +10 -3
  103. data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +17 -3
  104. data/vendor/local/include/glib-2.0/gio/gfileicon.h +6 -3
  105. data/vendor/local/include/glib-2.0/gio/gfileinfo.h +77 -3
  106. data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +7 -3
  107. data/vendor/local/include/glib-2.0/gio/gfileiostream.h +8 -3
  108. data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +8 -3
  109. data/vendor/local/include/glib-2.0/gio/gfilenamecompleter.h +8 -3
  110. data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +8 -3
  111. data/vendor/local/include/glib-2.0/gio/gfilterinputstream.h +7 -3
  112. data/vendor/local/include/glib-2.0/gio/gfilteroutputstream.h +7 -3
  113. data/vendor/local/include/glib-2.0/gio/gicon.h +8 -3
  114. data/vendor/local/include/glib-2.0/gio/ginetaddress.h +23 -3
  115. data/vendor/local/include/glib-2.0/gio/ginetaddressmask.h +9 -3
  116. data/vendor/local/include/glib-2.0/gio/ginetsocketaddress.h +7 -3
  117. data/vendor/local/include/glib-2.0/gio/ginitable.h +8 -3
  118. data/vendor/local/include/glib-2.0/gio/ginputstream.h +18 -3
  119. data/vendor/local/include/glib-2.0/gio/gio.h +2 -0
  120. data/vendor/local/include/glib-2.0/gio/gioenums.h +16 -10
  121. data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +70 -70
  122. data/vendor/local/include/glib-2.0/gio/gioerror.h +6 -3
  123. data/vendor/local/include/glib-2.0/gio/giomodule.h +26 -3
  124. data/vendor/local/include/glib-2.0/gio/gioscheduler.h +7 -3
  125. data/vendor/local/include/glib-2.0/gio/giostream.h +15 -3
  126. data/vendor/local/include/glib-2.0/gio/giotypes.h +4 -3
  127. data/vendor/local/include/glib-2.0/gio/gloadableicon.h +7 -3
  128. data/vendor/local/include/glib-2.0/gio/gmemoryinputstream.h +7 -3
  129. data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +11 -3
  130. data/vendor/local/include/glib-2.0/gio/gmenu.h +27 -0
  131. data/vendor/local/include/glib-2.0/gio/gmenumodel.h +83 -2
  132. data/vendor/local/include/glib-2.0/gio/gmount.h +27 -3
  133. data/vendor/local/include/glib-2.0/gio/gmountoperation.h +18 -3
  134. data/vendor/local/include/glib-2.0/gio/gnativevolumemonitor.h +4 -3
  135. data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +10 -3
  136. data/vendor/local/include/glib-2.0/gio/gnetworking.h +83 -0
  137. data/vendor/local/include/glib-2.0/gio/gnetworkmonitor.h +7 -3
  138. data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +10 -3
  139. data/vendor/local/include/glib-2.0/gio/goutputstream.h +22 -3
  140. data/vendor/local/include/glib-2.0/gio/gpermission.h +14 -3
  141. data/vendor/local/include/glib-2.0/gio/gpollableinputstream.h +8 -3
  142. data/vendor/local/include/glib-2.0/gio/gpollableoutputstream.h +8 -3
  143. data/vendor/local/include/glib-2.0/gio/gpollableutils.h +4 -3
  144. data/vendor/local/include/glib-2.0/gio/gproxy.h +9 -3
  145. data/vendor/local/include/glib-2.0/gio/gproxyaddress.h +10 -3
  146. data/vendor/local/include/glib-2.0/gio/gproxyaddressenumerator.h +4 -3
  147. data/vendor/local/include/glib-2.0/gio/gproxyresolver.h +9 -3
  148. data/vendor/local/include/glib-2.0/gio/gremoteactiongroup.h +3 -3
  149. data/vendor/local/include/glib-2.0/gio/gresolver.h +18 -3
  150. data/vendor/local/include/glib-2.0/gio/gresource.h +5 -3
  151. data/vendor/local/include/glib-2.0/gio/gseekable.h +9 -3
  152. data/vendor/local/include/glib-2.0/gio/gsettings.h +47 -3
  153. data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +12 -0
  154. data/vendor/local/include/glib-2.0/gio/gsettingsschema.h +4 -0
  155. data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +8 -3
  156. data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +9 -3
  157. data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +31 -5
  158. data/vendor/local/include/glib-2.0/gio/gsimplepermission.h +5 -3
  159. data/vendor/local/include/glib-2.0/gio/gsimpleproxyresolver.h +91 -0
  160. data/vendor/local/include/glib-2.0/gio/gsocket.h +56 -3
  161. data/vendor/local/include/glib-2.0/gio/gsocketaddress.h +8 -3
  162. data/vendor/local/include/glib-2.0/gio/gsocketaddressenumerator.h +7 -3
  163. data/vendor/local/include/glib-2.0/gio/gsocketclient.h +39 -3
  164. data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +6 -3
  165. data/vendor/local/include/glib-2.0/gio/gsocketconnection.h +10 -3
  166. data/vendor/local/include/glib-2.0/gio/gsocketcontrolmessage.h +9 -3
  167. data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +17 -3
  168. data/vendor/local/include/glib-2.0/gio/gsocketservice.h +8 -3
  169. data/vendor/local/include/glib-2.0/gio/gsrvtarget.h +12 -3
  170. data/vendor/local/include/glib-2.0/gio/gtask.h +160 -0
  171. data/vendor/local/include/glib-2.0/gio/gtcpconnection.h +6 -3
  172. data/vendor/local/include/glib-2.0/gio/gtcpwrapperconnection.h +6 -3
  173. data/vendor/local/include/glib-2.0/gio/gtestdbus.h +3 -3
  174. data/vendor/local/include/glib-2.0/gio/gthemedicon.h +10 -3
  175. data/vendor/local/include/glib-2.0/gio/gthreadedsocketservice.h +5 -3
  176. data/vendor/local/include/glib-2.0/gio/gtlsbackend.h +11 -3
  177. data/vendor/local/include/glib-2.0/gio/gtlscertificate.h +10 -3
  178. data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +12 -3
  179. data/vendor/local/include/glib-2.0/gio/gtlsconnection.h +21 -3
  180. data/vendor/local/include/glib-2.0/gio/gtlsdatabase.h +17 -3
  181. data/vendor/local/include/glib-2.0/gio/gtlsfiledatabase.h +5 -3
  182. data/vendor/local/include/glib-2.0/gio/gtlsinteraction.h +8 -3
  183. data/vendor/local/include/glib-2.0/gio/gtlspassword.h +14 -3
  184. data/vendor/local/include/glib-2.0/gio/gtlsserverconnection.h +5 -3
  185. data/vendor/local/include/glib-2.0/gio/gvfs.h +11 -3
  186. data/vendor/local/include/glib-2.0/gio/gvolume.h +20 -3
  187. data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +10 -3
  188. data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +7 -3
  189. data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +6 -3
  190. data/vendor/local/include/glib-2.0/glib-unix.h +33 -0
  191. data/vendor/local/include/glib-2.0/glib.h +2 -0
  192. data/vendor/local/include/glib-2.0/glib/deprecated/gallocator.h +3 -3
  193. data/vendor/local/include/glib-2.0/glib/deprecated/gcache.h +3 -3
  194. data/vendor/local/include/glib-2.0/glib/deprecated/gcompletion.h +3 -3
  195. data/vendor/local/include/glib-2.0/glib/deprecated/gmain.h +3 -3
  196. data/vendor/local/include/glib-2.0/glib/deprecated/grel.h +3 -3
  197. data/vendor/local/include/glib-2.0/glib/deprecated/gthread.h +5 -4
  198. data/vendor/local/include/glib-2.0/glib/galloca.h +3 -3
  199. data/vendor/local/include/glib-2.0/glib/garray.h +52 -3
  200. data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +23 -3
  201. data/vendor/local/include/glib-2.0/glib/gatomic.h +17 -5
  202. data/vendor/local/include/glib-2.0/glib/gbacktrace.h +5 -3
  203. data/vendor/local/include/glib-2.0/glib/gbase64.h +9 -3
  204. data/vendor/local/include/glib-2.0/glib/gbitlock.h +6 -0
  205. data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +43 -3
  206. data/vendor/local/include/glib-2.0/glib/gbytes.h +17 -3
  207. data/vendor/local/include/glib-2.0/glib/gcharset.h +7 -3
  208. data/vendor/local/include/glib-2.0/glib/gchecksum.h +16 -4
  209. data/vendor/local/include/glib-2.0/glib/gconvert.h +48 -12
  210. data/vendor/local/include/glib-2.0/glib/gdataset.h +18 -3
  211. data/vendor/local/include/glib-2.0/glib/gdate.h +50 -3
  212. data/vendor/local/include/glib-2.0/glib/gdatetime.h +50 -3
  213. data/vendor/local/include/glib-2.0/glib/gdir.h +19 -11
  214. data/vendor/local/include/glib-2.0/glib/genviron.h +26 -11
  215. data/vendor/local/include/glib-2.0/glib/gerror.h +16 -4
  216. data/vendor/local/include/glib-2.0/glib/gfileutils.h +47 -18
  217. data/vendor/local/include/glib-2.0/glib/ggettext.h +9 -3
  218. data/vendor/local/include/glib-2.0/glib/ghash.h +40 -3
  219. data/vendor/local/include/glib-2.0/glib/ghmac.h +3 -3
  220. data/vendor/local/include/glib-2.0/glib/ghook.h +26 -3
  221. data/vendor/local/include/glib-2.0/glib/ghostutils.h +8 -3
  222. data/vendor/local/include/glib-2.0/glib/giochannel.h +61 -20
  223. data/vendor/local/include/glib-2.0/glib/gkeyfile.h +50 -3
  224. data/vendor/local/include/glib-2.0/glib/glist.h +33 -3
  225. data/vendor/local/include/glib-2.0/glib/gmacros.h +15 -11
  226. data/vendor/local/include/glib-2.0/glib/gmain.h +124 -6
  227. data/vendor/local/include/glib-2.0/glib/gmappedfile.h +9 -3
  228. data/vendor/local/include/glib-2.0/glib/gmarkup.h +23 -4
  229. data/vendor/local/include/glib-2.0/glib/gmem.h +19 -3
  230. data/vendor/local/include/glib-2.0/glib/gmessages.h +21 -6
  231. data/vendor/local/include/glib-2.0/glib/gnode.h +29 -3
  232. data/vendor/local/include/glib-2.0/glib/goption.h +29 -3
  233. data/vendor/local/include/glib-2.0/glib/gpattern.h +9 -3
  234. data/vendor/local/include/glib-2.0/glib/gpoll.h +4 -3
  235. data/vendor/local/include/glib-2.0/glib/gprimes.h +4 -3
  236. data/vendor/local/include/glib-2.0/glib/gprintf.h +11 -4
  237. data/vendor/local/include/glib-2.0/glib/gqsort.h +4 -3
  238. data/vendor/local/include/glib-2.0/glib/gquark.h +9 -3
  239. data/vendor/local/include/glib-2.0/glib/gqueue.h +43 -3
  240. data/vendor/local/include/glib-2.0/glib/grand.h +19 -3
  241. data/vendor/local/include/glib-2.0/glib/gregex.h +43 -3
  242. data/vendor/local/include/glib-2.0/glib/gscanner.h +24 -3
  243. data/vendor/local/include/glib-2.0/glib/gsequence.h +40 -3
  244. data/vendor/local/include/glib-2.0/glib/gshell.h +7 -3
  245. data/vendor/local/include/glib-2.0/glib/gslice.h +13 -3
  246. data/vendor/local/include/glib-2.0/glib/gslist.h +31 -3
  247. data/vendor/local/include/glib-2.0/glib/gspawn.h +62 -13
  248. data/vendor/local/include/glib-2.0/glib/gstdio.h +23 -0
  249. data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +50 -4
  250. data/vendor/local/include/glib-2.0/glib/gstring.h +38 -5
  251. data/vendor/local/include/glib-2.0/glib/gstringchunk.h +9 -3
  252. data/vendor/local/include/glib-2.0/glib/gtestutils.h +49 -3
  253. data/vendor/local/include/glib-2.0/glib/gthread.h +22 -3
  254. data/vendor/local/include/glib-2.0/glib/gthreadpool.h +17 -3
  255. data/vendor/local/include/glib-2.0/glib/gtimer.h +14 -3
  256. data/vendor/local/include/glib-2.0/glib/gtimezone.h +13 -3
  257. data/vendor/local/include/glib-2.0/glib/gtrashstack.h +3 -3
  258. data/vendor/local/include/glib-2.0/glib/gtree.h +19 -3
  259. data/vendor/local/include/glib-2.0/glib/gtypes.h +6 -6
  260. data/vendor/local/include/glib-2.0/glib/gunicode.h +70 -9
  261. data/vendor/local/include/glib-2.0/glib/gurifuncs.h +7 -3
  262. data/vendor/local/include/glib-2.0/glib/gutils.h +33 -23
  263. data/vendor/local/include/glib-2.0/glib/gvariant.h +112 -3
  264. data/vendor/local/include/glib-2.0/glib/gvarianttype.h +33 -3
  265. data/vendor/local/include/glib-2.0/glib/gversion.h +4 -3
  266. data/vendor/local/include/glib-2.0/glib/gversionmacros.h +43 -18
  267. data/vendor/local/include/glib-2.0/glib/gwin32.h +28 -13
  268. data/vendor/local/include/glib-2.0/gmodule.h +21 -7
  269. data/vendor/local/include/glib-2.0/gobject/gbinding.h +13 -3
  270. data/vendor/local/include/glib-2.0/gobject/gboxed.h +13 -3
  271. data/vendor/local/include/glib-2.0/gobject/gclosure.h +21 -3
  272. data/vendor/local/include/glib-2.0/gobject/genums.h +17 -3
  273. data/vendor/local/include/glib-2.0/gobject/glib-types.h +64 -3
  274. data/vendor/local/include/glib-2.0/gobject/gmarshal.h +330 -286
  275. data/vendor/local/include/glib-2.0/gobject/gobject.h +73 -13
  276. data/vendor/local/include/glib-2.0/gobject/gparam.h +32 -3
  277. data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +27 -4
  278. data/vendor/local/include/glib-2.0/gobject/gsignal.h +41 -3
  279. data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +5 -3
  280. data/vendor/local/include/glib-2.0/gobject/gtype.h +73 -10
  281. data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +11 -3
  282. data/vendor/local/include/glib-2.0/gobject/gtypeplugin.h +8 -3
  283. data/vendor/local/include/glib-2.0/gobject/gvalue.h +14 -3
  284. data/vendor/local/include/glib-2.0/gobject/gvaluearray.h +14 -14
  285. data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +41 -3
  286. data/vendor/local/include/gnutls/abstract.h +15 -6
  287. data/vendor/local/include/gnutls/compat.h +1 -1
  288. data/vendor/local/include/gnutls/crypto.h +3 -1
  289. data/vendor/local/include/gnutls/dtls.h +1 -1
  290. data/vendor/local/include/gnutls/gnutls.h +49 -7
  291. data/vendor/local/include/gnutls/gnutlsxx.h +1 -1
  292. data/vendor/local/include/gnutls/openpgp.h +4 -1
  293. data/vendor/local/include/gnutls/pkcs11.h +5 -2
  294. data/vendor/local/include/gnutls/pkcs12.h +1 -1
  295. data/vendor/local/include/gnutls/tpm.h +5 -3
  296. data/vendor/local/include/gnutls/x509.h +25 -3
  297. data/vendor/local/include/gnutls/xssl.h +121 -0
  298. data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
  299. data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
  300. data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
  301. data/vendor/local/lib/gio/modules/libgiognutls.la +1 -1
  302. data/vendor/local/lib/glib-2.0/include/glibconfig.h +2 -2
  303. data/vendor/local/lib/libgio-2.0.dll.a +0 -0
  304. data/vendor/local/lib/libgio-2.0.la +4 -4
  305. data/vendor/local/lib/libglib-2.0.dll.a +0 -0
  306. data/vendor/local/lib/libglib-2.0.la +3 -3
  307. data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
  308. data/vendor/local/lib/libgmodule-2.0.la +3 -3
  309. data/vendor/local/lib/libgmp.dll.a +0 -0
  310. data/vendor/local/lib/libgnutls-openssl.a +0 -0
  311. data/vendor/local/lib/libgnutls-openssl.dll.a +0 -0
  312. data/vendor/local/lib/libgnutls-openssl.la +1 -1
  313. data/vendor/local/lib/libgnutls-xssl.a +0 -0
  314. data/vendor/local/lib/libgnutls-xssl.dll.a +0 -0
  315. data/vendor/local/lib/libgnutls-xssl.la +41 -0
  316. data/vendor/local/lib/libgnutls.a +0 -0
  317. data/vendor/local/lib/libgnutls.dll.a +0 -0
  318. data/vendor/local/lib/libgnutls.la +3 -3
  319. data/vendor/local/lib/libgnutlsxx.a +0 -0
  320. data/vendor/local/lib/libgnutlsxx.dll.a +0 -0
  321. data/vendor/local/lib/libgnutlsxx.la +1 -1
  322. data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
  323. data/vendor/local/lib/libgobject-2.0.la +4 -4
  324. data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
  325. data/vendor/local/lib/libgthread-2.0.la +3 -3
  326. data/vendor/local/lib/libhogweed.a +0 -0
  327. data/vendor/local/lib/libhogweed.dll.a +0 -0
  328. data/vendor/local/lib/libnettle.a +0 -0
  329. data/vendor/local/lib/libnettle.dll.a +0 -0
  330. data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
  331. data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
  332. data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
  333. data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
  334. data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
  335. data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
  336. data/vendor/local/lib/pkgconfig/gnutls.pc +3 -3
  337. data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
  338. data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
  339. data/vendor/local/share/gdb/auto-load/{libglib-2.0.so.0.3400.3-gdb.py → libglib-2.0.so.0.3600.0-gdb.py} +0 -0
  340. data/vendor/local/share/gdb/auto-load/{libgobject-2.0.so.0.3400.3-gdb.py → libgobject-2.0.so.0.3600.0-gdb.py} +0 -0
  341. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/__init__.py +0 -0
  342. data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
  343. data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
  344. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen.py +2 -1
  345. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen.pyc +0 -0
  346. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen.pyo +0 -0
  347. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen_docbook.py +31 -23
  348. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
  349. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
  350. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen_main.py +2 -0
  351. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen_main.pyc +0 -0
  352. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen_main.pyo +0 -0
  353. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/config.py +1 -1
  354. data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
  355. data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
  356. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/dbustypes.py +0 -0
  357. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/dbustypes.pyc +0 -0
  358. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/dbustypes.pyo +0 -0
  359. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/parser.py +0 -0
  360. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/parser.pyc +0 -0
  361. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/parser.pyo +0 -0
  362. data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/utils.py +0 -0
  363. data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
  364. data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
  365. data/vendor/local/share/glib-2.0/gdb/glib.py +0 -4
  366. data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +5 -17
  367. data/vendor/local/share/glib-2.0/schemas/gschema.dtd +4 -4
  368. data/vendor/local/share/glib-2.0/schemas/gschemas.compiled +0 -0
  369. data/vendor/local/share/gtk-doc/html/gio/ExampleAnimal.html +129 -129
  370. data/vendor/local/share/gtk-doc/html/gio/ExampleCat.html +57 -57
  371. data/vendor/local/share/gtk-doc/html/gio/ExampleObject.html +18 -18
  372. data/vendor/local/share/gtk-doc/html/gio/ExampleObjectManagerClient.html +57 -57
  373. data/vendor/local/share/gtk-doc/html/gio/GAction.html +53 -53
  374. data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +107 -107
  375. data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +50 -49
  376. data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +149 -123
  377. data/vendor/local/share/gtk-doc/html/gio/GApplication.html +371 -354
  378. data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +130 -48
  379. data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +135 -151
  380. data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +72 -60
  381. data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +54 -54
  382. data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +22 -22
  383. data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +77 -75
  384. data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +25 -25
  385. data/vendor/local/share/gtk-doc/html/gio/GConverter.html +15 -15
  386. data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +67 -28
  387. data/vendor/local/share/gtk-doc/html/gio/GDBusActionGroup.html +7 -7
  388. data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +42 -42
  389. data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +1814 -1830
  390. data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +8 -8
  391. data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +38 -38
  392. data/vendor/local/share/gtk-doc/html/gio/GDBusMenuModel.html +8 -8
  393. data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +149 -149
  394. data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +61 -61
  395. data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +18 -18
  396. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +28 -28
  397. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +143 -141
  398. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +21 -21
  399. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectProxy.html +8 -8
  400. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectSkeleton.html +18 -18
  401. data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +443 -447
  402. data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +239 -243
  403. data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +155 -155
  404. data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +81 -80
  405. data/vendor/local/share/gtk-doc/html/gio/GDrive.html +124 -124
  406. data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +5 -5
  407. data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +9 -9
  408. data/vendor/local/share/gtk-doc/html/gio/GFile.html +791 -720
  409. data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +3 -3
  410. data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +110 -53
  411. data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +17 -17
  412. data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +5 -5
  413. data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +152 -124
  414. data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +17 -17
  415. data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +19 -19
  416. data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +17 -17
  417. data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +12 -12
  418. data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +11 -11
  419. data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +11 -11
  420. data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +24 -24
  421. data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +42 -42
  422. data/vendor/local/share/gtk-doc/html/gio/GIcon.html +24 -24
  423. data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +69 -69
  424. data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +18 -18
  425. data/vendor/local/share/gtk-doc/html/gio/GInitable.html +65 -62
  426. data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +133 -127
  427. data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +16 -16
  428. data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +72 -13
  429. data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +89 -45
  430. data/vendor/local/share/gtk-doc/html/gio/GMenu.html +167 -167
  431. data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +129 -91
  432. data/vendor/local/share/gtk-doc/html/gio/GMount.html +121 -121
  433. data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +50 -49
  434. data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +39 -39
  435. data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +33 -33
  436. data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +28 -28
  437. data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +128 -128
  438. data/vendor/local/share/gtk-doc/html/gio/GPermission.html +63 -63
  439. data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +30 -30
  440. data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +30 -30
  441. data/vendor/local/share/gtk-doc/html/gio/GProxy.html +19 -19
  442. data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +51 -51
  443. data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +37 -29
  444. data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +21 -21
  445. data/vendor/local/share/gtk-doc/html/gio/GResolver.html +125 -125
  446. data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +39 -39
  447. data/vendor/local/share/gtk-doc/html/gio/GSettings.html +430 -430
  448. data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +56 -56
  449. data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +53 -51
  450. data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +13 -13
  451. data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +222 -214
  452. data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +6 -6
  453. data/vendor/local/share/gtk-doc/html/gio/GSimpleProxyResolver.html +323 -0
  454. data/vendor/local/share/gtk-doc/html/gio/GSocket.html +501 -363
  455. data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +20 -20
  456. data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +189 -109
  457. data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +78 -68
  458. data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +44 -44
  459. data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +13 -13
  460. data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +84 -84
  461. data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +11 -11
  462. data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +23 -23
  463. data/vendor/local/share/gtk-doc/html/gio/GTask.html +2296 -0
  464. data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +10 -10
  465. data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +3 -3
  466. data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +323 -13
  467. data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +37 -34
  468. data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +10 -10
  469. data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +23 -23
  470. data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +52 -52
  471. data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +24 -24
  472. data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +56 -56
  473. data/vendor/local/share/gtk-doc/html/gio/GTlsDatabase.html +73 -73
  474. data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +11 -11
  475. data/vendor/local/share/gtk-doc/html/gio/GTlsInteraction.html +13 -13
  476. data/vendor/local/share/gtk-doc/html/gio/GTlsPassword.html +33 -33
  477. data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +7 -7
  478. data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +47 -47
  479. data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +6 -6
  480. data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +38 -38
  481. data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +19 -19
  482. data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +21 -21
  483. data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +21 -21
  484. data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +27 -27
  485. data/vendor/local/share/gtk-doc/html/gio/GVfs.html +12 -12
  486. data/vendor/local/share/gtk-doc/html/gio/GVolume.html +85 -85
  487. data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +49 -49
  488. data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +8 -8
  489. data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +6 -6
  490. data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +8 -5
  491. data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +2 -2
  492. data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +2 -2
  493. data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +2 -2
  494. data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +2 -2
  495. data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +6 -2
  496. data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +2 -2
  497. data/vendor/local/share/gtk-doc/html/gio/api-index-2-30.html +2 -2
  498. data/vendor/local/share/gtk-doc/html/gio/api-index-2-32.html +34 -2
  499. data/vendor/local/share/gtk-doc/html/gio/api-index-2-34.html +20 -4
  500. data/vendor/local/share/gtk-doc/html/gio/api-index-2-36.html +256 -0
  501. data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +21 -2
  502. data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +258 -2
  503. data/vendor/local/share/gtk-doc/html/gio/application.html +2 -2
  504. data/vendor/local/share/gtk-doc/html/gio/async.html +5 -2
  505. data/vendor/local/share/gtk-doc/html/gio/ch01.html +3 -3
  506. data/vendor/local/share/gtk-doc/html/gio/ch02.html +5 -5
  507. data/vendor/local/share/gtk-doc/html/gio/ch03.html +5 -5
  508. data/vendor/local/share/gtk-doc/html/gio/ch29.html +3 -3
  509. data/vendor/local/share/gtk-doc/html/gio/ch30.html +35 -35
  510. data/vendor/local/share/gtk-doc/html/gio/ch30s02.html +4 -4
  511. data/vendor/local/share/gtk-doc/html/gio/ch30s03.html +5 -5
  512. data/vendor/local/share/gtk-doc/html/gio/ch31.html +6 -7
  513. data/vendor/local/share/gtk-doc/html/gio/ch31s02.html +5 -5
  514. data/vendor/local/share/gtk-doc/html/gio/ch31s03.html +25 -25
  515. data/vendor/local/share/gtk-doc/html/gio/ch31s04.html +5 -5
  516. data/vendor/local/share/gtk-doc/html/gio/ch31s05.html +4 -4
  517. data/vendor/local/share/gtk-doc/html/gio/ch31s06.html +6 -6
  518. data/vendor/local/share/gtk-doc/html/gio/ch31s07.html +3 -3
  519. data/vendor/local/share/gtk-doc/html/gio/ch32.html +9 -6
  520. data/vendor/local/share/gtk-doc/html/gio/ch32s02.html +5 -5
  521. data/vendor/local/share/gtk-doc/html/gio/ch32s03.html +63 -63
  522. data/vendor/local/share/gtk-doc/html/gio/ch32s04.html +16 -16
  523. data/vendor/local/share/gtk-doc/html/gio/ch32s05.html +400 -408
  524. data/vendor/local/share/gtk-doc/html/gio/conversion.html +2 -2
  525. data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +2 -2
  526. data/vendor/local/share/gtk-doc/html/gio/extending.html +2 -2
  527. data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +2 -2
  528. data/vendor/local/share/gtk-doc/html/gio/file_mon.html +2 -2
  529. data/vendor/local/share/gtk-doc/html/gio/file_ops.html +2 -2
  530. data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +246 -246
  531. data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +2 -2
  532. data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +2 -2
  533. data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html +4 -4
  534. data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Cat.html +2 -2
  535. data/vendor/local/share/gtk-doc/html/gio/gdbus.html +11 -11
  536. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +41 -41
  537. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +81 -81
  538. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +68 -68
  539. data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +160 -51
  540. data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +38 -38
  541. data/vendor/local/share/gtk-doc/html/gio/gio-GActionGroup-exporter.html +11 -11
  542. data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +62 -62
  543. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +3 -3
  544. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +3 -3
  545. data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +120 -120
  546. data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +11 -11
  547. data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +16 -10
  548. data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +66 -49
  549. data/vendor/local/share/gtk-doc/html/gio/gio-GInetAddressMask.html +22 -22
  550. data/vendor/local/share/gtk-doc/html/gio/gio-GMenuModel-exporter.html +12 -12
  551. data/vendor/local/share/gtk-doc/html/gio/gio-GResource.html +175 -88
  552. data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +72 -72
  553. data/vendor/local/share/gtk-doc/html/gio/gio-GWin32InputStream.html +12 -12
  554. data/vendor/local/share/gtk-doc/html/gio/gio-GWin32OutputStream.html +12 -12
  555. data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +145 -149
  556. data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +4 -4
  557. data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +57 -57
  558. data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +143 -141
  559. data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +91 -0
  560. data/vendor/local/share/gtk-doc/html/gio/gio-gpollableutils.html +69 -69
  561. data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +6 -4
  562. data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +3 -3
  563. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +92 -16
  564. data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +17 -5
  565. data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +4 -4
  566. data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +4 -4
  567. data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +7 -7
  568. data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +4 -4
  569. data/vendor/local/share/gtk-doc/html/gio/icons.html +2 -2
  570. data/vendor/local/share/gtk-doc/html/gio/index.html +16 -6
  571. data/vendor/local/share/gtk-doc/html/gio/index.sgml +91 -0
  572. data/vendor/local/share/gtk-doc/html/gio/migrating.html +5 -5
  573. data/vendor/local/share/gtk-doc/html/gio/networking.html +5 -2
  574. data/vendor/local/share/gtk-doc/html/gio/permissions.html +2 -2
  575. data/vendor/local/share/gtk-doc/html/gio/pt01.html +3 -3
  576. data/vendor/local/share/gtk-doc/html/gio/pt02.html +12 -3
  577. data/vendor/local/share/gtk-doc/html/gio/resolver.html +5 -2
  578. data/vendor/local/share/gtk-doc/html/gio/resources.html +2 -2
  579. data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +10 -2
  580. data/vendor/local/share/gtk-doc/html/gio/settings.html +2 -2
  581. data/vendor/local/share/gtk-doc/html/gio/streaming.html +2 -2
  582. data/vendor/local/share/gtk-doc/html/gio/testing.html +2 -2
  583. data/vendor/local/share/gtk-doc/html/gio/tls.html +2 -2
  584. data/vendor/local/share/gtk-doc/html/gio/tools.html +2 -2
  585. data/vendor/local/share/gtk-doc/html/gio/types.html +2 -2
  586. data/vendor/local/share/gtk-doc/html/gio/utils.html +2 -2
  587. data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +2 -2
  588. data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +8 -5
  589. data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +2 -2
  590. data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +2 -2
  591. data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +2 -2
  592. data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +2 -2
  593. data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +2 -2
  594. data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +2 -2
  595. data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +2 -2
  596. data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +2 -2
  597. data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +2 -2
  598. data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +2 -2
  599. data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +2 -2
  600. data/vendor/local/share/gtk-doc/html/glib/api-index-2-30.html +2 -2
  601. data/vendor/local/share/gtk-doc/html/glib/api-index-2-32.html +2 -2
  602. data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +8 -4
  603. data/vendor/local/share/gtk-doc/html/glib/api-index-2-36.html +114 -0
  604. data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +2 -2
  605. data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +2 -2
  606. data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +2 -2
  607. data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +2 -2
  608. data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +79 -3
  609. data/vendor/local/share/gtk-doc/html/glib/deprecated.html +2 -2
  610. data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +20 -20
  611. data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +7 -7
  612. data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +6 -6
  613. data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +2 -2
  614. data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +2 -2
  615. data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +5 -3
  616. data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +9 -9
  617. data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +25 -25
  618. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +22 -22
  619. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +4 -4
  620. data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +2 -2
  621. data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +3 -3
  622. data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +32 -32
  623. data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +15 -6
  624. data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +2 -2
  625. data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +2 -2
  626. data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +9 -9
  627. data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +62 -66
  628. data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +3 -3
  629. data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +19 -19
  630. data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +39 -39
  631. data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +104 -104
  632. data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +53 -18
  633. data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +2 -2
  634. data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +46 -11
  635. data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +142 -66
  636. data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +9 -9
  637. data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +2 -2
  638. data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +16 -57
  639. data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +2 -2
  640. data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +2 -2
  641. data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +31 -31
  642. data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +19 -10
  643. data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +20 -20
  644. data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +5 -5
  645. data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +2 -2
  646. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +2 -2
  647. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +33 -33
  648. data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +12 -12
  649. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +32 -32
  650. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +33 -40
  651. data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +2 -2
  652. data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +2 -2
  653. data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +72 -72
  654. data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +13 -13
  655. data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +2 -2
  656. data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +2 -2
  657. data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +2 -2
  658. data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +5 -4
  659. data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +2 -2
  660. data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +119 -69
  661. data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +16 -16
  662. data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +4 -4
  663. data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +2 -2
  664. data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +2 -2
  665. data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +11 -14
  666. data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +2 -2
  667. data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +48 -27
  668. data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +375 -147
  669. data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +2 -2
  670. data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +173 -147
  671. data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +2 -2
  672. data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +2 -2
  673. data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +12 -12
  674. data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +241 -26
  675. data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +3 -3
  676. data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +17 -13
  677. data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +33 -9
  678. data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +23 -23
  679. data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +2 -2
  680. data/vendor/local/share/gtk-doc/html/glib/glib-building.html +8 -3
  681. data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +4 -4
  682. data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +3 -3
  683. data/vendor/local/share/gtk-doc/html/glib/glib-core.html +2 -2
  684. data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +3 -3
  685. data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +2 -2
  686. data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +2 -2
  687. data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +5 -5
  688. data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +5 -5
  689. data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +47 -47
  690. data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +5 -5
  691. data/vendor/local/share/gtk-doc/html/glib/glib-running.html +8 -8
  692. data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +2 -2
  693. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +50 -27
  694. data/vendor/local/share/gtk-doc/html/glib/glib.html +2 -2
  695. data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +5 -5
  696. data/vendor/local/share/gtk-doc/html/glib/gtester.html +5 -5
  697. data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +155 -155
  698. data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +11 -11
  699. data/vendor/local/share/gtk-doc/html/glib/index.html +4 -3
  700. data/vendor/local/share/gtk-doc/html/glib/index.sgml +24 -1
  701. data/vendor/local/share/gtk-doc/html/glib/tools.html +2 -2
  702. data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +72 -72
  703. data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +63 -63
  704. data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +6 -6
  705. data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +8 -5
  706. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +2 -2
  707. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +2 -2
  708. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +2 -2
  709. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +2 -2
  710. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +2 -2
  711. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +2 -2
  712. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +2 -2
  713. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +2 -2
  714. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +2 -2
  715. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-30.html +2 -2
  716. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-32.html +2 -2
  717. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-34.html +4 -4
  718. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-36.html +50 -0
  719. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +2 -2
  720. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +2 -2
  721. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +2 -2
  722. data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +14 -2
  723. data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +18 -2
  724. data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +6 -6
  725. data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +2 -2
  726. data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +6 -6
  727. data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +4 -4
  728. data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +10 -10
  729. data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +8 -8
  730. data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +7 -7
  731. data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +83 -50
  732. data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +344 -344
  733. data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +50 -50
  734. data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +81 -81
  735. data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +68 -72
  736. data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +259 -285
  737. data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +463 -443
  738. data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +356 -355
  739. data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +371 -427
  740. data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +41 -41
  741. data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +7 -36
  742. data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +2 -2
  743. data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +96 -96
  744. data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +5 -5
  745. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +15 -10
  746. data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +5 -5
  747. data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +2 -2
  748. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +2 -2
  749. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +2 -2
  750. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +4 -4
  751. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +2 -2
  752. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +24 -24
  753. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +2 -2
  754. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +5 -5
  755. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +5 -5
  756. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +4 -4
  757. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-override.html +2 -2
  758. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-prerequisite.html +3 -3
  759. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +4 -4
  760. data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +6 -6
  761. data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +4 -4
  762. data/vendor/local/share/gtk-doc/html/gobject/index.html +12 -11
  763. data/vendor/local/share/gtk-doc/html/gobject/index.sgml +5 -0
  764. data/vendor/local/share/gtk-doc/html/gobject/pr01.html +3 -3
  765. data/vendor/local/share/gtk-doc/html/gobject/pt01.html +6 -6
  766. data/vendor/local/share/gtk-doc/html/gobject/pt02.html +8 -8
  767. data/vendor/local/share/gtk-doc/html/gobject/pt03.html +3 -3
  768. data/vendor/local/share/gtk-doc/html/gobject/rn01.html +3 -3
  769. data/vendor/local/share/gtk-doc/html/gobject/rn02.html +3 -3
  770. data/vendor/local/share/gtk-doc/html/gobject/signal.html +9 -9
  771. data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +2 -2
  772. data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +2 -2
  773. data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +2 -2
  774. data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +2 -2
  775. data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +2 -2
  776. data/vendor/local/share/info/gnutls-guile.info +15 -15
  777. data/vendor/local/share/info/gnutls.info +1274 -1229
  778. data/vendor/local/share/info/gnutls.info-1 +2153 -2008
  779. data/vendor/local/share/info/gnutls.info-2 +991 -314
  780. data/vendor/local/share/info/gnutls.info-3 +358 -232
  781. data/vendor/local/share/info/gnutls.info-4 +928 -671
  782. data/vendor/local/share/locale/an/LC_MESSAGES/glib-networking.mo +0 -0
  783. data/vendor/local/share/locale/as/LC_MESSAGES/glib-networking.mo +0 -0
  784. data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
  785. data/vendor/local/share/locale/be/LC_MESSAGES/glib-networking.mo +0 -0
  786. data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
  787. data/vendor/local/share/locale/bg/LC_MESSAGES/glib-networking.mo +0 -0
  788. data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
  789. data/vendor/local/share/locale/ca/LC_MESSAGES/glib-networking.mo +0 -0
  790. data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
  791. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib-networking.mo +0 -0
  792. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
  793. data/vendor/local/share/locale/cs/LC_MESSAGES/glib-networking.mo +0 -0
  794. data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
  795. data/vendor/local/share/locale/cs/LC_MESSAGES/gnutls.mo +0 -0
  796. data/vendor/local/share/locale/da/LC_MESSAGES/glib-networking.mo +0 -0
  797. data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
  798. data/vendor/local/share/locale/de/LC_MESSAGES/glib-networking.mo +0 -0
  799. data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
  800. data/vendor/local/share/locale/de/LC_MESSAGES/gnutls.mo +0 -0
  801. data/vendor/local/share/locale/el/LC_MESSAGES/glib-networking.mo +0 -0
  802. data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
  803. data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gnutls.mo +0 -0
  804. data/vendor/local/share/locale/en@quot/LC_MESSAGES/gnutls.mo +0 -0
  805. data/vendor/local/share/locale/es/LC_MESSAGES/glib-networking.mo +0 -0
  806. data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
  807. data/vendor/local/share/locale/et/LC_MESSAGES/glib-networking.mo +0 -0
  808. data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
  809. data/vendor/local/share/locale/eu/LC_MESSAGES/glib-networking.mo +0 -0
  810. data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
  811. data/vendor/local/share/locale/fa/LC_MESSAGES/glib-networking.mo +0 -0
  812. data/vendor/local/share/locale/fi/LC_MESSAGES/glib-networking.mo +0 -0
  813. data/vendor/local/share/locale/fi/LC_MESSAGES/gnutls.mo +0 -0
  814. data/vendor/local/share/locale/fr/LC_MESSAGES/glib-networking.mo +0 -0
  815. data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
  816. data/vendor/local/share/locale/fr/LC_MESSAGES/gnutls.mo +0 -0
  817. data/vendor/local/share/locale/gl/LC_MESSAGES/glib-networking.mo +0 -0
  818. data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
  819. data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
  820. data/vendor/local/share/locale/he/LC_MESSAGES/glib-networking.mo +0 -0
  821. data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
  822. data/vendor/local/share/locale/hi/LC_MESSAGES/glib-networking.mo +0 -0
  823. data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
  824. data/vendor/local/share/locale/hu/LC_MESSAGES/glib-networking.mo +0 -0
  825. data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
  826. data/vendor/local/share/locale/it/LC_MESSAGES/glib-networking.mo +0 -0
  827. data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
  828. data/vendor/local/share/locale/it/LC_MESSAGES/gnutls.mo +0 -0
  829. data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
  830. data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
  831. data/vendor/local/share/locale/ko/LC_MESSAGES/glib-networking.mo +0 -0
  832. data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
  833. data/vendor/local/share/locale/lt/LC_MESSAGES/glib-networking.mo +0 -0
  834. data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
  835. data/vendor/local/share/locale/lv/LC_MESSAGES/glib-networking.mo +0 -0
  836. data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
  837. data/vendor/local/share/locale/ml/LC_MESSAGES/glib-networking.mo +0 -0
  838. data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
  839. data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
  840. data/vendor/local/share/locale/ms/LC_MESSAGES/gnutls.mo +0 -0
  841. data/vendor/local/share/locale/nb/LC_MESSAGES/glib-networking.mo +0 -0
  842. data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
  843. data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
  844. data/vendor/local/share/locale/nl/LC_MESSAGES/gnutls.mo +0 -0
  845. data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
  846. data/vendor/local/share/locale/pa/LC_MESSAGES/glib-networking.mo +0 -0
  847. data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
  848. data/vendor/local/share/locale/pl/LC_MESSAGES/glib-networking.mo +0 -0
  849. data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
  850. data/vendor/local/share/locale/pl/LC_MESSAGES/gnutls.mo +0 -0
  851. data/vendor/local/share/locale/pt/LC_MESSAGES/glib-networking.mo +0 -0
  852. data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
  853. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib-networking.mo +0 -0
  854. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
  855. data/vendor/local/share/locale/ru/LC_MESSAGES/glib-networking.mo +0 -0
  856. data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
  857. data/vendor/local/share/locale/sk/LC_MESSAGES/glib-networking.mo +0 -0
  858. data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
  859. data/vendor/local/share/locale/sl/LC_MESSAGES/glib-networking.mo +0 -0
  860. data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
  861. data/vendor/local/share/locale/sr/LC_MESSAGES/glib-networking.mo +0 -0
  862. data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
  863. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib-networking.mo +0 -0
  864. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
  865. data/vendor/local/share/locale/sv/LC_MESSAGES/gnutls.mo +0 -0
  866. data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
  867. data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
  868. data/vendor/local/share/locale/tg/LC_MESSAGES/glib-networking.mo +0 -0
  869. data/vendor/local/share/locale/tg/LC_MESSAGES/glib20.mo +0 -0
  870. data/vendor/local/share/locale/th/LC_MESSAGES/glib-networking.mo +0 -0
  871. data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
  872. data/vendor/local/share/locale/ug/LC_MESSAGES/glib-networking.mo +0 -0
  873. data/vendor/local/share/locale/ug/LC_MESSAGES/glib20.mo +0 -0
  874. data/vendor/local/share/locale/uk/LC_MESSAGES/gnutls.mo +0 -0
  875. data/vendor/local/share/locale/vi/LC_MESSAGES/glib-networking.mo +0 -0
  876. data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
  877. data/vendor/local/share/locale/vi/LC_MESSAGES/gnutls.mo +0 -0
  878. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
  879. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gnutls.mo +0 -0
  880. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib-networking.mo +0 -0
  881. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
  882. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib-networking.mo +0 -0
  883. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
  884. data/vendor/local/share/man/man1/certtool.1 +27 -4
  885. data/vendor/local/share/man/man1/gdbus-codegen.1 +1 -1
  886. data/vendor/local/share/man/man1/gdbus.1 +1 -1
  887. data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
  888. data/vendor/local/share/man/man1/glib-compile-resources.1 +13 -1
  889. data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
  890. data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
  891. data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
  892. data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
  893. data/vendor/local/share/man/man1/gnutls-cli-debug.1 +2 -2
  894. data/vendor/local/share/man/man1/gnutls-cli.1 +11 -2
  895. data/vendor/local/share/man/man1/gnutls-serv.1 +2 -2
  896. data/vendor/local/share/man/man1/gobject-query.1 +1 -1
  897. data/vendor/local/share/man/man1/gresource.1 +1 -1
  898. data/vendor/local/share/man/man1/gsettings.1 +1 -1
  899. data/vendor/local/share/man/man1/gtester-report.1 +1 -1
  900. data/vendor/local/share/man/man1/gtester.1 +1 -1
  901. data/vendor/local/share/man/man1/ocsptool.1 +2 -2
  902. data/vendor/local/share/man/man1/p11tool.1 +23 -2
  903. data/vendor/local/share/man/man1/psktool.1 +2 -2
  904. data/vendor/local/share/man/man1/srptool.1 +2 -2
  905. data/vendor/local/share/man/man1/tpmtool.1 +2 -2
  906. data/vendor/local/share/man/man3/gnutls_alert_get.3 +1 -1
  907. data/vendor/local/share/man/man3/gnutls_alert_get_name.3 +1 -1
  908. data/vendor/local/share/man/man3/gnutls_alert_get_strname.3 +1 -1
  909. data/vendor/local/share/man/man3/gnutls_alert_send.3 +1 -1
  910. data/vendor/local/share/man/man3/gnutls_alert_send_appropriate.3 +1 -1
  911. data/vendor/local/share/man/man3/gnutls_anon_allocate_client_credentials.3 +1 -1
  912. data/vendor/local/share/man/man3/gnutls_anon_allocate_server_credentials.3 +1 -1
  913. data/vendor/local/share/man/man3/gnutls_anon_free_client_credentials.3 +1 -1
  914. data/vendor/local/share/man/man3/gnutls_anon_free_server_credentials.3 +1 -1
  915. data/vendor/local/share/man/man3/gnutls_anon_set_params_function.3 +1 -1
  916. data/vendor/local/share/man/man3/gnutls_anon_set_server_dh_params.3 +1 -1
  917. data/vendor/local/share/man/man3/gnutls_anon_set_server_params_function.3 +1 -1
  918. data/vendor/local/share/man/man3/gnutls_auth_client_get_type.3 +1 -1
  919. data/vendor/local/share/man/man3/gnutls_auth_get_type.3 +1 -1
  920. data/vendor/local/share/man/man3/gnutls_auth_server_get_type.3 +1 -1
  921. data/vendor/local/share/man/man3/gnutls_bye.3 +1 -1
  922. data/vendor/local/share/man/man3/gnutls_certificate_activation_time_peers.3 +1 -1
  923. data/vendor/local/share/man/man3/gnutls_certificate_allocate_credentials.3 +1 -1
  924. data/vendor/local/share/man/man3/gnutls_certificate_client_get_request_status.3 +1 -1
  925. data/vendor/local/share/man/man3/gnutls_certificate_expiration_time_peers.3 +1 -1
  926. data/vendor/local/share/man/man3/gnutls_certificate_free_ca_names.3 +1 -1
  927. data/vendor/local/share/man/man3/gnutls_certificate_free_cas.3 +1 -1
  928. data/vendor/local/share/man/man3/gnutls_certificate_free_credentials.3 +1 -1
  929. data/vendor/local/share/man/man3/gnutls_certificate_free_crls.3 +1 -1
  930. data/vendor/local/share/man/man3/gnutls_certificate_free_keys.3 +1 -1
  931. data/vendor/local/share/man/man3/gnutls_certificate_get_issuer.3 +1 -1
  932. data/vendor/local/share/man/man3/gnutls_certificate_get_ours.3 +1 -1
  933. data/vendor/local/share/man/man3/gnutls_certificate_get_peers.3 +1 -1
  934. data/vendor/local/share/man/man3/gnutls_certificate_get_peers_subkey_id.3 +3 -1
  935. data/vendor/local/share/man/man3/gnutls_certificate_send_x509_rdn_sequence.3 +1 -1
  936. data/vendor/local/share/man/man3/gnutls_certificate_server_set_request.3 +1 -1
  937. data/vendor/local/share/man/man3/gnutls_certificate_set_dh_params.3 +3 -4
  938. data/vendor/local/share/man/man3/gnutls_certificate_set_key.3 +1 -1
  939. data/vendor/local/share/man/man3/gnutls_certificate_set_ocsp_status_request_file.3 +3 -1
  940. data/vendor/local/share/man/man3/gnutls_certificate_set_ocsp_status_request_function.3 +3 -1
  941. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key.3 +1 -1
  942. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_file.3 +1 -1
  943. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_file2.3 +1 -1
  944. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_mem.3 +1 -1
  945. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_mem2.3 +1 -1
  946. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_keyring_file.3 +1 -1
  947. data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_keyring_mem.3 +1 -1
  948. data/vendor/local/share/man/man3/gnutls_certificate_set_params_function.3 +1 -1
  949. data/vendor/local/share/man/man3/gnutls_certificate_set_pin_function.3 +1 -1
  950. data/vendor/local/share/man/man3/gnutls_certificate_set_retrieve_function.3 +1 -1
  951. data/vendor/local/share/man/man3/gnutls_certificate_set_retrieve_function2.3 +1 -1
  952. data/vendor/local/share/man/man3/gnutls_certificate_set_rsa_export_params.3 +1 -1
  953. data/vendor/local/share/man/man3/gnutls_certificate_set_verify_flags.3 +1 -1
  954. data/vendor/local/share/man/man3/gnutls_certificate_set_verify_function.3 +1 -1
  955. data/vendor/local/share/man/man3/gnutls_certificate_set_verify_limits.3 +1 -1
  956. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl.3 +1 -1
  957. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl_file.3 +1 -1
  958. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl_mem.3 +1 -1
  959. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key.3 +1 -1
  960. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_file.3 +1 -1
  961. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_mem.3 +1 -1
  962. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_simple_pkcs12_file.3 +1 -1
  963. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_simple_pkcs12_mem.3 +1 -1
  964. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_system_trust.3 +1 -1
  965. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust.3 +1 -1
  966. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust_file.3 +1 -1
  967. data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust_mem.3 +1 -1
  968. data/vendor/local/share/man/man3/gnutls_certificate_type_get.3 +1 -1
  969. data/vendor/local/share/man/man3/gnutls_certificate_type_get_id.3 +1 -1
  970. data/vendor/local/share/man/man3/gnutls_certificate_type_get_name.3 +1 -1
  971. data/vendor/local/share/man/man3/gnutls_certificate_type_list.3 +1 -1
  972. data/vendor/local/share/man/man3/gnutls_certificate_type_set_priority.3 +1 -1
  973. data/vendor/local/share/man/man3/gnutls_certificate_verification_status_print.3 +1 -1
  974. data/vendor/local/share/man/man3/gnutls_certificate_verify_peers2.3 +1 -1
  975. data/vendor/local/share/man/man3/gnutls_certificate_verify_peers3.3 +1 -1
  976. data/vendor/local/share/man/man3/gnutls_check_version.3 +1 -1
  977. data/vendor/local/share/man/man3/gnutls_cipher_add_auth.3 +1 -1
  978. data/vendor/local/share/man/man3/gnutls_cipher_decrypt.3 +1 -1
  979. data/vendor/local/share/man/man3/gnutls_cipher_decrypt2.3 +1 -1
  980. data/vendor/local/share/man/man3/gnutls_cipher_deinit.3 +1 -1
  981. data/vendor/local/share/man/man3/gnutls_cipher_encrypt.3 +1 -1
  982. data/vendor/local/share/man/man3/gnutls_cipher_encrypt2.3 +1 -1
  983. data/vendor/local/share/man/man3/gnutls_cipher_get.3 +1 -1
  984. data/vendor/local/share/man/man3/gnutls_cipher_get_block_size.3 +1 -1
  985. data/vendor/local/share/man/man3/gnutls_cipher_get_id.3 +1 -1
  986. data/vendor/local/share/man/man3/gnutls_cipher_get_key_size.3 +1 -1
  987. data/vendor/local/share/man/man3/gnutls_cipher_get_name.3 +1 -1
  988. data/vendor/local/share/man/man3/gnutls_cipher_init.3 +1 -1
  989. data/vendor/local/share/man/man3/gnutls_cipher_list.3 +1 -1
  990. data/vendor/local/share/man/man3/gnutls_cipher_set_iv.3 +1 -1
  991. data/vendor/local/share/man/man3/gnutls_cipher_set_priority.3 +1 -1
  992. data/vendor/local/share/man/man3/gnutls_cipher_suite_get_name.3 +1 -1
  993. data/vendor/local/share/man/man3/gnutls_cipher_suite_info.3 +1 -1
  994. data/vendor/local/share/man/man3/gnutls_cipher_tag.3 +1 -1
  995. data/vendor/local/share/man/man3/gnutls_compression_get.3 +1 -1
  996. data/vendor/local/share/man/man3/gnutls_compression_get_id.3 +1 -1
  997. data/vendor/local/share/man/man3/gnutls_compression_get_name.3 +1 -1
  998. data/vendor/local/share/man/man3/gnutls_compression_list.3 +1 -1
  999. data/vendor/local/share/man/man3/gnutls_compression_set_priority.3 +1 -1
  1000. data/vendor/local/share/man/man3/gnutls_credentials_clear.3 +1 -1
  1001. data/vendor/local/share/man/man3/gnutls_credentials_set.3 +1 -1
  1002. data/vendor/local/share/man/man3/gnutls_db_check_entry.3 +2 -4
  1003. data/vendor/local/share/man/man3/gnutls_db_check_entry_time.3 +45 -0
  1004. data/vendor/local/share/man/man3/gnutls_db_get_ptr.3 +1 -1
  1005. data/vendor/local/share/man/man3/gnutls_db_remove_session.3 +1 -1
  1006. data/vendor/local/share/man/man3/gnutls_db_set_cache_expiration.3 +1 -1
  1007. data/vendor/local/share/man/man3/gnutls_db_set_ptr.3 +1 -1
  1008. data/vendor/local/share/man/man3/gnutls_db_set_remove_function.3 +1 -1
  1009. data/vendor/local/share/man/man3/gnutls_db_set_retrieve_function.3 +1 -1
  1010. data/vendor/local/share/man/man3/gnutls_db_set_store_function.3 +1 -1
  1011. data/vendor/local/share/man/man3/gnutls_deinit.3 +1 -1
  1012. data/vendor/local/share/man/man3/gnutls_dh_get_group.3 +1 -1
  1013. data/vendor/local/share/man/man3/gnutls_dh_get_peers_public_bits.3 +1 -1
  1014. data/vendor/local/share/man/man3/gnutls_dh_get_prime_bits.3 +1 -1
  1015. data/vendor/local/share/man/man3/gnutls_dh_get_pubkey.3 +1 -1
  1016. data/vendor/local/share/man/man3/gnutls_dh_get_secret_bits.3 +1 -1
  1017. data/vendor/local/share/man/man3/gnutls_dh_params_cpy.3 +1 -1
  1018. data/vendor/local/share/man/man3/gnutls_dh_params_deinit.3 +1 -1
  1019. data/vendor/local/share/man/man3/gnutls_dh_params_export2_pkcs3.3 +3 -1
  1020. data/vendor/local/share/man/man3/gnutls_dh_params_export_pkcs3.3 +1 -1
  1021. data/vendor/local/share/man/man3/gnutls_dh_params_export_raw.3 +1 -1
  1022. data/vendor/local/share/man/man3/gnutls_dh_params_generate2.3 +1 -1
  1023. data/vendor/local/share/man/man3/gnutls_dh_params_import_pkcs3.3 +1 -1
  1024. data/vendor/local/share/man/man3/gnutls_dh_params_import_raw.3 +1 -1
  1025. data/vendor/local/share/man/man3/gnutls_dh_params_init.3 +1 -1
  1026. data/vendor/local/share/man/man3/gnutls_dh_set_prime_bits.3 +7 -2
  1027. data/vendor/local/share/man/man3/gnutls_dtls_cookie_send.3 +1 -1
  1028. data/vendor/local/share/man/man3/gnutls_dtls_cookie_verify.3 +1 -1
  1029. data/vendor/local/share/man/man3/gnutls_dtls_get_data_mtu.3 +1 -1
  1030. data/vendor/local/share/man/man3/gnutls_dtls_get_mtu.3 +1 -1
  1031. data/vendor/local/share/man/man3/gnutls_dtls_get_timeout.3 +1 -1
  1032. data/vendor/local/share/man/man3/gnutls_dtls_prestate_set.3 +1 -1
  1033. data/vendor/local/share/man/man3/gnutls_dtls_set_data_mtu.3 +1 -1
  1034. data/vendor/local/share/man/man3/gnutls_dtls_set_mtu.3 +1 -1
  1035. data/vendor/local/share/man/man3/gnutls_dtls_set_timeouts.3 +1 -1
  1036. data/vendor/local/share/man/man3/gnutls_ecc_curve_get.3 +1 -1
  1037. data/vendor/local/share/man/man3/gnutls_ecc_curve_get_name.3 +1 -1
  1038. data/vendor/local/share/man/man3/gnutls_ecc_curve_get_size.3 +1 -1
  1039. data/vendor/local/share/man/man3/gnutls_ecc_curve_list.3 +1 -1
  1040. data/vendor/local/share/man/man3/gnutls_error_is_fatal.3 +1 -1
  1041. data/vendor/local/share/man/man3/gnutls_error_to_alert.3 +1 -1
  1042. data/vendor/local/share/man/man3/gnutls_fingerprint.3 +2 -2
  1043. data/vendor/local/share/man/man3/gnutls_global_deinit.3 +1 -1
  1044. data/vendor/local/share/man/man3/gnutls_global_init.3 +1 -1
  1045. data/vendor/local/share/man/man3/gnutls_global_set_audit_log_function.3 +1 -1
  1046. data/vendor/local/share/man/man3/gnutls_global_set_log_function.3 +1 -1
  1047. data/vendor/local/share/man/man3/gnutls_global_set_log_level.3 +1 -1
  1048. data/vendor/local/share/man/man3/gnutls_global_set_mem_functions.3 +1 -1
  1049. data/vendor/local/share/man/man3/gnutls_global_set_mutex.3 +1 -1
  1050. data/vendor/local/share/man/man3/gnutls_global_set_time_function.3 +1 -1
  1051. data/vendor/local/share/man/man3/gnutls_handshake.3 +1 -1
  1052. data/vendor/local/share/man/man3/gnutls_handshake_get_last_in.3 +1 -1
  1053. data/vendor/local/share/man/man3/gnutls_handshake_get_last_out.3 +1 -1
  1054. data/vendor/local/share/man/man3/gnutls_handshake_set_max_packet_length.3 +1 -1
  1055. data/vendor/local/share/man/man3/gnutls_handshake_set_post_client_hello_function.3 +1 -1
  1056. data/vendor/local/share/man/man3/gnutls_handshake_set_private_extensions.3 +1 -1
  1057. data/vendor/local/share/man/man3/gnutls_handshake_set_random.3 +55 -0
  1058. data/vendor/local/share/man/man3/gnutls_handshake_set_timeout.3 +3 -2
  1059. data/vendor/local/share/man/man3/gnutls_hash.3 +1 -1
  1060. data/vendor/local/share/man/man3/gnutls_hash_deinit.3 +1 -1
  1061. data/vendor/local/share/man/man3/gnutls_hash_fast.3 +1 -1
  1062. data/vendor/local/share/man/man3/gnutls_hash_get_len.3 +1 -1
  1063. data/vendor/local/share/man/man3/gnutls_hash_init.3 +1 -1
  1064. data/vendor/local/share/man/man3/gnutls_hash_output.3 +1 -1
  1065. data/vendor/local/share/man/man3/gnutls_heartbeat_allowed.3 +1 -1
  1066. data/vendor/local/share/man/man3/gnutls_heartbeat_enable.3 +1 -1
  1067. data/vendor/local/share/man/man3/gnutls_heartbeat_get_timeout.3 +1 -1
  1068. data/vendor/local/share/man/man3/gnutls_heartbeat_ping.3 +1 -1
  1069. data/vendor/local/share/man/man3/gnutls_heartbeat_pong.3 +1 -1
  1070. data/vendor/local/share/man/man3/gnutls_heartbeat_set_timeouts.3 +1 -1
  1071. data/vendor/local/share/man/man3/gnutls_hex2bin.3 +1 -1
  1072. data/vendor/local/share/man/man3/gnutls_hex_decode.3 +1 -1
  1073. data/vendor/local/share/man/man3/gnutls_hex_encode.3 +1 -1
  1074. data/vendor/local/share/man/man3/gnutls_hmac.3 +1 -1
  1075. data/vendor/local/share/man/man3/gnutls_hmac_deinit.3 +1 -1
  1076. data/vendor/local/share/man/man3/gnutls_hmac_fast.3 +1 -1
  1077. data/vendor/local/share/man/man3/gnutls_hmac_get_len.3 +1 -1
  1078. data/vendor/local/share/man/man3/gnutls_hmac_init.3 +1 -1
  1079. data/vendor/local/share/man/man3/gnutls_hmac_output.3 +1 -1
  1080. data/vendor/local/share/man/man3/gnutls_init.3 +1 -1
  1081. data/vendor/local/share/man/man3/gnutls_key_generate.3 +2 -2
  1082. data/vendor/local/share/man/man3/gnutls_kx_get.3 +1 -1
  1083. data/vendor/local/share/man/man3/gnutls_kx_get_id.3 +1 -1
  1084. data/vendor/local/share/man/man3/gnutls_kx_get_name.3 +1 -1
  1085. data/vendor/local/share/man/man3/gnutls_kx_list.3 +1 -1
  1086. data/vendor/local/share/man/man3/gnutls_kx_set_priority.3 +1 -1
  1087. data/vendor/local/share/man/man3/gnutls_load_file.3 +1 -1
  1088. data/vendor/local/share/man/man3/gnutls_mac_get.3 +1 -1
  1089. data/vendor/local/share/man/man3/gnutls_mac_get_id.3 +1 -1
  1090. data/vendor/local/share/man/man3/gnutls_mac_get_key_size.3 +1 -1
  1091. data/vendor/local/share/man/man3/gnutls_mac_get_name.3 +1 -1
  1092. data/vendor/local/share/man/man3/gnutls_mac_list.3 +1 -1
  1093. data/vendor/local/share/man/man3/gnutls_mac_set_priority.3 +1 -1
  1094. data/vendor/local/share/man/man3/gnutls_ocsp_req_add_cert.3 +1 -1
  1095. data/vendor/local/share/man/man3/gnutls_ocsp_req_add_cert_id.3 +1 -1
  1096. data/vendor/local/share/man/man3/gnutls_ocsp_req_deinit.3 +1 -1
  1097. data/vendor/local/share/man/man3/gnutls_ocsp_req_export.3 +1 -1
  1098. data/vendor/local/share/man/man3/gnutls_ocsp_req_get_cert_id.3 +1 -1
  1099. data/vendor/local/share/man/man3/gnutls_ocsp_req_get_extension.3 +1 -1
  1100. data/vendor/local/share/man/man3/gnutls_ocsp_req_get_nonce.3 +1 -1
  1101. data/vendor/local/share/man/man3/gnutls_ocsp_req_get_version.3 +1 -1
  1102. data/vendor/local/share/man/man3/gnutls_ocsp_req_import.3 +1 -1
  1103. data/vendor/local/share/man/man3/gnutls_ocsp_req_init.3 +1 -1
  1104. data/vendor/local/share/man/man3/gnutls_ocsp_req_print.3 +1 -1
  1105. data/vendor/local/share/man/man3/gnutls_ocsp_req_randomize_nonce.3 +1 -1
  1106. data/vendor/local/share/man/man3/gnutls_ocsp_req_set_extension.3 +1 -1
  1107. data/vendor/local/share/man/man3/gnutls_ocsp_req_set_nonce.3 +1 -1
  1108. data/vendor/local/share/man/man3/gnutls_ocsp_resp_check_crt.3 +3 -1
  1109. data/vendor/local/share/man/man3/gnutls_ocsp_resp_deinit.3 +1 -1
  1110. data/vendor/local/share/man/man3/gnutls_ocsp_resp_export.3 +1 -1
  1111. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_certs.3 +1 -1
  1112. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_extension.3 +1 -1
  1113. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_nonce.3 +1 -1
  1114. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_produced.3 +1 -1
  1115. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_responder.3 +1 -1
  1116. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_response.3 +1 -1
  1117. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_signature.3 +1 -1
  1118. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_signature_algorithm.3 +1 -1
  1119. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_single.3 +1 -1
  1120. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_status.3 +1 -1
  1121. data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_version.3 +1 -1
  1122. data/vendor/local/share/man/man3/gnutls_ocsp_resp_import.3 +1 -1
  1123. data/vendor/local/share/man/man3/gnutls_ocsp_resp_init.3 +1 -1
  1124. data/vendor/local/share/man/man3/gnutls_ocsp_resp_print.3 +1 -1
  1125. data/vendor/local/share/man/man3/gnutls_ocsp_resp_verify.3 +1 -1
  1126. data/vendor/local/share/man/man3/gnutls_ocsp_resp_verify_direct.3 +1 -1
  1127. data/vendor/local/share/man/man3/gnutls_ocsp_status_request_enable_client.3 +3 -1
  1128. data/vendor/local/share/man/man3/gnutls_ocsp_status_request_get.3 +3 -1
  1129. data/vendor/local/share/man/man3/gnutls_ocsp_status_request_is_checked.3 +1 -1
  1130. data/vendor/local/share/man/man3/gnutls_openpgp_crt_check_hostname.3 +1 -1
  1131. data/vendor/local/share/man/man3/gnutls_openpgp_crt_deinit.3 +1 -1
  1132. data/vendor/local/share/man/man3/gnutls_openpgp_crt_export.3 +1 -1
  1133. data/vendor/local/share/man/man3/gnutls_openpgp_crt_export2.3 +3 -1
  1134. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_auth_subkey.3 +1 -1
  1135. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_creation_time.3 +1 -1
  1136. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_expiration_time.3 +1 -1
  1137. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_fingerprint.3 +1 -1
  1138. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_key_id.3 +1 -1
  1139. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_key_usage.3 +1 -1
  1140. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_name.3 +1 -1
  1141. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_algorithm.3 +1 -1
  1142. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_dsa_raw.3 +1 -1
  1143. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_rsa_raw.3 +1 -1
  1144. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_preferred_key_id.3 +1 -1
  1145. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_revoked_status.3 +1 -1
  1146. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_count.3 +1 -1
  1147. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_creation_time.3 +1 -1
  1148. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_expiration_time.3 +1 -1
  1149. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_fingerprint.3 +1 -1
  1150. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_id.3 +1 -1
  1151. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_idx.3 +1 -1
  1152. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_algorithm.3 +1 -1
  1153. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_dsa_raw.3 +1 -1
  1154. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_rsa_raw.3 +1 -1
  1155. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_revoked_status.3 +1 -1
  1156. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_usage.3 +1 -1
  1157. data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_version.3 +1 -1
  1158. data/vendor/local/share/man/man3/gnutls_openpgp_crt_import.3 +1 -1
  1159. data/vendor/local/share/man/man3/gnutls_openpgp_crt_init.3 +1 -1
  1160. data/vendor/local/share/man/man3/gnutls_openpgp_crt_print.3 +1 -1
  1161. data/vendor/local/share/man/man3/gnutls_openpgp_crt_set_preferred_key_id.3 +1 -1
  1162. data/vendor/local/share/man/man3/gnutls_openpgp_crt_verify_ring.3 +1 -1
  1163. data/vendor/local/share/man/man3/gnutls_openpgp_crt_verify_self.3 +1 -1
  1164. data/vendor/local/share/man/man3/gnutls_openpgp_keyring_check_id.3 +1 -1
  1165. data/vendor/local/share/man/man3/gnutls_openpgp_keyring_deinit.3 +1 -1
  1166. data/vendor/local/share/man/man3/gnutls_openpgp_keyring_get_crt.3 +1 -1
  1167. data/vendor/local/share/man/man3/gnutls_openpgp_keyring_get_crt_count.3 +1 -1
  1168. data/vendor/local/share/man/man3/gnutls_openpgp_keyring_import.3 +1 -1
  1169. data/vendor/local/share/man/man3/gnutls_openpgp_keyring_init.3 +1 -1
  1170. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_deinit.3 +1 -1
  1171. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export.3 +1 -1
  1172. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export2.3 +2 -2
  1173. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_dsa_raw.3 +1 -1
  1174. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_rsa_raw.3 +1 -1
  1175. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_subkey_dsa_raw.3 +1 -1
  1176. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_subkey_rsa_raw.3 +1 -1
  1177. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_fingerprint.3 +1 -1
  1178. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_key_id.3 +1 -1
  1179. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_pk_algorithm.3 +1 -1
  1180. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_preferred_key_id.3 +1 -1
  1181. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_revoked_status.3 +1 -1
  1182. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_count.3 +1 -1
  1183. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_creation_time.3 +1 -1
  1184. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_fingerprint.3 +1 -1
  1185. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_id.3 +1 -1
  1186. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_idx.3 +1 -1
  1187. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_pk_algorithm.3 +1 -1
  1188. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_revoked_status.3 +1 -1
  1189. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_import.3 +1 -1
  1190. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_init.3 +1 -1
  1191. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_sec_param.3 +1 -1
  1192. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_set_preferred_key_id.3 +1 -1
  1193. data/vendor/local/share/man/man3/gnutls_openpgp_privkey_sign_hash.3 +1 -1
  1194. data/vendor/local/share/man/man3/gnutls_openpgp_send_cert.3 +1 -1
  1195. data/vendor/local/share/man/man3/gnutls_openpgp_set_recv_key_function.3 +3 -1
  1196. data/vendor/local/share/man/man3/gnutls_pcert_deinit.3 +1 -1
  1197. data/vendor/local/share/man/man3/gnutls_pcert_import_openpgp.3 +1 -1
  1198. data/vendor/local/share/man/man3/gnutls_pcert_import_openpgp_raw.3 +1 -1
  1199. data/vendor/local/share/man/man3/gnutls_pcert_import_x509.3 +1 -1
  1200. data/vendor/local/share/man/man3/gnutls_pcert_import_x509_raw.3 +1 -1
  1201. data/vendor/local/share/man/man3/gnutls_pcert_list_import_x509_raw.3 +1 -1
  1202. data/vendor/local/share/man/man3/gnutls_pem_base64_decode.3 +1 -1
  1203. data/vendor/local/share/man/man3/gnutls_pem_base64_decode_alloc.3 +1 -1
  1204. data/vendor/local/share/man/man3/gnutls_pem_base64_encode.3 +1 -1
  1205. data/vendor/local/share/man/man3/gnutls_pem_base64_encode_alloc.3 +1 -1
  1206. data/vendor/local/share/man/man3/gnutls_perror.3 +1 -1
  1207. data/vendor/local/share/man/man3/gnutls_pk_algorithm_get_name.3 +1 -1
  1208. data/vendor/local/share/man/man3/gnutls_pk_bits_to_sec_param.3 +1 -1
  1209. data/vendor/local/share/man/man3/gnutls_pk_get_id.3 +1 -1
  1210. data/vendor/local/share/man/man3/gnutls_pk_get_name.3 +1 -1
  1211. data/vendor/local/share/man/man3/gnutls_pk_list.3 +1 -1
  1212. data/vendor/local/share/man/man3/gnutls_pk_to_sign.3 +1 -1
  1213. data/vendor/local/share/man/man3/gnutls_pkcs11_add_provider.3 +1 -1
  1214. data/vendor/local/share/man/man3/gnutls_pkcs11_copy_secret_key.3 +1 -1
  1215. data/vendor/local/share/man/man3/gnutls_pkcs11_copy_x509_crt.3 +1 -1
  1216. data/vendor/local/share/man/man3/gnutls_pkcs11_copy_x509_privkey.3 +1 -1
  1217. data/vendor/local/share/man/man3/gnutls_pkcs11_deinit.3 +1 -1
  1218. data/vendor/local/share/man/man3/gnutls_pkcs11_delete_url.3 +1 -1
  1219. data/vendor/local/share/man/man3/gnutls_pkcs11_get_pin_function.3 +1 -1
  1220. data/vendor/local/share/man/man3/gnutls_pkcs11_init.3 +1 -1
  1221. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_deinit.3 +1 -1
  1222. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export.3 +1 -1
  1223. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export2.3 +2 -2
  1224. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export_url.3 +1 -1
  1225. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_get_info.3 +1 -1
  1226. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_get_type.3 +1 -1
  1227. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_import_url.3 +1 -1
  1228. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_init.3 +1 -1
  1229. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_list_import_url.3 +1 -1
  1230. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_list_import_url2.3 +1 -1
  1231. data/vendor/local/share/man/man3/gnutls_pkcs11_obj_set_pin_function.3 +1 -1
  1232. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_deinit.3 +1 -1
  1233. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_export_url.3 +1 -1
  1234. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_generate.3 +1 -1
  1235. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_generate2.3 +1 -1
  1236. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_get_info.3 +1 -1
  1237. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_get_pk_algorithm.3 +1 -1
  1238. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_import_url.3 +1 -1
  1239. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_init.3 +1 -1
  1240. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_set_pin_function.3 +1 -1
  1241. data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_status.3 +47 -0
  1242. data/vendor/local/share/man/man3/gnutls_pkcs11_reinit.3 +1 -1
  1243. data/vendor/local/share/man/man3/gnutls_pkcs11_set_pin_function.3 +1 -1
  1244. data/vendor/local/share/man/man3/gnutls_pkcs11_set_token_function.3 +1 -1
  1245. data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_flags.3 +1 -1
  1246. data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_info.3 +1 -1
  1247. data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_mechanism.3 +1 -1
  1248. data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_url.3 +1 -1
  1249. data/vendor/local/share/man/man3/gnutls_pkcs11_token_init.3 +1 -1
  1250. data/vendor/local/share/man/man3/gnutls_pkcs11_token_set_pin.3 +1 -1
  1251. data/vendor/local/share/man/man3/gnutls_pkcs11_type_get_name.3 +1 -1
  1252. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_decrypt.3 +1 -1
  1253. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_deinit.3 +1 -1
  1254. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_encrypt.3 +1 -1
  1255. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_count.3 +1 -1
  1256. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_data.3 +1 -1
  1257. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_friendly_name.3 +1 -1
  1258. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_key_id.3 +1 -1
  1259. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_type.3 +1 -1
  1260. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_init.3 +1 -1
  1261. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_crl.3 +1 -1
  1262. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_crt.3 +1 -1
  1263. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_data.3 +1 -1
  1264. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_friendly_name.3 +1 -1
  1265. data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_key_id.3 +1 -1
  1266. data/vendor/local/share/man/man3/gnutls_pkcs12_deinit.3 +1 -1
  1267. data/vendor/local/share/man/man3/gnutls_pkcs12_export.3 +1 -1
  1268. data/vendor/local/share/man/man3/gnutls_pkcs12_export2.3 +2 -2
  1269. data/vendor/local/share/man/man3/gnutls_pkcs12_generate_mac.3 +1 -1
  1270. data/vendor/local/share/man/man3/gnutls_pkcs12_get_bag.3 +1 -1
  1271. data/vendor/local/share/man/man3/gnutls_pkcs12_import.3 +1 -1
  1272. data/vendor/local/share/man/man3/gnutls_pkcs12_init.3 +1 -1
  1273. data/vendor/local/share/man/man3/gnutls_pkcs12_set_bag.3 +1 -1
  1274. data/vendor/local/share/man/man3/gnutls_pkcs12_simple_parse.3 +11 -11
  1275. data/vendor/local/share/man/man3/gnutls_pkcs12_verify_mac.3 +1 -1
  1276. data/vendor/local/share/man/man3/gnutls_pkcs7_deinit.3 +1 -1
  1277. data/vendor/local/share/man/man3/gnutls_pkcs7_delete_crl.3 +1 -1
  1278. data/vendor/local/share/man/man3/gnutls_pkcs7_delete_crt.3 +1 -1
  1279. data/vendor/local/share/man/man3/gnutls_pkcs7_export.3 +1 -1
  1280. data/vendor/local/share/man/man3/gnutls_pkcs7_export2.3 +3 -1
  1281. data/vendor/local/share/man/man3/gnutls_pkcs7_get_crl_count.3 +1 -1
  1282. data/vendor/local/share/man/man3/gnutls_pkcs7_get_crl_raw.3 +1 -1
  1283. data/vendor/local/share/man/man3/gnutls_pkcs7_get_crt_count.3 +1 -1
  1284. data/vendor/local/share/man/man3/gnutls_pkcs7_get_crt_raw.3 +1 -1
  1285. data/vendor/local/share/man/man3/gnutls_pkcs7_import.3 +1 -1
  1286. data/vendor/local/share/man/man3/gnutls_pkcs7_init.3 +1 -1
  1287. data/vendor/local/share/man/man3/gnutls_pkcs7_set_crl.3 +1 -1
  1288. data/vendor/local/share/man/man3/gnutls_pkcs7_set_crl_raw.3 +1 -1
  1289. data/vendor/local/share/man/man3/gnutls_pkcs7_set_crt.3 +1 -1
  1290. data/vendor/local/share/man/man3/gnutls_pkcs7_set_crt_raw.3 +1 -1
  1291. data/vendor/local/share/man/man3/gnutls_prf.3 +1 -1
  1292. data/vendor/local/share/man/man3/gnutls_prf_raw.3 +1 -1
  1293. data/vendor/local/share/man/man3/gnutls_priority_certificate_type_list.3 +1 -1
  1294. data/vendor/local/share/man/man3/gnutls_priority_compression_list.3 +1 -1
  1295. data/vendor/local/share/man/man3/gnutls_priority_deinit.3 +1 -1
  1296. data/vendor/local/share/man/man3/gnutls_priority_ecc_curve_list.3 +1 -1
  1297. data/vendor/local/share/man/man3/gnutls_priority_get_cipher_suite_index.3 +1 -1
  1298. data/vendor/local/share/man/man3/gnutls_priority_init.3 +1 -1
  1299. data/vendor/local/share/man/man3/gnutls_priority_protocol_list.3 +1 -1
  1300. data/vendor/local/share/man/man3/gnutls_priority_set.3 +1 -1
  1301. data/vendor/local/share/man/man3/gnutls_priority_set_direct.3 +1 -1
  1302. data/vendor/local/share/man/man3/gnutls_priority_sign_list.3 +1 -1
  1303. data/vendor/local/share/man/man3/gnutls_privkey_decrypt_data.3 +1 -1
  1304. data/vendor/local/share/man/man3/gnutls_privkey_deinit.3 +1 -1
  1305. data/vendor/local/share/man/man3/gnutls_privkey_get_pk_algorithm.3 +1 -1
  1306. data/vendor/local/share/man/man3/gnutls_privkey_get_type.3 +1 -1
  1307. data/vendor/local/share/man/man3/gnutls_privkey_import_ext.3 +4 -1
  1308. data/vendor/local/share/man/man3/gnutls_privkey_import_ext2.3 +4 -1
  1309. data/vendor/local/share/man/man3/gnutls_privkey_import_openpgp.3 +1 -1
  1310. data/vendor/local/share/man/man3/gnutls_privkey_import_openpgp_raw.3 +1 -1
  1311. data/vendor/local/share/man/man3/gnutls_privkey_import_pkcs11.3 +1 -1
  1312. data/vendor/local/share/man/man3/gnutls_privkey_import_pkcs11_url.3 +1 -1
  1313. data/vendor/local/share/man/man3/gnutls_privkey_import_tpm_raw.3 +1 -1
  1314. data/vendor/local/share/man/man3/gnutls_privkey_import_tpm_url.3 +1 -1
  1315. data/vendor/local/share/man/man3/gnutls_privkey_import_url.3 +1 -1
  1316. data/vendor/local/share/man/man3/gnutls_privkey_import_x509.3 +1 -1
  1317. data/vendor/local/share/man/man3/gnutls_privkey_import_x509_raw.3 +3 -3
  1318. data/vendor/local/share/man/man3/gnutls_privkey_init.3 +1 -1
  1319. data/vendor/local/share/man/man3/gnutls_privkey_set_pin_function.3 +1 -1
  1320. data/vendor/local/share/man/man3/gnutls_privkey_sign_data.3 +1 -1
  1321. data/vendor/local/share/man/man3/gnutls_privkey_sign_hash.3 +1 -1
  1322. data/vendor/local/share/man/man3/gnutls_privkey_sign_raw_data.3 +57 -0
  1323. data/vendor/local/share/man/man3/gnutls_privkey_status.3 +50 -0
  1324. data/vendor/local/share/man/man3/gnutls_protocol_get_id.3 +1 -1
  1325. data/vendor/local/share/man/man3/gnutls_protocol_get_name.3 +1 -1
  1326. data/vendor/local/share/man/man3/gnutls_protocol_get_version.3 +1 -1
  1327. data/vendor/local/share/man/man3/gnutls_protocol_list.3 +1 -1
  1328. data/vendor/local/share/man/man3/gnutls_protocol_set_priority.3 +1 -1
  1329. data/vendor/local/share/man/man3/gnutls_psk_allocate_client_credentials.3 +1 -1
  1330. data/vendor/local/share/man/man3/gnutls_psk_allocate_server_credentials.3 +1 -1
  1331. data/vendor/local/share/man/man3/gnutls_psk_client_get_hint.3 +1 -1
  1332. data/vendor/local/share/man/man3/gnutls_psk_free_client_credentials.3 +1 -1
  1333. data/vendor/local/share/man/man3/gnutls_psk_free_server_credentials.3 +1 -1
  1334. data/vendor/local/share/man/man3/gnutls_psk_server_get_username.3 +1 -1
  1335. data/vendor/local/share/man/man3/gnutls_psk_set_client_credentials.3 +1 -1
  1336. data/vendor/local/share/man/man3/gnutls_psk_set_client_credentials_function.3 +1 -1
  1337. data/vendor/local/share/man/man3/gnutls_psk_set_params_function.3 +1 -1
  1338. data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_file.3 +1 -1
  1339. data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_function.3 +1 -1
  1340. data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_hint.3 +1 -1
  1341. data/vendor/local/share/man/man3/gnutls_psk_set_server_dh_params.3 +1 -1
  1342. data/vendor/local/share/man/man3/gnutls_psk_set_server_params_function.3 +1 -1
  1343. data/vendor/local/share/man/man3/gnutls_pubkey_deinit.3 +1 -1
  1344. data/vendor/local/share/man/man3/gnutls_pubkey_encrypt_data.3 +1 -1
  1345. data/vendor/local/share/man/man3/gnutls_pubkey_export.3 +1 -1
  1346. data/vendor/local/share/man/man3/gnutls_pubkey_export2.3 +1 -1
  1347. data/vendor/local/share/man/man3/gnutls_pubkey_get_key_id.3 +1 -1
  1348. data/vendor/local/share/man/man3/gnutls_pubkey_get_key_usage.3 +1 -1
  1349. data/vendor/local/share/man/man3/gnutls_pubkey_get_openpgp_key_id.3 +6 -3
  1350. data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_algorithm.3 +1 -1
  1351. data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_dsa_raw.3 +1 -1
  1352. data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_ecc_raw.3 +1 -1
  1353. data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_ecc_x962.3 +1 -1
  1354. data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_rsa_raw.3 +1 -1
  1355. data/vendor/local/share/man/man3/gnutls_pubkey_get_preferred_hash_algorithm.3 +4 -1
  1356. data/vendor/local/share/man/man3/gnutls_pubkey_get_verify_algorithm.3 +1 -1
  1357. data/vendor/local/share/man/man3/gnutls_pubkey_import.3 +1 -1
  1358. data/vendor/local/share/man/man3/gnutls_pubkey_import_dsa_raw.3 +1 -1
  1359. data/vendor/local/share/man/man3/gnutls_pubkey_import_ecc_raw.3 +1 -1
  1360. data/vendor/local/share/man/man3/gnutls_pubkey_import_ecc_x962.3 +1 -1
  1361. data/vendor/local/share/man/man3/gnutls_pubkey_import_openpgp.3 +1 -1
  1362. data/vendor/local/share/man/man3/gnutls_pubkey_import_openpgp_raw.3 +1 -1
  1363. data/vendor/local/share/man/man3/gnutls_pubkey_import_pkcs11.3 +1 -1
  1364. data/vendor/local/share/man/man3/gnutls_pubkey_import_pkcs11_url.3 +1 -1
  1365. data/vendor/local/share/man/man3/gnutls_pubkey_import_privkey.3 +1 -1
  1366. data/vendor/local/share/man/man3/gnutls_pubkey_import_rsa_raw.3 +1 -1
  1367. data/vendor/local/share/man/man3/gnutls_pubkey_import_tpm_raw.3 +1 -1
  1368. data/vendor/local/share/man/man3/gnutls_pubkey_import_tpm_url.3 +1 -1
  1369. data/vendor/local/share/man/man3/gnutls_pubkey_import_url.3 +1 -1
  1370. data/vendor/local/share/man/man3/gnutls_pubkey_import_x509.3 +1 -1
  1371. data/vendor/local/share/man/man3/gnutls_pubkey_import_x509_crq.3 +1 -1
  1372. data/vendor/local/share/man/man3/gnutls_pubkey_import_x509_raw.3 +1 -1
  1373. data/vendor/local/share/man/man3/gnutls_pubkey_init.3 +1 -1
  1374. data/vendor/local/share/man/man3/gnutls_pubkey_print.3 +1 -1
  1375. data/vendor/local/share/man/man3/gnutls_pubkey_set_key_usage.3 +1 -1
  1376. data/vendor/local/share/man/man3/gnutls_pubkey_set_pin_function.3 +1 -1
  1377. data/vendor/local/share/man/man3/gnutls_pubkey_verify_data.3 +4 -3
  1378. data/vendor/local/share/man/man3/gnutls_pubkey_verify_data2.3 +1 -1
  1379. data/vendor/local/share/man/man3/gnutls_pubkey_verify_hash.3 +3 -2
  1380. data/vendor/local/share/man/man3/gnutls_pubkey_verify_hash2.3 +1 -1
  1381. data/vendor/local/share/man/man3/gnutls_random_art.3 +1 -1
  1382. data/vendor/local/share/man/man3/gnutls_range_split.3 +56 -0
  1383. data/vendor/local/share/man/man3/gnutls_record_can_use_length_hiding.3 +51 -0
  1384. data/vendor/local/share/man/man3/gnutls_record_check_pending.3 +1 -1
  1385. data/vendor/local/share/man/man3/gnutls_record_cork.3 +46 -0
  1386. data/vendor/local/share/man/man3/gnutls_record_disable_padding.3 +3 -3
  1387. data/vendor/local/share/man/man3/gnutls_record_get_direction.3 +1 -1
  1388. data/vendor/local/share/man/man3/gnutls_record_get_discarded.3 +1 -1
  1389. data/vendor/local/share/man/man3/gnutls_record_get_max_size.3 +1 -1
  1390. data/vendor/local/share/man/man3/gnutls_record_recv.3 +1 -1
  1391. data/vendor/local/share/man/man3/gnutls_record_recv_seq.3 +1 -1
  1392. data/vendor/local/share/man/man3/gnutls_record_send.3 +1 -1
  1393. data/vendor/local/share/man/man3/gnutls_record_send_range.3 +60 -0
  1394. data/vendor/local/share/man/man3/gnutls_record_set_max_empty_records.3 +50 -0
  1395. data/vendor/local/share/man/man3/gnutls_record_set_max_size.3 +1 -1
  1396. data/vendor/local/share/man/man3/gnutls_record_set_timeout.3 +52 -0
  1397. data/vendor/local/share/man/man3/gnutls_record_uncork.3 +53 -0
  1398. data/vendor/local/share/man/man3/gnutls_rehandshake.3 +1 -1
  1399. data/vendor/local/share/man/man3/gnutls_rnd.3 +1 -1
  1400. data/vendor/local/share/man/man3/gnutls_rnd_refresh.3 +47 -0
  1401. data/vendor/local/share/man/man3/gnutls_rsa_export_get_modulus_bits.3 +1 -1
  1402. data/vendor/local/share/man/man3/gnutls_rsa_export_get_pubkey.3 +1 -1
  1403. data/vendor/local/share/man/man3/gnutls_rsa_params_cpy.3 +1 -1
  1404. data/vendor/local/share/man/man3/gnutls_rsa_params_deinit.3 +1 -1
  1405. data/vendor/local/share/man/man3/gnutls_rsa_params_export_pkcs1.3 +1 -1
  1406. data/vendor/local/share/man/man3/gnutls_rsa_params_export_raw.3 +1 -1
  1407. data/vendor/local/share/man/man3/gnutls_rsa_params_generate2.3 +1 -1
  1408. data/vendor/local/share/man/man3/gnutls_rsa_params_import_pkcs1.3 +1 -1
  1409. data/vendor/local/share/man/man3/gnutls_rsa_params_import_raw.3 +1 -1
  1410. data/vendor/local/share/man/man3/gnutls_rsa_params_init.3 +1 -1
  1411. data/vendor/local/share/man/man3/gnutls_safe_renegotiation_status.3 +1 -1
  1412. data/vendor/local/share/man/man3/gnutls_sec_param_get_name.3 +1 -1
  1413. data/vendor/local/share/man/man3/gnutls_sec_param_to_pk_bits.3 +1 -1
  1414. data/vendor/local/share/man/man3/gnutls_server_name_get.3 +1 -1
  1415. data/vendor/local/share/man/man3/gnutls_server_name_set.3 +1 -1
  1416. data/vendor/local/share/man/man3/gnutls_session_channel_binding.3 +1 -1
  1417. data/vendor/local/share/man/man3/gnutls_session_enable_compatibility_mode.3 +1 -1
  1418. data/vendor/local/share/man/man3/gnutls_session_force_valid.3 +46 -0
  1419. data/vendor/local/share/man/man3/gnutls_session_get_data.3 +1 -1
  1420. data/vendor/local/share/man/man3/gnutls_session_get_data2.3 +1 -1
  1421. data/vendor/local/share/man/man3/gnutls_session_get_desc.3 +47 -0
  1422. data/vendor/local/share/man/man3/gnutls_session_get_id.3 +1 -1
  1423. data/vendor/local/share/man/man3/gnutls_session_get_id2.3 +1 -1
  1424. data/vendor/local/share/man/man3/gnutls_session_get_ptr.3 +1 -1
  1425. data/vendor/local/share/man/man3/gnutls_session_get_random.3 +1 -1
  1426. data/vendor/local/share/man/man3/gnutls_session_is_resumed.3 +1 -1
  1427. data/vendor/local/share/man/man3/gnutls_session_resumption_requested.3 +1 -1
  1428. data/vendor/local/share/man/man3/gnutls_session_set_data.3 +1 -1
  1429. data/vendor/local/share/man/man3/gnutls_session_set_premaster.3 +1 -1
  1430. data/vendor/local/share/man/man3/gnutls_session_set_ptr.3 +1 -1
  1431. data/vendor/local/share/man/man3/gnutls_session_ticket_enable_client.3 +1 -1
  1432. data/vendor/local/share/man/man3/gnutls_session_ticket_enable_server.3 +1 -1
  1433. data/vendor/local/share/man/man3/gnutls_session_ticket_key_generate.3 +1 -1
  1434. data/vendor/local/share/man/man3/gnutls_set_default_export_priority.3 +1 -1
  1435. data/vendor/local/share/man/man3/gnutls_set_default_priority.3 +1 -1
  1436. data/vendor/local/share/man/man3/gnutls_sign_algorithm_get.3 +1 -1
  1437. data/vendor/local/share/man/man3/gnutls_sign_algorithm_get_requested.3 +1 -1
  1438. data/vendor/local/share/man/man3/gnutls_sign_callback_get.3 +1 -1
  1439. data/vendor/local/share/man/man3/gnutls_sign_callback_set.3 +1 -1
  1440. data/vendor/local/share/man/man3/gnutls_sign_get_hash_algorithm.3 +1 -1
  1441. data/vendor/local/share/man/man3/gnutls_sign_get_id.3 +1 -1
  1442. data/vendor/local/share/man/man3/gnutls_sign_get_name.3 +1 -1
  1443. data/vendor/local/share/man/man3/gnutls_sign_get_pk_algorithm.3 +1 -1
  1444. data/vendor/local/share/man/man3/gnutls_sign_is_secure.3 +1 -1
  1445. data/vendor/local/share/man/man3/gnutls_sign_list.3 +1 -1
  1446. data/vendor/local/share/man/man3/gnutls_srp_allocate_client_credentials.3 +1 -1
  1447. data/vendor/local/share/man/man3/gnutls_srp_allocate_server_credentials.3 +1 -1
  1448. data/vendor/local/share/man/man3/gnutls_srp_base64_decode.3 +1 -1
  1449. data/vendor/local/share/man/man3/gnutls_srp_base64_decode_alloc.3 +1 -1
  1450. data/vendor/local/share/man/man3/gnutls_srp_base64_encode.3 +1 -1
  1451. data/vendor/local/share/man/man3/gnutls_srp_base64_encode_alloc.3 +1 -1
  1452. data/vendor/local/share/man/man3/gnutls_srp_free_client_credentials.3 +1 -1
  1453. data/vendor/local/share/man/man3/gnutls_srp_free_server_credentials.3 +1 -1
  1454. data/vendor/local/share/man/man3/gnutls_srp_server_get_username.3 +1 -1
  1455. data/vendor/local/share/man/man3/gnutls_srp_set_client_credentials.3 +1 -1
  1456. data/vendor/local/share/man/man3/gnutls_srp_set_client_credentials_function.3 +1 -1
  1457. data/vendor/local/share/man/man3/gnutls_srp_set_prime_bits.3 +1 -1
  1458. data/vendor/local/share/man/man3/gnutls_srp_set_server_credentials_file.3 +1 -1
  1459. data/vendor/local/share/man/man3/gnutls_srp_set_server_credentials_function.3 +1 -1
  1460. data/vendor/local/share/man/man3/gnutls_srp_verifier.3 +1 -1
  1461. data/vendor/local/share/man/man3/gnutls_srtp_get_keys.3 +1 -1
  1462. data/vendor/local/share/man/man3/gnutls_srtp_get_mki.3 +1 -1
  1463. data/vendor/local/share/man/man3/gnutls_srtp_get_profile_id.3 +1 -1
  1464. data/vendor/local/share/man/man3/gnutls_srtp_get_profile_name.3 +1 -1
  1465. data/vendor/local/share/man/man3/gnutls_srtp_get_selected_profile.3 +1 -1
  1466. data/vendor/local/share/man/man3/gnutls_srtp_set_mki.3 +1 -1
  1467. data/vendor/local/share/man/man3/gnutls_srtp_set_profile.3 +1 -1
  1468. data/vendor/local/share/man/man3/gnutls_srtp_set_profile_direct.3 +1 -1
  1469. data/vendor/local/share/man/man3/gnutls_store_commitment.3 +1 -1
  1470. data/vendor/local/share/man/man3/gnutls_store_pubkey.3 +1 -1
  1471. data/vendor/local/share/man/man3/gnutls_strerror.3 +1 -1
  1472. data/vendor/local/share/man/man3/gnutls_strerror_name.3 +1 -1
  1473. data/vendor/local/share/man/man3/gnutls_supplemental_get_name.3 +1 -1
  1474. data/vendor/local/share/man/man3/gnutls_tdb_deinit.3 +1 -1
  1475. data/vendor/local/share/man/man3/gnutls_tdb_init.3 +1 -1
  1476. data/vendor/local/share/man/man3/gnutls_tdb_set_store_commitment_func.3 +1 -1
  1477. data/vendor/local/share/man/man3/gnutls_tdb_set_store_func.3 +1 -1
  1478. data/vendor/local/share/man/man3/gnutls_tdb_set_verify_func.3 +1 -1
  1479. data/vendor/local/share/man/man3/gnutls_tpm_get_registered.3 +1 -1
  1480. data/vendor/local/share/man/man3/gnutls_tpm_key_list_deinit.3 +1 -1
  1481. data/vendor/local/share/man/man3/gnutls_tpm_key_list_get_url.3 +1 -1
  1482. data/vendor/local/share/man/man3/gnutls_tpm_privkey_delete.3 +1 -1
  1483. data/vendor/local/share/man/man3/gnutls_tpm_privkey_generate.3 +1 -1
  1484. data/vendor/local/share/man/man3/gnutls_transport_get_int.3 +48 -0
  1485. data/vendor/local/share/man/man3/gnutls_transport_get_int2.3 +50 -0
  1486. data/vendor/local/share/man/man3/gnutls_transport_get_ptr.3 +1 -1
  1487. data/vendor/local/share/man/man3/gnutls_transport_get_ptr2.3 +1 -1
  1488. data/vendor/local/share/man/man3/gnutls_transport_set_errno.3 +1 -1
  1489. data/vendor/local/share/man/man3/gnutls_transport_set_errno_function.3 +1 -1
  1490. data/vendor/local/share/man/man3/gnutls_transport_set_int.3 +47 -0
  1491. data/vendor/local/share/man/man3/gnutls_transport_set_int2.3 +51 -0
  1492. data/vendor/local/share/man/man3/gnutls_transport_set_ptr.3 +1 -1
  1493. data/vendor/local/share/man/man3/gnutls_transport_set_ptr2.3 +1 -1
  1494. data/vendor/local/share/man/man3/gnutls_transport_set_pull_function.3 +1 -1
  1495. data/vendor/local/share/man/man3/gnutls_transport_set_pull_timeout_function.3 +2 -2
  1496. data/vendor/local/share/man/man3/gnutls_transport_set_push_function.3 +1 -1
  1497. data/vendor/local/share/man/man3/gnutls_transport_set_vec_push_function.3 +1 -1
  1498. data/vendor/local/share/man/man3/gnutls_url_is_supported.3 +1 -1
  1499. data/vendor/local/share/man/man3/gnutls_verify_stored_pubkey.3 +1 -1
  1500. data/vendor/local/share/man/man3/gnutls_x509_crl_check_issuer.3 +4 -5
  1501. data/vendor/local/share/man/man3/gnutls_x509_crl_deinit.3 +1 -1
  1502. data/vendor/local/share/man/man3/gnutls_x509_crl_export.3 +1 -1
  1503. data/vendor/local/share/man/man3/gnutls_x509_crl_export2.3 +1 -1
  1504. data/vendor/local/share/man/man3/gnutls_x509_crl_get_authority_key_gn_serial.3 +1 -1
  1505. data/vendor/local/share/man/man3/gnutls_x509_crl_get_authority_key_id.3 +1 -1
  1506. data/vendor/local/share/man/man3/gnutls_x509_crl_get_crt_count.3 +1 -1
  1507. data/vendor/local/share/man/man3/gnutls_x509_crl_get_crt_serial.3 +1 -1
  1508. data/vendor/local/share/man/man3/gnutls_x509_crl_get_dn_oid.3 +1 -1
  1509. data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_data.3 +1 -1
  1510. data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_info.3 +1 -1
  1511. data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_oid.3 +1 -1
  1512. data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn.3 +1 -1
  1513. data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn2.3 +52 -0
  1514. data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn_by_oid.3 +1 -1
  1515. data/vendor/local/share/man/man3/gnutls_x509_crl_get_next_update.3 +1 -1
  1516. data/vendor/local/share/man/man3/gnutls_x509_crl_get_number.3 +1 -1
  1517. data/vendor/local/share/man/man3/gnutls_x509_crl_get_raw_issuer_dn.3 +1 -1
  1518. data/vendor/local/share/man/man3/gnutls_x509_crl_get_signature.3 +1 -1
  1519. data/vendor/local/share/man/man3/gnutls_x509_crl_get_signature_algorithm.3 +1 -1
  1520. data/vendor/local/share/man/man3/gnutls_x509_crl_get_this_update.3 +1 -1
  1521. data/vendor/local/share/man/man3/gnutls_x509_crl_get_version.3 +1 -1
  1522. data/vendor/local/share/man/man3/gnutls_x509_crl_import.3 +1 -1
  1523. data/vendor/local/share/man/man3/gnutls_x509_crl_init.3 +1 -1
  1524. data/vendor/local/share/man/man3/gnutls_x509_crl_list_import.3 +1 -1
  1525. data/vendor/local/share/man/man3/gnutls_x509_crl_list_import2.3 +1 -1
  1526. data/vendor/local/share/man/man3/gnutls_x509_crl_print.3 +1 -1
  1527. data/vendor/local/share/man/man3/gnutls_x509_crl_privkey_sign.3 +1 -1
  1528. data/vendor/local/share/man/man3/gnutls_x509_crl_set_authority_key_id.3 +1 -1
  1529. data/vendor/local/share/man/man3/gnutls_x509_crl_set_crt.3 +1 -1
  1530. data/vendor/local/share/man/man3/gnutls_x509_crl_set_crt_serial.3 +1 -1
  1531. data/vendor/local/share/man/man3/gnutls_x509_crl_set_next_update.3 +1 -1
  1532. data/vendor/local/share/man/man3/gnutls_x509_crl_set_number.3 +1 -1
  1533. data/vendor/local/share/man/man3/gnutls_x509_crl_set_this_update.3 +1 -1
  1534. data/vendor/local/share/man/man3/gnutls_x509_crl_set_version.3 +1 -1
  1535. data/vendor/local/share/man/man3/gnutls_x509_crl_sign.3 +1 -1
  1536. data/vendor/local/share/man/man3/gnutls_x509_crl_sign2.3 +1 -1
  1537. data/vendor/local/share/man/man3/gnutls_x509_crl_verify.3 +9 -5
  1538. data/vendor/local/share/man/man3/gnutls_x509_crq_deinit.3 +1 -1
  1539. data/vendor/local/share/man/man3/gnutls_x509_crq_export.3 +1 -1
  1540. data/vendor/local/share/man/man3/gnutls_x509_crq_export2.3 +1 -1
  1541. data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_by_oid.3 +8 -5
  1542. data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_data.3 +2 -2
  1543. data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_info.3 +2 -2
  1544. data/vendor/local/share/man/man3/gnutls_x509_crq_get_basic_constraints.3 +1 -1
  1545. data/vendor/local/share/man/man3/gnutls_x509_crq_get_challenge_password.3 +3 -3
  1546. data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn.3 +4 -4
  1547. data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn2.3 +52 -0
  1548. data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn_by_oid.3 +6 -6
  1549. data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn_oid.3 +2 -2
  1550. data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_by_oid.3 +5 -5
  1551. data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_data.3 +2 -2
  1552. data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_info.3 +2 -2
  1553. data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_id.3 +1 -1
  1554. data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_purpose_oid.3 +1 -1
  1555. data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_rsa_raw.3 +1 -1
  1556. data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_usage.3 +1 -1
  1557. data/vendor/local/share/man/man3/gnutls_x509_crq_get_pk_algorithm.3 +1 -1
  1558. data/vendor/local/share/man/man3/gnutls_x509_crq_get_private_key_usage_period.3 +1 -1
  1559. data/vendor/local/share/man/man3/gnutls_x509_crq_get_subject_alt_name.3 +1 -1
  1560. data/vendor/local/share/man/man3/gnutls_x509_crq_get_subject_alt_othername_oid.3 +1 -1
  1561. data/vendor/local/share/man/man3/gnutls_x509_crq_get_version.3 +1 -1
  1562. data/vendor/local/share/man/man3/gnutls_x509_crq_import.3 +1 -1
  1563. data/vendor/local/share/man/man3/gnutls_x509_crq_init.3 +1 -1
  1564. data/vendor/local/share/man/man3/gnutls_x509_crq_print.3 +1 -1
  1565. data/vendor/local/share/man/man3/gnutls_x509_crq_privkey_sign.3 +1 -1
  1566. data/vendor/local/share/man/man3/gnutls_x509_crq_set_attribute_by_oid.3 +8 -5
  1567. data/vendor/local/share/man/man3/gnutls_x509_crq_set_basic_constraints.3 +1 -1
  1568. data/vendor/local/share/man/man3/gnutls_x509_crq_set_challenge_password.3 +1 -1
  1569. data/vendor/local/share/man/man3/gnutls_x509_crq_set_dn.3 +50 -0
  1570. data/vendor/local/share/man/man3/gnutls_x509_crq_set_dn_by_oid.3 +1 -1
  1571. data/vendor/local/share/man/man3/gnutls_x509_crq_set_key.3 +1 -1
  1572. data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_purpose_oid.3 +1 -1
  1573. data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_rsa_raw.3 +1 -1
  1574. data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_usage.3 +1 -1
  1575. data/vendor/local/share/man/man3/gnutls_x509_crq_set_private_key_usage_period.3 +1 -1
  1576. data/vendor/local/share/man/man3/gnutls_x509_crq_set_pubkey.3 +1 -1
  1577. data/vendor/local/share/man/man3/gnutls_x509_crq_set_subject_alt_name.3 +1 -1
  1578. data/vendor/local/share/man/man3/gnutls_x509_crq_set_version.3 +1 -1
  1579. data/vendor/local/share/man/man3/gnutls_x509_crq_sign.3 +1 -1
  1580. data/vendor/local/share/man/man3/gnutls_x509_crq_sign2.3 +1 -1
  1581. data/vendor/local/share/man/man3/gnutls_x509_crq_verify.3 +1 -1
  1582. data/vendor/local/share/man/man3/gnutls_x509_crt_check_hostname.3 +1 -1
  1583. data/vendor/local/share/man/man3/gnutls_x509_crt_check_issuer.3 +2 -3
  1584. data/vendor/local/share/man/man3/gnutls_x509_crt_check_revocation.3 +1 -1
  1585. data/vendor/local/share/man/man3/gnutls_x509_crt_cpy_crl_dist_points.3 +1 -1
  1586. data/vendor/local/share/man/man3/gnutls_x509_crt_deinit.3 +1 -1
  1587. data/vendor/local/share/man/man3/gnutls_x509_crt_export.3 +1 -1
  1588. data/vendor/local/share/man/man3/gnutls_x509_crt_export2.3 +2 -2
  1589. data/vendor/local/share/man/man3/gnutls_x509_crt_get_activation_time.3 +1 -1
  1590. data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_info_access.3 +1 -1
  1591. data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_key_gn_serial.3 +1 -1
  1592. data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_key_id.3 +1 -1
  1593. data/vendor/local/share/man/man3/gnutls_x509_crt_get_basic_constraints.3 +1 -1
  1594. data/vendor/local/share/man/man3/gnutls_x509_crt_get_ca_status.3 +1 -1
  1595. data/vendor/local/share/man/man3/gnutls_x509_crt_get_crl_dist_points.3 +1 -1
  1596. data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn.3 +1 -1
  1597. data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn2.3 +52 -0
  1598. data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn_by_oid.3 +1 -1
  1599. data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn_oid.3 +1 -1
  1600. data/vendor/local/share/man/man3/gnutls_x509_crt_get_expiration_time.3 +1 -1
  1601. data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_by_oid.3 +1 -1
  1602. data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_data.3 +1 -1
  1603. data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_info.3 +1 -1
  1604. data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_oid.3 +1 -1
  1605. data/vendor/local/share/man/man3/gnutls_x509_crt_get_fingerprint.3 +1 -1
  1606. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer.3 +1 -1
  1607. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_name.3 +1 -1
  1608. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_name2.3 +1 -1
  1609. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_othername_oid.3 +1 -1
  1610. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn.3 +1 -1
  1611. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn2.3 +52 -0
  1612. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn_by_oid.3 +1 -1
  1613. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn_oid.3 +1 -1
  1614. data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_unique_id.3 +1 -1
  1615. data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_id.3 +1 -1
  1616. data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_purpose_oid.3 +1 -1
  1617. data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_usage.3 +1 -1
  1618. data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_algorithm.3 +1 -1
  1619. data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_dsa_raw.3 +1 -1
  1620. data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_rsa_raw.3 +1 -1
  1621. data/vendor/local/share/man/man3/gnutls_x509_crt_get_policy.3 +1 -1
  1622. data/vendor/local/share/man/man3/gnutls_x509_crt_get_preferred_hash_algorithm.3 +1 -1
  1623. data/vendor/local/share/man/man3/gnutls_x509_crt_get_private_key_usage_period.3 +1 -1
  1624. data/vendor/local/share/man/man3/gnutls_x509_crt_get_proxy.3 +1 -1
  1625. data/vendor/local/share/man/man3/gnutls_x509_crt_get_raw_dn.3 +3 -3
  1626. data/vendor/local/share/man/man3/gnutls_x509_crt_get_raw_issuer_dn.3 +3 -3
  1627. data/vendor/local/share/man/man3/gnutls_x509_crt_get_serial.3 +1 -1
  1628. data/vendor/local/share/man/man3/gnutls_x509_crt_get_signature.3 +1 -1
  1629. data/vendor/local/share/man/man3/gnutls_x509_crt_get_signature_algorithm.3 +1 -1
  1630. data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject.3 +1 -1
  1631. data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name.3 +1 -1
  1632. data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name2.3 +1 -1
  1633. data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_othername_oid.3 +1 -1
  1634. data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_key_id.3 +1 -1
  1635. data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_unique_id.3 +1 -1
  1636. data/vendor/local/share/man/man3/gnutls_x509_crt_get_verify_algorithm.3 +1 -1
  1637. data/vendor/local/share/man/man3/gnutls_x509_crt_get_version.3 +1 -1
  1638. data/vendor/local/share/man/man3/gnutls_x509_crt_import.3 +1 -1
  1639. data/vendor/local/share/man/man3/gnutls_x509_crt_import_pkcs11.3 +1 -1
  1640. data/vendor/local/share/man/man3/gnutls_x509_crt_import_pkcs11_url.3 +1 -1
  1641. data/vendor/local/share/man/man3/gnutls_x509_crt_init.3 +1 -1
  1642. data/vendor/local/share/man/man3/gnutls_x509_crt_list_import.3 +1 -1
  1643. data/vendor/local/share/man/man3/gnutls_x509_crt_list_import2.3 +1 -1
  1644. data/vendor/local/share/man/man3/gnutls_x509_crt_list_import_pkcs11.3 +1 -1
  1645. data/vendor/local/share/man/man3/gnutls_x509_crt_list_verify.3 +1 -1
  1646. data/vendor/local/share/man/man3/gnutls_x509_crt_print.3 +1 -1
  1647. data/vendor/local/share/man/man3/gnutls_x509_crt_privkey_sign.3 +1 -1
  1648. data/vendor/local/share/man/man3/gnutls_x509_crt_set_activation_time.3 +1 -1
  1649. data/vendor/local/share/man/man3/gnutls_x509_crt_set_authority_info_access.3 +1 -1
  1650. data/vendor/local/share/man/man3/gnutls_x509_crt_set_authority_key_id.3 +2 -2
  1651. data/vendor/local/share/man/man3/gnutls_x509_crt_set_basic_constraints.3 +1 -1
  1652. data/vendor/local/share/man/man3/gnutls_x509_crt_set_ca_status.3 +1 -1
  1653. data/vendor/local/share/man/man3/gnutls_x509_crt_set_crl_dist_points.3 +1 -1
  1654. data/vendor/local/share/man/man3/gnutls_x509_crt_set_crl_dist_points2.3 +1 -1
  1655. data/vendor/local/share/man/man3/gnutls_x509_crt_set_crq.3 +1 -1
  1656. data/vendor/local/share/man/man3/gnutls_x509_crt_set_crq_extensions.3 +1 -1
  1657. data/vendor/local/share/man/man3/gnutls_x509_crt_set_dn.3 +50 -0
  1658. data/vendor/local/share/man/man3/gnutls_x509_crt_set_dn_by_oid.3 +1 -1
  1659. data/vendor/local/share/man/man3/gnutls_x509_crt_set_expiration_time.3 +1 -1
  1660. data/vendor/local/share/man/man3/gnutls_x509_crt_set_extension_by_oid.3 +1 -1
  1661. data/vendor/local/share/man/man3/gnutls_x509_crt_set_issuer_dn.3 +50 -0
  1662. data/vendor/local/share/man/man3/gnutls_x509_crt_set_issuer_dn_by_oid.3 +1 -1
  1663. data/vendor/local/share/man/man3/gnutls_x509_crt_set_key.3 +1 -1
  1664. data/vendor/local/share/man/man3/gnutls_x509_crt_set_key_purpose_oid.3 +1 -1
  1665. data/vendor/local/share/man/man3/gnutls_x509_crt_set_key_usage.3 +1 -1
  1666. data/vendor/local/share/man/man3/gnutls_x509_crt_set_pin_function.3 +1 -1
  1667. data/vendor/local/share/man/man3/gnutls_x509_crt_set_policy.3 +1 -1
  1668. data/vendor/local/share/man/man3/gnutls_x509_crt_set_private_key_usage_period.3 +1 -1
  1669. data/vendor/local/share/man/man3/gnutls_x509_crt_set_proxy.3 +1 -1
  1670. data/vendor/local/share/man/man3/gnutls_x509_crt_set_proxy_dn.3 +1 -1
  1671. data/vendor/local/share/man/man3/gnutls_x509_crt_set_pubkey.3 +1 -1
  1672. data/vendor/local/share/man/man3/gnutls_x509_crt_set_serial.3 +6 -4
  1673. data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_alt_name.3 +1 -1
  1674. data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_alternative_name.3 +1 -1
  1675. data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_key_id.3 +2 -2
  1676. data/vendor/local/share/man/man3/gnutls_x509_crt_set_version.3 +1 -1
  1677. data/vendor/local/share/man/man3/gnutls_x509_crt_sign.3 +1 -1
  1678. data/vendor/local/share/man/man3/gnutls_x509_crt_sign2.3 +1 -1
  1679. data/vendor/local/share/man/man3/gnutls_x509_crt_verify.3 +3 -2
  1680. data/vendor/local/share/man/man3/gnutls_x509_crt_verify_data.3 +3 -2
  1681. data/vendor/local/share/man/man3/gnutls_x509_crt_verify_hash.3 +3 -2
  1682. data/vendor/local/share/man/man3/gnutls_x509_dn_deinit.3 +1 -1
  1683. data/vendor/local/share/man/man3/gnutls_x509_dn_export.3 +1 -1
  1684. data/vendor/local/share/man/man3/gnutls_x509_dn_export2.3 +3 -1
  1685. data/vendor/local/share/man/man3/gnutls_x509_dn_get_rdn_ava.3 +7 -5
  1686. data/vendor/local/share/man/man3/gnutls_x509_dn_import.3 +1 -1
  1687. data/vendor/local/share/man/man3/gnutls_x509_dn_init.3 +1 -1
  1688. data/vendor/local/share/man/man3/gnutls_x509_dn_oid_known.3 +1 -1
  1689. data/vendor/local/share/man/man3/gnutls_x509_dn_oid_name.3 +1 -1
  1690. data/vendor/local/share/man/man3/gnutls_x509_policy_release.3 +1 -1
  1691. data/vendor/local/share/man/man3/gnutls_x509_privkey_cpy.3 +1 -1
  1692. data/vendor/local/share/man/man3/gnutls_x509_privkey_deinit.3 +1 -1
  1693. data/vendor/local/share/man/man3/gnutls_x509_privkey_export.3 +1 -1
  1694. data/vendor/local/share/man/man3/gnutls_x509_privkey_export2.3 +1 -1
  1695. data/vendor/local/share/man/man3/gnutls_x509_privkey_export2_pkcs8.3 +1 -1
  1696. data/vendor/local/share/man/man3/gnutls_x509_privkey_export_dsa_raw.3 +1 -1
  1697. data/vendor/local/share/man/man3/gnutls_x509_privkey_export_ecc_raw.3 +1 -1
  1698. data/vendor/local/share/man/man3/gnutls_x509_privkey_export_pkcs8.3 +1 -1
  1699. data/vendor/local/share/man/man3/gnutls_x509_privkey_export_rsa_raw.3 +1 -1
  1700. data/vendor/local/share/man/man3/gnutls_x509_privkey_export_rsa_raw2.3 +1 -1
  1701. data/vendor/local/share/man/man3/gnutls_x509_privkey_fix.3 +1 -1
  1702. data/vendor/local/share/man/man3/gnutls_x509_privkey_generate.3 +1 -1
  1703. data/vendor/local/share/man/man3/gnutls_x509_privkey_get_key_id.3 +1 -1
  1704. data/vendor/local/share/man/man3/gnutls_x509_privkey_get_pk_algorithm.3 +1 -1
  1705. data/vendor/local/share/man/man3/gnutls_x509_privkey_get_pk_algorithm2.3 +1 -1
  1706. data/vendor/local/share/man/man3/gnutls_x509_privkey_import.3 +1 -1
  1707. data/vendor/local/share/man/man3/gnutls_x509_privkey_import2.3 +3 -3
  1708. data/vendor/local/share/man/man3/gnutls_x509_privkey_import_dsa_raw.3 +1 -1
  1709. data/vendor/local/share/man/man3/gnutls_x509_privkey_import_ecc_raw.3 +1 -1
  1710. data/vendor/local/share/man/man3/gnutls_x509_privkey_import_openssl.3 +1 -1
  1711. data/vendor/local/share/man/man3/gnutls_x509_privkey_import_pkcs8.3 +1 -1
  1712. data/vendor/local/share/man/man3/gnutls_x509_privkey_import_rsa_raw.3 +1 -1
  1713. data/vendor/local/share/man/man3/gnutls_x509_privkey_import_rsa_raw2.3 +1 -1
  1714. data/vendor/local/share/man/man3/gnutls_x509_privkey_init.3 +1 -1
  1715. data/vendor/local/share/man/man3/gnutls_x509_privkey_sec_param.3 +1 -1
  1716. data/vendor/local/share/man/man3/gnutls_x509_privkey_sign_data.3 +1 -1
  1717. data/vendor/local/share/man/man3/gnutls_x509_privkey_sign_hash.3 +1 -1
  1718. data/vendor/local/share/man/man3/gnutls_x509_privkey_verify_params.3 +1 -1
  1719. data/vendor/local/share/man/man3/gnutls_x509_rdn_get.3 +4 -4
  1720. data/vendor/local/share/man/man3/gnutls_x509_rdn_get_by_oid.3 +4 -4
  1721. data/vendor/local/share/man/man3/gnutls_x509_rdn_get_oid.3 +4 -4
  1722. data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_cas.3 +1 -1
  1723. data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_crls.3 +1 -1
  1724. data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_named_crt.3 +1 -1
  1725. data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_system_trust.3 +1 -1
  1726. data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_trust_file.3 +1 -1
  1727. data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_trust_mem.3 +1 -1
  1728. data/vendor/local/share/man/man3/gnutls_x509_trust_list_deinit.3 +1 -1
  1729. data/vendor/local/share/man/man3/gnutls_x509_trust_list_get_issuer.3 +1 -1
  1730. data/vendor/local/share/man/man3/gnutls_x509_trust_list_init.3 +1 -1
  1731. data/vendor/local/share/man/man3/gnutls_x509_trust_list_remove_cas.3 +51 -0
  1732. data/vendor/local/share/man/man3/gnutls_x509_trust_list_remove_trust_file.3 +52 -0
  1733. data/vendor/local/share/man/man3/gnutls_x509_trust_list_remove_trust_mem.3 +51 -0
  1734. data/vendor/local/share/man/man3/gnutls_x509_trust_list_verify_crt.3 +1 -1
  1735. data/vendor/local/share/man/man3/gnutls_x509_trust_list_verify_named_crt.3 +1 -1
  1736. metadata +76 -36
  1737. data/ext/glib2/rbglib_completion.c +0 -195
  1738. data/sample/completion.rb +0 -45
  1739. data/vendor/local/lib/gdbus-2.0/codegen/__init__.pyc +0 -0
  1740. data/vendor/local/lib/gdbus-2.0/codegen/__init__.pyo +0 -0
  1741. data/vendor/local/lib/gdbus-2.0/codegen/codegen_docbook.pyc +0 -0
  1742. data/vendor/local/lib/gdbus-2.0/codegen/codegen_docbook.pyo +0 -0
  1743. data/vendor/local/lib/gdbus-2.0/codegen/config.pyc +0 -0
  1744. data/vendor/local/lib/gdbus-2.0/codegen/config.pyo +0 -0
  1745. data/vendor/local/lib/gdbus-2.0/codegen/utils.pyc +0 -0
  1746. data/vendor/local/lib/gdbus-2.0/codegen/utils.pyo +0 -0
  1747. data/vendor/local/lib/gio-2.0.def +0 -1604
  1748. data/vendor/local/lib/glib-2.0.def +0 -1603
  1749. data/vendor/local/lib/gmodule-2.0.def +0 -11
  1750. data/vendor/local/lib/gobject-2.0.def +0 -417
  1751. data/vendor/local/lib/pkgconfig/gnutls-dane.pc +0 -24
  1752. data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +0 -162
@@ -8,7 +8,7 @@
8
8
  <link rel="up" href="highlevel-socket.html" title="High-level network functionallity">
9
9
  <link rel="prev" href="GSocketListener.html" title="GSocketListener">
10
10
  <link rel="next" href="GThreadedSocketService.html" title="GThreadedSocketService">
11
- <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
12
12
  <link rel="stylesheet" href="style.css" type="text/css">
13
13
  </head>
14
14
  <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -45,13 +45,13 @@
45
45
  <a class="link" href="GSocketService.html" title="GSocketService"><span class="returnvalue">GSocketService</span></a> * <a class="link" href="GSocketService.html#g-socket-service-new" title="g_socket_service_new ()">g_socket_service_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
46
46
  <span class="returnvalue">void</span> <a class="link" href="GSocketService.html#g-socket-service-start" title="g_socket_service_start ()">g_socket_service_start</a> (<em class="parameter"><code><a class="link" href="GSocketService.html" title="GSocketService"><span class="type">GSocketService</span></a> *service</code></em>);
47
47
  <span class="returnvalue">void</span> <a class="link" href="GSocketService.html#g-socket-service-stop" title="g_socket_service_stop ()">g_socket_service_stop</a> (<em class="parameter"><code><a class="link" href="GSocketService.html" title="GSocketService"><span class="type">GSocketService</span></a> *service</code></em>);
48
- <a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocketService.html#g-socket-service-is-active" title="g_socket_service_is_active ()">g_socket_service_is_active</a> (<em class="parameter"><code><a class="link" href="GSocketService.html" title="GSocketService"><span class="type">GSocketService</span></a> *service</code></em>);
48
+ <a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocketService.html#g-socket-service-is-active" title="g_socket_service_is_active ()">g_socket_service_is_active</a> (<em class="parameter"><code><a class="link" href="GSocketService.html" title="GSocketService"><span class="type">GSocketService</span></a> *service</code></em>);
49
49
  </pre>
50
50
  </div>
51
51
  <div class="refsect1">
52
52
  <a name="GSocketService.object-hierarchy"></a><h2>Object Hierarchy</h2>
53
53
  <pre class="synopsis">
54
- <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
54
+ <a href="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
55
55
  +----<a class="link" href="GSocketListener.html" title="GSocketListener">GSocketListener</a>
56
56
  +----GSocketService
57
57
  +----<a class="link" href="GThreadedSocketService.html" title="GThreadedSocketService">GThreadedSocketService</a>
@@ -60,7 +60,7 @@
60
60
  <div class="refsect1">
61
61
  <a name="GSocketService.signals"></a><h2>Signals</h2>
62
62
  <pre class="synopsis">
63
- "<a class="link" href="GSocketService.html#GSocketService-incoming" title='The "incoming" signal'>incoming</a>" : <a href="./../gobject/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
63
+ "<a class="link" href="GSocketService.html#GSocketService-incoming" title='The "incoming" signal'>incoming</a>" : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
64
64
  </pre>
65
65
  </div>
66
66
  <div class="refsect1">
@@ -182,7 +182,7 @@ handling an incoming client request.
182
182
  <hr>
183
183
  <div class="refsect2">
184
184
  <a name="g-socket-service-is-active"></a><h3>g_socket_service_is_active ()</h3>
185
- <pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_socket_service_is_active (<em class="parameter"><code><a class="link" href="GSocketService.html" title="GSocketService"><span class="type">GSocketService</span></a> *service</code></em>);</pre>
185
+ <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_socket_service_is_active (<em class="parameter"><code><a class="link" href="GSocketService.html" title="GSocketService"><span class="type">GSocketService</span></a> *service</code></em>);</pre>
186
186
  <p>
187
187
  Check whether the service is active or not. An active
188
188
  service will accept new clients that connect, while
@@ -203,7 +203,7 @@ up until the service is started.
203
203
  <tr>
204
204
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
205
205
  <td>
206
- <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the service is active, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
206
+ <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the service is active, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
207
207
  </tr>
208
208
  </tbody>
209
209
  </table></div>
@@ -214,10 +214,10 @@ up until the service is started.
214
214
  <a name="GSocketService.signal-details"></a><h2>Signal Details</h2>
215
215
  <div class="refsect2">
216
216
  <a name="GSocketService-incoming"></a><h3>The <code class="literal">"incoming"</code> signal</h3>
217
- <pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> user_function (<a class="link" href="GSocketService.html" title="GSocketService"><span class="type">GSocketService</span></a> *service,
217
+ <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> user_function (<a class="link" href="GSocketService.html" title="GSocketService"><span class="type">GSocketService</span></a> *service,
218
218
  <a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="type">GSocketConnection</span></a> *connection,
219
- <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *source_object,
220
- <a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="./../gobject/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
219
+ <a href="../gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *source_object,
220
+ <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
221
221
  <p>
222
222
  The ::incoming signal is emitted when a new incoming connection
223
223
  to <em class="parameter"><code>service</code></em> needs to be handled. The handler must initiate the
@@ -256,7 +256,7 @@ so you need to ref it yourself if you are planning to use it.
256
256
  <tr>
257
257
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
258
258
  <td>
259
- <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to stop other handlers from being called</td>
259
+ <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to stop other handlers from being called</td>
260
260
  </tr>
261
261
  </tbody>
262
262
  </table></div>
@@ -270,6 +270,6 @@ so you need to ref it yourself if you are planning to use it.
270
270
  </div>
271
271
  <div class="footer">
272
272
  <hr>
273
- Generated by GTK-Doc V1.18</div>
273
+ Generated by GTK-Doc V1.18.1</div>
274
274
  </body>
275
275
  </html>
@@ -8,7 +8,7 @@
8
8
  <link rel="up" href="resolver.html" title="DNS resolution">
9
9
  <link rel="prev" href="GNetworkService.html" title="GNetworkService">
10
10
  <link rel="next" href="gdbus-lowlevel.html" title="Lowlevel D-Bus Support">
11
- <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
12
12
  <link rel="stylesheet" href="style.css" type="text/css">
13
13
  </head>
14
14
  <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -43,17 +43,17 @@
43
43
  #include &lt;gio/gio.h&gt;
44
44
 
45
45
  <a class="link" href="GSrvTarget.html#GSrvTarget-struct" title="GSrvTarget">GSrvTarget</a>;
46
- <a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="returnvalue">GSrvTarget</span></a> * <a class="link" href="GSrvTarget.html#g-srv-target-new" title="g_srv_target_new ()">g_srv_target_new</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *hostname</code></em>,
47
- <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> port</code></em>,
48
- <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> priority</code></em>,
49
- <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> weight</code></em>);
46
+ <a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="returnvalue">GSrvTarget</span></a> * <a class="link" href="GSrvTarget.html#g-srv-target-new" title="g_srv_target_new ()">g_srv_target_new</a> (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *hostname</code></em>,
47
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> port</code></em>,
48
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> priority</code></em>,
49
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> weight</code></em>);
50
50
  <a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="returnvalue">GSrvTarget</span></a> * <a class="link" href="GSrvTarget.html#g-srv-target-copy" title="g_srv_target_copy ()">g_srv_target_copy</a> (<em class="parameter"><code><a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);
51
51
  <span class="returnvalue">void</span> <a class="link" href="GSrvTarget.html#g-srv-target-free" title="g_srv_target_free ()">g_srv_target_free</a> (<em class="parameter"><code><a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);
52
- const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GSrvTarget.html#g-srv-target-get-hostname" title="g_srv_target_get_hostname ()">g_srv_target_get_hostname</a> (<em class="parameter"><code><a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);
53
- <a href="./../glib/glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> <a class="link" href="GSrvTarget.html#g-srv-target-get-port" title="g_srv_target_get_port ()">g_srv_target_get_port</a> (<em class="parameter"><code><a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);
54
- <a href="./../glib/glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> <a class="link" href="GSrvTarget.html#g-srv-target-get-priority" title="g_srv_target_get_priority ()">g_srv_target_get_priority</a> (<em class="parameter"><code><a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);
55
- <a href="./../glib/glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> <a class="link" href="GSrvTarget.html#g-srv-target-get-weight" title="g_srv_target_get_weight ()">g_srv_target_get_weight</a> (<em class="parameter"><code><a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);
56
- <a href="./../glib/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="GSrvTarget.html#g-srv-target-list-sort" title="g_srv_target_list_sort ()">g_srv_target_list_sort</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *targets</code></em>);
52
+ const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GSrvTarget.html#g-srv-target-get-hostname" title="g_srv_target_get_hostname ()">g_srv_target_get_hostname</a> (<em class="parameter"><code><a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);
53
+ <a href="../glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> <a class="link" href="GSrvTarget.html#g-srv-target-get-port" title="g_srv_target_get_port ()">g_srv_target_get_port</a> (<em class="parameter"><code><a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);
54
+ <a href="../glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> <a class="link" href="GSrvTarget.html#g-srv-target-get-priority" title="g_srv_target_get_priority ()">g_srv_target_get_priority</a> (<em class="parameter"><code><a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);
55
+ <a href="../glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> <a class="link" href="GSrvTarget.html#g-srv-target-get-weight" title="g_srv_target_get_weight ()">g_srv_target_get_weight</a> (<em class="parameter"><code><a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);
56
+ <a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="GSrvTarget.html#g-srv-target-list-sort" title="g_srv_target_list_sort ()">g_srv_target_list_sort</a> (<em class="parameter"><code><a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *targets</code></em>);
57
57
  </pre>
58
58
  </div>
59
59
  <div class="refsect1">
@@ -95,10 +95,10 @@ A single target host/port that a network service is running on.
95
95
  <hr>
96
96
  <div class="refsect2">
97
97
  <a name="g-srv-target-new"></a><h3>g_srv_target_new ()</h3>
98
- <pre class="programlisting"><a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="returnvalue">GSrvTarget</span></a> * g_srv_target_new (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *hostname</code></em>,
99
- <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> port</code></em>,
100
- <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> priority</code></em>,
101
- <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> weight</code></em>);</pre>
98
+ <pre class="programlisting"><a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="returnvalue">GSrvTarget</span></a> * g_srv_target_new (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *hostname</code></em>,
99
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> port</code></em>,
100
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> priority</code></em>,
101
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> weight</code></em>);</pre>
102
102
  <p>
103
103
  Creates a new <a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="type">GSrvTarget</span></a> with the given parameters.
104
104
  </p>
@@ -186,12 +186,12 @@ Frees <em class="parameter"><code>target</code></em>
186
186
  <hr>
187
187
  <div class="refsect2">
188
188
  <a name="g-srv-target-get-hostname"></a><h3>g_srv_target_get_hostname ()</h3>
189
- <pre class="programlisting">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * g_srv_target_get_hostname (<em class="parameter"><code><a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);</pre>
189
+ <pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * g_srv_target_get_hostname (<em class="parameter"><code><a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);</pre>
190
190
  <p>
191
191
  Gets <em class="parameter"><code>target</code></em>'s hostname (in ASCII form; if you are going to present
192
- this to the user, you should use <a href="./../glib/glib/glib-Hostname-Utilities.html#g-hostname-is-ascii-encoded"><code class="function">g_hostname_is_ascii_encoded()</code></a> to
192
+ this to the user, you should use <a href="../glib/glib-Hostname-Utilities.html#g-hostname-is-ascii-encoded"><code class="function">g_hostname_is_ascii_encoded()</code></a> to
193
193
  check if it contains encoded Unicode segments, and use
194
- <a href="./../glib/glib/glib-Hostname-Utilities.html#g-hostname-to-unicode"><code class="function">g_hostname_to_unicode()</code></a> to convert it if it does.)
194
+ <a href="../glib/glib-Hostname-Utilities.html#g-hostname-to-unicode"><code class="function">g_hostname_to_unicode()</code></a> to convert it if it does.)
195
195
  </p>
196
196
  <div class="variablelist"><table border="0" class="variablelist">
197
197
  <colgroup>
@@ -216,7 +216,7 @@ check if it contains encoded Unicode segments, and use
216
216
  <hr>
217
217
  <div class="refsect2">
218
218
  <a name="g-srv-target-get-port"></a><h3>g_srv_target_get_port ()</h3>
219
- <pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> g_srv_target_get_port (<em class="parameter"><code><a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);</pre>
219
+ <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> g_srv_target_get_port (<em class="parameter"><code><a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);</pre>
220
220
  <p>
221
221
  Gets <em class="parameter"><code>target</code></em>'s port
222
222
  </p>
@@ -243,7 +243,7 @@ Gets <em class="parameter"><code>target</code></em>'s port
243
243
  <hr>
244
244
  <div class="refsect2">
245
245
  <a name="g-srv-target-get-priority"></a><h3>g_srv_target_get_priority ()</h3>
246
- <pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> g_srv_target_get_priority (<em class="parameter"><code><a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);</pre>
246
+ <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> g_srv_target_get_priority (<em class="parameter"><code><a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);</pre>
247
247
  <p>
248
248
  Gets <em class="parameter"><code>target</code></em>'s priority. You should not need to look at this;
249
249
  <a class="link" href="GResolver.html" title="GResolver"><span class="type">GResolver</span></a> already sorts the targets according to the algorithm in
@@ -272,7 +272,7 @@ RFC 2782.
272
272
  <hr>
273
273
  <div class="refsect2">
274
274
  <a name="g-srv-target-get-weight"></a><h3>g_srv_target_get_weight ()</h3>
275
- <pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> g_srv_target_get_weight (<em class="parameter"><code><a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);</pre>
275
+ <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint16"><span class="returnvalue">guint16</span></a> g_srv_target_get_weight (<em class="parameter"><code><a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="type">GSrvTarget</span></a> *target</code></em>);</pre>
276
276
  <p>
277
277
  Gets <em class="parameter"><code>target</code></em>'s weight. You should not need to look at this;
278
278
  <a class="link" href="GResolver.html" title="GResolver"><span class="type">GResolver</span></a> already sorts the targets according to the algorithm in
@@ -301,7 +301,7 @@ RFC 2782.
301
301
  <hr>
302
302
  <div class="refsect2">
303
303
  <a name="g-srv-target-list-sort"></a><h3>g_srv_target_list_sort ()</h3>
304
- <pre class="programlisting"><a href="./../glib/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * g_srv_target_list_sort (<em class="parameter"><code><a href="./../glib/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *targets</code></em>);</pre>
304
+ <pre class="programlisting"><a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * g_srv_target_list_sort (<em class="parameter"><code><a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *targets</code></em>);</pre>
305
305
  <p>
306
306
  Sorts <em class="parameter"><code>targets</code></em> in place according to the algorithm in RFC 2782.
307
307
  </p>
@@ -313,7 +313,7 @@ Sorts <em class="parameter"><code>targets</code></em> in place according to the
313
313
  <tbody>
314
314
  <tr>
315
315
  <td><p><span class="term"><em class="parameter"><code>targets</code></em> :</span></p></td>
316
- <td>a <a href="./../glib/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="type">GSrvTarget</span></a>
316
+ <td>a <a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <a class="link" href="GSrvTarget.html" title="GSrvTarget"><span class="type">GSrvTarget</span></a>
317
317
  </td>
318
318
  </tr>
319
319
  <tr>
@@ -329,6 +329,6 @@ Sorts <em class="parameter"><code>targets</code></em> in place according to the
329
329
  </div>
330
330
  <div class="footer">
331
331
  <hr>
332
- Generated by GTK-Doc V1.18</div>
332
+ Generated by GTK-Doc V1.18.1</div>
333
333
  </body>
334
334
  </html>
@@ -0,0 +1,2296 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>GTask</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
7
+ <link rel="home" href="index.html" title="GIO Reference Manual">
8
+ <link rel="up" href="async.html" title="Asynchronous I/O">
9
+ <link rel="prev" href="GAsyncResult.html" title="GAsyncResult">
10
+ <link rel="next" href="gio-GIOScheduler.html" title="GIOScheduler">
11
+ <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
+ <tr valign="middle">
17
+ <td><a accesskey="p" href="GAsyncResult.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
+ <td><a accesskey="u" href="async.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
+ <th width="100%" align="center">GIO Reference Manual</th>
21
+ <td><a accesskey="n" href="gio-GIOScheduler.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
+ </tr>
23
+ <tr><td colspan="5" class="shortcuts">
24
+ <a href="#GTask.synopsis" class="shortcut">Top</a>
25
+  | 
26
+ <a href="#GTask.description" class="shortcut">Description</a>
27
+  | 
28
+ <a href="#GTask.object-hierarchy" class="shortcut">Object Hierarchy</a>
29
+  | 
30
+ <a href="#GTask.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
31
+ </td></tr>
32
+ </table>
33
+ <div class="refentry">
34
+ <a name="GTask"></a><div class="titlepage"></div>
35
+ <div class="refnamediv"><table width="100%"><tr>
36
+ <td valign="top">
37
+ <h2><span class="refentrytitle"><a name="GTask.top_of_page"></a>GTask</span></h2>
38
+ <p>GTask — Cancellable synchronous or asynchronous task and result</p>
39
+ </td>
40
+ <td valign="top" align="right"></td>
41
+ </tr></table></div>
42
+ <div class="refsynopsisdiv">
43
+ <a name="GTask.synopsis"></a><h2>Synopsis</h2>
44
+ <pre class="synopsis">
45
+ #include &lt;gio/gio.h&gt;
46
+
47
+ <a class="link" href="GTask.html#GTask-struct" title="GTask">GTask</a>;
48
+ <a class="link" href="GTask.html" title="GTask"><span class="returnvalue">GTask</span></a> * <a class="link" href="GTask.html#g-task-new" title="g_task_new ()">g_task_new</a> (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source_object</code></em>,
49
+ <em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
50
+ <em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
51
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> callback_data</code></em>);
52
+ <span class="returnvalue">void</span> <a class="link" href="GTask.html#g-task-set-task-data" title="g_task_set_task_data ()">g_task_set_task_data</a> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
53
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> task_data</code></em>,
54
+ <em class="parameter"><code><a href="../glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> task_data_destroy</code></em>);
55
+ <span class="returnvalue">void</span> <a class="link" href="GTask.html#g-task-set-priority" title="g_task_set_priority ()">g_task_set_priority</a> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
56
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>);
57
+ <span class="returnvalue">void</span> <a class="link" href="GTask.html#g-task-set-check-cancellable" title="g_task_set_check_cancellable ()">g_task_set_check_cancellable</a> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
58
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> check_cancellable</code></em>);
59
+ <a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GTask.html#g-task-set-return-on-cancel" title="g_task_set_return_on_cancel ()">g_task_set_return_on_cancel</a> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
60
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> return_on_cancel</code></em>);
61
+ <span class="returnvalue">void</span> <a class="link" href="GTask.html#g-task-set-source-tag" title="g_task_set_source_tag ()">g_task_set_source_tag</a> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
62
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source_tag</code></em>);
63
+
64
+ <span class="returnvalue">void</span> <a class="link" href="GTask.html#g-task-report-error" title="g_task_report_error ()">g_task_report_error</a> (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source_object</code></em>,
65
+ <em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
66
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> callback_data</code></em>,
67
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source_tag</code></em>,
68
+ <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>);
69
+ <span class="returnvalue">void</span> <a class="link" href="GTask.html#g-task-report-new-error" title="g_task_report_new_error ()">g_task_report_new_error</a> (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source_object</code></em>,
70
+ <em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
71
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> callback_data</code></em>,
72
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source_tag</code></em>,
73
+ <em class="parameter"><code><a href="../glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> domain</code></em>,
74
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> code</code></em>,
75
+ <em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
76
+ <em class="parameter"><code>...</code></em>);
77
+
78
+ <a href="../glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="GTask.html#g-task-get-task-data" title="g_task_get_task_data ()">g_task_get_task_data</a> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>);
79
+ <a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GTask.html#g-task-get-priority" title="g_task_get_priority ()">g_task_get_priority</a> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>);
80
+ <a class="link" href="GCancellable.html" title="GCancellable"><span class="returnvalue">GCancellable</span></a> * <a class="link" href="GTask.html#g-task-get-cancellable" title="g_task_get_cancellable ()">g_task_get_cancellable</a> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>);
81
+ <a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GTask.html#g-task-get-check-cancellable" title="g_task_get_check_cancellable ()">g_task_get_check_cancellable</a> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>);
82
+ <a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GTask.html#g-task-get-return-on-cancel" title="g_task_get_return_on_cancel ()">g_task_get_return_on_cancel</a> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>);
83
+ <a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="returnvalue">GMainContext</span></a> * <a class="link" href="GTask.html#g-task-get-context" title="g_task_get_context ()">g_task_get_context</a> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>);
84
+ <a href="../glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="GTask.html#g-task-get-source-object" title="g_task_get_source_object ()">g_task_get_source_object</a> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>);
85
+ <a href="../glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="GTask.html#g-task-get-source-tag" title="g_task_get_source_tag ()">g_task_get_source_tag</a> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>);
86
+
87
+ <span class="returnvalue">void</span> <a class="link" href="GTask.html#g-task-return-boolean" title="g_task_return_boolean ()">g_task_return_boolean</a> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
88
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> result</code></em>);
89
+ <span class="returnvalue">void</span> <a class="link" href="GTask.html#g-task-return-int" title="g_task_return_int ()">g_task_return_int</a> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
90
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gssize"><span class="type">gssize</span></a> result</code></em>);
91
+ <span class="returnvalue">void</span> <a class="link" href="GTask.html#g-task-return-pointer" title="g_task_return_pointer ()">g_task_return_pointer</a> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
92
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> result</code></em>,
93
+ <em class="parameter"><code><a href="../glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> result_destroy</code></em>);
94
+ <span class="returnvalue">void</span> <a class="link" href="GTask.html#g-task-return-error" title="g_task_return_error ()">g_task_return_error</a> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
95
+ <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>);
96
+ <span class="returnvalue">void</span> <a class="link" href="GTask.html#g-task-return-new-error" title="g_task_return_new_error ()">g_task_return_new_error</a> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
97
+ <em class="parameter"><code><a href="../glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> domain</code></em>,
98
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> code</code></em>,
99
+ <em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
100
+ <em class="parameter"><code>...</code></em>);
101
+ <a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GTask.html#g-task-return-error-if-cancelled" title="g_task_return_error_if_cancelled ()">g_task_return_error_if_cancelled</a> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>);
102
+
103
+ <a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GTask.html#g-task-propagate-boolean" title="g_task_propagate_boolean ()">g_task_propagate_boolean</a> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
104
+ <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
105
+ <a href="../glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> <a class="link" href="GTask.html#g-task-propagate-int" title="g_task_propagate_int ()">g_task_propagate_int</a> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
106
+ <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
107
+ <a href="../glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="GTask.html#g-task-propagate-pointer" title="g_task_propagate_pointer ()">g_task_propagate_pointer</a> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
108
+ <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
109
+ <a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GTask.html#g-task-had-error" title="g_task_had_error ()">g_task_had_error</a> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>);
110
+
111
+ <span class="returnvalue">void</span> <a class="link" href="GTask.html#g-task-run-in-thread" title="g_task_run_in_thread ()">g_task_run_in_thread</a> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
112
+ <em class="parameter"><code><a class="link" href="GTask.html#GTaskThreadFunc" title="GTaskThreadFunc ()"><span class="type">GTaskThreadFunc</span></a> task_func</code></em>);
113
+ <span class="returnvalue">void</span> <a class="link" href="GTask.html#g-task-run-in-thread-sync" title="g_task_run_in_thread_sync ()">g_task_run_in_thread_sync</a> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
114
+ <em class="parameter"><code><a class="link" href="GTask.html#GTaskThreadFunc" title="GTaskThreadFunc ()"><span class="type">GTaskThreadFunc</span></a> task_func</code></em>);
115
+ <span class="returnvalue">void</span> (<a class="link" href="GTask.html#GTaskThreadFunc" title="GTaskThreadFunc ()">*GTaskThreadFunc</a>) (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
116
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source_object</code></em>,
117
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> task_data</code></em>,
118
+ <em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>);
119
+ <span class="returnvalue">void</span> <a class="link" href="GTask.html#g-task-attach-source" title="g_task_attach_source ()">g_task_attach_source</a> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
120
+ <em class="parameter"><code><a href="../glib/glib-The-Main-Event-Loop.html#GSource"><span class="type">GSource</span></a> *source</code></em>,
121
+ <em class="parameter"><code><a href="../glib/glib-The-Main-Event-Loop.html#GSourceFunc"><span class="type">GSourceFunc</span></a> callback</code></em>);
122
+
123
+ <a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GTask.html#g-task-is-valid" title="g_task_is_valid ()">g_task_is_valid</a> (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> result</code></em>,
124
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source_object</code></em>);
125
+ </pre>
126
+ </div>
127
+ <div class="refsect1">
128
+ <a name="GTask.object-hierarchy"></a><h2>Object Hierarchy</h2>
129
+ <pre class="synopsis">
130
+ <a href="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
131
+ +----GTask
132
+ </pre>
133
+ </div>
134
+ <div class="refsect1">
135
+ <a name="GTask.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
136
+ <p>
137
+ GTask implements
138
+ <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a>.</p>
139
+ </div>
140
+ <div class="refsect1">
141
+ <a name="GTask.description"></a><h2>Description</h2>
142
+ <p>
143
+ </p>
144
+ <p>
145
+ A <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> represents and manages a cancellable "task".
146
+ </p>
147
+ <p>
148
+ </p>
149
+ <div class="refsect2">
150
+ <a name="id-1.4.5.4.6.2.2"></a><h3>Asynchronous operations</h3>
151
+ <p>
152
+ The most common usage of <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> is as a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>, to
153
+ manage data during an asynchronous operation. You call
154
+ <a class="link" href="GTask.html#g-task-new" title="g_task_new ()"><code class="function">g_task_new()</code></a> in the "start" method, followed by
155
+ <a class="link" href="GTask.html#g-task-set-task-data" title="g_task_set_task_data ()"><code class="function">g_task_set_task_data()</code></a> and the like if you need to keep some
156
+ additional data associated with the task, and then pass the
157
+ task object around through your asynchronous operation.
158
+ Eventually, you will call a method such as
159
+ <a class="link" href="GTask.html#g-task-return-pointer" title="g_task_return_pointer ()"><code class="function">g_task_return_pointer()</code></a> or <a class="link" href="GTask.html#g-task-return-error" title="g_task_return_error ()"><code class="function">g_task_return_error()</code></a>, which will
160
+ save the value you give it and then invoke the task's callback
161
+ function (waiting until the next next iteration of the main
162
+ loop first, if necessary). The caller will pass the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> back
163
+ to the operation's finish function (as a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>), and
164
+ you can use <a class="link" href="GTask.html#g-task-propagate-pointer" title="g_task_propagate_pointer ()"><code class="function">g_task_propagate_pointer()</code></a> or the like to extract
165
+ the return value.
166
+ </p>
167
+ <div class="example">
168
+ <a name="gtask-async"></a><p class="title"><b>Example 1. GTask as a GAsyncResult</b></p>
169
+ <div class="example-contents">
170
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
171
+ <tbody>
172
+ <tr>
173
+ <td class="listing_lines" align="right"><pre>1
174
+ 2
175
+ 3
176
+ 4
177
+ 5
178
+ 6
179
+ 7
180
+ 8
181
+ 9
182
+ 10
183
+ 11
184
+ 12
185
+ 13
186
+ 14
187
+ 15
188
+ 16
189
+ 17
190
+ 18
191
+ 19
192
+ 20
193
+ 21
194
+ 22
195
+ 23
196
+ 24
197
+ 25
198
+ 26
199
+ 27
200
+ 28
201
+ 29
202
+ 30
203
+ 31
204
+ 32
205
+ 33
206
+ 34
207
+ 35
208
+ 36
209
+ 37
210
+ 38
211
+ 39
212
+ 40
213
+ 41
214
+ 42
215
+ 43
216
+ 44
217
+ 45
218
+ 46
219
+ 47
220
+ 48
221
+ 49
222
+ 50
223
+ 51
224
+ 52
225
+ 53
226
+ 54
227
+ 55
228
+ 56
229
+ 57
230
+ 58
231
+ 59
232
+ 60
233
+ 61
234
+ 62
235
+ 63
236
+ 64
237
+ 65
238
+ 66
239
+ 67
240
+ 68
241
+ 69
242
+ 70
243
+ 71
244
+ 72
245
+ 73
246
+ 74
247
+ 75
248
+ 76
249
+ 77
250
+ 78
251
+ 79
252
+ 80
253
+ 81
254
+ 82
255
+ 83
256
+ 84
257
+ 85
258
+ 86
259
+ 87
260
+ 88
261
+ 89
262
+ 90
263
+ 91</pre></td>
264
+ <td class="listing_code"><pre class="programlisting"><span class="type">typedef</span> <span class="type">struct</span> {
265
+ CakeFrostingType frosting;
266
+ <span class="type">char</span> *message;
267
+ } DecorationData;
268
+
269
+ <span class="type">static</span> <span class="type">void</span>
270
+ decoration_data_free (DecorationData *decoration)
271
+ {
272
+ <span class="function"><a href="../glib/glib-Memory-Allocation.html#g-free">g_free</a></span> (decoration-&gt;message);
273
+ <span class="preproc">g_slice_free</span> (DecorationData, decoration);
274
+ }
275
+
276
+ <span class="type">static</span> <span class="type">void</span>
277
+ baked_cb (Cake *cake,
278
+ <span class="type">gpointer</span> user_data)
279
+ {
280
+ GTask *task = user_data;
281
+ DecorationData *decoration = g_task_get_task_data (task);
282
+ <span class="type">GError</span> *error = <span class="number">NULL</span>;
283
+
284
+ <span class="keyword">if</span> (cake == <span class="number">NULL</span>)
285
+ {
286
+ g_task_return_new_error (task, BAKER_ERROR, BAKER_ERROR_NO_FLOUR,
287
+ <span class="number">&quot;Go to the supermarket&quot;</span>);
288
+ <span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> (task);
289
+ <span class="keyword">return</span>;
290
+ }
291
+
292
+ <span class="keyword">if</span> (!cake_decorate (cake, decoration-&gt;frosting, decoration-&gt;message, &amp;error))
293
+ {
294
+ <span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> (cake);
295
+ <span class="comment">/*</span><span class="comment"> g_task_return_error() takes ownership of error </span><span class="comment">*/</span>
296
+ g_task_return_error (task, error);
297
+ <span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> (task);
298
+ <span class="keyword">return</span>;
299
+ }
300
+
301
+ g_task_return_pointer (result, cake, <span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span>);
302
+ <span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> (task);
303
+ }
304
+
305
+ <span class="type">void</span>
306
+ baker_bake_cake_async (Baker *self,
307
+ <span class="type">guint</span> radius,
308
+ CakeFlavor flavor,
309
+ CakeFrostingType frosting,
310
+ <span class="type">const</span> <span class="type">char</span> *message,
311
+ <span class="type">GCancellable</span> *cancellable,
312
+ <span class="type">GAsyncReadyCallback</span> callback,
313
+ <span class="type">gpointer</span> user_data)
314
+ {
315
+ GTask *task;
316
+ DecorationData *decoration;
317
+ Cake *cake;
318
+
319
+ task = g_task_new (self, cancellable, callback, user_data);
320
+ <span class="keyword">if</span> (radius &lt; <span class="number">3</span>)
321
+ {
322
+ g_task_return_new_error (task, BAKER_ERROR, BAKER_ERROR_TOO_SMALL,
323
+ <span class="number">&quot;</span><span class="symbol">%u</span><span class="number">cm radius cakes are silly&quot;</span>,
324
+ radius);
325
+ <span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> (task);
326
+ <span class="keyword">return</span>;
327
+ }
328
+
329
+ cake = _baker_get_cached_cake (self, radius, flavor, frosting, message);
330
+ <span class="keyword">if</span> (cake != <span class="number">NULL</span>)
331
+ {
332
+ <span class="comment">/*</span><span class="comment"> _baker_get_cached_cake() returns a reffed cake </span><span class="comment">*/</span>
333
+ g_task_return_pointer (task, cake, <span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span>);
334
+ <span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> (task);
335
+ <span class="keyword">return</span>;
336
+ }
337
+
338
+ decoration = <span class="preproc">g_slice_new</span> (DecorationData);
339
+ decoration-&gt;frosting = frosting;
340
+ decoration-&gt;message = <span class="function"><a href="../glib/glib-String-Utility-Functions.html#g-strdup">g_strdup</a></span> (message);
341
+ g_task_set_task_data (task, decoration, (<span class="type">GDestroyNotify</span>) decoration_data_free);
342
+
343
+ _baker_begin_cake (self, radius, flavor, cancellable, baked_cb, task);
344
+ }
345
+
346
+ Cake *
347
+ baker_bake_cake_finish (Baker *self,
348
+ <span class="type">GAsyncResult</span> *result,
349
+ <span class="type">GError</span> **error)
350
+ {
351
+ <span class="preproc">g_return_val_if_fail</span> (g_task_is_valid (result, self), <span class="number">NULL</span>);
352
+
353
+ <span class="keyword">return</span> g_task_propagate_pointer (G_TASK (result), error);
354
+ }</pre></td>
355
+ </tr>
356
+ </tbody>
357
+ </table>
358
+ </div>
359
+
360
+ </div>
361
+ <br class="example-break">
362
+ </div>
363
+ <p>
364
+ </p>
365
+ <hr>
366
+ <div class="refsect2">
367
+ <a name="id-1.4.5.4.6.2.3"></a><h3>Chained asynchronous operations</h3>
368
+ <p>
369
+ <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> also tries to simplify asynchronous operations that
370
+ internally chain together several smaller asynchronous
371
+ operations. <a class="link" href="GTask.html#g-task-get-cancellable" title="g_task_get_cancellable ()"><code class="function">g_task_get_cancellable()</code></a>, <a class="link" href="GTask.html#g-task-get-context" title="g_task_get_context ()"><code class="function">g_task_get_context()</code></a>, and
372
+ <a class="link" href="GTask.html#g-task-get-priority" title="g_task_get_priority ()"><code class="function">g_task_get_priority()</code></a> allow you to get back the task's
373
+ <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, <a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a>, and <a class="link" href="GAsyncResult.html#io-priority">I/O priority</a> when starting a new
374
+ subtask, so you don't have to keep track of them yourself.
375
+ <a class="link" href="GTask.html#g-task-attach-source" title="g_task_attach_source ()"><code class="function">g_task_attach_source()</code></a> simplifies the case of waiting for a
376
+ source to fire (automatically using the correct <a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a>
377
+ and priority).
378
+ </p>
379
+ <div class="example">
380
+ <a name="gtask-chained"></a><p class="title"><b>Example 2. Chained asynchronous operations</b></p>
381
+ <div class="example-contents">
382
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
383
+ <tbody>
384
+ <tr>
385
+ <td class="listing_lines" align="right"><pre>1
386
+ 2
387
+ 3
388
+ 4
389
+ 5
390
+ 6
391
+ 7
392
+ 8
393
+ 9
394
+ 10
395
+ 11
396
+ 12
397
+ 13
398
+ 14
399
+ 15
400
+ 16
401
+ 17
402
+ 18
403
+ 19
404
+ 20
405
+ 21
406
+ 22
407
+ 23
408
+ 24
409
+ 25
410
+ 26
411
+ 27
412
+ 28
413
+ 29
414
+ 30
415
+ 31
416
+ 32
417
+ 33
418
+ 34
419
+ 35
420
+ 36
421
+ 37
422
+ 38
423
+ 39
424
+ 40
425
+ 41
426
+ 42
427
+ 43
428
+ 44
429
+ 45
430
+ 46
431
+ 47
432
+ 48
433
+ 49
434
+ 50
435
+ 51
436
+ 52
437
+ 53
438
+ 54
439
+ 55
440
+ 56
441
+ 57
442
+ 58
443
+ 59
444
+ 60
445
+ 61
446
+ 62
447
+ 63
448
+ 64
449
+ 65
450
+ 66
451
+ 67
452
+ 68
453
+ 69
454
+ 70
455
+ 71
456
+ 72
457
+ 73
458
+ 74
459
+ 75
460
+ 76
461
+ 77
462
+ 78
463
+ 79
464
+ 80
465
+ 81
466
+ 82
467
+ 83
468
+ 84
469
+ 85
470
+ 86
471
+ 87
472
+ 88
473
+ 89
474
+ 90
475
+ 91
476
+ 92
477
+ 93
478
+ 94
479
+ 95
480
+ 96
481
+ 97
482
+ 98
483
+ 99
484
+ 100
485
+ 101
486
+ 102
487
+ 103
488
+ 104
489
+ 105
490
+ 106
491
+ 107
492
+ 108
493
+ 109
494
+ 110
495
+ 111
496
+ 112
497
+ 113
498
+ 114
499
+ 115
500
+ 116
501
+ 117
502
+ 118
503
+ 119
504
+ 120
505
+ 121
506
+ 122
507
+ 123
508
+ 124</pre></td>
509
+ <td class="listing_code"><pre class="programlisting"><span class="type">typedef</span> <span class="type">struct</span> {
510
+ Cake *cake;
511
+ CakeFrostingType frosting;
512
+ <span class="type">char</span> *message;
513
+ } BakingData;
514
+
515
+ <span class="type">static</span> <span class="type">void</span>
516
+ decoration_data_free (BakingData *bd)
517
+ {
518
+ <span class="keyword">if</span> (bd-&gt;cake)
519
+ <span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> (bd-&gt;cake);
520
+ <span class="function"><a href="../glib/glib-Memory-Allocation.html#g-free">g_free</a></span> (bd-&gt;message);
521
+ <span class="preproc">g_slice_free</span> (BakingData, bd);
522
+ }
523
+
524
+ <span class="type">static</span> <span class="type">void</span>
525
+ decorated_cb (Cake *cake,
526
+ <span class="type">GAsyncResult</span> *result,
527
+ <span class="type">gpointer</span> user_data)
528
+ {
529
+ GTask *task = user_data;
530
+ <span class="type">GError</span> *error = <span class="number">NULL</span>;
531
+
532
+ <span class="keyword">if</span> (!cake_decorate_finish (cake, result, &amp;error))
533
+ {
534
+ <span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> (cake);
535
+ g_task_return_error (task, error);
536
+ <span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> (task);
537
+ <span class="keyword">return</span>;
538
+ }
539
+
540
+ <span class="comment">/*</span><span class="comment"> baking_data_free() will drop its ref on the cake, so</span>
541
+ <span class="comment"> * we have to take another here to give to the caller.</span>
542
+ <span class="comment"> </span><span class="comment">*/</span>
543
+ g_task_return_pointer (result, <span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-ref">g_object_ref</a></span> (cake), <span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span>);
544
+ <span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> (task);
545
+ }
546
+
547
+ <span class="type">static</span> <span class="type">void</span>
548
+ decorator_ready (<span class="type">gpointer</span> user_data)
549
+ {
550
+ GTask *task = user_data;
551
+ BakingData *bd = g_task_get_task_data (task);
552
+
553
+ cake_decorate_async (bd-&gt;cake, bd-&gt;frosting, bd-&gt;message,
554
+ g_task_get_cancellable (task),
555
+ decorated_cb, task);
556
+ }
557
+
558
+ <span class="type">static</span> <span class="type">void</span>
559
+ baked_cb (Cake *cake,
560
+ <span class="type">gpointer</span> user_data)
561
+ {
562
+ GTask *task = user_data;
563
+ BakingData *bd = g_task_get_task_data (task);
564
+ <span class="type">GError</span> *error = <span class="number">NULL</span>;
565
+
566
+ <span class="keyword">if</span> (cake == <span class="number">NULL</span>)
567
+ {
568
+ g_task_return_new_error (task, BAKER_ERROR, BAKER_ERROR_NO_FLOUR,
569
+ <span class="number">&quot;Go to the supermarket&quot;</span>);
570
+ <span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> (task);
571
+ <span class="keyword">return</span>;
572
+ }
573
+
574
+ bd-&gt;cake = cake;
575
+
576
+ <span class="comment">/*</span><span class="comment"> Bail out now if the user has already cancelled </span><span class="comment">*/</span>
577
+ <span class="keyword">if</span> (g_task_return_error_if_cancelled (g_task_get_cancellable (task)))
578
+ {
579
+ <span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> (task);
580
+ <span class="keyword">return</span>;
581
+ }
582
+
583
+ <span class="keyword">if</span> (cake_decorator_available (cake))
584
+ decorator_ready (task);
585
+ <span class="keyword">else</span>
586
+ {
587
+ <span class="type">GSource</span> *source;
588
+
589
+ source = cake_decorator_wait_source_new (cake);
590
+ <span class="comment">/*</span><span class="comment"> Attach @source to @task's GMainContext and have it call</span>
591
+ <span class="comment"> * decorator_ready() when it is ready.</span>
592
+ <span class="comment"> </span><span class="comment">*/</span>
593
+ g_task_attach_source (task, source,
594
+ <span class="preproc">G_CALLBACK</span> (decorator_ready));
595
+ <span class="function"><a href="../glib/glib-The-Main-Event-Loop.html#g-source-unref">g_source_unref</a></span> (source);
596
+ }
597
+ }
598
+
599
+ <span class="type">void</span>
600
+ baker_bake_cake_async (Baker *self,
601
+ <span class="type">guint</span> radius,
602
+ CakeFlavor flavor,
603
+ CakeFrostingType frosting,
604
+ <span class="type">const</span> <span class="type">char</span> *message,
605
+ <span class="type">gint</span> priority,
606
+ <span class="type">GCancellable</span> *cancellable,
607
+ <span class="type">GAsyncReadyCallback</span> callback,
608
+ <span class="type">gpointer</span> user_data)
609
+ {
610
+ GTask *task;
611
+ BakingData *bd;
612
+
613
+ task = g_task_new (self, cancellable, callback, user_data);
614
+ g_task_set_priority (task, priority);
615
+
616
+ bd = <span class="preproc">g_slice_new0</span> (BakingData);
617
+ bd-&gt;frosting = frosting;
618
+ bd-&gt;message = <span class="function"><a href="../glib/glib-String-Utility-Functions.html#g-strdup">g_strdup</a></span> (message);
619
+ g_task_set_task_data (task, bd, (<span class="type">GDestroyNotify</span>) baking_data_free);
620
+
621
+ _baker_begin_cake (self, radius, flavor, cancellable, baked_cb, task);
622
+ }
623
+
624
+ Cake *
625
+ baker_bake_cake_finish (Baker *self,
626
+ <span class="type">GAsyncResult</span> *result,
627
+ <span class="type">GError</span> **error)
628
+ {
629
+ <span class="preproc">g_return_val_if_fail</span> (g_task_is_valid (result, self), <span class="number">NULL</span>);
630
+
631
+ <span class="keyword">return</span> g_task_propagate_pointer (G_TASK (result), error);
632
+ }</pre></td>
633
+ </tr>
634
+ </tbody>
635
+ </table>
636
+ </div>
637
+
638
+ </div>
639
+ <br class="example-break">
640
+ </div>
641
+ <p>
642
+ </p>
643
+ <hr>
644
+ <div class="refsect2">
645
+ <a name="id-1.4.5.4.6.2.4"></a><h3>Asynchronous operations from synchronous ones</h3>
646
+ <p>
647
+ You can use <a class="link" href="GTask.html#g-task-run-in-thread" title="g_task_run_in_thread ()"><code class="function">g_task_run_in_thread()</code></a> to turn a synchronous
648
+ operation into an asynchronous one, by running it in a thread
649
+ which will then dispatch the result back to the caller's
650
+ <a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a> when it completes.
651
+ </p>
652
+ <div class="example">
653
+ <a name="gtask-run-in-thread"></a><p class="title"><b>Example 3. <a class="link" href="GTask.html#g-task-run-in-thread" title="g_task_run_in_thread ()"><code class="function">g_task_run_in_thread()</code></a></b></p>
654
+ <div class="example-contents">
655
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
656
+ <tbody>
657
+ <tr>
658
+ <td class="listing_lines" align="right"><pre>1
659
+ 2
660
+ 3
661
+ 4
662
+ 5
663
+ 6
664
+ 7
665
+ 8
666
+ 9
667
+ 10
668
+ 11
669
+ 12
670
+ 13
671
+ 14
672
+ 15
673
+ 16
674
+ 17
675
+ 18
676
+ 19
677
+ 20
678
+ 21
679
+ 22
680
+ 23
681
+ 24
682
+ 25
683
+ 26
684
+ 27
685
+ 28
686
+ 29
687
+ 30
688
+ 31
689
+ 32
690
+ 33
691
+ 34
692
+ 35
693
+ 36
694
+ 37
695
+ 38
696
+ 39
697
+ 40
698
+ 41
699
+ 42
700
+ 43
701
+ 44
702
+ 45
703
+ 46
704
+ 47
705
+ 48
706
+ 49
707
+ 50
708
+ 51
709
+ 52
710
+ 53
711
+ 54
712
+ 55
713
+ 56
714
+ 57
715
+ 58
716
+ 59
717
+ 60
718
+ 61
719
+ 62
720
+ 63
721
+ 64
722
+ 65
723
+ 66</pre></td>
724
+ <td class="listing_code"><pre class="programlisting"><span class="type">typedef</span> <span class="type">struct</span> {
725
+ <span class="type">guint</span> radius;
726
+ CakeFlavor flavor;
727
+ CakeFrostingType frosting;
728
+ <span class="type">char</span> *message;
729
+ } CakeData;
730
+
731
+ <span class="type">static</span> <span class="type">void</span>
732
+ cake_data_free (CakeData *cake_data)
733
+ {
734
+ <span class="function"><a href="../glib/glib-Memory-Allocation.html#g-free">g_free</a></span> (cake_data-&gt;message);
735
+ <span class="preproc">g_slice_free</span> (CakeData, cake_data);
736
+ }
737
+
738
+ <span class="type">static</span> <span class="type">void</span>
739
+ bake_cake_thread (GTask *task,
740
+ <span class="type">gpointer</span> source_object,
741
+ <span class="type">gpointer</span> task_data,
742
+ <span class="type">GCancellable</span> *cancellable)
743
+ {
744
+ Baker *self = source_object;
745
+ CakeData *cake_data = task_data;
746
+ Cake *cake;
747
+ <span class="type">GError</span> *error = <span class="number">NULL</span>;
748
+
749
+ cake = bake_cake (baker, cake_data-&gt;radius, cake_data-&gt;flavor,
750
+ cake_data-&gt;frosting, cake_data-&gt;message,
751
+ cancellable, &amp;error);
752
+ <span class="keyword">if</span> (cake)
753
+ g_task_return_pointer (task, cake, <span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span>);
754
+ <span class="keyword">else</span>
755
+ g_task_return_error (task, error);
756
+ }
757
+
758
+ <span class="type">void</span>
759
+ baker_bake_cake_async (Baker *self,
760
+ <span class="type">guint</span> radius,
761
+ CakeFlavor flavor,
762
+ CakeFrostingType frosting,
763
+ <span class="type">const</span> <span class="type">char</span> *message,
764
+ <span class="type">GCancellable</span> *cancellable,
765
+ <span class="type">GAsyncReadyCallback</span> callback,
766
+ <span class="type">gpointer</span> user_data)
767
+ {
768
+ CakeData *cake_data;
769
+ GTask *task;
770
+
771
+ cake_data = <span class="preproc">g_slice_new</span> (CakeData);
772
+ cake_data-&gt;radius = radius;
773
+ cake_data-&gt;flavor = flavor;
774
+ cake_data-&gt;frosting = frosting;
775
+ cake_data-&gt;message = <span class="function"><a href="../glib/glib-String-Utility-Functions.html#g-strdup">g_strdup</a></span> (message);
776
+ task = g_task_new (self, cancellable, callback, user_data);
777
+ g_task_set_task_data (task, cake_data, (<span class="type">GDestroyNotify</span>) cake_data_free);
778
+ g_task_run_in_thread (task, bake_cake_thread);
779
+ }
780
+
781
+ Cake *
782
+ baker_bake_cake_finish (Baker *self,
783
+ <span class="type">GAsyncResult</span> *result,
784
+ <span class="type">GError</span> **error)
785
+ {
786
+ <span class="preproc">g_return_val_if_fail</span> (g_task_is_valid (result, self), <span class="number">NULL</span>);
787
+
788
+ <span class="keyword">return</span> g_task_propagate_pointer (G_TASK (result), error);
789
+ }</pre></td>
790
+ </tr>
791
+ </tbody>
792
+ </table>
793
+ </div>
794
+
795
+ </div>
796
+ <br class="example-break">
797
+ </div>
798
+ <p>
799
+ </p>
800
+ <hr>
801
+ <div class="refsect2">
802
+ <a name="id-1.4.5.4.6.2.5"></a><h3>Adding cancellability to uncancellable tasks</h3>
803
+ <p>
804
+ Finally, <a class="link" href="GTask.html#g-task-run-in-thread" title="g_task_run_in_thread ()"><code class="function">g_task_run_in_thread()</code></a> and <a class="link" href="GTask.html#g-task-run-in-thread-sync" title="g_task_run_in_thread_sync ()"><code class="function">g_task_run_in_thread_sync()</code></a>
805
+ can be used to turn an uncancellable operation into a
806
+ cancellable one. If you call <a class="link" href="GTask.html#g-task-set-return-on-cancel" title="g_task_set_return_on_cancel ()"><code class="function">g_task_set_return_on_cancel()</code></a>,
807
+ passing <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, then if the task's <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> is cancelled,
808
+ it will return control back to the caller immediately, while
809
+ allowing the task thread to continue running in the background
810
+ (and simply discarding its result when it finally does finish).
811
+ Provided that the task thread is careful about how it uses
812
+ locks and other externally-visible resources, this allows you
813
+ to make "GLib-friendly" asynchronous and cancellable
814
+ synchronous variants of blocking APIs.
815
+ </p>
816
+ <div class="example">
817
+ <a name="gtask-cancellable"></a><p class="title"><b>Example 4. <a class="link" href="GTask.html#g-task-set-return-on-cancel" title="g_task_set_return_on_cancel ()"><code class="function">g_task_set_return_on_cancel()</code></a></b></p>
818
+ <div class="example-contents">
819
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
820
+ <tbody>
821
+ <tr>
822
+ <td class="listing_lines" align="right"><pre>1
823
+ 2
824
+ 3
825
+ 4
826
+ 5
827
+ 6
828
+ 7
829
+ 8
830
+ 9
831
+ 10
832
+ 11
833
+ 12
834
+ 13
835
+ 14
836
+ 15
837
+ 16
838
+ 17
839
+ 18
840
+ 19
841
+ 20
842
+ 21
843
+ 22
844
+ 23
845
+ 24
846
+ 25
847
+ 26
848
+ 27
849
+ 28
850
+ 29
851
+ 30
852
+ 31
853
+ 32
854
+ 33
855
+ 34
856
+ 35
857
+ 36
858
+ 37
859
+ 38
860
+ 39
861
+ 40
862
+ 41
863
+ 42
864
+ 43
865
+ 44
866
+ 45
867
+ 46
868
+ 47
869
+ 48
870
+ 49
871
+ 50
872
+ 51
873
+ 52
874
+ 53
875
+ 54
876
+ 55
877
+ 56
878
+ 57
879
+ 58
880
+ 59
881
+ 60
882
+ 61
883
+ 62
884
+ 63
885
+ 64
886
+ 65
887
+ 66
888
+ 67
889
+ 68
890
+ 69
891
+ 70
892
+ 71
893
+ 72
894
+ 73
895
+ 74
896
+ 75
897
+ 76
898
+ 77
899
+ 78
900
+ 79
901
+ 80
902
+ 81
903
+ 82
904
+ 83
905
+ 84
906
+ 85
907
+ 86
908
+ 87
909
+ 88</pre></td>
910
+ <td class="listing_code"><pre class="programlisting"><span class="type">static</span> <span class="type">void</span>
911
+ bake_cake_thread (GTask *task,
912
+ <span class="type">gpointer</span> source_object,
913
+ <span class="type">gpointer</span> task_data,
914
+ <span class="type">GCancellable</span> *cancellable)
915
+ {
916
+ Baker *self = source_object;
917
+ CakeData *cake_data = task_data;
918
+ Cake *cake;
919
+ <span class="type">GError</span> *error = <span class="number">NULL</span>;
920
+
921
+ cake = bake_cake (baker, cake_data-&gt;radius, cake_data-&gt;flavor,
922
+ cake_data-&gt;frosting, cake_data-&gt;message,
923
+ &amp;error);
924
+ <span class="keyword">if</span> (error)
925
+ {
926
+ g_task_return_error (task, error);
927
+ <span class="keyword">return</span>;
928
+ }
929
+
930
+ <span class="comment">/*</span><span class="comment"> If the task has already been cancelled, then we don't</span>
931
+ <span class="comment"> * want to add the cake to the cake cache. Likewise, we don't</span>
932
+ <span class="comment"> * want to have the task get cancelled in the middle of</span>
933
+ <span class="comment"> * updating the cache. g_task_set_return_on_cancel() will</span>
934
+ <span class="comment"> * return %TRUE here if it managed to disable return-on-cancel,</span>
935
+ <span class="comment"> * or %FALSE if the task was cancelled before it could.</span>
936
+ <span class="comment"> </span><span class="comment">*/</span>
937
+ <span class="keyword">if</span> (g_task_set_return_on_cancel (task, <span class="number">FALSE</span>))
938
+ {
939
+ <span class="comment">/*</span><span class="comment"> If the caller cancels at this point, their</span>
940
+ <span class="comment"> * GAsyncReadyCallback won't be invoked until we return,</span>
941
+ <span class="comment"> * so we don't have to worry that this code will run at</span>
942
+ <span class="comment"> * the same time as that code does. But if there were</span>
943
+ <span class="comment"> * other functions that might look at the cake cache,</span>
944
+ <span class="comment"> * then we'd probably need a GMutex here as well.</span>
945
+ <span class="comment"> </span><span class="comment">*/</span>
946
+ baker_add_cake_to_cache (baker, cake);
947
+ g_task_return_pointer (task, cake, <span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span>);
948
+ }
949
+ }
950
+
951
+ <span class="type">void</span>
952
+ baker_bake_cake_async (Baker *self,
953
+ <span class="type">guint</span> radius,
954
+ CakeFlavor flavor,
955
+ CakeFrostingType frosting,
956
+ <span class="type">const</span> <span class="type">char</span> *message,
957
+ <span class="type">GCancellable</span> *cancellable,
958
+ <span class="type">GAsyncReadyCallback</span> callback,
959
+ <span class="type">gpointer</span> user_data)
960
+ {
961
+ CakeData *cake_data;
962
+ GTask *task;
963
+
964
+ cake_data = <span class="preproc">g_slice_new</span> (CakeData);
965
+ <span class="comment">/*</span><span class="comment"> ... </span><span class="comment">*/</span>
966
+
967
+ task = g_task_new (self, cancellable, callback, user_data);
968
+ g_task_set_task_data (task, cake_data, (<span class="type">GDestroyNotify</span>) cake_data_free);
969
+ g_task_set_return_on_cancel (task, <span class="number">TRUE</span>);
970
+ g_task_run_in_thread (task, bake_cake_thread);
971
+ }
972
+
973
+ Cake *
974
+ baker_bake_cake_sync (Baker *self,
975
+ <span class="type">guint</span> radius,
976
+ CakeFlavor flavor,
977
+ CakeFrostingType frosting,
978
+ <span class="type">const</span> <span class="type">char</span> *message,
979
+ <span class="type">GCancellable</span> *cancellable,
980
+ <span class="type">GError</span> **error)
981
+ {
982
+ CakeData *cake_data;
983
+ GTask *task;
984
+ Cake *cake;
985
+
986
+ cake_data = <span class="preproc">g_slice_new</span> (CakeData);
987
+ <span class="comment">/*</span><span class="comment"> ... </span><span class="comment">*/</span>
988
+
989
+ task = g_task_new (self, cancellable, <span class="number">NULL</span>, <span class="number">NULL</span>);
990
+ g_task_set_task_data (task, cake_data, (<span class="type">GDestroyNotify</span>) cake_data_free);
991
+ g_task_set_return_on_cancel (task, <span class="number">TRUE</span>);
992
+ g_task_run_in_thread_sync (task, bake_cake_thread);
993
+
994
+ cake = g_task_propagate_pointer (task, error);
995
+ <span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> (task);
996
+ <span class="keyword">return</span> cake;
997
+ }</pre></td>
998
+ </tr>
999
+ </tbody>
1000
+ </table>
1001
+ </div>
1002
+
1003
+ </div>
1004
+ <br class="example-break">
1005
+ </div>
1006
+ <p>
1007
+ </p>
1008
+ <hr>
1009
+ <div class="refsect2">
1010
+ <a name="id-1.4.5.4.6.2.6"></a><h3>Porting from <code class="literal">GSimpleAsyncResult</code>
1011
+ </h3>
1012
+ <p>
1013
+ <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>'s API attempts to be simpler than <a class="link" href="GSimpleAsyncResult.html" title="GSimpleAsyncResult"><span class="type">GSimpleAsyncResult</span></a>'s
1014
+ in several ways:
1015
+ </p>
1016
+ <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
1017
+ <li class="listitem"><p>
1018
+ You can save task-specific data with <a class="link" href="GTask.html#g-task-set-task-data" title="g_task_set_task_data ()"><code class="function">g_task_set_task_data()</code></a>, and
1019
+ retrieve it later with <a class="link" href="GTask.html#g-task-get-task-data" title="g_task_get_task_data ()"><code class="function">g_task_get_task_data()</code></a>. This replaces the
1020
+ abuse of <a class="link" href="GSimpleAsyncResult.html#g-simple-async-result-set-op-res-gpointer" title="g_simple_async_result_set_op_res_gpointer ()"><code class="function">g_simple_async_result_set_op_res_gpointer()</code></a> for the same
1021
+ purpose with <a class="link" href="GSimpleAsyncResult.html" title="GSimpleAsyncResult"><span class="type">GSimpleAsyncResult</span></a>.
1022
+ </p></li>
1023
+ <li class="listitem"><p>
1024
+ In addition to the task data, <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> also keeps track of the
1025
+ <a class="link" href="GAsyncResult.html#io-priority">priority</a>, <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, and
1026
+ <a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a> associated with the task, so tasks that consist of
1027
+ a chain of simpler asynchronous operations will have easy access
1028
+ to those values when starting each sub-task.
1029
+ </p></li>
1030
+ <li class="listitem"><p>
1031
+ <a class="link" href="GTask.html#g-task-return-error-if-cancelled" title="g_task_return_error_if_cancelled ()"><code class="function">g_task_return_error_if_cancelled()</code></a> provides simplified
1032
+ handling for cancellation. In addition, cancellation
1033
+ overrides any other <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> return value by default, like
1034
+ <a class="link" href="GSimpleAsyncResult.html" title="GSimpleAsyncResult"><span class="type">GSimpleAsyncResult</span></a> does when
1035
+ <a class="link" href="GSimpleAsyncResult.html#g-simple-async-result-set-check-cancellable" title="g_simple_async_result_set_check_cancellable ()"><code class="function">g_simple_async_result_set_check_cancellable()</code></a> is called.
1036
+ (You can use <a class="link" href="GTask.html#g-task-set-check-cancellable" title="g_task_set_check_cancellable ()"><code class="function">g_task_set_check_cancellable()</code></a> to turn off that
1037
+ behavior.) On the other hand, <a class="link" href="GTask.html#g-task-run-in-thread" title="g_task_run_in_thread ()"><code class="function">g_task_run_in_thread()</code></a>
1038
+ guarantees that it will always run your
1039
+ <code class="literal">task_func</code>, even if the task's <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>
1040
+ is already cancelled before the task gets a chance to run;
1041
+ you can start your <code class="literal">task_func</code> with a
1042
+ <a class="link" href="GTask.html#g-task-return-error-if-cancelled" title="g_task_return_error_if_cancelled ()"><code class="function">g_task_return_error_if_cancelled()</code></a> check if you need the
1043
+ old behavior.
1044
+ </p></li>
1045
+ <li class="listitem"><p>
1046
+ The "return" methods (eg, <a class="link" href="GTask.html#g-task-return-pointer" title="g_task_return_pointer ()"><code class="function">g_task_return_pointer()</code></a>)
1047
+ automatically cause the task to be "completed" as well, and
1048
+ there is no need to worry about the "complete" vs "complete
1049
+ in idle" distinction. (<a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> automatically figures out
1050
+ whether the task's callback can be invoked directly, or
1051
+ if it needs to be sent to another <a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a>, or delayed
1052
+ until the next iteration of the current <a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a>.)
1053
+ </p></li>
1054
+ <li class="listitem"><p>
1055
+ The "finish" functions for <span class="type">GTask-based</span> operations are generally
1056
+ much simpler than <a class="link" href="GSimpleAsyncResult.html" title="GSimpleAsyncResult"><span class="type">GSimpleAsyncResult</span></a> ones, normally consisting
1057
+ of only a single call to <a class="link" href="GTask.html#g-task-propagate-pointer" title="g_task_propagate_pointer ()"><code class="function">g_task_propagate_pointer()</code></a> or the like.
1058
+ Since <a class="link" href="GTask.html#g-task-propagate-pointer" title="g_task_propagate_pointer ()"><code class="function">g_task_propagate_pointer()</code></a> "steals" the return value from
1059
+ the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>, it is not necessary to juggle pointers around to
1060
+ prevent it from being freed twice.
1061
+ </p></li>
1062
+ <li class="listitem"><p>
1063
+ With <a class="link" href="GSimpleAsyncResult.html" title="GSimpleAsyncResult"><span class="type">GSimpleAsyncResult</span></a>, it was common to call
1064
+ <a class="link" href="GSimpleAsyncResult.html#g-simple-async-result-propagate-error" title="g_simple_async_result_propagate_error ()"><code class="function">g_simple_async_result_propagate_error()</code></a> from the
1065
+ <code class="literal"><code class="function">_finish()</code></code> wrapper function, and have
1066
+ virtual method implementations only deal with successful
1067
+ returns. This behavior is deprecated, because it makes it
1068
+ difficult for a subclass to chain to a parent class's async
1069
+ methods. Instead, the wrapper function should just be a
1070
+ simple wrapper, and the virtual method should call an
1071
+ appropriate <code class="literal">g_task_propagate_</code> function.
1072
+ Note that wrapper methods can now use
1073
+ <a class="link" href="GAsyncResult.html#g-async-result-legacy-propagate-error" title="g_async_result_legacy_propagate_error ()"><code class="function">g_async_result_legacy_propagate_error()</code></a> to do old-style
1074
+ <a class="link" href="GSimpleAsyncResult.html" title="GSimpleAsyncResult"><span class="type">GSimpleAsyncResult</span></a> error-returning behavior, and
1075
+ <a class="link" href="GAsyncResult.html#g-async-result-is-tagged" title="g_async_result_is_tagged ()"><code class="function">g_async_result_is_tagged()</code></a> to check if a result is tagged as
1076
+ having come from the <code class="literal"><a class="link" href="async.html" title="Asynchronous I/O"><code class="function">_async()</code></a></code> wrapper
1077
+ function (for "short-circuit" results, such as when passing
1078
+ 0 to <a class="link" href="GInputStream.html#g-input-stream-read-async" title="g_input_stream_read_async ()"><code class="function">g_input_stream_read_async()</code></a>).
1079
+ </p></li>
1080
+ </ul></div>
1081
+ </div>
1082
+ <p>
1083
+ </p>
1084
+ </div>
1085
+ <div class="refsect1">
1086
+ <a name="GTask.details"></a><h2>Details</h2>
1087
+ <div class="refsect2">
1088
+ <a name="GTask-struct"></a><h3>GTask</h3>
1089
+ <pre class="programlisting">typedef struct _GTask GTask;</pre>
1090
+ <p>
1091
+ The opaque object representing a synchronous or asynchronous task
1092
+ and its result.
1093
+ </p>
1094
+ </div>
1095
+ <hr>
1096
+ <div class="refsect2">
1097
+ <a name="g-task-new"></a><h3>g_task_new ()</h3>
1098
+ <pre class="programlisting"><a class="link" href="GTask.html" title="GTask"><span class="returnvalue">GTask</span></a> * g_task_new (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source_object</code></em>,
1099
+ <em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
1100
+ <em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
1101
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> callback_data</code></em>);</pre>
1102
+ <p>
1103
+ Creates a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> acting on <em class="parameter"><code>source_object</code></em>, which will eventually be
1104
+ used to invoke <em class="parameter"><code>callback</code></em> in the current <GTKDOCLINK HREF="g-main-context-push-thread-default">thread-default main
1105
+ context</GTKDOCLINK>.
1106
+ </p>
1107
+ <p>
1108
+ Call this in the "start" method of your asynchronous method, and
1109
+ pass the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> around throughout the asynchronous operation. You
1110
+ can use <a class="link" href="GTask.html#g-task-set-task-data" title="g_task_set_task_data ()"><code class="function">g_task_set_task_data()</code></a> to attach task-specific data to the
1111
+ object, which you can retrieve later via <a class="link" href="GTask.html#g-task-get-task-data" title="g_task_get_task_data ()"><code class="function">g_task_get_task_data()</code></a>.
1112
+ </p>
1113
+ <p>
1114
+ By default, if <em class="parameter"><code>cancellable</code></em> is cancelled, then the return value of
1115
+ the task will always be <a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a>, even if the task had
1116
+ already completed before the cancellation. This allows for
1117
+ simplified handling in cases where cancellation may imply that
1118
+ other objects that the task depends on have been destroyed. If you
1119
+ do not want this behavior, you can use
1120
+ <a class="link" href="GTask.html#g-task-set-check-cancellable" title="g_task_set_check_cancellable ()"><code class="function">g_task_set_check_cancellable()</code></a> to change it.
1121
+ </p>
1122
+ <div class="variablelist"><table border="0" class="variablelist">
1123
+ <colgroup>
1124
+ <col align="left" valign="top">
1125
+ <col>
1126
+ </colgroup>
1127
+ <tbody>
1128
+ <tr>
1129
+ <td><p><span class="term"><em class="parameter"><code>source_object</code></em> :</span></p></td>
1130
+ <td>the <a href="../gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> that owns
1131
+ this task, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject]</span>
1132
+ </td>
1133
+ </tr>
1134
+ <tr>
1135
+ <td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
1136
+ <td>optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
1137
+ </td>
1138
+ </tr>
1139
+ <tr>
1140
+ <td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1141
+ <td>a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>. <span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span>
1142
+ </td>
1143
+ </tr>
1144
+ <tr>
1145
+ <td><p><span class="term"><em class="parameter"><code>callback_data</code></em> :</span></p></td>
1146
+ <td>user data passed to <em class="parameter"><code>callback</code></em>. <span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span>
1147
+ </td>
1148
+ </tr>
1149
+ <tr>
1150
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1151
+ <td>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>.</td>
1152
+ </tr>
1153
+ </tbody>
1154
+ </table></div>
1155
+ <p class="since">Since 2.36</p>
1156
+ </div>
1157
+ <hr>
1158
+ <div class="refsect2">
1159
+ <a name="g-task-set-task-data"></a><h3>g_task_set_task_data ()</h3>
1160
+ <pre class="programlisting"><span class="returnvalue">void</span> g_task_set_task_data (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
1161
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> task_data</code></em>,
1162
+ <em class="parameter"><code><a href="../glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> task_data_destroy</code></em>);</pre>
1163
+ <p>
1164
+ Sets <em class="parameter"><code>task</code></em>'s task data (freeing the existing task data, if any).
1165
+ </p>
1166
+ <div class="variablelist"><table border="0" class="variablelist">
1167
+ <colgroup>
1168
+ <col align="left" valign="top">
1169
+ <col>
1170
+ </colgroup>
1171
+ <tbody>
1172
+ <tr>
1173
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
1174
+ <td>the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>
1175
+ </td>
1176
+ </tr>
1177
+ <tr>
1178
+ <td><p><span class="term"><em class="parameter"><code>task_data</code></em> :</span></p></td>
1179
+ <td>task-specific data. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
1180
+ </td>
1181
+ </tr>
1182
+ <tr>
1183
+ <td><p><span class="term"><em class="parameter"><code>task_data_destroy</code></em> :</span></p></td>
1184
+ <td>
1185
+ <a href="../glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> for <em class="parameter"><code>task_data</code></em>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
1186
+ </td>
1187
+ </tr>
1188
+ </tbody>
1189
+ </table></div>
1190
+ <p class="since">Since 2.36</p>
1191
+ </div>
1192
+ <hr>
1193
+ <div class="refsect2">
1194
+ <a name="g-task-set-priority"></a><h3>g_task_set_priority ()</h3>
1195
+ <pre class="programlisting"><span class="returnvalue">void</span> g_task_set_priority (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
1196
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>);</pre>
1197
+ <p>
1198
+ Sets <em class="parameter"><code>task</code></em>'s priority. If you do not call this, it will default to
1199
+ <a href="../glib/glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT:CAPS"><code class="literal">G_PRIORITY_DEFAULT</code></a>.
1200
+ </p>
1201
+ <p>
1202
+ This will affect the priority of <a href="../glib/glib-The-Main-Event-Loop.html#GSource"><span class="type">GSources</span></a> created with
1203
+ <a class="link" href="GTask.html#g-task-attach-source" title="g_task_attach_source ()"><code class="function">g_task_attach_source()</code></a> and the scheduling of tasks run in threads,
1204
+ and can also be explicitly retrieved later via
1205
+ <a class="link" href="GTask.html#g-task-get-priority" title="g_task_get_priority ()"><code class="function">g_task_get_priority()</code></a>.
1206
+ </p>
1207
+ <div class="variablelist"><table border="0" class="variablelist">
1208
+ <colgroup>
1209
+ <col align="left" valign="top">
1210
+ <col>
1211
+ </colgroup>
1212
+ <tbody>
1213
+ <tr>
1214
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
1215
+ <td>the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>
1216
+ </td>
1217
+ </tr>
1218
+ <tr>
1219
+ <td><p><span class="term"><em class="parameter"><code>priority</code></em> :</span></p></td>
1220
+ <td>the <a class="link" href="GAsyncResult.html#io-priority">priority</a>
1221
+ of the request.</td>
1222
+ </tr>
1223
+ </tbody>
1224
+ </table></div>
1225
+ <p class="since">Since 2.36</p>
1226
+ </div>
1227
+ <hr>
1228
+ <div class="refsect2">
1229
+ <a name="g-task-set-check-cancellable"></a><h3>g_task_set_check_cancellable ()</h3>
1230
+ <pre class="programlisting"><span class="returnvalue">void</span> g_task_set_check_cancellable (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
1231
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> check_cancellable</code></em>);</pre>
1232
+ <p>
1233
+ Sets or clears <em class="parameter"><code>task</code></em>'s check-cancellable flag. If this is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
1234
+ (the default), then <a class="link" href="GTask.html#g-task-propagate-pointer" title="g_task_propagate_pointer ()"><code class="function">g_task_propagate_pointer()</code></a>, etc, and
1235
+ <a class="link" href="GTask.html#g-task-had-error" title="g_task_had_error ()"><code class="function">g_task_had_error()</code></a> will check the task's <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> first, and
1236
+ if it has been cancelled, then they will consider the task to have
1237
+ returned an "Operation was cancelled" error
1238
+ (<a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a>), regardless of any other error or return
1239
+ value the task may have had.
1240
+ </p>
1241
+ <p>
1242
+ If <em class="parameter"><code>check_cancellable</code></em> is <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, then the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> will not check the
1243
+ cancellable itself, and it is up to <em class="parameter"><code>task</code></em>'s owner to do this (eg,
1244
+ via <a class="link" href="GTask.html#g-task-return-error-if-cancelled" title="g_task_return_error_if_cancelled ()"><code class="function">g_task_return_error_if_cancelled()</code></a>).
1245
+ </p>
1246
+ <p>
1247
+ If you are using <a class="link" href="GTask.html#g-task-set-return-on-cancel" title="g_task_set_return_on_cancel ()"><code class="function">g_task_set_return_on_cancel()</code></a> as well, then
1248
+ you must leave check-cancellable set <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
1249
+ </p>
1250
+ <div class="variablelist"><table border="0" class="variablelist">
1251
+ <colgroup>
1252
+ <col align="left" valign="top">
1253
+ <col>
1254
+ </colgroup>
1255
+ <tbody>
1256
+ <tr>
1257
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
1258
+ <td>the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>
1259
+ </td>
1260
+ </tr>
1261
+ <tr>
1262
+ <td><p><span class="term"><em class="parameter"><code>check_cancellable</code></em> :</span></p></td>
1263
+ <td>whether <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> will check the state of
1264
+ its <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> for you.</td>
1265
+ </tr>
1266
+ </tbody>
1267
+ </table></div>
1268
+ <p class="since">Since 2.36</p>
1269
+ </div>
1270
+ <hr>
1271
+ <div class="refsect2">
1272
+ <a name="g-task-set-return-on-cancel"></a><h3>g_task_set_return_on_cancel ()</h3>
1273
+ <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_task_set_return_on_cancel (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
1274
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> return_on_cancel</code></em>);</pre>
1275
+ <p>
1276
+ Sets or clears <em class="parameter"><code>task</code></em>'s return-on-cancel flag. This is only
1277
+ meaningful for tasks run via <a class="link" href="GTask.html#g-task-run-in-thread" title="g_task_run_in_thread ()"><code class="function">g_task_run_in_thread()</code></a> or
1278
+ <a class="link" href="GTask.html#g-task-run-in-thread-sync" title="g_task_run_in_thread_sync ()"><code class="function">g_task_run_in_thread_sync()</code></a>.
1279
+ </p>
1280
+ <p>
1281
+ If <em class="parameter"><code>return_on_cancel</code></em> is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, then cancelling <em class="parameter"><code>task</code></em>'s
1282
+ <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> will immediately cause it to return, as though the
1283
+ task's <a class="link" href="GTask.html#GTaskThreadFunc" title="GTaskThreadFunc ()"><span class="type">GTaskThreadFunc</span></a> had called
1284
+ <a class="link" href="GTask.html#g-task-return-error-if-cancelled" title="g_task_return_error_if_cancelled ()"><code class="function">g_task_return_error_if_cancelled()</code></a> and then returned.
1285
+ </p>
1286
+ <p>
1287
+ This allows you to create a cancellable wrapper around an
1288
+ uninterruptable function. The <a class="link" href="GTask.html#GTaskThreadFunc" title="GTaskThreadFunc ()"><span class="type">GTaskThreadFunc</span></a> just needs to be
1289
+ careful that it does not modify any externally-visible state after
1290
+ it has been cancelled. To do that, the thread should call
1291
+ <a class="link" href="GTask.html#g-task-set-return-on-cancel" title="g_task_set_return_on_cancel ()"><code class="function">g_task_set_return_on_cancel()</code></a> again to (atomically) set
1292
+ return-on-cancel <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> before making externally-visible changes;
1293
+ if the task gets cancelled before the return-on-cancel flag could
1294
+ be changed, <a class="link" href="GTask.html#g-task-set-return-on-cancel" title="g_task_set_return_on_cancel ()"><code class="function">g_task_set_return_on_cancel()</code></a> will indicate this by
1295
+ returning <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
1296
+ </p>
1297
+ <p>
1298
+ You can disable and re-enable this flag multiple times if you wish.
1299
+ If the task's <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> is cancelled while return-on-cancel is
1300
+ <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, then calling <a class="link" href="GTask.html#g-task-set-return-on-cancel" title="g_task_set_return_on_cancel ()"><code class="function">g_task_set_return_on_cancel()</code></a> to set it <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
1301
+ again will cause the task to be cancelled at that point.
1302
+ </p>
1303
+ <p>
1304
+ If the task's <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> is already cancelled before you call
1305
+ <a class="link" href="GTask.html#g-task-run-in-thread" title="g_task_run_in_thread ()"><code class="function">g_task_run_in_thread()</code></a>/<a class="link" href="GTask.html#g-task-run-in-thread-sync" title="g_task_run_in_thread_sync ()"><code class="function">g_task_run_in_thread_sync()</code></a>, then the
1306
+ <a class="link" href="GTask.html#GTaskThreadFunc" title="GTaskThreadFunc ()"><span class="type">GTaskThreadFunc</span></a> will still be run (for consistency), but the task
1307
+ will also be completed right away.
1308
+ </p>
1309
+ <div class="variablelist"><table border="0" class="variablelist">
1310
+ <colgroup>
1311
+ <col align="left" valign="top">
1312
+ <col>
1313
+ </colgroup>
1314
+ <tbody>
1315
+ <tr>
1316
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
1317
+ <td>the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>
1318
+ </td>
1319
+ </tr>
1320
+ <tr>
1321
+ <td><p><span class="term"><em class="parameter"><code>return_on_cancel</code></em> :</span></p></td>
1322
+ <td>whether the task returns automatically when
1323
+ it is cancelled.</td>
1324
+ </tr>
1325
+ <tr>
1326
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1327
+ <td>
1328
+ <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>task</code></em>'s return-on-cancel flag was changed to
1329
+ match <em class="parameter"><code>return_on_cancel</code></em>. <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>task</code></em> has already been
1330
+ cancelled.</td>
1331
+ </tr>
1332
+ </tbody>
1333
+ </table></div>
1334
+ <p class="since">Since 2.36</p>
1335
+ </div>
1336
+ <hr>
1337
+ <div class="refsect2">
1338
+ <a name="g-task-set-source-tag"></a><h3>g_task_set_source_tag ()</h3>
1339
+ <pre class="programlisting"><span class="returnvalue">void</span> g_task_set_source_tag (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
1340
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source_tag</code></em>);</pre>
1341
+ <p>
1342
+ Sets <em class="parameter"><code>task</code></em>'s source tag. You can use this to tag a task return
1343
+ value with a particular pointer (usually a pointer to the function
1344
+ doing the tagging) and then later check it using
1345
+ <a class="link" href="GTask.html#g-task-get-source-tag" title="g_task_get_source_tag ()"><code class="function">g_task_get_source_tag()</code></a> (or <a class="link" href="GAsyncResult.html#g-async-result-is-tagged" title="g_async_result_is_tagged ()"><code class="function">g_async_result_is_tagged()</code></a>) in the
1346
+ task's "finish" function, to figure out if the response came from a
1347
+ particular place.
1348
+ </p>
1349
+ <div class="variablelist"><table border="0" class="variablelist">
1350
+ <colgroup>
1351
+ <col align="left" valign="top">
1352
+ <col>
1353
+ </colgroup>
1354
+ <tbody>
1355
+ <tr>
1356
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
1357
+ <td>the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>
1358
+ </td>
1359
+ </tr>
1360
+ <tr>
1361
+ <td><p><span class="term"><em class="parameter"><code>source_tag</code></em> :</span></p></td>
1362
+ <td>an opaque pointer indicating the source of this task</td>
1363
+ </tr>
1364
+ </tbody>
1365
+ </table></div>
1366
+ <p class="since">Since 2.36</p>
1367
+ </div>
1368
+ <hr>
1369
+ <div class="refsect2">
1370
+ <a name="g-task-report-error"></a><h3>g_task_report_error ()</h3>
1371
+ <pre class="programlisting"><span class="returnvalue">void</span> g_task_report_error (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source_object</code></em>,
1372
+ <em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
1373
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> callback_data</code></em>,
1374
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source_tag</code></em>,
1375
+ <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>);</pre>
1376
+ <p>
1377
+ Creates a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> and then immediately calls <a class="link" href="GTask.html#g-task-return-error" title="g_task_return_error ()"><code class="function">g_task_return_error()</code></a>
1378
+ on it. Use this in the wrapper function of an asynchronous method
1379
+ when you want to avoid even calling the virtual method. You can
1380
+ then use <a class="link" href="GAsyncResult.html#g-async-result-is-tagged" title="g_async_result_is_tagged ()"><code class="function">g_async_result_is_tagged()</code></a> in the finish method wrapper to
1381
+ check if the result there is tagged as having been created by the
1382
+ wrapper method, and deal with it appropriately if so.
1383
+ </p>
1384
+ <p>
1385
+ See also <a class="link" href="GTask.html#g-task-report-new-error" title="g_task_report_new_error ()"><code class="function">g_task_report_new_error()</code></a>.
1386
+ </p>
1387
+ <div class="variablelist"><table border="0" class="variablelist">
1388
+ <colgroup>
1389
+ <col align="left" valign="top">
1390
+ <col>
1391
+ </colgroup>
1392
+ <tbody>
1393
+ <tr>
1394
+ <td><p><span class="term"><em class="parameter"><code>source_object</code></em> :</span></p></td>
1395
+ <td>the <a href="../gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> that owns
1396
+ this task, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject]</span>
1397
+ </td>
1398
+ </tr>
1399
+ <tr>
1400
+ <td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1401
+ <td>a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>. <span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span>
1402
+ </td>
1403
+ </tr>
1404
+ <tr>
1405
+ <td><p><span class="term"><em class="parameter"><code>callback_data</code></em> :</span></p></td>
1406
+ <td>user data passed to <em class="parameter"><code>callback</code></em>. <span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span>
1407
+ </td>
1408
+ </tr>
1409
+ <tr>
1410
+ <td><p><span class="term"><em class="parameter"><code>source_tag</code></em> :</span></p></td>
1411
+ <td>an opaque pointer indicating the source of this task</td>
1412
+ </tr>
1413
+ <tr>
1414
+ <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1415
+ <td>error to report. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
1416
+ </td>
1417
+ </tr>
1418
+ </tbody>
1419
+ </table></div>
1420
+ <p class="since">Since 2.36</p>
1421
+ </div>
1422
+ <hr>
1423
+ <div class="refsect2">
1424
+ <a name="g-task-report-new-error"></a><h3>g_task_report_new_error ()</h3>
1425
+ <pre class="programlisting"><span class="returnvalue">void</span> g_task_report_new_error (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source_object</code></em>,
1426
+ <em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
1427
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> callback_data</code></em>,
1428
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source_tag</code></em>,
1429
+ <em class="parameter"><code><a href="../glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> domain</code></em>,
1430
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> code</code></em>,
1431
+ <em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
1432
+ <em class="parameter"><code>...</code></em>);</pre>
1433
+ <p>
1434
+ Creates a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> and then immediately calls
1435
+ <a class="link" href="GTask.html#g-task-return-new-error" title="g_task_return_new_error ()"><code class="function">g_task_return_new_error()</code></a> on it. Use this in the wrapper function
1436
+ of an asynchronous method when you want to avoid even calling the
1437
+ virtual method. You can then use <a class="link" href="GAsyncResult.html#g-async-result-is-tagged" title="g_async_result_is_tagged ()"><code class="function">g_async_result_is_tagged()</code></a> in the
1438
+ finish method wrapper to check if the result there is tagged as
1439
+ having been created by the wrapper method, and deal with it
1440
+ appropriately if so.
1441
+ </p>
1442
+ <p>
1443
+ See also <a class="link" href="GTask.html#g-task-report-error" title="g_task_report_error ()"><code class="function">g_task_report_error()</code></a>.
1444
+ </p>
1445
+ <div class="variablelist"><table border="0" class="variablelist">
1446
+ <colgroup>
1447
+ <col align="left" valign="top">
1448
+ <col>
1449
+ </colgroup>
1450
+ <tbody>
1451
+ <tr>
1452
+ <td><p><span class="term"><em class="parameter"><code>source_object</code></em> :</span></p></td>
1453
+ <td>the <a href="../gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> that owns
1454
+ this task, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject]</span>
1455
+ </td>
1456
+ </tr>
1457
+ <tr>
1458
+ <td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1459
+ <td>a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>. <span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span>
1460
+ </td>
1461
+ </tr>
1462
+ <tr>
1463
+ <td><p><span class="term"><em class="parameter"><code>callback_data</code></em> :</span></p></td>
1464
+ <td>user data passed to <em class="parameter"><code>callback</code></em>. <span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span>
1465
+ </td>
1466
+ </tr>
1467
+ <tr>
1468
+ <td><p><span class="term"><em class="parameter"><code>source_tag</code></em> :</span></p></td>
1469
+ <td>an opaque pointer indicating the source of this task</td>
1470
+ </tr>
1471
+ <tr>
1472
+ <td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
1473
+ <td>a <a href="../glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>.</td>
1474
+ </tr>
1475
+ <tr>
1476
+ <td><p><span class="term"><em class="parameter"><code>code</code></em> :</span></p></td>
1477
+ <td>an error code.</td>
1478
+ </tr>
1479
+ <tr>
1480
+ <td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
1481
+ <td>a string with format characters.</td>
1482
+ </tr>
1483
+ <tr>
1484
+ <td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
1485
+ <td>a list of values to insert into <em class="parameter"><code>format</code></em>.</td>
1486
+ </tr>
1487
+ </tbody>
1488
+ </table></div>
1489
+ <p class="since">Since 2.36</p>
1490
+ </div>
1491
+ <hr>
1492
+ <div class="refsect2">
1493
+ <a name="g-task-get-task-data"></a><h3>g_task_get_task_data ()</h3>
1494
+ <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_task_get_task_data (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>);</pre>
1495
+ <p>
1496
+ Gets <em class="parameter"><code>task</code></em>'s <code class="literal">task_data</code>.
1497
+ </p>
1498
+ <div class="variablelist"><table border="0" class="variablelist">
1499
+ <colgroup>
1500
+ <col align="left" valign="top">
1501
+ <col>
1502
+ </colgroup>
1503
+ <tbody>
1504
+ <tr>
1505
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
1506
+ <td>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>
1507
+ </td>
1508
+ </tr>
1509
+ <tr>
1510
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1511
+ <td>
1512
+ <em class="parameter"><code>task</code></em>'s <code class="literal">task_data</code>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
1513
+ </td>
1514
+ </tr>
1515
+ </tbody>
1516
+ </table></div>
1517
+ <p class="since">Since 2.36</p>
1518
+ </div>
1519
+ <hr>
1520
+ <div class="refsect2">
1521
+ <a name="g-task-get-priority"></a><h3>g_task_get_priority ()</h3>
1522
+ <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> g_task_get_priority (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>);</pre>
1523
+ <p>
1524
+ Gets <em class="parameter"><code>task</code></em>'s priority
1525
+ </p>
1526
+ <div class="variablelist"><table border="0" class="variablelist">
1527
+ <colgroup>
1528
+ <col align="left" valign="top">
1529
+ <col>
1530
+ </colgroup>
1531
+ <tbody>
1532
+ <tr>
1533
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
1534
+ <td>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>
1535
+ </td>
1536
+ </tr>
1537
+ <tr>
1538
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1539
+ <td>
1540
+ <em class="parameter"><code>task</code></em>'s priority</td>
1541
+ </tr>
1542
+ </tbody>
1543
+ </table></div>
1544
+ <p class="since">Since 2.36</p>
1545
+ </div>
1546
+ <hr>
1547
+ <div class="refsect2">
1548
+ <a name="g-task-get-cancellable"></a><h3>g_task_get_cancellable ()</h3>
1549
+ <pre class="programlisting"><a class="link" href="GCancellable.html" title="GCancellable"><span class="returnvalue">GCancellable</span></a> * g_task_get_cancellable (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>);</pre>
1550
+ <p>
1551
+ Gets <em class="parameter"><code>task</code></em>'s <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>
1552
+ </p>
1553
+ <div class="variablelist"><table border="0" class="variablelist">
1554
+ <colgroup>
1555
+ <col align="left" valign="top">
1556
+ <col>
1557
+ </colgroup>
1558
+ <tbody>
1559
+ <tr>
1560
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
1561
+ <td>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>
1562
+ </td>
1563
+ </tr>
1564
+ <tr>
1565
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1566
+ <td>
1567
+ <em class="parameter"><code>task</code></em>'s <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
1568
+ </td>
1569
+ </tr>
1570
+ </tbody>
1571
+ </table></div>
1572
+ <p class="since">Since 2.36</p>
1573
+ </div>
1574
+ <hr>
1575
+ <div class="refsect2">
1576
+ <a name="g-task-get-check-cancellable"></a><h3>g_task_get_check_cancellable ()</h3>
1577
+ <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_task_get_check_cancellable (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>);</pre>
1578
+ <p>
1579
+ Gets <em class="parameter"><code>task</code></em>'s check-cancellable flag. See
1580
+ <a class="link" href="GTask.html#g-task-set-check-cancellable" title="g_task_set_check_cancellable ()"><code class="function">g_task_set_check_cancellable()</code></a> for more details.
1581
+ </p>
1582
+ <div class="variablelist"><table border="0" class="variablelist">
1583
+ <colgroup>
1584
+ <col align="left" valign="top">
1585
+ <col>
1586
+ </colgroup>
1587
+ <tbody><tr>
1588
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
1589
+ <td>the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>
1590
+ </td>
1591
+ </tr></tbody>
1592
+ </table></div>
1593
+ <p class="since">Since 2.36</p>
1594
+ </div>
1595
+ <hr>
1596
+ <div class="refsect2">
1597
+ <a name="g-task-get-return-on-cancel"></a><h3>g_task_get_return_on_cancel ()</h3>
1598
+ <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_task_get_return_on_cancel (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>);</pre>
1599
+ <p>
1600
+ Gets <em class="parameter"><code>task</code></em>'s return-on-cancel flag. See
1601
+ <a class="link" href="GTask.html#g-task-set-return-on-cancel" title="g_task_set_return_on_cancel ()"><code class="function">g_task_set_return_on_cancel()</code></a> for more details.
1602
+ </p>
1603
+ <div class="variablelist"><table border="0" class="variablelist">
1604
+ <colgroup>
1605
+ <col align="left" valign="top">
1606
+ <col>
1607
+ </colgroup>
1608
+ <tbody><tr>
1609
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
1610
+ <td>the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>
1611
+ </td>
1612
+ </tr></tbody>
1613
+ </table></div>
1614
+ <p class="since">Since 2.36</p>
1615
+ </div>
1616
+ <hr>
1617
+ <div class="refsect2">
1618
+ <a name="g-task-get-context"></a><h3>g_task_get_context ()</h3>
1619
+ <pre class="programlisting"><a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="returnvalue">GMainContext</span></a> * g_task_get_context (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>);</pre>
1620
+ <p>
1621
+ Gets the <a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a> that <em class="parameter"><code>task</code></em> will return its result in (that
1622
+ is, the context that was the <GTKDOCLINK HREF="g-main-context-push-thread-default">thread-default main
1623
+ context</GTKDOCLINK> at the point when <em class="parameter"><code>task</code></em> was created).
1624
+ </p>
1625
+ <p>
1626
+ This will always return a non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> value, even if the task's
1627
+ context is the default <a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a>.
1628
+ </p>
1629
+ <div class="variablelist"><table border="0" class="variablelist">
1630
+ <colgroup>
1631
+ <col align="left" valign="top">
1632
+ <col>
1633
+ </colgroup>
1634
+ <tbody>
1635
+ <tr>
1636
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
1637
+ <td>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>
1638
+ </td>
1639
+ </tr>
1640
+ <tr>
1641
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1642
+ <td>
1643
+ <em class="parameter"><code>task</code></em>'s <a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
1644
+ </td>
1645
+ </tr>
1646
+ </tbody>
1647
+ </table></div>
1648
+ <p class="since">Since 2.36</p>
1649
+ </div>
1650
+ <hr>
1651
+ <div class="refsect2">
1652
+ <a name="g-task-get-source-object"></a><h3>g_task_get_source_object ()</h3>
1653
+ <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_task_get_source_object (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>);</pre>
1654
+ <p>
1655
+ Gets the source object from <em class="parameter"><code>task</code></em>. Like
1656
+ <a class="link" href="GAsyncResult.html#g-async-result-get-source-object" title="g_async_result_get_source_object ()"><code class="function">g_async_result_get_source_object()</code></a>, but does not ref the object.
1657
+ </p>
1658
+ <div class="variablelist"><table border="0" class="variablelist">
1659
+ <colgroup>
1660
+ <col align="left" valign="top">
1661
+ <col>
1662
+ </colgroup>
1663
+ <tbody>
1664
+ <tr>
1665
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
1666
+ <td>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>
1667
+ </td>
1668
+ </tr>
1669
+ <tr>
1670
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1671
+ <td>
1672
+ <em class="parameter"><code>task</code></em>'s source object, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject]</span>
1673
+ </td>
1674
+ </tr>
1675
+ </tbody>
1676
+ </table></div>
1677
+ <p class="since">Since 2.36</p>
1678
+ </div>
1679
+ <hr>
1680
+ <div class="refsect2">
1681
+ <a name="g-task-get-source-tag"></a><h3>g_task_get_source_tag ()</h3>
1682
+ <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_task_get_source_tag (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>);</pre>
1683
+ <p>
1684
+ Gets <em class="parameter"><code>task</code></em>'s source tag. See <a class="link" href="GTask.html#g-task-set-source-tag" title="g_task_set_source_tag ()"><code class="function">g_task_set_source_tag()</code></a>.
1685
+ </p>
1686
+ <div class="variablelist"><table border="0" class="variablelist">
1687
+ <colgroup>
1688
+ <col align="left" valign="top">
1689
+ <col>
1690
+ </colgroup>
1691
+ <tbody>
1692
+ <tr>
1693
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
1694
+ <td>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>
1695
+ </td>
1696
+ </tr>
1697
+ <tr>
1698
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1699
+ <td>
1700
+ <em class="parameter"><code>task</code></em>'s source tag. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
1701
+ </td>
1702
+ </tr>
1703
+ </tbody>
1704
+ </table></div>
1705
+ <p class="since">Since 2.36</p>
1706
+ </div>
1707
+ <hr>
1708
+ <div class="refsect2">
1709
+ <a name="g-task-return-boolean"></a><h3>g_task_return_boolean ()</h3>
1710
+ <pre class="programlisting"><span class="returnvalue">void</span> g_task_return_boolean (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
1711
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> result</code></em>);</pre>
1712
+ <p>
1713
+ Sets <em class="parameter"><code>task</code></em>'s result to <em class="parameter"><code>result</code></em> and completes the task (see
1714
+ <a class="link" href="GTask.html#g-task-return-pointer" title="g_task_return_pointer ()"><code class="function">g_task_return_pointer()</code></a> for more discussion of exactly what this
1715
+ means).
1716
+ </p>
1717
+ <div class="variablelist"><table border="0" class="variablelist">
1718
+ <colgroup>
1719
+ <col align="left" valign="top">
1720
+ <col>
1721
+ </colgroup>
1722
+ <tbody>
1723
+ <tr>
1724
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
1725
+ <td>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>.</td>
1726
+ </tr>
1727
+ <tr>
1728
+ <td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
1729
+ <td>the <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> result of a task function.</td>
1730
+ </tr>
1731
+ </tbody>
1732
+ </table></div>
1733
+ <p class="since">Since 2.36</p>
1734
+ </div>
1735
+ <hr>
1736
+ <div class="refsect2">
1737
+ <a name="g-task-return-int"></a><h3>g_task_return_int ()</h3>
1738
+ <pre class="programlisting"><span class="returnvalue">void</span> g_task_return_int (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
1739
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gssize"><span class="type">gssize</span></a> result</code></em>);</pre>
1740
+ <p>
1741
+ Sets <em class="parameter"><code>task</code></em>'s result to <em class="parameter"><code>result</code></em> and completes the task (see
1742
+ <a class="link" href="GTask.html#g-task-return-pointer" title="g_task_return_pointer ()"><code class="function">g_task_return_pointer()</code></a> for more discussion of exactly what this
1743
+ means).
1744
+ </p>
1745
+ <div class="variablelist"><table border="0" class="variablelist">
1746
+ <colgroup>
1747
+ <col align="left" valign="top">
1748
+ <col>
1749
+ </colgroup>
1750
+ <tbody>
1751
+ <tr>
1752
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
1753
+ <td>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>.</td>
1754
+ </tr>
1755
+ <tr>
1756
+ <td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
1757
+ <td>the integer (<a href="../glib/glib-Basic-Types.html#gssize"><span class="type">gssize</span></a>) result of a task function.</td>
1758
+ </tr>
1759
+ </tbody>
1760
+ </table></div>
1761
+ <p class="since">Since 2.36</p>
1762
+ </div>
1763
+ <hr>
1764
+ <div class="refsect2">
1765
+ <a name="g-task-return-pointer"></a><h3>g_task_return_pointer ()</h3>
1766
+ <pre class="programlisting"><span class="returnvalue">void</span> g_task_return_pointer (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
1767
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> result</code></em>,
1768
+ <em class="parameter"><code><a href="../glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> result_destroy</code></em>);</pre>
1769
+ <p>
1770
+ Sets <em class="parameter"><code>task</code></em>'s result to <em class="parameter"><code>result</code></em> and completes the task. If <em class="parameter"><code>result</code></em>
1771
+ is not <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then <em class="parameter"><code>result_destroy</code></em> will be used to free <em class="parameter"><code>result</code></em> if
1772
+ the caller does not take ownership of it with
1773
+ <a class="link" href="GTask.html#g-task-propagate-pointer" title="g_task_propagate_pointer ()"><code class="function">g_task_propagate_pointer()</code></a>.
1774
+ </p>
1775
+ <p>
1776
+ "Completes the task" means that for an ordinary asynchronous task
1777
+ it will either invoke the task's callback, or else queue that
1778
+ callback to be invoked in the proper <a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a>, or in the next
1779
+ iteration of the current <a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a>. For a task run via
1780
+ <a class="link" href="GTask.html#g-task-run-in-thread" title="g_task_run_in_thread ()"><code class="function">g_task_run_in_thread()</code></a> or <a class="link" href="GTask.html#g-task-run-in-thread-sync" title="g_task_run_in_thread_sync ()"><code class="function">g_task_run_in_thread_sync()</code></a>, calling this
1781
+ method will save <em class="parameter"><code>result</code></em> to be returned to the caller later, but
1782
+ the task will not actually be completed until the <a class="link" href="GTask.html#GTaskThreadFunc" title="GTaskThreadFunc ()"><span class="type">GTaskThreadFunc</span></a>
1783
+ exits.
1784
+ </p>
1785
+ <p>
1786
+ Note that since the task may be completed before returning from
1787
+ <a class="link" href="GTask.html#g-task-return-pointer" title="g_task_return_pointer ()"><code class="function">g_task_return_pointer()</code></a>, you cannot assume that <em class="parameter"><code>result</code></em> is still
1788
+ valid after calling this, unless you are still holding another
1789
+ reference on it.
1790
+ </p>
1791
+ <div class="variablelist"><table border="0" class="variablelist">
1792
+ <colgroup>
1793
+ <col align="left" valign="top">
1794
+ <col>
1795
+ </colgroup>
1796
+ <tbody>
1797
+ <tr>
1798
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
1799
+ <td>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>
1800
+ </td>
1801
+ </tr>
1802
+ <tr>
1803
+ <td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
1804
+ <td>the pointer result of a task
1805
+ function. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
1806
+ </td>
1807
+ </tr>
1808
+ <tr>
1809
+ <td><p><span class="term"><em class="parameter"><code>result_destroy</code></em> :</span></p></td>
1810
+ <td>a <a href="../glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> function. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
1811
+ </td>
1812
+ </tr>
1813
+ </tbody>
1814
+ </table></div>
1815
+ <p class="since">Since 2.36</p>
1816
+ </div>
1817
+ <hr>
1818
+ <div class="refsect2">
1819
+ <a name="g-task-return-error"></a><h3>g_task_return_error ()</h3>
1820
+ <pre class="programlisting"><span class="returnvalue">void</span> g_task_return_error (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
1821
+ <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>);</pre>
1822
+ <p>
1823
+ Sets <em class="parameter"><code>task</code></em>'s result to <em class="parameter"><code>error</code></em> (which <em class="parameter"><code>task</code></em> assumes ownership of)
1824
+ and completes the task (see <a class="link" href="GTask.html#g-task-return-pointer" title="g_task_return_pointer ()"><code class="function">g_task_return_pointer()</code></a> for more
1825
+ discussion of exactly what this means).
1826
+ </p>
1827
+ <p>
1828
+ Note that since the task takes ownership of <em class="parameter"><code>error</code></em>, and since the
1829
+ task may be completed before returning from <a class="link" href="GTask.html#g-task-return-error" title="g_task_return_error ()"><code class="function">g_task_return_error()</code></a>,
1830
+ you cannot assume that <em class="parameter"><code>error</code></em> is still valid after calling this.
1831
+ Call <a href="../glib/glib-Error-Reporting.html#g-error-copy"><code class="function">g_error_copy()</code></a> on the error if you need to keep a local copy
1832
+ as well.
1833
+ </p>
1834
+ <p>
1835
+ See also <a class="link" href="GTask.html#g-task-return-new-error" title="g_task_return_new_error ()"><code class="function">g_task_return_new_error()</code></a>.
1836
+ </p>
1837
+ <div class="variablelist"><table border="0" class="variablelist">
1838
+ <colgroup>
1839
+ <col align="left" valign="top">
1840
+ <col>
1841
+ </colgroup>
1842
+ <tbody>
1843
+ <tr>
1844
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
1845
+ <td>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>.</td>
1846
+ </tr>
1847
+ <tr>
1848
+ <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1849
+ <td>the <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> result of a task function. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
1850
+ </td>
1851
+ </tr>
1852
+ </tbody>
1853
+ </table></div>
1854
+ <p class="since">Since 2.36</p>
1855
+ </div>
1856
+ <hr>
1857
+ <div class="refsect2">
1858
+ <a name="g-task-return-new-error"></a><h3>g_task_return_new_error ()</h3>
1859
+ <pre class="programlisting"><span class="returnvalue">void</span> g_task_return_new_error (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
1860
+ <em class="parameter"><code><a href="../glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> domain</code></em>,
1861
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> code</code></em>,
1862
+ <em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
1863
+ <em class="parameter"><code>...</code></em>);</pre>
1864
+ <p>
1865
+ Sets <em class="parameter"><code>task</code></em>'s result to a new <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> created from <em class="parameter"><code>domain</code></em>, <em class="parameter"><code>code</code></em>,
1866
+ <em class="parameter"><code>format</code></em>, and the remaining arguments, and completes the task (see
1867
+ <a class="link" href="GTask.html#g-task-return-pointer" title="g_task_return_pointer ()"><code class="function">g_task_return_pointer()</code></a> for more discussion of exactly what this
1868
+ means).
1869
+ </p>
1870
+ <p>
1871
+ See also <a class="link" href="GTask.html#g-task-return-error" title="g_task_return_error ()"><code class="function">g_task_return_error()</code></a>.
1872
+ </p>
1873
+ <div class="variablelist"><table border="0" class="variablelist">
1874
+ <colgroup>
1875
+ <col align="left" valign="top">
1876
+ <col>
1877
+ </colgroup>
1878
+ <tbody>
1879
+ <tr>
1880
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
1881
+ <td>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>.</td>
1882
+ </tr>
1883
+ <tr>
1884
+ <td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
1885
+ <td>a <a href="../glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>.</td>
1886
+ </tr>
1887
+ <tr>
1888
+ <td><p><span class="term"><em class="parameter"><code>code</code></em> :</span></p></td>
1889
+ <td>an error code.</td>
1890
+ </tr>
1891
+ <tr>
1892
+ <td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
1893
+ <td>a string with format characters.</td>
1894
+ </tr>
1895
+ <tr>
1896
+ <td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
1897
+ <td>a list of values to insert into <em class="parameter"><code>format</code></em>.</td>
1898
+ </tr>
1899
+ </tbody>
1900
+ </table></div>
1901
+ <p class="since">Since 2.36</p>
1902
+ </div>
1903
+ <hr>
1904
+ <div class="refsect2">
1905
+ <a name="g-task-return-error-if-cancelled"></a><h3>g_task_return_error_if_cancelled ()</h3>
1906
+ <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_task_return_error_if_cancelled (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>);</pre>
1907
+ <p>
1908
+ Checks if <em class="parameter"><code>task</code></em>'s <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> has been cancelled, and if so, sets
1909
+ <em class="parameter"><code>task</code></em>'s error accordingly and completes the task (see
1910
+ <a class="link" href="GTask.html#g-task-return-pointer" title="g_task_return_pointer ()"><code class="function">g_task_return_pointer()</code></a> for more discussion of exactly what this
1911
+ means).
1912
+ </p>
1913
+ <div class="variablelist"><table border="0" class="variablelist">
1914
+ <colgroup>
1915
+ <col align="left" valign="top">
1916
+ <col>
1917
+ </colgroup>
1918
+ <tbody>
1919
+ <tr>
1920
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
1921
+ <td>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>
1922
+ </td>
1923
+ </tr>
1924
+ <tr>
1925
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1926
+ <td>
1927
+ <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>task</code></em> has been cancelled, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if not</td>
1928
+ </tr>
1929
+ </tbody>
1930
+ </table></div>
1931
+ <p class="since">Since 2.36</p>
1932
+ </div>
1933
+ <hr>
1934
+ <div class="refsect2">
1935
+ <a name="g-task-propagate-boolean"></a><h3>g_task_propagate_boolean ()</h3>
1936
+ <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_task_propagate_boolean (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
1937
+ <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
1938
+ <p>
1939
+ Gets the result of <em class="parameter"><code>task</code></em> as a <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>.
1940
+ </p>
1941
+ <p>
1942
+ If the task resulted in an error, or was cancelled, then this will
1943
+ instead return <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> and set <em class="parameter"><code>error</code></em>.
1944
+ </p>
1945
+ <p>
1946
+ Since this method transfers ownership of the return value (or
1947
+ error) to the caller, you may only call it once.
1948
+ </p>
1949
+ <div class="variablelist"><table border="0" class="variablelist">
1950
+ <colgroup>
1951
+ <col align="left" valign="top">
1952
+ <col>
1953
+ </colgroup>
1954
+ <tbody>
1955
+ <tr>
1956
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
1957
+ <td>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>.</td>
1958
+ </tr>
1959
+ <tr>
1960
+ <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1961
+ <td>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>
1962
+ </td>
1963
+ </tr>
1964
+ <tr>
1965
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1966
+ <td>the task result, or <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error</td>
1967
+ </tr>
1968
+ </tbody>
1969
+ </table></div>
1970
+ <p class="since">Since 2.36</p>
1971
+ </div>
1972
+ <hr>
1973
+ <div class="refsect2">
1974
+ <a name="g-task-propagate-int"></a><h3>g_task_propagate_int ()</h3>
1975
+ <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> g_task_propagate_int (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
1976
+ <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
1977
+ <p>
1978
+ Gets the result of <em class="parameter"><code>task</code></em> as an integer (<a href="../glib/glib-Basic-Types.html#gssize"><span class="type">gssize</span></a>).
1979
+ </p>
1980
+ <p>
1981
+ If the task resulted in an error, or was cancelled, then this will
1982
+ instead return -1 and set <em class="parameter"><code>error</code></em>.
1983
+ </p>
1984
+ <p>
1985
+ Since this method transfers ownership of the return value (or
1986
+ error) to the caller, you may only call it once.
1987
+ </p>
1988
+ <div class="variablelist"><table border="0" class="variablelist">
1989
+ <colgroup>
1990
+ <col align="left" valign="top">
1991
+ <col>
1992
+ </colgroup>
1993
+ <tbody>
1994
+ <tr>
1995
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
1996
+ <td>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>.</td>
1997
+ </tr>
1998
+ <tr>
1999
+ <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
2000
+ <td>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>
2001
+ </td>
2002
+ </tr>
2003
+ <tr>
2004
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2005
+ <td>the task result, or -1 on error</td>
2006
+ </tr>
2007
+ </tbody>
2008
+ </table></div>
2009
+ <p class="since">Since 2.36</p>
2010
+ </div>
2011
+ <hr>
2012
+ <div class="refsect2">
2013
+ <a name="g-task-propagate-pointer"></a><h3>g_task_propagate_pointer ()</h3>
2014
+ <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_task_propagate_pointer (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
2015
+ <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
2016
+ <p>
2017
+ Gets the result of <em class="parameter"><code>task</code></em> as a pointer, and transfers ownership
2018
+ of that value to the caller.
2019
+ </p>
2020
+ <p>
2021
+ If the task resulted in an error, or was cancelled, then this will
2022
+ instead return <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> and set <em class="parameter"><code>error</code></em>.
2023
+ </p>
2024
+ <p>
2025
+ Since this method transfers ownership of the return value (or
2026
+ error) to the caller, you may only call it once.
2027
+ </p>
2028
+ <div class="variablelist"><table border="0" class="variablelist">
2029
+ <colgroup>
2030
+ <col align="left" valign="top">
2031
+ <col>
2032
+ </colgroup>
2033
+ <tbody>
2034
+ <tr>
2035
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
2036
+ <td>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>
2037
+ </td>
2038
+ </tr>
2039
+ <tr>
2040
+ <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
2041
+ <td>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>
2042
+ </td>
2043
+ </tr>
2044
+ <tr>
2045
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2046
+ <td>the task result, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
2047
+ </td>
2048
+ </tr>
2049
+ </tbody>
2050
+ </table></div>
2051
+ <p class="since">Since 2.36</p>
2052
+ </div>
2053
+ <hr>
2054
+ <div class="refsect2">
2055
+ <a name="g-task-had-error"></a><h3>g_task_had_error ()</h3>
2056
+ <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_task_had_error (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>);</pre>
2057
+ <p>
2058
+ Tests if <em class="parameter"><code>task</code></em> resulted in an error.
2059
+ </p>
2060
+ <div class="variablelist"><table border="0" class="variablelist">
2061
+ <colgroup>
2062
+ <col align="left" valign="top">
2063
+ <col>
2064
+ </colgroup>
2065
+ <tbody>
2066
+ <tr>
2067
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
2068
+ <td>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>.</td>
2069
+ </tr>
2070
+ <tr>
2071
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2072
+ <td>
2073
+ <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the task resulted in an error, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
2074
+ </tr>
2075
+ </tbody>
2076
+ </table></div>
2077
+ <p class="since">Since 2.36</p>
2078
+ </div>
2079
+ <hr>
2080
+ <div class="refsect2">
2081
+ <a name="g-task-run-in-thread"></a><h3>g_task_run_in_thread ()</h3>
2082
+ <pre class="programlisting"><span class="returnvalue">void</span> g_task_run_in_thread (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
2083
+ <em class="parameter"><code><a class="link" href="GTask.html#GTaskThreadFunc" title="GTaskThreadFunc ()"><span class="type">GTaskThreadFunc</span></a> task_func</code></em>);</pre>
2084
+ <p>
2085
+ Runs <em class="parameter"><code>task_func</code></em> in another thread. When <em class="parameter"><code>task_func</code></em> returns, <em class="parameter"><code>task</code></em>'s
2086
+ <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> will be invoked in <em class="parameter"><code>task</code></em>'s <a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a>.
2087
+ </p>
2088
+ <p>
2089
+ This takes a ref on <em class="parameter"><code>task</code></em> until the task completes.
2090
+ </p>
2091
+ <p>
2092
+ See <a class="link" href="GTask.html#GTaskThreadFunc" title="GTaskThreadFunc ()"><span class="type">GTaskThreadFunc</span></a> for more details about how <em class="parameter"><code>task_func</code></em> is handled.
2093
+ </p>
2094
+ <div class="variablelist"><table border="0" class="variablelist">
2095
+ <colgroup>
2096
+ <col align="left" valign="top">
2097
+ <col>
2098
+ </colgroup>
2099
+ <tbody>
2100
+ <tr>
2101
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
2102
+ <td>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>
2103
+ </td>
2104
+ </tr>
2105
+ <tr>
2106
+ <td><p><span class="term"><em class="parameter"><code>task_func</code></em> :</span></p></td>
2107
+ <td>a <a class="link" href="GTask.html#GTaskThreadFunc" title="GTaskThreadFunc ()"><span class="type">GTaskThreadFunc</span></a>
2108
+ </td>
2109
+ </tr>
2110
+ </tbody>
2111
+ </table></div>
2112
+ <p class="since">Since 2.36</p>
2113
+ </div>
2114
+ <hr>
2115
+ <div class="refsect2">
2116
+ <a name="g-task-run-in-thread-sync"></a><h3>g_task_run_in_thread_sync ()</h3>
2117
+ <pre class="programlisting"><span class="returnvalue">void</span> g_task_run_in_thread_sync (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
2118
+ <em class="parameter"><code><a class="link" href="GTask.html#GTaskThreadFunc" title="GTaskThreadFunc ()"><span class="type">GTaskThreadFunc</span></a> task_func</code></em>);</pre>
2119
+ <p>
2120
+ Runs <em class="parameter"><code>task_func</code></em> in another thread, and waits for it to return or be
2121
+ cancelled. You can use <a class="link" href="GTask.html#g-task-propagate-pointer" title="g_task_propagate_pointer ()"><code class="function">g_task_propagate_pointer()</code></a>, etc, afterward
2122
+ to get the result of <em class="parameter"><code>task_func</code></em>.
2123
+ </p>
2124
+ <p>
2125
+ See <a class="link" href="GTask.html#GTaskThreadFunc" title="GTaskThreadFunc ()"><span class="type">GTaskThreadFunc</span></a> for more details about how <em class="parameter"><code>task_func</code></em> is handled.
2126
+ </p>
2127
+ <p>
2128
+ Normally this is used with tasks created with a <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
2129
+ <code class="literal">callback</code>, but note that even if the task does
2130
+ have a callback, it will not be invoked when <em class="parameter"><code>task_func</code></em> returns.
2131
+ </p>
2132
+ <div class="variablelist"><table border="0" class="variablelist">
2133
+ <colgroup>
2134
+ <col align="left" valign="top">
2135
+ <col>
2136
+ </colgroup>
2137
+ <tbody>
2138
+ <tr>
2139
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
2140
+ <td>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>
2141
+ </td>
2142
+ </tr>
2143
+ <tr>
2144
+ <td><p><span class="term"><em class="parameter"><code>task_func</code></em> :</span></p></td>
2145
+ <td>a <a class="link" href="GTask.html#GTaskThreadFunc" title="GTaskThreadFunc ()"><span class="type">GTaskThreadFunc</span></a>
2146
+ </td>
2147
+ </tr>
2148
+ </tbody>
2149
+ </table></div>
2150
+ <p class="since">Since 2.36</p>
2151
+ </div>
2152
+ <hr>
2153
+ <div class="refsect2">
2154
+ <a name="GTaskThreadFunc"></a><h3>GTaskThreadFunc ()</h3>
2155
+ <pre class="programlisting"><span class="returnvalue">void</span> (*GTaskThreadFunc) (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
2156
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source_object</code></em>,
2157
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> task_data</code></em>,
2158
+ <em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>);</pre>
2159
+ <p>
2160
+ The prototype for a task function to be run in a thread via
2161
+ <a class="link" href="GTask.html#g-task-run-in-thread" title="g_task_run_in_thread ()"><code class="function">g_task_run_in_thread()</code></a> or <a class="link" href="GTask.html#g-task-run-in-thread-sync" title="g_task_run_in_thread_sync ()"><code class="function">g_task_run_in_thread_sync()</code></a>.
2162
+ </p>
2163
+ <p>
2164
+ If the return-on-cancel flag is set on <em class="parameter"><code>task</code></em>, and <em class="parameter"><code>cancellable</code></em> gets
2165
+ cancelled, then the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> will be completed immediately (as though
2166
+ <a class="link" href="GTask.html#g-task-return-error-if-cancelled" title="g_task_return_error_if_cancelled ()"><code class="function">g_task_return_error_if_cancelled()</code></a> had been called), without
2167
+ waiting for the task function to complete. However, the task
2168
+ function will continue running in its thread in the background. The
2169
+ function therefore needs to be careful about how it uses
2170
+ externally-visible state in this case. See
2171
+ <a class="link" href="GTask.html#g-task-set-return-on-cancel" title="g_task_set_return_on_cancel ()"><code class="function">g_task_set_return_on_cancel()</code></a> for more details.
2172
+ </p>
2173
+ <p>
2174
+ Other than in that case, <em class="parameter"><code>task</code></em> will be completed when the
2175
+ <a class="link" href="GTask.html#GTaskThreadFunc" title="GTaskThreadFunc ()"><span class="type">GTaskThreadFunc</span></a> returns, <span class="emphasis"><em>not</em></span> when it calls
2176
+ a <code class="literal">g_task_return_</code> function.
2177
+ </p>
2178
+ <div class="variablelist"><table border="0" class="variablelist">
2179
+ <colgroup>
2180
+ <col align="left" valign="top">
2181
+ <col>
2182
+ </colgroup>
2183
+ <tbody>
2184
+ <tr>
2185
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
2186
+ <td>the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>
2187
+ </td>
2188
+ </tr>
2189
+ <tr>
2190
+ <td><p><span class="term"><em class="parameter"><code>source_object</code></em> :</span></p></td>
2191
+ <td>
2192
+ <em class="parameter"><code>task</code></em>'s source object. <span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject]</span>
2193
+ </td>
2194
+ </tr>
2195
+ <tr>
2196
+ <td><p><span class="term"><em class="parameter"><code>task_data</code></em> :</span></p></td>
2197
+ <td>
2198
+ <em class="parameter"><code>task</code></em>'s task data</td>
2199
+ </tr>
2200
+ <tr>
2201
+ <td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
2202
+ <td>
2203
+ <em class="parameter"><code>task</code></em>'s <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
2204
+ </td>
2205
+ </tr>
2206
+ </tbody>
2207
+ </table></div>
2208
+ <p class="since">Since 2.36</p>
2209
+ </div>
2210
+ <hr>
2211
+ <div class="refsect2">
2212
+ <a name="g-task-attach-source"></a><h3>g_task_attach_source ()</h3>
2213
+ <pre class="programlisting"><span class="returnvalue">void</span> g_task_attach_source (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
2214
+ <em class="parameter"><code><a href="../glib/glib-The-Main-Event-Loop.html#GSource"><span class="type">GSource</span></a> *source</code></em>,
2215
+ <em class="parameter"><code><a href="../glib/glib-The-Main-Event-Loop.html#GSourceFunc"><span class="type">GSourceFunc</span></a> callback</code></em>);</pre>
2216
+ <p>
2217
+ A utility function for dealing with async operations where you need
2218
+ to wait for a <a href="../glib/glib-The-Main-Event-Loop.html#GSource"><span class="type">GSource</span></a> to trigger. Attaches <em class="parameter"><code>source</code></em> to <em class="parameter"><code>task</code></em>'s
2219
+ <a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a> with <em class="parameter"><code>task</code></em>'s <a class="link" href="GAsyncResult.html#io-priority">priority</a>, and sets <em class="parameter"><code>source</code></em>'s callback
2220
+ to <em class="parameter"><code>callback</code></em>, with <em class="parameter"><code>task</code></em> as the callback's
2221
+ <code class="literal">user_data</code>.
2222
+ </p>
2223
+ <p>
2224
+ This takes a reference on <em class="parameter"><code>task</code></em> until <em class="parameter"><code>source</code></em> is destroyed.
2225
+ </p>
2226
+ <div class="variablelist"><table border="0" class="variablelist">
2227
+ <colgroup>
2228
+ <col align="left" valign="top">
2229
+ <col>
2230
+ </colgroup>
2231
+ <tbody>
2232
+ <tr>
2233
+ <td><p><span class="term"><em class="parameter"><code>task</code></em> :</span></p></td>
2234
+ <td>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>
2235
+ </td>
2236
+ </tr>
2237
+ <tr>
2238
+ <td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
2239
+ <td>the source to attach</td>
2240
+ </tr>
2241
+ <tr>
2242
+ <td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
2243
+ <td>the callback to invoke when <em class="parameter"><code>source</code></em> triggers</td>
2244
+ </tr>
2245
+ </tbody>
2246
+ </table></div>
2247
+ <p class="since">Since 2.36</p>
2248
+ </div>
2249
+ <hr>
2250
+ <div class="refsect2">
2251
+ <a name="g-task-is-valid"></a><h3>g_task_is_valid ()</h3>
2252
+ <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_task_is_valid (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> result</code></em>,
2253
+ <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source_object</code></em>);</pre>
2254
+ <p>
2255
+ Checks that <em class="parameter"><code>result</code></em> is a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>, and that <em class="parameter"><code>source_object</code></em> is its
2256
+ source object (or that <em class="parameter"><code>source_object</code></em> is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> and <em class="parameter"><code>result</code></em> has no
2257
+ source object). This can be used in <a href="../glib/glib-Warnings-and-Assertions.html#g-return-if-fail"><code class="function">g_return_if_fail()</code></a> checks.
2258
+ </p>
2259
+ <div class="variablelist"><table border="0" class="variablelist">
2260
+ <colgroup>
2261
+ <col align="left" valign="top">
2262
+ <col>
2263
+ </colgroup>
2264
+ <tbody>
2265
+ <tr>
2266
+ <td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
2267
+ <td>A <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>. <span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gio.AsyncResult]</span>
2268
+ </td>
2269
+ </tr>
2270
+ <tr>
2271
+ <td><p><span class="term"><em class="parameter"><code>source_object</code></em> :</span></p></td>
2272
+ <td>the source object
2273
+ expected to be associated with the task. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject]</span>
2274
+ </td>
2275
+ </tr>
2276
+ <tr>
2277
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2278
+ <td>
2279
+ <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>result</code></em> and <em class="parameter"><code>source_object</code></em> are valid, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
2280
+ if not</td>
2281
+ </tr>
2282
+ </tbody>
2283
+ </table></div>
2284
+ <p class="since">Since 2.36</p>
2285
+ </div>
2286
+ </div>
2287
+ <div class="refsect1">
2288
+ <a name="GTask.see-also"></a><h2>See Also</h2>
2289
+ <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>
2290
+ </div>
2291
+ </div>
2292
+ <div class="footer">
2293
+ <hr>
2294
+ Generated by GTK-Doc V1.18.1</div>
2295
+ </body>
2296
+ </html>