glib2 2.2.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README +40 -0
- data/Rakefile +157 -0
- data/ext/glib2/depend +18 -0
- data/ext/glib2/extconf.rb +80 -0
- data/ext/glib2/glib2.def +147 -0
- data/ext/glib2/rbgcompat.h +29 -0
- data/ext/glib2/rbglib.c +1158 -0
- data/ext/glib2/rbglib.h +202 -0
- data/ext/glib2/rbglib2conversions.h +57 -0
- data/ext/glib2/rbglib_bookmarkfile.c +546 -0
- data/ext/glib2/rbglib_convert.c +197 -0
- data/ext/glib2/rbglib_error.c +164 -0
- data/ext/glib2/rbglib_fileutils.c +119 -0
- data/ext/glib2/rbglib_gettext.c +48 -0
- data/ext/glib2/rbglib_i18n.c +40 -0
- data/ext/glib2/rbglib_int64.c +165 -0
- data/ext/glib2/rbglib_io_constants.c +30 -0
- data/ext/glib2/rbglib_iochannel.c +824 -0
- data/ext/glib2/rbglib_iochannel_win32_socket.c +56 -0
- data/ext/glib2/rbglib_iochannelerror.c +49 -0
- data/ext/glib2/rbglib_keyfile.c +755 -0
- data/ext/glib2/rbglib_maincontext.c +565 -0
- data/ext/glib2/rbglib_mainloop.c +121 -0
- data/ext/glib2/rbglib_messages.c +148 -0
- data/ext/glib2/rbglib_pollfd.c +112 -0
- data/ext/glib2/rbglib_shell.c +64 -0
- data/ext/glib2/rbglib_shellerror.c +34 -0
- data/ext/glib2/rbglib_source.c +242 -0
- data/ext/glib2/rbglib_spawn.c +245 -0
- data/ext/glib2/rbglib_spawnerror.c +53 -0
- data/ext/glib2/rbglib_threads.c +61 -0
- data/ext/glib2/rbglib_timer.c +127 -0
- data/ext/glib2/rbglib_ucs4.c +79 -0
- data/ext/glib2/rbglib_unichar.c +201 -0
- data/ext/glib2/rbglib_unicode.c +90 -0
- data/ext/glib2/rbglib_utf16.c +78 -0
- data/ext/glib2/rbglib_utf8.c +257 -0
- data/ext/glib2/rbglib_utils.c +339 -0
- data/ext/glib2/rbglib_win32.c +112 -0
- data/ext/glib2/rbglibdeprecated.c +56 -0
- data/ext/glib2/rbglibdeprecated.h +34 -0
- data/ext/glib2/rbgobj_boxed.c +295 -0
- data/ext/glib2/rbgobj_closure.c +345 -0
- data/ext/glib2/rbgobj_convert.c +195 -0
- data/ext/glib2/rbgobj_enumflags.c +109 -0
- data/ext/glib2/rbgobj_enums.c +401 -0
- data/ext/glib2/rbgobj_flags.c +522 -0
- data/ext/glib2/rbgobj_object.c +885 -0
- data/ext/glib2/rbgobj_param.c +378 -0
- data/ext/glib2/rbgobj_paramspecs.c +311 -0
- data/ext/glib2/rbgobj_signal.c +978 -0
- data/ext/glib2/rbgobj_strv.c +44 -0
- data/ext/glib2/rbgobj_type.c +846 -0
- data/ext/glib2/rbgobj_typeinstance.c +128 -0
- data/ext/glib2/rbgobj_typeinterface.c +149 -0
- data/ext/glib2/rbgobj_typemodule.c +72 -0
- data/ext/glib2/rbgobj_typeplugin.c +57 -0
- data/ext/glib2/rbgobj_value.c +395 -0
- data/ext/glib2/rbgobj_valuearray.c +100 -0
- data/ext/glib2/rbgobj_valuetypes.c +243 -0
- data/ext/glib2/rbgobject.c +387 -0
- data/ext/glib2/rbgobject.h +301 -0
- data/ext/glib2/rbgprivate.h +178 -0
- data/ext/glib2/rbgutil.c +183 -0
- data/ext/glib2/rbgutil.h +119 -0
- data/ext/glib2/rbgutil_callback.c +272 -0
- data/ext/glib2/rbgutil_list.c +173 -0
- data/ext/glib2/rbgutil_list.h +85 -0
- data/ext/glib2/rbgutildeprecated.c +252 -0
- data/ext/glib2/rbgutildeprecated.h +63 -0
- data/extconf.rb +49 -0
- data/lib/2.0/glib2.so +0 -0
- data/lib/2.1/glib2.so +0 -0
- data/lib/2.2/glib2.so +0 -0
- data/lib/glib-mkenums.rb +214 -0
- data/lib/glib2.rb +231 -0
- data/lib/glib2/deprecatable.rb +153 -0
- data/lib/gnome2-raketask.rb +8 -0
- data/lib/gnome2/rake/external-package.rb +227 -0
- data/lib/gnome2/rake/native-binary-build-task.rb +129 -0
- data/lib/gnome2/rake/package-task.rb +273 -0
- data/lib/gnome2/rake/package.rb +152 -0
- data/lib/gnome2/rake/source-download-task.rb +82 -0
- data/lib/gnome2/rake/windows-binary-build-task.rb +303 -0
- data/lib/gnome2/rake/windows-binary-download-task.rb +181 -0
- data/lib/mkmf-gnome2.rb +637 -0
- data/sample/bookmarkfile.rb +66 -0
- data/sample/idle.rb +41 -0
- data/sample/iochannel.rb +44 -0
- data/sample/keyfile.rb +62 -0
- data/sample/shell.rb +36 -0
- data/sample/spawn.rb +25 -0
- data/sample/timeout.rb +28 -0
- data/sample/timeout2.rb +35 -0
- data/sample/timer.rb +40 -0
- data/sample/type-register.rb +103 -0
- data/sample/type-register2.rb +104 -0
- data/sample/utils.rb +54 -0
- data/test/glib-test-init.rb +5 -0
- data/test/glib-test-utils.rb +12 -0
- data/test/run-test.rb +21 -0
- data/test/test_enum.rb +99 -0
- data/test/test_file_utils.rb +53 -0
- data/test/test_flags.rb +129 -0
- data/test/test_glib2.rb +122 -0
- data/test/test_iochannel.rb +275 -0
- data/test/test_key_file.rb +42 -0
- data/test/test_mkenums.rb +25 -0
- data/test/test_poll_fd.rb +26 -0
- data/test/test_signal.rb +20 -0
- data/test/test_source.rb +63 -0
- data/test/test_spawn.rb +33 -0
- data/test/test_timeout.rb +28 -0
- data/test/test_unicode.rb +394 -0
- data/test/test_utils.rb +37 -0
- data/test/test_value.rb +31 -0
- data/test/test_win32.rb +13 -0
- data/vendor/local/bin/certtool.exe +0 -0
- data/vendor/local/bin/danetool.exe +0 -0
- data/vendor/local/bin/envsubst.exe +0 -0
- data/vendor/local/bin/gdbus-codegen +39 -0
- data/vendor/local/bin/gdbus.exe +0 -0
- data/vendor/local/bin/gettext.exe +0 -0
- data/vendor/local/bin/gettext.sh +121 -0
- data/vendor/local/bin/gio-querymodules.exe +0 -0
- data/vendor/local/bin/glib-compile-resources.exe +0 -0
- data/vendor/local/bin/glib-compile-schemas.exe +0 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +187 -0
- data/vendor/local/bin/glib-mkenums +565 -0
- data/vendor/local/bin/gnutls-cli-debug.exe +0 -0
- data/vendor/local/bin/gnutls-cli.exe +0 -0
- data/vendor/local/bin/gnutls-serv.exe +0 -0
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gresource.exe +0 -0
- data/vendor/local/bin/gsettings.exe +0 -0
- data/vendor/local/bin/gspawn-win64-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win64-helper.exe +0 -0
- data/vendor/local/bin/iconv.exe +0 -0
- data/vendor/local/bin/libasprintf-0.dll +0 -0
- data/vendor/local/bin/libcharset-1.dll +0 -0
- data/vendor/local/bin/libffi-6.dll +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmp-10.dll +0 -0
- data/vendor/local/bin/libgnutls-28.def +861 -0
- data/vendor/local/bin/libgnutls-28.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-27.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-28.def +228 -0
- data/vendor/local/bin/libgnutls-xssl-0.dll +0 -0
- data/vendor/local/bin/libgnutls-xssl-28.def +13 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/bin/libhogweed-2-5.dll +0 -0
- data/vendor/local/bin/libiconv-2.dll +0 -0
- data/vendor/local/bin/libintl-8.dll +0 -0
- data/vendor/local/bin/libnettle-4-7.dll +0 -0
- data/vendor/local/bin/nettle-hash.exe +0 -0
- data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
- data/vendor/local/bin/ngettext.exe +0 -0
- data/vendor/local/bin/ocsptool.exe +0 -0
- data/vendor/local/bin/pkcs1-conv.exe +0 -0
- data/vendor/local/bin/psktool.exe +0 -0
- data/vendor/local/bin/sexp-conv.exe +0 -0
- data/vendor/local/bin/srptool.exe +0 -0
- data/vendor/local/include/autosprintf.h +67 -0
- data/vendor/local/include/gio-win32-2.0/gio/gwin32inputstream.h +82 -0
- data/vendor/local/include/gio-win32-2.0/gio/gwin32outputstream.h +81 -0
- data/vendor/local/include/glib-2.0/gio/gaction.h +98 -0
- data/vendor/local/include/glib-2.0/gio/gactiongroup.h +161 -0
- data/vendor/local/include/glib-2.0/gio/gactiongroupexporter.h +45 -0
- data/vendor/local/include/glib-2.0/gio/gactionmap.h +95 -0
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +313 -0
- data/vendor/local/include/glib-2.0/gio/gapplication.h +236 -0
- data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +122 -0
- data/vendor/local/include/glib-2.0/gio/gasyncinitable.h +124 -0
- data/vendor/local/include/glib-2.0/gio/gasyncresult.h +85 -0
- data/vendor/local/include/glib-2.0/gio/gbufferedinputstream.h +133 -0
- data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +86 -0
- data/vendor/local/include/glib-2.0/gio/gbytesicon.h +52 -0
- data/vendor/local/include/glib-2.0/gio/gcancellable.h +118 -0
- data/vendor/local/include/glib-2.0/gio/gcharsetconverter.h +63 -0
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +71 -0
- data/vendor/local/include/glib-2.0/gio/gconverter.h +96 -0
- data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +80 -0
- data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +80 -0
- data/vendor/local/include/glib-2.0/gio/gcredentials.h +85 -0
- data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +180 -0
- data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +125 -0
- data/vendor/local/include/glib-2.0/gio/gdbusactiongroup.h +54 -0
- data/vendor/local/include/glib-2.0/gio/gdbusaddress.h +65 -0
- data/vendor/local/include/glib-2.0/gio/gdbusauthobserver.h +51 -0
- data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +663 -0
- data/vendor/local/include/glib-2.0/gio/gdbuserror.h +109 -0
- data/vendor/local/include/glib-2.0/gio/gdbusinterface.h +81 -0
- data/vendor/local/include/glib-2.0/gio/gdbusinterfaceskeleton.h +127 -0
- data/vendor/local/include/glib-2.0/gio/gdbusintrospection.h +325 -0
- data/vendor/local/include/glib-2.0/gio/gdbusmenumodel.h +45 -0
- data/vendor/local/include/glib-2.0/gio/gdbusmessage.h +197 -0
- data/vendor/local/include/glib-2.0/gio/gdbusmethodinvocation.h +97 -0
- data/vendor/local/include/glib-2.0/gio/gdbusnameowning.h +115 -0
- data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +102 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobject.h +78 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectmanager.h +94 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectmanagerclient.h +146 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectmanagerserver.h +93 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectproxy.h +79 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectskeleton.h +96 -0
- data/vendor/local/include/glib-2.0/gio/gdbusproxy.h +214 -0
- data/vendor/local/include/glib-2.0/gio/gdbusserver.h +60 -0
- data/vendor/local/include/glib-2.0/gio/gdbusutils.h +55 -0
- data/vendor/local/include/glib-2.0/gio/gdrive.h +259 -0
- data/vendor/local/include/glib-2.0/gio/gemblem.h +61 -0
- data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +81 -0
- data/vendor/local/include/glib-2.0/gio/gfile.h +1250 -0
- data/vendor/local/include/glib-2.0/gio/gfileattribute.h +84 -0
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +144 -0
- data/vendor/local/include/glib-2.0/gio/gfileicon.h +57 -0
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +1070 -0
- data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +114 -0
- data/vendor/local/include/glib-2.0/gio/gfileiostream.h +121 -0
- data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +98 -0
- data/vendor/local/include/glib-2.0/gio/gfilenamecompleter.h +79 -0
- data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +122 -0
- data/vendor/local/include/glib-2.0/gio/gfilterinputstream.h +78 -0
- data/vendor/local/include/glib-2.0/gio/gfilteroutputstream.h +78 -0
- data/vendor/local/include/glib-2.0/gio/gicon.h +101 -0
- data/vendor/local/include/glib-2.0/gio/ginetaddress.h +124 -0
- data/vendor/local/include/glib-2.0/gio/ginetaddressmask.h +85 -0
- data/vendor/local/include/glib-2.0/gio/ginetsocketaddress.h +78 -0
- data/vendor/local/include/glib-2.0/gio/ginitable.h +99 -0
- data/vendor/local/include/glib-2.0/gio/ginputstream.h +201 -0
- data/vendor/local/include/glib-2.0/gio/gio.h +167 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +1816 -0
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +167 -0
- data/vendor/local/include/glib-2.0/gio/gioerror.h +53 -0
- data/vendor/local/include/glib-2.0/gio/giomodule.h +169 -0
- data/vendor/local/include/glib-2.0/gio/gioscheduler.h +54 -0
- data/vendor/local/include/glib-2.0/gio/giostream.h +135 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +535 -0
- data/vendor/local/include/glib-2.0/gio/gloadableicon.h +99 -0
- data/vendor/local/include/glib-2.0/gio/gmemoryinputstream.h +90 -0
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +107 -0
- data/vendor/local/include/glib-2.0/gio/gmenu.h +182 -0
- data/vendor/local/include/glib-2.0/gio/gmenuexporter.h +40 -0
- data/vendor/local/include/glib-2.0/gio/gmenumodel.h +305 -0
- data/vendor/local/include/glib-2.0/gio/gmount.h +276 -0
- data/vendor/local/include/glib-2.0/gio/gmountoperation.h +140 -0
- data/vendor/local/include/glib-2.0/gio/gnativevolumemonitor.h +61 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +78 -0
- data/vendor/local/include/glib-2.0/gio/gnetworking.h +82 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkmonitor.h +93 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gnotification.h +97 -0
- data/vendor/local/include/glib-2.0/gio/goutputstream.h +254 -0
- data/vendor/local/include/glib-2.0/gio/gpermission.h +127 -0
- data/vendor/local/include/glib-2.0/gio/gpollableinputstream.h +105 -0
- data/vendor/local/include/glib-2.0/gio/gpollableoutputstream.h +105 -0
- data/vendor/local/include/glib-2.0/gio/gpollableutils.h +64 -0
- data/vendor/local/include/glib-2.0/gio/gpropertyaction.h +47 -0
- data/vendor/local/include/glib-2.0/gio/gproxy.h +128 -0
- data/vendor/local/include/glib-2.0/gio/gproxyaddress.h +86 -0
- data/vendor/local/include/glib-2.0/gio/gproxyaddressenumerator.h +74 -0
- data/vendor/local/include/glib-2.0/gio/gproxyresolver.h +95 -0
- data/vendor/local/include/glib-2.0/gio/gremoteactiongroup.h +75 -0
- data/vendor/local/include/glib-2.0/gio/gresolver.h +212 -0
- data/vendor/local/include/glib-2.0/gio/gresource.h +129 -0
- data/vendor/local/include/glib-2.0/gio/gseekable.h +103 -0
- data/vendor/local/include/glib-2.0/gio/gsettings.h +331 -0
- data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +158 -0
- data/vendor/local/include/glib-2.0/gio/gsettingsschema.h +104 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +59 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +97 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +162 -0
- data/vendor/local/include/glib-2.0/gio/gsimplepermission.h +45 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleproxyresolver.h +89 -0
- data/vendor/local/include/glib-2.0/gio/gsocket.h +289 -0
- data/vendor/local/include/glib-2.0/gio/gsocketaddress.h +82 -0
- data/vendor/local/include/glib-2.0/gio/gsocketaddressenumerator.h +91 -0
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +197 -0
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +75 -0
- data/vendor/local/include/glib-2.0/gio/gsocketconnection.h +115 -0
- data/vendor/local/include/glib-2.0/gio/gsocketcontrolmessage.h +109 -0
- data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +150 -0
- data/vendor/local/include/glib-2.0/gio/gsocketservice.h +91 -0
- data/vendor/local/include/glib-2.0/gio/gsrvtarget.h +59 -0
- data/vendor/local/include/glib-2.0/gio/gsubprocess.h +167 -0
- data/vendor/local/include/glib-2.0/gio/gsubprocesslauncher.h +116 -0
- data/vendor/local/include/glib-2.0/gio/gtask.h +158 -0
- data/vendor/local/include/glib-2.0/gio/gtcpconnection.h +69 -0
- data/vendor/local/include/glib-2.0/gio/gtcpwrapperconnection.h +69 -0
- data/vendor/local/include/glib-2.0/gio/gtestdbus.h +72 -0
- data/vendor/local/include/glib-2.0/gio/gthemedicon.h +68 -0
- data/vendor/local/include/glib-2.0/gio/gthreadedsocketservice.h +81 -0
- data/vendor/local/include/glib-2.0/gio/gtlsbackend.h +96 -0
- data/vendor/local/include/glib-2.0/gio/gtlscertificate.h +92 -0
- data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +71 -0
- data/vendor/local/include/glib-2.0/gio/gtlsconnection.h +154 -0
- data/vendor/local/include/glib-2.0/gio/gtlsdatabase.h +247 -0
- data/vendor/local/include/glib-2.0/gio/gtlsfiledatabase.h +58 -0
- data/vendor/local/include/glib-2.0/gio/gtlsinteraction.h +148 -0
- data/vendor/local/include/glib-2.0/gio/gtlspassword.h +110 -0
- data/vendor/local/include/glib-2.0/gio/gtlsserverconnection.h +61 -0
- data/vendor/local/include/glib-2.0/gio/gvfs.h +132 -0
- data/vendor/local/include/glib-2.0/gio/gvolume.h +251 -0
- data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +154 -0
- data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +62 -0
- data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +58 -0
- data/vendor/local/include/glib-2.0/glib-object.h +40 -0
- data/vendor/local/include/glib-2.0/glib-unix.h +119 -0
- data/vendor/local/include/glib-2.0/glib.h +112 -0
- data/vendor/local/include/glib-2.0/glib/deprecated/gallocator.h +88 -0
- data/vendor/local/include/glib-2.0/glib/deprecated/gcache.h +75 -0
- data/vendor/local/include/glib-2.0/glib/deprecated/gcompletion.h +83 -0
- data/vendor/local/include/glib-2.0/glib/deprecated/gmain.h +139 -0
- data/vendor/local/include/glib-2.0/glib/deprecated/grel.h +105 -0
- data/vendor/local/include/glib-2.0/glib/deprecated/gthread.h +293 -0
- data/vendor/local/include/glib-2.0/glib/galloca.h +103 -0
- data/vendor/local/include/glib-2.0/glib/garray.h +238 -0
- data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +109 -0
- data/vendor/local/include/glib-2.0/glib/gatomic.h +281 -0
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +64 -0
- data/vendor/local/include/glib-2.0/glib/gbase64.h +61 -0
- data/vendor/local/include/glib-2.0/glib/gbitlock.h +76 -0
- data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +255 -0
- data/vendor/local/include/glib-2.0/glib/gbytes.h +90 -0
- data/vendor/local/include/glib-2.0/glib/gcharset.h +43 -0
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +101 -0
- data/vendor/local/include/glib-2.0/glib/gconvert.h +199 -0
- data/vendor/local/include/glib-2.0/glib/gdataset.h +150 -0
- data/vendor/local/include/glib-2.0/glib/gdate.h +309 -0
- data/vendor/local/include/glib-2.0/glib/gdatetime.h +264 -0
- data/vendor/local/include/glib-2.0/glib/gdir.h +64 -0
- data/vendor/local/include/glib-2.0/glib/genviron.h +78 -0
- data/vendor/local/include/glib-2.0/glib/gerror.h +118 -0
- data/vendor/local/include/glib-2.0/glib/gfileutils.h +207 -0
- data/vendor/local/include/glib-2.0/glib/ggettext.h +63 -0
- data/vendor/local/include/glib-2.0/glib/ghash.h +185 -0
- data/vendor/local/include/glib-2.0/glib/ghmac.h +78 -0
- data/vendor/local/include/glib-2.0/glib/ghook.h +202 -0
- data/vendor/local/include/glib-2.0/glib/ghostutils.h +43 -0
- data/vendor/local/include/glib-2.0/glib/gi18n-lib.h +36 -0
- data/vendor/local/include/glib-2.0/glib/gi18n.h +32 -0
- data/vendor/local/include/glib-2.0/glib/giochannel.h +413 -0
- data/vendor/local/include/glib-2.0/glib/gkeyfile.h +320 -0
- data/vendor/local/include/glib-2.0/glib/glist.h +152 -0
- data/vendor/local/include/glib-2.0/glib/gmacros.h +366 -0
- data/vendor/local/include/glib-2.0/glib/gmain.h +614 -0
- data/vendor/local/include/glib-2.0/glib/gmappedfile.h +58 -0
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +262 -0
- data/vendor/local/include/glib-2.0/glib/gmem.h +298 -0
- data/vendor/local/include/glib-2.0/glib/gmessages.h +407 -0
- data/vendor/local/include/glib-2.0/glib/gnode.h +322 -0
- data/vendor/local/include/glib-2.0/glib/goption.h +377 -0
- data/vendor/local/include/glib-2.0/glib/gpattern.h +53 -0
- data/vendor/local/include/glib-2.0/glib/gpoll.h +127 -0
- data/vendor/local/include/glib-2.0/glib/gprimes.h +50 -0
- data/vendor/local/include/glib-2.0/glib/gprintf.h +57 -0
- data/vendor/local/include/glib-2.0/glib/gqsort.h +45 -0
- data/vendor/local/include/glib-2.0/glib/gquark.h +68 -0
- data/vendor/local/include/glib-2.0/glib/gqueue.h +190 -0
- data/vendor/local/include/glib-2.0/glib/grand.h +99 -0
- data/vendor/local/include/glib-2.0/glib/gregex.h +610 -0
- data/vendor/local/include/glib-2.0/glib/gscanner.h +303 -0
- data/vendor/local/include/glib-2.0/glib/gsequence.h +171 -0
- data/vendor/local/include/glib-2.0/glib/gshell.h +59 -0
- data/vendor/local/include/glib-2.0/glib/gslice.h +98 -0
- data/vendor/local/include/glib-2.0/glib/gslist.h +143 -0
- data/vendor/local/include/glib-2.0/glib/gspawn.h +307 -0
- data/vendor/local/include/glib-2.0/glib/gstdio.h +171 -0
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +306 -0
- data/vendor/local/include/glib-2.0/glib/gstring.h +189 -0
- data/vendor/local/include/glib-2.0/glib/gstringchunk.h +57 -0
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +421 -0
- data/vendor/local/include/glib-2.0/glib/gthread.h +271 -0
- data/vendor/local/include/glib-2.0/glib/gthreadpool.h +92 -0
- data/vendor/local/include/glib-2.0/glib/gtimer.h +74 -0
- data/vendor/local/include/glib-2.0/glib/gtimezone.h +89 -0
- data/vendor/local/include/glib-2.0/glib/gtrashstack.h +101 -0
- data/vendor/local/include/glib-2.0/glib/gtree.h +104 -0
- data/vendor/local/include/glib-2.0/glib/gtypes.h +482 -0
- data/vendor/local/include/glib-2.0/glib/gunicode.h +860 -0
- data/vendor/local/include/glib-2.0/glib/gurifuncs.h +83 -0
- data/vendor/local/include/glib-2.0/glib/gutils.h +374 -0
- data/vendor/local/include/glib-2.0/glib/gvariant.h +452 -0
- data/vendor/local/include/glib-2.0/glib/gvarianttype.h +380 -0
- data/vendor/local/include/glib-2.0/glib/gversion.h +55 -0
- data/vendor/local/include/glib-2.0/glib/gversionmacros.h +345 -0
- data/vendor/local/include/glib-2.0/glib/gwin32.h +134 -0
- data/vendor/local/include/glib-2.0/gmodule.h +115 -0
- data/vendor/local/include/glib-2.0/gobject/gbinding.h +149 -0
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +122 -0
- data/vendor/local/include/glib-2.0/gobject/gclosure.h +297 -0
- data/vendor/local/include/glib-2.0/gobject/genums.h +273 -0
- data/vendor/local/include/glib-2.0/gobject/glib-types.h +358 -0
- data/vendor/local/include/glib-2.0/gobject/gmarshal.h +385 -0
- data/vendor/local/include/glib-2.0/gobject/gobject.h +672 -0
- data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +197 -0
- data/vendor/local/include/glib-2.0/gobject/gparam.h +447 -0
- data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +1164 -0
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +604 -0
- data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +38 -0
- data/vendor/local/include/glib-2.0/gobject/gtype.h +1990 -0
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +278 -0
- data/vendor/local/include/glib-2.0/gobject/gtypeplugin.h +134 -0
- data/vendor/local/include/glib-2.0/gobject/gvalue.h +194 -0
- data/vendor/local/include/glib-2.0/gobject/gvaluearray.h +104 -0
- data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +254 -0
- data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +300 -0
- data/vendor/local/include/gmp.h +2301 -0
- data/vendor/local/include/gnutls/abstract.h +454 -0
- data/vendor/local/include/gnutls/compat.h +401 -0
- data/vendor/local/include/gnutls/crypto.h +117 -0
- data/vendor/local/include/gnutls/dtls.h +92 -0
- data/vendor/local/include/gnutls/gnutls.h +2299 -0
- data/vendor/local/include/gnutls/ocsp.h +257 -0
- data/vendor/local/include/gnutls/openpgp.h +366 -0
- data/vendor/local/include/gnutls/openssl.h +329 -0
- data/vendor/local/include/gnutls/pkcs11.h +356 -0
- data/vendor/local/include/gnutls/pkcs12.h +135 -0
- data/vendor/local/include/gnutls/tpm.h +79 -0
- data/vendor/local/include/gnutls/x509.h +1192 -0
- data/vendor/local/include/gnutls/xssl.h +125 -0
- data/vendor/local/include/iconv.h +242 -0
- data/vendor/local/include/libcharset.h +46 -0
- data/vendor/local/include/libintl.h +464 -0
- data/vendor/local/include/localcharset.h +42 -0
- data/vendor/local/include/nettle/aes.h +85 -0
- data/vendor/local/include/nettle/arcfour.h +66 -0
- data/vendor/local/include/nettle/arctwo.h +82 -0
- data/vendor/local/include/nettle/asn1.h +144 -0
- data/vendor/local/include/nettle/base16.h +106 -0
- data/vendor/local/include/nettle/base64.h +153 -0
- data/vendor/local/include/nettle/bignum.h +121 -0
- data/vendor/local/include/nettle/blowfish.h +76 -0
- data/vendor/local/include/nettle/buffer.h +98 -0
- data/vendor/local/include/nettle/camellia.h +82 -0
- data/vendor/local/include/nettle/cast128.h +77 -0
- data/vendor/local/include/nettle/cbc.h +76 -0
- data/vendor/local/include/nettle/ctr.h +62 -0
- data/vendor/local/include/nettle/des-compat.h +154 -0
- data/vendor/local/include/nettle/des.h +111 -0
- data/vendor/local/include/nettle/dsa.h +293 -0
- data/vendor/local/include/nettle/ecc-curve.h +45 -0
- data/vendor/local/include/nettle/ecc.h +261 -0
- data/vendor/local/include/nettle/ecdsa.h +94 -0
- data/vendor/local/include/nettle/gcm.h +186 -0
- data/vendor/local/include/nettle/gosthash94.h +88 -0
- data/vendor/local/include/nettle/hmac.h +202 -0
- data/vendor/local/include/nettle/knuth-lfib.h +75 -0
- data/vendor/local/include/nettle/macros.h +238 -0
- data/vendor/local/include/nettle/md2.h +69 -0
- data/vendor/local/include/nettle/md4.h +73 -0
- data/vendor/local/include/nettle/md5-compat.h +50 -0
- data/vendor/local/include/nettle/md5.h +76 -0
- data/vendor/local/include/nettle/memxor.h +22 -0
- data/vendor/local/include/nettle/nettle-meta.h +232 -0
- data/vendor/local/include/nettle/nettle-stdint.h +286 -0
- data/vendor/local/include/nettle/nettle-types.h +92 -0
- data/vendor/local/include/nettle/pbkdf2.h +77 -0
- data/vendor/local/include/nettle/pgp.h +240 -0
- data/vendor/local/include/nettle/pkcs1.h +106 -0
- data/vendor/local/include/nettle/realloc.h +41 -0
- data/vendor/local/include/nettle/ripemd160.h +78 -0
- data/vendor/local/include/nettle/rsa-compat.h +131 -0
- data/vendor/local/include/nettle/rsa.h +419 -0
- data/vendor/local/include/nettle/salsa20.h +93 -0
- data/vendor/local/include/nettle/serpent.h +81 -0
- data/vendor/local/include/nettle/sexp.h +212 -0
- data/vendor/local/include/nettle/sha.h +34 -0
- data/vendor/local/include/nettle/sha1.h +78 -0
- data/vendor/local/include/nettle/sha2.h +156 -0
- data/vendor/local/include/nettle/sha3.h +176 -0
- data/vendor/local/include/nettle/twofish.h +78 -0
- data/vendor/local/include/nettle/umac.h +241 -0
- data/vendor/local/include/nettle/yarrow.h +137 -0
- data/vendor/local/lib/charset.alias +4 -0
- data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.la +41 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +199 -0
- data/vendor/local/lib/gthread-2.0.def +3 -0
- data/vendor/local/lib/libasprintf.a +0 -0
- data/vendor/local/lib/libasprintf.dll.a +0 -0
- data/vendor/local/lib/libasprintf.la +41 -0
- data/vendor/local/lib/libcharset.a +0 -0
- data/vendor/local/lib/libcharset.dll.a +0 -0
- data/vendor/local/lib/libcharset.la +41 -0
- data/vendor/local/lib/libffi-3.2.1/include/ffi.h +487 -0
- data/vendor/local/lib/libffi-3.2.1/include/ffitarget.h +150 -0
- data/vendor/local/lib/libffi.a +0 -0
- data/vendor/local/lib/libffi.dll.a +0 -0
- data/vendor/local/lib/libffi.la +41 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.la +41 -0
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.la +41 -0
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.la +41 -0
- data/vendor/local/lib/libgmp.dll.a +0 -0
- data/vendor/local/lib/libgmp.la +41 -0
- data/vendor/local/lib/libgnutls-openssl.a +0 -0
- data/vendor/local/lib/libgnutls-openssl.dll.a +0 -0
- data/vendor/local/lib/libgnutls-openssl.la +41 -0
- data/vendor/local/lib/libgnutls-xssl.a +0 -0
- data/vendor/local/lib/libgnutls-xssl.dll.a +0 -0
- data/vendor/local/lib/libgnutls-xssl.la +41 -0
- data/vendor/local/lib/libgnutls.a +0 -0
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgnutls.la +41 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.la +41 -0
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.la +41 -0
- data/vendor/local/lib/libhogweed.a +0 -0
- data/vendor/local/lib/libhogweed.dll.a +0 -0
- data/vendor/local/lib/libiconv.dll.a +0 -0
- data/vendor/local/lib/libiconv.la +41 -0
- data/vendor/local/lib/libintl.a +0 -0
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/libintl.la +41 -0
- data/vendor/local/lib/libnettle.a +0 -0
- data/vendor/local/lib/libnettle.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +18 -0
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +11 -0
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +16 -0
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +14 -0
- data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +14 -0
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +14 -0
- data/vendor/local/lib/pkgconfig/gnutls.pc +24 -0
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +12 -0
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +11 -0
- data/vendor/local/lib/pkgconfig/hogweed.pc +18 -0
- data/vendor/local/lib/pkgconfig/libffi.pc +11 -0
- data/vendor/local/lib/pkgconfig/nettle.pc +11 -0
- data/vendor/local/lib/pkgconfig/patched +0 -0
- data/vendor/local/share/aclocal/glib-2.0.m4 +211 -0
- data/vendor/local/share/aclocal/glib-gettext.m4 +435 -0
- data/vendor/local/share/aclocal/gsettings.m4 +83 -0
- data/vendor/local/share/bash-completion/completions/gapplication +55 -0
- data/vendor/local/share/bash-completion/completions/gdbus +33 -0
- data/vendor/local/share/bash-completion/completions/gresource +58 -0
- data/vendor/local/share/bash-completion/completions/gsettings +84 -0
- data/vendor/local/share/doc/gettext/bind_textdomain_codeset.3.html +158 -0
- data/vendor/local/share/doc/gettext/bindtextdomain.3.html +154 -0
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext.html +8 -0
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceManager.html +305 -0
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceSet.html +356 -0
- data/vendor/local/share/doc/gettext/csharpdoc/begin.html +11 -0
- data/vendor/local/share/doc/gettext/csharpdoc/index.html +10 -0
- data/vendor/local/share/doc/gettext/csharpdoc/namespaces.html +6 -0
- data/vendor/local/share/doc/gettext/envsubst.1.html +139 -0
- data/vendor/local/share/doc/gettext/gettext.1.html +188 -0
- data/vendor/local/share/doc/gettext/gettext.3.html +182 -0
- data/vendor/local/share/doc/gettext/javadoc2/allclasses-frame.html +25 -0
- data/vendor/local/share/doc/gettext/javadoc2/deprecated-list.html +87 -0
- data/vendor/local/share/doc/gettext/javadoc2/gnu/gettext/GettextResource.html +321 -0
- data/vendor/local/share/doc/gettext/javadoc2/gnu/gettext/package-frame.html +26 -0
- data/vendor/local/share/doc/gettext/javadoc2/gnu/gettext/package-summary.html +103 -0
- data/vendor/local/share/doc/gettext/javadoc2/gnu/gettext/package-tree.html +99 -0
- data/vendor/local/share/doc/gettext/javadoc2/help-doc.html +136 -0
- data/vendor/local/share/doc/gettext/javadoc2/index-all.html +111 -0
- data/vendor/local/share/doc/gettext/javadoc2/index.html +22 -0
- data/vendor/local/share/doc/gettext/javadoc2/overview-tree.html +96 -0
- data/vendor/local/share/doc/gettext/javadoc2/package-list +1 -0
- data/vendor/local/share/doc/gettext/javadoc2/packages.html +26 -0
- data/vendor/local/share/doc/gettext/javadoc2/serialized-form.html +87 -0
- data/vendor/local/share/doc/gettext/javadoc2/stylesheet.css +29 -0
- data/vendor/local/share/doc/gettext/ngettext.1.html +194 -0
- data/vendor/local/share/doc/gettext/ngettext.3.html +138 -0
- data/vendor/local/share/doc/gettext/textdomain.3.html +140 -0
- data/vendor/local/share/doc/libasprintf/autosprintf_all.html +174 -0
- data/vendor/local/share/doc/libiconv/iconv.1.html +206 -0
- data/vendor/local/share/doc/libiconv/iconv.3.html +207 -0
- data/vendor/local/share/doc/libiconv/iconv_close.3.html +90 -0
- data/vendor/local/share/doc/libiconv/iconv_open.3.html +318 -0
- data/vendor/local/share/doc/libiconv/iconv_open_into.3.html +120 -0
- data/vendor/local/share/doc/libiconv/iconvctl.3.html +189 -0
- data/vendor/local/share/gdb/auto-load/libglib-2.0.so.0.4200.1-gdb.py +10 -0
- data/vendor/local/share/gdb/auto-load/libgobject-2.0.so.0.4200.1-gdb.py +10 -0
- data/vendor/local/share/gettext/ABOUT-NLS +1282 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.py +27 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.py +3412 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.py +329 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.py +201 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.py +25 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.py +424 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.py +288 -0
- data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.py +102 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/share/glib-2.0/gdb/glib.py +257 -0
- data/vendor/local/share/glib-2.0/gdb/gobject.py +295 -0
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +268 -0
- data/vendor/local/share/glib-2.0/schemas/gschema.dtd +73 -0
- data/vendor/local/share/glib-2.0/schemas/gschemas.compiled +0 -0
- data/vendor/local/share/gtk-doc/html/gio/ExampleAnimal.html +1537 -0
- data/vendor/local/share/gtk-doc/html/gio/ExampleCat.html +679 -0
- data/vendor/local/share/gtk-doc/html/gio/ExampleObject.html +572 -0
- data/vendor/local/share/gtk-doc/html/gio/ExampleObjectManagerClient.html +561 -0
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +832 -0
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +1242 -0
- data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +507 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +2160 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfoMonitor.html +151 -0
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +2448 -0
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +981 -0
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +769 -0
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +511 -0
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +705 -0
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +393 -0
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +861 -0
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +317 -0
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +467 -0
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +564 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusActionGroup.html +161 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +390 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +4687 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +329 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +882 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusMenuModel.html +152 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +2484 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +903 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +404 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +592 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +1281 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +505 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectProxy.html +260 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectSkeleton.html +491 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +2170 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +635 -0
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +1595 -0
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +699 -0
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +1873 -0
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +354 -0
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +325 -0
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +9688 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +145 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +713 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +352 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +200 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +4261 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +293 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +475 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +345 -0
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +287 -0
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +249 -0
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +251 -0
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +592 -0
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +772 -0
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +479 -0
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +1044 -0
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +419 -0
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +455 -0
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +1164 -0
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +354 -0
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +308 -0
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +577 -0
- data/vendor/local/share/gtk-doc/html/gio/GMenu.html +1877 -0
- data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +1205 -0
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +1929 -0
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +1197 -0
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +451 -0
- data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +499 -0
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +421 -0
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +1561 -0
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +672 -0
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +411 -0
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +411 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +455 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +580 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +395 -0
- data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +290 -0
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +1171 -0
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +441 -0
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +3485 -0
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +755 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +540 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +319 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +1634 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +129 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleProxyResolver.html +433 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +3696 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +374 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +2079 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +623 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +631 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +330 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +868 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +329 -0
- data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +424 -0
- data/vendor/local/share/gtk-doc/html/gio/GSubprocess.html +1601 -0
- data/vendor/local/share/gtk-doc/html/gio/GTask.html +2562 -0
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +209 -0
- data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +211 -0
- data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +510 -0
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +464 -0
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +241 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +432 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +590 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +550 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +1294 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsDatabase.html +1091 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +208 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsInteraction.html +735 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsPassword.html +662 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +193 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +553 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +268 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +455 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +349 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +314 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +314 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +612 -0
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +358 -0
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +1391 -0
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +926 -0
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +330 -0
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +220 -0
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +76 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +148 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +157 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +1083 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +210 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +1640 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +715 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-30.html +686 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-32.html +725 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-34.html +268 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-36.html +259 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-38.html +161 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-40.html +369 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-42.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +198 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +9512 -0
- data/vendor/local/share/gtk-doc/html/gio/application.html +80 -0
- data/vendor/local/share/gtk-doc/html/gio/async.html +48 -0
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +232 -0
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +114 -0
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +45 -0
- data/vendor/local/share/gtk-doc/html/gio/ch30.html +75 -0
- data/vendor/local/share/gtk-doc/html/gio/ch31.html +217 -0
- data/vendor/local/share/gtk-doc/html/gio/ch31s02.html +41 -0
- data/vendor/local/share/gtk-doc/html/gio/ch31s03.html +39 -0
- data/vendor/local/share/gtk-doc/html/gio/ch32.html +56 -0
- data/vendor/local/share/gtk-doc/html/gio/ch32s02.html +59 -0
- data/vendor/local/share/gtk-doc/html/gio/ch32s03.html +159 -0
- data/vendor/local/share/gtk-doc/html/gio/ch32s04.html +46 -0
- data/vendor/local/share/gtk-doc/html/gio/ch32s05.html +48 -0
- data/vendor/local/share/gtk-doc/html/gio/ch32s06.html +278 -0
- data/vendor/local/share/gtk-doc/html/gio/ch32s07.html +160 -0
- data/vendor/local/share/gtk-doc/html/gio/ch33.html +116 -0
- data/vendor/local/share/gtk-doc/html/gio/ch33s02.html +142 -0
- data/vendor/local/share/gtk-doc/html/gio/ch33s03.html +202 -0
- data/vendor/local/share/gtk-doc/html/gio/ch33s04.html +97 -0
- data/vendor/local/share/gtk-doc/html/gio/ch33s05.html +931 -0
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +44 -0
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +131 -0
- data/vendor/local/share/gtk-doc/html/gio/extending.html +41 -0
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +38 -0
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +33 -0
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/gapplication-tool.html +288 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +1098 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +65 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +59 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html +161 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Cat.html +51 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +300 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +390 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +1572 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +398 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +1131 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +613 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GActionGroup-exporter.html +192 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GBytesIcon.html +162 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +595 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +214 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +214 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +1106 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +650 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +539 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +365 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GInetAddressMask.html +443 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GMenuModel-exporter.html +183 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GNotification.html +670 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GPropertyAction.html +177 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GResource.html +1141 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +1186 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GSubprocessLauncher.html +931 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32InputStream.html +258 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32OutputStream.html +259 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +658 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +321 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +1398 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +575 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +94 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-gpollableutils.html +475 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +188 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +53 -0
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +2715 -0
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +209 -0
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +111 -0
- data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +111 -0
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +178 -0
- data/vendor/local/share/gtk-doc/html/gio/gvfs-overview.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +60 -0
- data/vendor/local/share/gtk-doc/html/gio/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/icons.html +53 -0
- data/vendor/local/share/gtk-doc/html/gio/index.html +646 -0
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +4046 -0
- data/vendor/local/share/gtk-doc/html/gio/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/menu-example.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/menu-model.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +82 -0
- data/vendor/local/share/gtk-doc/html/gio/networking.html +75 -0
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +39 -0
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +40 -0
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +572 -0
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +53 -0
- data/vendor/local/share/gtk-doc/html/gio/resources.html +33 -0
- data/vendor/local/share/gtk-doc/html/gio/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +189 -0
- data/vendor/local/share/gtk-doc/html/gio/settings.html +42 -0
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +107 -0
- data/vendor/local/share/gtk-doc/html/gio/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/gio/subprocesses.html +38 -0
- data/vendor/local/share/gtk-doc/html/gio/testing.html +33 -0
- data/vendor/local/share/gtk-doc/html/gio/tls.html +62 -0
- data/vendor/local/share/gtk-doc/html/gio/tools.html +56 -0
- data/vendor/local/share/gtk-doc/html/gio/types.html +44 -0
- data/vendor/local/share/gtk-doc/html/gio/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/utils.html +33 -0
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +47 -0
- data/vendor/local/share/gtk-doc/html/glib/Sorted_binary_tree_breadth-first_traversal.svg +134 -0
- data/vendor/local/share/gtk-doc/html/glib/Sorted_binary_tree_inorder.svg +753 -0
- data/vendor/local/share/gtk-doc/html/glib/Sorted_binary_tree_postorder.svg +750 -0
- data/vendor/local/share/gtk-doc/html/glib/Sorted_binary_tree_preorder.svg +750 -0
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +81 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +167 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +307 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +562 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +357 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +108 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +119 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +86 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +189 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +423 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +389 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +122 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-30.html +252 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-32.html +343 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +116 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-36.html +116 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-38.html +111 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +399 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-40.html +158 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-42.html +35 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +416 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +157 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +596 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +9013 -0
- data/vendor/local/share/gtk-doc/html/glib/deprecated.html +47 -0
- data/vendor/local/share/gtk-doc/html/glib/file-name-encodings.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +1130 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +1242 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +944 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +614 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +958 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +440 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +1155 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +2442 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +1513 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +2152 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +540 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +1299 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +2164 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +644 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +549 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +662 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +2808 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +2101 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +1860 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +1941 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +664 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +1226 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +2516 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +2430 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +664 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +6967 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +1842 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +373 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +2260 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +1817 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +287 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +814 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +2662 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +3457 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +1007 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +1878 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +1375 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +625 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +947 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +1180 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +2274 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +1995 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +236 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +3551 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +1059 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +378 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +775 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +660 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +2054 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +302 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +1491 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +1560 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +1165 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +593 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +374 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +4052 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +1797 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +3149 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +5082 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +774 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +3183 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +319 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +254 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +309 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +618 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +508 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +4995 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +483 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +598 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +585 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +438 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +153 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +145 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +68 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +165 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +100 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +57 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +96 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +76 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +2217 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +124 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +295 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +126 -0
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +2399 -0
- data/vendor/local/share/gtk-doc/html/glib/glib.html +72 -0
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +81 -0
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +187 -0
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +1338 -0
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +667 -0
- data/vendor/local/share/gtk-doc/html/glib/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/index.html +358 -0
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +2782 -0
- data/vendor/local/share/gtk-doc/html/glib/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/mainloop-states.gif +0 -0
- data/vendor/local/share/gtk-doc/html/glib/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/glib/tools.html +41 -0
- data/vendor/local/share/gtk-doc/html/glib/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +981 -0
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +814 -0
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +558 -0
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +76 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +80 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +50 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +46 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +43 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +35 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +43 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +68 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +196 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +42 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-30.html +65 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-32.html +76 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-34.html +58 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-36.html +51 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-38.html +68 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +173 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-40.html +35 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-42.html +35 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +39 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +39 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +132 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +2999 -0
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +136 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +290 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +263 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +92 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +214 -0
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +380 -0
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +337 -0
- data/vendor/local/share/gtk-doc/html/gobject/glue.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +677 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +3510 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +1110 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +1937 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +1101 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +3395 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +7262 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +4119 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +6080 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +644 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +309 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +234 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +392 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +128 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +838 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +141 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +288 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +378 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +76 -0
- data/vendor/local/share/gtk-doc/html/gobject/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +98 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +88 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +172 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +117 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +250 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +270 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +137 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-override.html +133 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-prerequisite.html +123 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +153 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +149 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +121 -0
- data/vendor/local/share/gtk-doc/html/gobject/index.html +201 -0
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +869 -0
- data/vendor/local/share/gtk-doc/html/gobject/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +72 -0
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +80 -0
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +67 -0
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +55 -0
- data/vendor/local/share/gtk-doc/html/gobject/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +85 -0
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +47 -0
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +378 -0
- data/vendor/local/share/gtk-doc/html/gobject/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +35 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +40 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +63 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +48 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +43 -0
- data/vendor/local/share/gtk-doc/html/gobject/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/up.png +0 -0
- data/vendor/local/share/info/autosprintf.info +133 -0
- data/vendor/local/share/info/dir +43 -0
- data/vendor/local/share/info/gmp.info +181 -0
- data/vendor/local/share/info/gmp.info-1 +7073 -0
- data/vendor/local/share/info/gmp.info-2 +3865 -0
- data/vendor/local/share/info/gnutls-client-server-use-case.png +0 -0
- data/vendor/local/share/info/gnutls-guile.info +1589 -0
- data/vendor/local/share/info/gnutls-handshake-sequence.png +0 -0
- data/vendor/local/share/info/gnutls-handshake-state.png +0 -0
- data/vendor/local/share/info/gnutls-internals.png +0 -0
- data/vendor/local/share/info/gnutls-layers.png +0 -0
- data/vendor/local/share/info/gnutls-logo.png +0 -0
- data/vendor/local/share/info/gnutls-modauth.png +0 -0
- data/vendor/local/share/info/gnutls-pgp.png +0 -0
- data/vendor/local/share/info/gnutls-x509.png +0 -0
- data/vendor/local/share/info/gnutls.info +1371 -0
- data/vendor/local/share/info/gnutls.info-1 +7371 -0
- data/vendor/local/share/info/gnutls.info-2 +7842 -0
- data/vendor/local/share/info/gnutls.info-3 +11715 -0
- data/vendor/local/share/info/gnutls.info-4 +6737 -0
- data/vendor/local/share/info/gnutls.info-5 +2308 -0
- data/vendor/local/share/info/libffi.info +765 -0
- data/vendor/local/share/info/pkcs11-vision.png +0 -0
- data/vendor/local/share/license/gettext/AUTHORS +2 -0
- data/vendor/local/share/license/gettext/COPYING +13 -0
- data/vendor/local/share/license/glib-networking/AUTHORS +0 -0
- data/vendor/local/share/license/glib-networking/COPYING +481 -0
- data/vendor/local/share/license/glib/AUTHORS +40 -0
- data/vendor/local/share/license/glib/COPYING +482 -0
- data/vendor/local/share/license/gmp/AUTHORS +100 -0
- data/vendor/local/share/license/gmp/COPYING +674 -0
- data/vendor/local/share/license/gnutls/AUTHORS +92 -0
- data/vendor/local/share/license/gnutls/COPYING +674 -0
- data/vendor/local/share/license/libiconv/AUTHORS +1 -0
- data/vendor/local/share/license/libiconv/COPYING +674 -0
- data/vendor/local/share/license/libiconv/COPYING.LIB +482 -0
- data/vendor/local/share/license/nettle/AUTHORS +1 -0
- data/vendor/local/share/license/nettle/COPYING.LIB +510 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/am/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/an/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/an/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/en@quot/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/en@quot/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/locale.alias +75 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/certtool.1 +741 -0
- data/vendor/local/share/man/man1/envsubst.1 +54 -0
- data/vendor/local/share/man/man1/gettext.1 +69 -0
- data/vendor/local/share/man/man1/gnutls-cli-debug.1 +165 -0
- data/vendor/local/share/man/man1/gnutls-cli.1 +420 -0
- data/vendor/local/share/man/man1/gnutls-serv.1 +453 -0
- data/vendor/local/share/man/man1/iconv.1 +108 -0
- data/vendor/local/share/man/man1/ngettext.1 +68 -0
- data/vendor/local/share/man/man1/ocsptool.1 +335 -0
- data/vendor/local/share/man/man1/p11tool.1 +320 -0
- data/vendor/local/share/man/man1/psktool.1 +129 -0
- data/vendor/local/share/man/man1/srptool.1 +164 -0
- data/vendor/local/share/man/man1/tpmtool.1 +223 -0
- data/vendor/local/share/man/man3/bind_textdomain_codeset.3 +72 -0
- data/vendor/local/share/man/man3/bindtextdomain.3 +69 -0
- data/vendor/local/share/man/man3/dcgettext.3 +1 -0
- data/vendor/local/share/man/man3/dcngettext.3 +1 -0
- data/vendor/local/share/man/man3/dgettext.3 +1 -0
- data/vendor/local/share/man/man3/dngettext.3 +1 -0
- data/vendor/local/share/man/man3/ffi.3 +41 -0
- data/vendor/local/share/man/man3/ffi_call.3 +103 -0
- data/vendor/local/share/man/man3/ffi_prep_cif.3 +68 -0
- data/vendor/local/share/man/man3/ffi_prep_cif_var.3 +73 -0
- data/vendor/local/share/man/man3/gettext.3 +99 -0
- data/vendor/local/share/man/man3/gnutls_alert_get.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_alert_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_alert_get_strname.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_alert_send.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_alert_send_appropriate.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_alpn_get_selected_protocol.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_alpn_set_protocols.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_anon_allocate_client_credentials.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_anon_allocate_server_credentials.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_anon_free_client_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_anon_free_server_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_anon_set_params_function.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_anon_set_server_dh_params.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_anon_set_server_params_function.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_auth_client_get_type.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_auth_get_type.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_auth_server_get_type.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_bye.3 +60 -0
- data/vendor/local/share/man/man3/gnutls_certificate_activation_time_peers.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_certificate_allocate_credentials.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_certificate_client_get_request_status.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_certificate_client_set_retrieve_function.3 +62 -0
- data/vendor/local/share/man/man3/gnutls_certificate_expiration_time_peers.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_certificate_free_ca_names.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_certificate_free_cas.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_certificate_free_credentials.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_certificate_free_crls.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_certificate_free_keys.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_certificate_get_crt_raw.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_certificate_get_issuer.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_certificate_get_ours.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_certificate_get_peers.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_certificate_get_peers_subkey_id.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_certificate_send_x509_rdn_sequence.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_certificate_server_set_request.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_certificate_server_set_retrieve_function.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_dh_params.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_key.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_ocsp_status_request_file.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_ocsp_status_request_function.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_file.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_file2.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_mem.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_mem2.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_keyring_file.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_keyring_mem.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_params_function.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_pin_function.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_retrieve_function.3 +65 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_retrieve_function2.3 +68 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_rsa_export_params.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_trust_list.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_verify_flags.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_verify_function.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_verify_limits.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl_file.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl_mem.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_file.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_file2.3 +62 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_mem.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_mem2.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_simple_pkcs12_file.3 +63 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_simple_pkcs12_mem.3 +64 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_system_trust.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust_file.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust_mem.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_certificate_type_get.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_certificate_type_get_id.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_certificate_type_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_certificate_type_list.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_certificate_type_set_priority.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_certificate_verification_status_print.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_certificate_verify_peers2.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_certificate_verify_peers3.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_check_version.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_cipher_add_auth.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_cipher_decrypt.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_cipher_decrypt2.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_cipher_deinit.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_cipher_encrypt.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_cipher_encrypt2.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_cipher_get.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_cipher_get_block_size.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_cipher_get_id.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_cipher_get_iv_size.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_cipher_get_key_size.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_cipher_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_cipher_get_tag_size.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_cipher_init.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_cipher_list.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_cipher_set_iv.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_cipher_set_priority.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_cipher_suite_get_name.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_cipher_suite_info.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_cipher_tag.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_compression_get.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_compression_get_id.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_compression_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_compression_list.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_compression_set_priority.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_credentials_clear.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_credentials_set.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_db_check_entry.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_db_check_entry_time.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_db_get_default_cache_expiration.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_db_get_ptr.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_db_remove_session.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_db_set_cache_expiration.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_db_set_ptr.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_db_set_remove_function.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_db_set_retrieve_function.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_db_set_store_function.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_deinit.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_dh_get_group.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_dh_get_peers_public_bits.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_dh_get_prime_bits.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_dh_get_pubkey.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_dh_get_secret_bits.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_cpy.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_export2_pkcs3.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_export_pkcs3.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_export_raw.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_generate2.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_import_pkcs3.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_import_raw.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_init.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_dh_set_prime_bits.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_digest_get_id.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_digest_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_digest_list.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_dtls_cookie_send.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_dtls_cookie_verify.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_dtls_get_data_mtu.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_dtls_get_mtu.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_dtls_get_timeout.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_dtls_prestate_set.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_dtls_set_data_mtu.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_dtls_set_mtu.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_dtls_set_timeouts.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_ecc_curve_get.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_ecc_curve_get_name.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_ecc_curve_get_size.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_ecc_curve_list.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_error_is_fatal.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_error_to_alert.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_est_record_overhead_size.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_fingerprint.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_global_deinit.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_global_init.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_global_set_audit_log_function.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_global_set_log_function.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_global_set_log_level.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_global_set_mem_functions.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_global_set_mutex.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_global_set_time_function.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_handshake.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_handshake_description_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_handshake_get_last_in.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_handshake_get_last_out.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_handshake_set_hook_function.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_handshake_set_max_packet_length.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_handshake_set_post_client_hello_function.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_handshake_set_private_extensions.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_handshake_set_random.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_handshake_set_timeout.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_hash.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_hash_deinit.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_hash_fast.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_hash_get_len.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_hash_init.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_hash_output.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_heartbeat_allowed.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_heartbeat_enable.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_heartbeat_get_timeout.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_heartbeat_ping.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_heartbeat_pong.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_heartbeat_set_timeouts.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_hex2bin.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_hex_decode.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_hex_encode.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_hmac.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_hmac_deinit.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_hmac_fast.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_hmac_get_len.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_hmac_init.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_hmac_output.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_hmac_set_nonce.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_init.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_key_generate.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_kx_get.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_kx_get_id.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_kx_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_kx_list.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_kx_set_priority.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_load_file.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_mac_get.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_mac_get_id.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_mac_get_key_size.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_mac_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_mac_get_nonce_size.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_mac_list.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_mac_set_priority.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_add_cert.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_add_cert_id.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_export.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_get_cert_id.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_get_extension.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_get_nonce.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_get_version.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_import.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_init.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_print.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_randomize_nonce.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_set_extension.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_set_nonce.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_check_crt.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_export.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_certs.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_extension.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_nonce.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_produced.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_responder.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_response.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_signature.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_signature_algorithm.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_single.3 +64 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_status.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_version.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_import.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_init.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_print.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_verify.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_verify_direct.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_status_request_enable_client.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_status_request_get.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_status_request_is_checked.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_check_hostname.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_export.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_export2.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_auth_subkey.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_creation_time.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_expiration_time.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_fingerprint.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_key_id.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_key_usage.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_name.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_algorithm.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_dsa_raw.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_rsa_raw.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_preferred_key_id.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_revoked_status.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_count.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_creation_time.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_expiration_time.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_fingerprint.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_id.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_idx.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_algorithm.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_dsa_raw.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_rsa_raw.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_revoked_status.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_usage.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_version.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_import.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_init.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_print.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_set_preferred_key_id.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_verify_ring.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_verify_self.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_check_id.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_get_crt.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_get_crt_count.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_import.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_init.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export2.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_dsa_raw.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_rsa_raw.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_subkey_dsa_raw.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_subkey_rsa_raw.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_fingerprint.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_key_id.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_pk_algorithm.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_preferred_key_id.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_revoked_status.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_count.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_creation_time.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_expiration_time.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_fingerprint.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_id.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_idx.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_pk_algorithm.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_revoked_status.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_import.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_init.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_sec_param.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_set_preferred_key_id.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_sign_hash.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_send_cert.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_set_recv_key_function.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_pcert_deinit.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_pcert_import_openpgp.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pcert_import_openpgp_raw.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_pcert_import_x509.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pcert_import_x509_raw.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_pcert_list_import_x509_raw.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_pem_base64_decode.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_pem_base64_decode_alloc.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_pem_base64_encode.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pem_base64_encode_alloc.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_perror.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_pk_algorithm_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_pk_bits_to_sec_param.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_pk_get_id.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_pk_get_name.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pk_list.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_pk_to_sign.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_add_provider.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_copy_secret_key.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_copy_x509_crt.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_copy_x509_privkey.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_deinit.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_delete_url.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_get_pin_function.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_get_raw_issuer.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_init.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_deinit.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export2.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export3.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export_url.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_get_info.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_get_type.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_import_url.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_init.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_list_import_url.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_list_import_url2.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_set_pin_function.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_export_url.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_generate.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_generate2.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_get_info.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_get_pk_algorithm.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_import_url.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_init.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_set_pin_function.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_status.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_reinit.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_set_pin_function.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_set_token_function.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_flags.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_info.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_mechanism.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_random.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_url.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_init.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_set_pin.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_type_get_name.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_decrypt.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_encrypt.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_count.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_data.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_friendly_name.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_key_id.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_type.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_init.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_crl.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_crt.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_data.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_friendly_name.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_key_id.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_export.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_export2.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_generate_mac.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_get_bag.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_import.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_init.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_set_bag.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_simple_parse.3 +84 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_verify_mac.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_delete_crl.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_delete_crt.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_export.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_export2.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crl_count.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crl_raw.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crt_count.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crt_raw.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_import.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_init.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crl.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crl_raw.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crt.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crt_raw.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_prf.3 +64 -0
- data/vendor/local/share/man/man3/gnutls_prf_raw.3 +62 -0
- data/vendor/local/share/man/man3/gnutls_priority_certificate_type_list.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_priority_cipher_list.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_priority_compression_list.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_priority_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_priority_ecc_curve_list.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_priority_get_cipher_suite_index.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_priority_init.3 +102 -0
- data/vendor/local/share/man/man3/gnutls_priority_kx_list.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_priority_mac_list.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_priority_protocol_list.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_priority_set.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_priority_set_direct.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_priority_sign_list.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_privkey_decrypt_data.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_privkey_deinit.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_privkey_get_pk_algorithm.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_privkey_get_type.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_ext.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_ext2.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_openpgp.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_openpgp_raw.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_pkcs11.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_pkcs11_url.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_tpm_raw.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_tpm_url.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_url.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_x509.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_x509_raw.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_privkey_init.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_privkey_set_pin_function.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_privkey_sign_data.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_privkey_sign_hash.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_privkey_sign_raw_data.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_privkey_status.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_protocol_get_id.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_protocol_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_protocol_get_version.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_protocol_list.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_protocol_set_priority.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_psk_allocate_client_credentials.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_psk_allocate_server_credentials.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_psk_client_get_hint.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_psk_free_client_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_psk_free_server_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_psk_server_get_username.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_client_credentials.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_client_credentials_function.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_params_function.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_file.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_function.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_hint.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_server_dh_params.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_server_params_function.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_deinit.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_encrypt_data.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_export.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_export2.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_key_id.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_key_usage.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_openpgp_key_id.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_algorithm.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_dsa_raw.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_ecc_raw.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_ecc_x962.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_rsa_raw.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_preferred_hash_algorithm.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_verify_algorithm.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_dsa_raw.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_ecc_raw.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_ecc_x962.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_openpgp.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_openpgp_raw.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_pkcs11.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_pkcs11_url.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_privkey.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_rsa_raw.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_tpm_raw.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_tpm_url.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_url.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_x509.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_x509_crq.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_x509_raw.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_init.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_print.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_set_key_usage.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_set_pin_function.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_verify_data.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_verify_data2.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_verify_hash.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_verify_hash2.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_random_art.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_range_split.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_record_can_use_length_hiding.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_record_check_corked.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_record_check_pending.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_record_cork.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_record_disable_padding.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_record_get_direction.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_record_get_discarded.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_record_get_max_size.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_record_overhead_size.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_record_recv.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_record_recv_seq.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_record_send.3 +64 -0
- data/vendor/local/share/man/man3/gnutls_record_send_range.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_record_set_max_empty_records.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_record_set_max_size.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_record_set_timeout.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_record_uncork.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_rehandshake.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_rnd.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_rnd_refresh.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_rsa_export_get_modulus_bits.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_rsa_export_get_pubkey.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_cpy.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_export_pkcs1.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_export_raw.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_generate2.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_import_pkcs1.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_import_raw.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_init.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_safe_renegotiation_status.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_sec_param_get_name.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_sec_param_to_pk_bits.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_server_name_get.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_server_name_set.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_session_channel_binding.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_session_enable_compatibility_mode.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_session_force_valid.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_session_get_data.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_session_get_data2.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_session_get_desc.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_session_get_id.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_session_get_id2.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_session_get_ptr.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_session_get_random.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_session_is_resumed.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_session_resumption_requested.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_session_set_data.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_session_set_id.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_session_set_premaster.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_session_set_ptr.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_session_ticket_enable_client.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_session_ticket_enable_server.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_session_ticket_key_generate.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_set_default_export_priority.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_set_default_priority.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_sign_algorithm_get.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_sign_algorithm_get_client.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_sign_algorithm_get_requested.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_sign_callback_get.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_sign_callback_set.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_sign_get_hash_algorithm.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_sign_get_id.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_sign_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_sign_get_pk_algorithm.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_sign_is_secure.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_sign_list.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_srp_allocate_client_credentials.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_srp_allocate_server_credentials.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_srp_base64_decode.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_srp_base64_decode_alloc.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_srp_base64_encode.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_srp_base64_encode_alloc.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_srp_free_client_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_srp_free_server_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_srp_server_get_username.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_srp_set_client_credentials.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_srp_set_client_credentials_function.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_srp_set_prime_bits.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_srp_set_server_credentials_file.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_srp_set_server_credentials_function.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_srp_verifier.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_srtp_get_keys.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_srtp_get_mki.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_srtp_get_profile_id.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_srtp_get_profile_name.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_srtp_get_selected_profile.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_srtp_set_mki.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_srtp_set_profile.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_srtp_set_profile_direct.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_store_commitment.3 +60 -0
- data/vendor/local/share/man/man3/gnutls_store_pubkey.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_strerror.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_strerror_name.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_supplemental_get_name.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_tdb_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_tdb_init.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_tdb_set_store_commitment_func.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_tdb_set_store_func.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_tdb_set_verify_func.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_tpm_get_registered.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_tpm_key_list_deinit.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_tpm_key_list_get_url.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_tpm_privkey_delete.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_tpm_privkey_generate.3 +64 -0
- data/vendor/local/share/man/man3/gnutls_transport_get_int.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_transport_get_int2.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_transport_get_ptr.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_transport_get_ptr2.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_errno.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_errno_function.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_int.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_int2.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_ptr.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_ptr2.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_pull_function.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_pull_timeout_function.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_push_function.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_vec_push_function.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_url_is_supported.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_verify_stored_pubkey.3 +67 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_check_issuer.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_export.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_export2.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_authority_key_gn_serial.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_authority_key_id.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_crt_count.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_crt_serial.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_dn_oid.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_data.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_info.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_oid.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn2.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn_by_oid.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_next_update.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_number.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_raw_issuer_dn.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_signature.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_signature_algorithm.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_this_update.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_version.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_import.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_init.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_list_import.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_list_import2.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_print.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_privkey_sign.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_authority_key_id.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_crt.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_crt_serial.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_next_update.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_number.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_this_update.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_version.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_sign.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_sign2.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_verify.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_deinit.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_export.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_export2.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_by_oid.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_data.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_info.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_basic_constraints.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_challenge_password.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn2.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn_by_oid.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn_oid.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_by_oid.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_data.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_info.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_id.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_purpose_oid.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_rsa_raw.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_usage.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_pk_algorithm.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_private_key_usage_period.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_subject_alt_name.3 +60 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_subject_alt_othername_oid.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_version.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_import.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_init.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_print.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_privkey_sign.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_attribute_by_oid.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_basic_constraints.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_challenge_password.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_dn.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_dn_by_oid.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_key.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_purpose_oid.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_rsa_raw.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_usage.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_private_key_usage_period.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_pubkey.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_subject_alt_name.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_version.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_sign.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_sign2.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_verify.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_check_hostname.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_check_issuer.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_check_revocation.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_cpy_crl_dist_points.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_export.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_export2.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_activation_time.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_info_access.3 +100 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_key_gn_serial.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_key_id.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_basic_constraints.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_ca_status.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_crl_dist_points.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn2.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn_by_oid.3 +60 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn_oid.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_expiration_time.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_by_oid.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_data.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_info.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_oid.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_fingerprint.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_name.3 +64 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_name2.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_othername_oid.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn2.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn_by_oid.3 +60 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn_oid.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_unique_id.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_id.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_purpose_oid.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_usage.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_algorithm.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_dsa_raw.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_rsa_raw.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_policy.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_preferred_hash_algorithm.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_private_key_usage_period.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_proxy.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_raw_dn.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_raw_issuer_dn.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_serial.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_signature.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_signature_algorithm.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name2.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_othername_oid.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_key_id.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_unique_id.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_verify_algorithm.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_version.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_import.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_import_pkcs11.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_import_pkcs11_url.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_init.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_import.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_import2.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_import_pkcs11.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_verify.3 +62 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_print.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_privkey_sign.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_activation_time.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_authority_info_access.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_authority_key_id.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_basic_constraints.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_ca_status.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crl_dist_points.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crl_dist_points2.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crq.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crq_extensions.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_dn.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_dn_by_oid.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_expiration_time.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_extension_by_oid.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_issuer_dn.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_issuer_dn_by_oid.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_key.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_key_purpose_oid.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_key_usage.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_pin_function.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_policy.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_private_key_usage_period.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_proxy.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_proxy_dn.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_pubkey.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_serial.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_alt_name.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_alternative_name.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_key_id.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_version.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_sign.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_sign2.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_verify.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_verify_data.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_verify_hash.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_deinit.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_export.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_export2.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_get_rdn_ava.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_import.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_init.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_oid_known.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_oid_name.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_x509_policy_release.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_cpy.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export2.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export2_pkcs8.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_dsa_raw.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_ecc_raw.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_pkcs8.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_rsa_raw.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_rsa_raw2.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_fix.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_generate.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_get_key_id.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_get_pk_algorithm.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_get_pk_algorithm2.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import2.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_dsa_raw.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_ecc_raw.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_openssl.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_pkcs8.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_rsa_raw.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_rsa_raw2.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_init.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_sec_param.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_sign_data.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_sign_hash.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_verify_params.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_rdn_get.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_rdn_get_by_oid.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_x509_rdn_get_oid.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_cas.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_crls.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_named_crt.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_system_trust.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_trust_file.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_trust_mem.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_deinit.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_get_issuer.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_init.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_remove_cas.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_remove_trust_file.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_remove_trust_mem.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_verify_crt.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_verify_named_crt.3 +53 -0
- data/vendor/local/share/man/man3/iconv.3 +92 -0
- data/vendor/local/share/man/man3/iconv_close.3 +31 -0
- data/vendor/local/share/man/man3/iconv_open.3 +205 -0
- data/vendor/local/share/man/man3/iconv_open_into.3 +47 -0
- data/vendor/local/share/man/man3/iconvctl.3 +67 -0
- data/vendor/local/share/man/man3/ngettext.3 +60 -0
- data/vendor/local/share/man/man3/textdomain.3 +57 -0
- data/vendor/local/share/man/man3/xssl_client_init.3 +56 -0
- data/vendor/local/share/man/man3/xssl_cred_deinit.3 +37 -0
- data/vendor/local/share/man/man3/xssl_cred_init.3 +48 -0
- data/vendor/local/share/man/man3/xssl_deinit.3 +36 -0
- data/vendor/local/share/man/man3/xssl_flush.3 +39 -0
- data/vendor/local/share/man/man3/xssl_get_session.3 +35 -0
- data/vendor/local/share/man/man3/xssl_getdelim.3 +49 -0
- data/vendor/local/share/man/man3/xssl_printf.3 +45 -0
- data/vendor/local/share/man/man3/xssl_read.3 +43 -0
- data/vendor/local/share/man/man3/xssl_server_init.3 +50 -0
- data/vendor/local/share/man/man3/xssl_sinit.3 +44 -0
- data/vendor/local/share/man/man3/xssl_write.3 +47 -0
- metadata +2311 -0
@@ -0,0 +1,2562 @@
|
|
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>GIO Reference Manual: GTask</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.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.21.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="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#GTask.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#GTask.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span>
|
20
|
+
<a href="#GTask.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span>
|
21
|
+
</td>
|
22
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
23
|
+
<td><a accesskey="u" href="async.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
24
|
+
<td><a accesskey="p" href="GAsyncResult.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
25
|
+
<td><a accesskey="n" href="gio-GIOScheduler.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
26
|
+
</tr></table>
|
27
|
+
<div class="refentry">
|
28
|
+
<a name="GTask"></a><div class="titlepage"></div>
|
29
|
+
<div class="refnamediv"><table width="100%"><tr>
|
30
|
+
<td valign="top">
|
31
|
+
<h2><span class="refentrytitle"><a name="GTask.top_of_page"></a>GTask</span></h2>
|
32
|
+
<p>GTask — Cancellable synchronous or asynchronous task
|
33
|
+
and result</p>
|
34
|
+
</td>
|
35
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
36
|
+
</tr></table></div>
|
37
|
+
<div class="refsect1">
|
38
|
+
<a name="GTask.functions"></a><h2>Functions</h2>
|
39
|
+
<div class="informaltable"><table width="100%" border="0">
|
40
|
+
<colgroup>
|
41
|
+
<col width="150px" class="functions_return">
|
42
|
+
<col class="functions_name">
|
43
|
+
</colgroup>
|
44
|
+
<tbody>
|
45
|
+
<tr>
|
46
|
+
<td class="function_type">
|
47
|
+
<a class="link" href="GTask.html" title="GTask"><span class="returnvalue">GTask</span></a> *
|
48
|
+
</td>
|
49
|
+
<td class="function_name">
|
50
|
+
<a class="link" href="GTask.html#g-task-new" title="g_task_new ()">g_task_new</a> <span class="c_punctuation">()</span>
|
51
|
+
</td>
|
52
|
+
</tr>
|
53
|
+
<tr>
|
54
|
+
<td class="function_type">
|
55
|
+
<span class="returnvalue">void</span>
|
56
|
+
</td>
|
57
|
+
<td class="function_name">
|
58
|
+
<a class="link" href="GTask.html#g-task-set-task-data" title="g_task_set_task_data ()">g_task_set_task_data</a> <span class="c_punctuation">()</span>
|
59
|
+
</td>
|
60
|
+
</tr>
|
61
|
+
<tr>
|
62
|
+
<td class="function_type">
|
63
|
+
<span class="returnvalue">void</span>
|
64
|
+
</td>
|
65
|
+
<td class="function_name">
|
66
|
+
<a class="link" href="GTask.html#g-task-set-priority" title="g_task_set_priority ()">g_task_set_priority</a> <span class="c_punctuation">()</span>
|
67
|
+
</td>
|
68
|
+
</tr>
|
69
|
+
<tr>
|
70
|
+
<td class="function_type">
|
71
|
+
<span class="returnvalue">void</span>
|
72
|
+
</td>
|
73
|
+
<td class="function_name">
|
74
|
+
<a class="link" href="GTask.html#g-task-set-check-cancellable" title="g_task_set_check_cancellable ()">g_task_set_check_cancellable</a> <span class="c_punctuation">()</span>
|
75
|
+
</td>
|
76
|
+
</tr>
|
77
|
+
<tr>
|
78
|
+
<td class="function_type">
|
79
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
80
|
+
</td>
|
81
|
+
<td class="function_name">
|
82
|
+
<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> <span class="c_punctuation">()</span>
|
83
|
+
</td>
|
84
|
+
</tr>
|
85
|
+
<tr>
|
86
|
+
<td class="function_type">
|
87
|
+
<span class="returnvalue">void</span>
|
88
|
+
</td>
|
89
|
+
<td class="function_name">
|
90
|
+
<a class="link" href="GTask.html#g-task-set-source-tag" title="g_task_set_source_tag ()">g_task_set_source_tag</a> <span class="c_punctuation">()</span>
|
91
|
+
</td>
|
92
|
+
</tr>
|
93
|
+
<tr>
|
94
|
+
<td class="function_type">
|
95
|
+
<span class="returnvalue">void</span>
|
96
|
+
</td>
|
97
|
+
<td class="function_name">
|
98
|
+
<a class="link" href="GTask.html#g-task-report-error" title="g_task_report_error ()">g_task_report_error</a> <span class="c_punctuation">()</span>
|
99
|
+
</td>
|
100
|
+
</tr>
|
101
|
+
<tr>
|
102
|
+
<td class="function_type">
|
103
|
+
<span class="returnvalue">void</span>
|
104
|
+
</td>
|
105
|
+
<td class="function_name">
|
106
|
+
<a class="link" href="GTask.html#g-task-report-new-error" title="g_task_report_new_error ()">g_task_report_new_error</a> <span class="c_punctuation">()</span>
|
107
|
+
</td>
|
108
|
+
</tr>
|
109
|
+
<tr>
|
110
|
+
<td class="function_type">
|
111
|
+
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
112
|
+
</td>
|
113
|
+
<td class="function_name">
|
114
|
+
<a class="link" href="GTask.html#g-task-get-task-data" title="g_task_get_task_data ()">g_task_get_task_data</a> <span class="c_punctuation">()</span>
|
115
|
+
</td>
|
116
|
+
</tr>
|
117
|
+
<tr>
|
118
|
+
<td class="function_type">
|
119
|
+
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
120
|
+
</td>
|
121
|
+
<td class="function_name">
|
122
|
+
<a class="link" href="GTask.html#g-task-get-priority" title="g_task_get_priority ()">g_task_get_priority</a> <span class="c_punctuation">()</span>
|
123
|
+
</td>
|
124
|
+
</tr>
|
125
|
+
<tr>
|
126
|
+
<td class="function_type">
|
127
|
+
<a class="link" href="GCancellable.html" title="GCancellable"><span class="returnvalue">GCancellable</span></a> *
|
128
|
+
</td>
|
129
|
+
<td class="function_name">
|
130
|
+
<a class="link" href="GTask.html#g-task-get-cancellable" title="g_task_get_cancellable ()">g_task_get_cancellable</a> <span class="c_punctuation">()</span>
|
131
|
+
</td>
|
132
|
+
</tr>
|
133
|
+
<tr>
|
134
|
+
<td class="function_type">
|
135
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
136
|
+
</td>
|
137
|
+
<td class="function_name">
|
138
|
+
<a class="link" href="GTask.html#g-task-get-check-cancellable" title="g_task_get_check_cancellable ()">g_task_get_check_cancellable</a> <span class="c_punctuation">()</span>
|
139
|
+
</td>
|
140
|
+
</tr>
|
141
|
+
<tr>
|
142
|
+
<td class="function_type">
|
143
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
144
|
+
</td>
|
145
|
+
<td class="function_name">
|
146
|
+
<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> <span class="c_punctuation">()</span>
|
147
|
+
</td>
|
148
|
+
</tr>
|
149
|
+
<tr>
|
150
|
+
<td class="function_type">
|
151
|
+
<a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="returnvalue">GMainContext</span></a> *
|
152
|
+
</td>
|
153
|
+
<td class="function_name">
|
154
|
+
<a class="link" href="GTask.html#g-task-get-context" title="g_task_get_context ()">g_task_get_context</a> <span class="c_punctuation">()</span>
|
155
|
+
</td>
|
156
|
+
</tr>
|
157
|
+
<tr>
|
158
|
+
<td class="function_type">
|
159
|
+
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
160
|
+
</td>
|
161
|
+
<td class="function_name">
|
162
|
+
<a class="link" href="GTask.html#g-task-get-source-object" title="g_task_get_source_object ()">g_task_get_source_object</a> <span class="c_punctuation">()</span>
|
163
|
+
</td>
|
164
|
+
</tr>
|
165
|
+
<tr>
|
166
|
+
<td class="function_type">
|
167
|
+
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
168
|
+
</td>
|
169
|
+
<td class="function_name">
|
170
|
+
<a class="link" href="GTask.html#g-task-get-source-tag" title="g_task_get_source_tag ()">g_task_get_source_tag</a> <span class="c_punctuation">()</span>
|
171
|
+
</td>
|
172
|
+
</tr>
|
173
|
+
<tr>
|
174
|
+
<td class="function_type">
|
175
|
+
<span class="returnvalue">void</span>
|
176
|
+
</td>
|
177
|
+
<td class="function_name">
|
178
|
+
<a class="link" href="GTask.html#g-task-return-boolean" title="g_task_return_boolean ()">g_task_return_boolean</a> <span class="c_punctuation">()</span>
|
179
|
+
</td>
|
180
|
+
</tr>
|
181
|
+
<tr>
|
182
|
+
<td class="function_type">
|
183
|
+
<span class="returnvalue">void</span>
|
184
|
+
</td>
|
185
|
+
<td class="function_name">
|
186
|
+
<a class="link" href="GTask.html#g-task-return-int" title="g_task_return_int ()">g_task_return_int</a> <span class="c_punctuation">()</span>
|
187
|
+
</td>
|
188
|
+
</tr>
|
189
|
+
<tr>
|
190
|
+
<td class="function_type">
|
191
|
+
<span class="returnvalue">void</span>
|
192
|
+
</td>
|
193
|
+
<td class="function_name">
|
194
|
+
<a class="link" href="GTask.html#g-task-return-pointer" title="g_task_return_pointer ()">g_task_return_pointer</a> <span class="c_punctuation">()</span>
|
195
|
+
</td>
|
196
|
+
</tr>
|
197
|
+
<tr>
|
198
|
+
<td class="function_type">
|
199
|
+
<span class="returnvalue">void</span>
|
200
|
+
</td>
|
201
|
+
<td class="function_name">
|
202
|
+
<a class="link" href="GTask.html#g-task-return-error" title="g_task_return_error ()">g_task_return_error</a> <span class="c_punctuation">()</span>
|
203
|
+
</td>
|
204
|
+
</tr>
|
205
|
+
<tr>
|
206
|
+
<td class="function_type">
|
207
|
+
<span class="returnvalue">void</span>
|
208
|
+
</td>
|
209
|
+
<td class="function_name">
|
210
|
+
<a class="link" href="GTask.html#g-task-return-new-error" title="g_task_return_new_error ()">g_task_return_new_error</a> <span class="c_punctuation">()</span>
|
211
|
+
</td>
|
212
|
+
</tr>
|
213
|
+
<tr>
|
214
|
+
<td class="function_type">
|
215
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
216
|
+
</td>
|
217
|
+
<td class="function_name">
|
218
|
+
<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> <span class="c_punctuation">()</span>
|
219
|
+
</td>
|
220
|
+
</tr>
|
221
|
+
<tr>
|
222
|
+
<td class="function_type">
|
223
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
224
|
+
</td>
|
225
|
+
<td class="function_name">
|
226
|
+
<a class="link" href="GTask.html#g-task-propagate-boolean" title="g_task_propagate_boolean ()">g_task_propagate_boolean</a> <span class="c_punctuation">()</span>
|
227
|
+
</td>
|
228
|
+
</tr>
|
229
|
+
<tr>
|
230
|
+
<td class="function_type">
|
231
|
+
<a href="../glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
232
|
+
</td>
|
233
|
+
<td class="function_name">
|
234
|
+
<a class="link" href="GTask.html#g-task-propagate-int" title="g_task_propagate_int ()">g_task_propagate_int</a> <span class="c_punctuation">()</span>
|
235
|
+
</td>
|
236
|
+
</tr>
|
237
|
+
<tr>
|
238
|
+
<td class="function_type">
|
239
|
+
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
240
|
+
</td>
|
241
|
+
<td class="function_name">
|
242
|
+
<a class="link" href="GTask.html#g-task-propagate-pointer" title="g_task_propagate_pointer ()">g_task_propagate_pointer</a> <span class="c_punctuation">()</span>
|
243
|
+
</td>
|
244
|
+
</tr>
|
245
|
+
<tr>
|
246
|
+
<td class="function_type">
|
247
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
248
|
+
</td>
|
249
|
+
<td class="function_name">
|
250
|
+
<a class="link" href="GTask.html#g-task-had-error" title="g_task_had_error ()">g_task_had_error</a> <span class="c_punctuation">()</span>
|
251
|
+
</td>
|
252
|
+
</tr>
|
253
|
+
<tr>
|
254
|
+
<td class="function_type">
|
255
|
+
<span class="returnvalue">void</span>
|
256
|
+
</td>
|
257
|
+
<td class="function_name">
|
258
|
+
<a class="link" href="GTask.html#g-task-run-in-thread" title="g_task_run_in_thread ()">g_task_run_in_thread</a> <span class="c_punctuation">()</span>
|
259
|
+
</td>
|
260
|
+
</tr>
|
261
|
+
<tr>
|
262
|
+
<td class="function_type">
|
263
|
+
<span class="returnvalue">void</span>
|
264
|
+
</td>
|
265
|
+
<td class="function_name">
|
266
|
+
<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> <span class="c_punctuation">()</span>
|
267
|
+
</td>
|
268
|
+
</tr>
|
269
|
+
<tr>
|
270
|
+
<td class="function_type">
|
271
|
+
<span class="returnvalue">void</span>
|
272
|
+
</td>
|
273
|
+
<td class="function_name">
|
274
|
+
<span class="c_punctuation">(</span><a class="link" href="GTask.html#GTaskThreadFunc" title="GTaskThreadFunc ()">*GTaskThreadFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
|
275
|
+
</td>
|
276
|
+
</tr>
|
277
|
+
<tr>
|
278
|
+
<td class="function_type">
|
279
|
+
<span class="returnvalue">void</span>
|
280
|
+
</td>
|
281
|
+
<td class="function_name">
|
282
|
+
<a class="link" href="GTask.html#g-task-attach-source" title="g_task_attach_source ()">g_task_attach_source</a> <span class="c_punctuation">()</span>
|
283
|
+
</td>
|
284
|
+
</tr>
|
285
|
+
<tr>
|
286
|
+
<td class="function_type">
|
287
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
288
|
+
</td>
|
289
|
+
<td class="function_name">
|
290
|
+
<a class="link" href="GTask.html#g-task-is-valid" title="g_task_is_valid ()">g_task_is_valid</a> <span class="c_punctuation">()</span>
|
291
|
+
</td>
|
292
|
+
</tr>
|
293
|
+
</tbody>
|
294
|
+
</table></div>
|
295
|
+
</div>
|
296
|
+
<div class="refsect1">
|
297
|
+
<a name="GTask.other"></a><h2>Types and Values</h2>
|
298
|
+
<div class="informaltable"><table width="100%" border="0">
|
299
|
+
<colgroup>
|
300
|
+
<col width="150px" class="name">
|
301
|
+
<col class="description">
|
302
|
+
</colgroup>
|
303
|
+
<tbody><tr>
|
304
|
+
<td class="datatype_keyword"> </td>
|
305
|
+
<td class="function_name"><a class="link" href="GTask.html#GTask-struct" title="GTask">GTask</a></td>
|
306
|
+
</tr></tbody>
|
307
|
+
</table></div>
|
308
|
+
</div>
|
309
|
+
<div class="refsect1">
|
310
|
+
<a name="GTask.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
311
|
+
<pre class="screen"> <a href="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
312
|
+
<span class="lineart">╰──</span> GTask
|
313
|
+
</pre>
|
314
|
+
</div>
|
315
|
+
<div class="refsect1">
|
316
|
+
<a name="GTask.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
317
|
+
<p>
|
318
|
+
GTask implements
|
319
|
+
<a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a>.</p>
|
320
|
+
</div>
|
321
|
+
<div class="refsect1">
|
322
|
+
<a name="GTask.includes"></a><h2>Includes</h2>
|
323
|
+
<pre class="synopsis">#include <gio/gio.h>
|
324
|
+
</pre>
|
325
|
+
</div>
|
326
|
+
<div class="refsect1">
|
327
|
+
<a name="GTask.description"></a><h2>Description</h2>
|
328
|
+
<p>A <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> represents and manages a cancellable "task".</p>
|
329
|
+
<div class="refsect3">
|
330
|
+
<a name="id-1.4.5.4.8.3"></a><h4>Asynchronous operations</h4>
|
331
|
+
<p>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
|
332
|
+
manage data during an asynchronous operation. You call
|
333
|
+
<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
|
334
|
+
<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
|
335
|
+
additional data associated with the task, and then pass the
|
336
|
+
task object around through your asynchronous operation.
|
337
|
+
Eventually, you will call a method such as
|
338
|
+
<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
|
339
|
+
save the value you give it and then invoke the task's callback
|
340
|
+
function (waiting until the next iteration of the main
|
341
|
+
loop first, if necessary). The caller will pass the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> back
|
342
|
+
to the operation's finish function (as a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>), and
|
343
|
+
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
|
344
|
+
the return value.</p>
|
345
|
+
<p>Here is an example for using GTask as a GAsyncResult:</p>
|
346
|
+
<div class="informalexample">
|
347
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
348
|
+
<tbody>
|
349
|
+
<tr>
|
350
|
+
<td class="listing_lines" align="right"><pre>1
|
351
|
+
2
|
352
|
+
3
|
353
|
+
4
|
354
|
+
5
|
355
|
+
6
|
356
|
+
7
|
357
|
+
8
|
358
|
+
9
|
359
|
+
10
|
360
|
+
11
|
361
|
+
12
|
362
|
+
13
|
363
|
+
14
|
364
|
+
15
|
365
|
+
16
|
366
|
+
17
|
367
|
+
18
|
368
|
+
19
|
369
|
+
20
|
370
|
+
21
|
371
|
+
22
|
372
|
+
23
|
373
|
+
24
|
374
|
+
25
|
375
|
+
26
|
376
|
+
27
|
377
|
+
28
|
378
|
+
29
|
379
|
+
30
|
380
|
+
31
|
381
|
+
32
|
382
|
+
33
|
383
|
+
34
|
384
|
+
35
|
385
|
+
36
|
386
|
+
37
|
387
|
+
38
|
388
|
+
39
|
389
|
+
40
|
390
|
+
41
|
391
|
+
42
|
392
|
+
43
|
393
|
+
44
|
394
|
+
45
|
395
|
+
46
|
396
|
+
47
|
397
|
+
48
|
398
|
+
49
|
399
|
+
50
|
400
|
+
51
|
401
|
+
52
|
402
|
+
53
|
403
|
+
54
|
404
|
+
55
|
405
|
+
56
|
406
|
+
57
|
407
|
+
58
|
408
|
+
59
|
409
|
+
60
|
410
|
+
61
|
411
|
+
62
|
412
|
+
63
|
413
|
+
64
|
414
|
+
65
|
415
|
+
66
|
416
|
+
67
|
417
|
+
68
|
418
|
+
69
|
419
|
+
70
|
420
|
+
71
|
421
|
+
72
|
422
|
+
73
|
423
|
+
74
|
424
|
+
75
|
425
|
+
76
|
426
|
+
77
|
427
|
+
78
|
428
|
+
79
|
429
|
+
80
|
430
|
+
81
|
431
|
+
82
|
432
|
+
83
|
433
|
+
84
|
434
|
+
85
|
435
|
+
86
|
436
|
+
87
|
437
|
+
88
|
438
|
+
89
|
439
|
+
90
|
440
|
+
91</pre></td>
|
441
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">typedef</span><span class="normal"> </span><span class="keyword">struct</span><span class="normal"> </span><span class="cbracket">{</span>
|
442
|
+
<span class="normal"> </span><span class="usertype">CakeFrostingType</span><span class="normal"> frosting</span><span class="symbol">;</span>
|
443
|
+
<span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">message</span><span class="symbol">;</span>
|
444
|
+
<span class="cbracket">}</span><span class="normal"> DecorationData</span><span class="symbol">;</span>
|
445
|
+
|
446
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
447
|
+
<span class="function">decoration_data_free</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">DecorationData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">decoration</span><span class="symbol">)</span>
|
448
|
+
<span class="cbracket">{</span>
|
449
|
+
<span class="normal"> </span><span class="function"><a href="../glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">decoration</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">);</span>
|
450
|
+
<span class="normal"> </span><span class="function"><a href="../glib/glib-Memory-Slices.html#g-slice-free">g_slice_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">DecorationData</span><span class="symbol">,</span><span class="normal"> decoration</span><span class="symbol">);</span>
|
451
|
+
<span class="cbracket">}</span>
|
452
|
+
|
453
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
454
|
+
<span class="function">baked_cb</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Cake</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake</span><span class="symbol">,</span>
|
455
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
456
|
+
<span class="cbracket">{</span>
|
457
|
+
<span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task </span><span class="symbol">=</span><span class="normal"> user_data</span><span class="symbol">;</span>
|
458
|
+
<span class="normal"> </span><span class="usertype">DecorationData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">decoration </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-get-task-data">g_task_get_task_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
459
|
+
<span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
460
|
+
|
461
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake </span><span class="symbol">==</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
462
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
463
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-new-error">g_task_return_new_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> BAKER_ERROR</span><span class="symbol">,</span><span class="normal"> BAKER_ERROR_NO_FLOUR</span><span class="symbol">,</span>
|
464
|
+
<span class="normal"> </span><span class="string">"Go to the supermarket"</span><span class="symbol">);</span>
|
465
|
+
<span class="normal"> </span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
466
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
|
467
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
468
|
+
|
469
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="function">cake_decorate</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake</span><span class="symbol">,</span><span class="normal"> decoration</span><span class="symbol">-></span><span class="normal">frosting</span><span class="symbol">,</span><span class="normal"> decoration</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">))</span>
|
470
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
471
|
+
<span class="normal"> </span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake</span><span class="symbol">);</span>
|
472
|
+
<span class="normal"> </span><span class="comment">// g_task_return_error() takes ownership of error</span>
|
473
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-error">g_task_return_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">);</span>
|
474
|
+
<span class="normal"> </span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
475
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
|
476
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
477
|
+
|
478
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-pointer">g_task_return_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> cake</span><span class="symbol">,</span><span class="normal"> <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="symbol">);</span>
|
479
|
+
<span class="normal"> </span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
480
|
+
<span class="cbracket">}</span>
|
481
|
+
|
482
|
+
<span class="type">void</span>
|
483
|
+
<span class="function">baker_bake_cake_async</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self</span><span class="symbol">,</span>
|
484
|
+
<span class="normal"> </span><span class="usertype">guint</span><span class="normal"> radius</span><span class="symbol">,</span>
|
485
|
+
<span class="normal"> </span><span class="usertype">CakeFlavor</span><span class="normal"> flavor</span><span class="symbol">,</span>
|
486
|
+
<span class="normal"> </span><span class="usertype">CakeFrostingType</span><span class="normal"> frosting</span><span class="symbol">,</span>
|
487
|
+
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">message</span><span class="symbol">,</span>
|
488
|
+
<span class="normal"> </span><span class="usertype">GCancellable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cancellable</span><span class="symbol">,</span>
|
489
|
+
<span class="normal"> </span><span class="usertype">GAsyncReadyCallback</span><span class="normal"> callback</span><span class="symbol">,</span>
|
490
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
491
|
+
<span class="cbracket">{</span>
|
492
|
+
<span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task</span><span class="symbol">;</span>
|
493
|
+
<span class="normal"> </span><span class="usertype">DecorationData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">decoration</span><span class="symbol">;</span>
|
494
|
+
<span class="normal"> </span><span class="usertype">Cake</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake</span><span class="symbol">;</span>
|
495
|
+
|
496
|
+
<span class="normal"> task </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-new">g_task_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">,</span><span class="normal"> cancellable</span><span class="symbol">,</span><span class="normal"> callback</span><span class="symbol">,</span><span class="normal"> user_data</span><span class="symbol">);</span>
|
497
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">radius </span><span class="symbol"><</span><span class="normal"> </span><span class="number">3</span><span class="symbol">)</span>
|
498
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
499
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-new-error">g_task_return_new_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> BAKER_ERROR</span><span class="symbol">,</span><span class="normal"> BAKER_ERROR_TOO_SMALL</span><span class="symbol">,</span>
|
500
|
+
<span class="normal"> </span><span class="string">"%ucm radius cakes are silly"</span><span class="symbol">,</span>
|
501
|
+
<span class="normal"> radius</span><span class="symbol">);</span>
|
502
|
+
<span class="normal"> </span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
503
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
|
504
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
505
|
+
|
506
|
+
<span class="normal"> cake </span><span class="symbol">=</span><span class="normal"> </span><span class="function">_baker_get_cached_cake</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">,</span><span class="normal"> radius</span><span class="symbol">,</span><span class="normal"> flavor</span><span class="symbol">,</span><span class="normal"> frosting</span><span class="symbol">,</span><span class="normal"> message</span><span class="symbol">);</span>
|
507
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake </span><span class="symbol">!=</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
508
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
509
|
+
<span class="normal"> </span><span class="comment">// _baker_get_cached_cake() returns a reffed cake</span>
|
510
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-pointer">g_task_return_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> cake</span><span class="symbol">,</span><span class="normal"> <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="symbol">);</span>
|
511
|
+
<span class="normal"> </span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
512
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
|
513
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
514
|
+
|
515
|
+
<span class="normal"> decoration </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib/glib-Memory-Slices.html#g-slice-new">g_slice_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">DecorationData</span><span class="symbol">);</span>
|
516
|
+
<span class="normal"> decoration</span><span class="symbol">-></span><span class="normal">frosting </span><span class="symbol">=</span><span class="normal"> frosting</span><span class="symbol">;</span>
|
517
|
+
<span class="normal"> decoration</span><span class="symbol">-></span><span class="normal">message </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib/glib-String-Utility-Functions.html#g-strdup">g_strdup</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">message</span><span class="symbol">);</span>
|
518
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-set-task-data">g_task_set_task_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> decoration</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="../glib/glib-Datasets.html#GDestroyNotify">GDestroyNotify</a></span><span class="symbol">)</span><span class="normal"> decoration_data_free</span><span class="symbol">);</span>
|
519
|
+
|
520
|
+
<span class="normal"> </span><span class="function">_baker_begin_cake</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">,</span><span class="normal"> radius</span><span class="symbol">,</span><span class="normal"> flavor</span><span class="symbol">,</span><span class="normal"> cancellable</span><span class="symbol">,</span><span class="normal"> baked_cb</span><span class="symbol">,</span><span class="normal"> task</span><span class="symbol">);</span>
|
521
|
+
<span class="cbracket">}</span>
|
522
|
+
|
523
|
+
<span class="normal">Cake </span><span class="symbol">*</span>
|
524
|
+
<span class="function">baker_bake_cake_finish</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self</span><span class="symbol">,</span>
|
525
|
+
<span class="normal"> </span><span class="usertype">GAsyncResult</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">result</span><span class="symbol">,</span>
|
526
|
+
<span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">**</span><span class="normal">error</span><span class="symbol">)</span>
|
527
|
+
<span class="cbracket">{</span>
|
528
|
+
<span class="normal"> </span><span class="function"><a href="../glib/glib-Warnings-and-Assertions.html#g-return-val-if-fail">g_return_val_if_fail</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GTask.html#g-task-is-valid">g_task_is_valid</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">result</span><span class="symbol">,</span><span class="normal"> self</span><span class="symbol">),</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
529
|
+
|
530
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-propagate-pointer">g_task_propagate_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_TASK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">result</span><span class="symbol">),</span><span class="normal"> error</span><span class="symbol">);</span>
|
531
|
+
<span class="cbracket">}</span></pre></td>
|
532
|
+
</tr>
|
533
|
+
</tbody>
|
534
|
+
</table>
|
535
|
+
</div>
|
536
|
+
|
537
|
+
<p></p>
|
538
|
+
</div>
|
539
|
+
<div class="refsect3">
|
540
|
+
<a name="id-1.4.5.4.8.4"></a><h4>Chained asynchronous operations</h4>
|
541
|
+
<p><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> also tries to simplify asynchronous operations that
|
542
|
+
internally chain together several smaller asynchronous
|
543
|
+
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>,
|
544
|
+
and <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
|
545
|
+
<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" title="I/O Priority">I/O priority</a>
|
546
|
+
when starting a new subtask, so you don't have to keep track
|
547
|
+
of them yourself. <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
|
548
|
+
of waiting for a source to fire (automatically using the correct
|
549
|
+
<a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a> and priority).</p>
|
550
|
+
<p>Here is an example for chained asynchronous operations:</p>
|
551
|
+
<div class="informalexample">
|
552
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
553
|
+
<tbody>
|
554
|
+
<tr>
|
555
|
+
<td class="listing_lines" align="right"><pre>1
|
556
|
+
2
|
557
|
+
3
|
558
|
+
4
|
559
|
+
5
|
560
|
+
6
|
561
|
+
7
|
562
|
+
8
|
563
|
+
9
|
564
|
+
10
|
565
|
+
11
|
566
|
+
12
|
567
|
+
13
|
568
|
+
14
|
569
|
+
15
|
570
|
+
16
|
571
|
+
17
|
572
|
+
18
|
573
|
+
19
|
574
|
+
20
|
575
|
+
21
|
576
|
+
22
|
577
|
+
23
|
578
|
+
24
|
579
|
+
25
|
580
|
+
26
|
581
|
+
27
|
582
|
+
28
|
583
|
+
29
|
584
|
+
30
|
585
|
+
31
|
586
|
+
32
|
587
|
+
33
|
588
|
+
34
|
589
|
+
35
|
590
|
+
36
|
591
|
+
37
|
592
|
+
38
|
593
|
+
39
|
594
|
+
40
|
595
|
+
41
|
596
|
+
42
|
597
|
+
43
|
598
|
+
44
|
599
|
+
45
|
600
|
+
46
|
601
|
+
47
|
602
|
+
48
|
603
|
+
49
|
604
|
+
50
|
605
|
+
51
|
606
|
+
52
|
607
|
+
53
|
608
|
+
54
|
609
|
+
55
|
610
|
+
56
|
611
|
+
57
|
612
|
+
58
|
613
|
+
59
|
614
|
+
60
|
615
|
+
61
|
616
|
+
62
|
617
|
+
63
|
618
|
+
64
|
619
|
+
65
|
620
|
+
66
|
621
|
+
67
|
622
|
+
68
|
623
|
+
69
|
624
|
+
70
|
625
|
+
71
|
626
|
+
72
|
627
|
+
73
|
628
|
+
74
|
629
|
+
75
|
630
|
+
76
|
631
|
+
77
|
632
|
+
78
|
633
|
+
79
|
634
|
+
80
|
635
|
+
81
|
636
|
+
82
|
637
|
+
83
|
638
|
+
84
|
639
|
+
85
|
640
|
+
86
|
641
|
+
87
|
642
|
+
88
|
643
|
+
89
|
644
|
+
90
|
645
|
+
91
|
646
|
+
92
|
647
|
+
93
|
648
|
+
94
|
649
|
+
95
|
650
|
+
96
|
651
|
+
97
|
652
|
+
98
|
653
|
+
99
|
654
|
+
100
|
655
|
+
101
|
656
|
+
102
|
657
|
+
103
|
658
|
+
104
|
659
|
+
105
|
660
|
+
106
|
661
|
+
107
|
662
|
+
108
|
663
|
+
109
|
664
|
+
110
|
665
|
+
111
|
666
|
+
112
|
667
|
+
113
|
668
|
+
114
|
669
|
+
115
|
670
|
+
116
|
671
|
+
117
|
672
|
+
118
|
673
|
+
119
|
674
|
+
120
|
675
|
+
121
|
676
|
+
122</pre></td>
|
677
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">typedef</span><span class="normal"> </span><span class="keyword">struct</span><span class="normal"> </span><span class="cbracket">{</span>
|
678
|
+
<span class="normal"> </span><span class="usertype">Cake</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake</span><span class="symbol">;</span>
|
679
|
+
<span class="normal"> </span><span class="usertype">CakeFrostingType</span><span class="normal"> frosting</span><span class="symbol">;</span>
|
680
|
+
<span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">message</span><span class="symbol">;</span>
|
681
|
+
<span class="cbracket">}</span><span class="normal"> BakingData</span><span class="symbol">;</span>
|
682
|
+
|
683
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
684
|
+
<span class="function">decoration_data_free</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">BakingData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">bd</span><span class="symbol">)</span>
|
685
|
+
<span class="cbracket">{</span>
|
686
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bd</span><span class="symbol">-></span><span class="normal">cake</span><span class="symbol">)</span>
|
687
|
+
<span class="normal"> </span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bd</span><span class="symbol">-></span><span class="normal">cake</span><span class="symbol">);</span>
|
688
|
+
<span class="normal"> </span><span class="function"><a href="../glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bd</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">);</span>
|
689
|
+
<span class="normal"> </span><span class="function"><a href="../glib/glib-Memory-Slices.html#g-slice-free">g_slice_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">BakingData</span><span class="symbol">,</span><span class="normal"> bd</span><span class="symbol">);</span>
|
690
|
+
<span class="cbracket">}</span>
|
691
|
+
|
692
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
693
|
+
<span class="function">decorated_cb</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Cake</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake</span><span class="symbol">,</span>
|
694
|
+
<span class="normal"> </span><span class="usertype">GAsyncResult</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">result</span><span class="symbol">,</span>
|
695
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
696
|
+
<span class="cbracket">{</span>
|
697
|
+
<span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task </span><span class="symbol">=</span><span class="normal"> user_data</span><span class="symbol">;</span>
|
698
|
+
<span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
699
|
+
|
700
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="function">cake_decorate_finish</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake</span><span class="symbol">,</span><span class="normal"> result</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">))</span>
|
701
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
702
|
+
<span class="normal"> </span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake</span><span class="symbol">);</span>
|
703
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-error">g_task_return_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">);</span>
|
704
|
+
<span class="normal"> </span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
705
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
|
706
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
707
|
+
|
708
|
+
<span class="normal"> </span><span class="comment">// baking_data_free() will drop its ref on the cake, so we have to</span>
|
709
|
+
<span class="normal"> </span><span class="comment">// take another here to give to the caller.</span>
|
710
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-pointer">g_task_return_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">result</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-ref">g_object_ref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake</span><span class="symbol">),</span><span class="normal"> <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="symbol">);</span>
|
711
|
+
<span class="normal"> </span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
712
|
+
<span class="cbracket">}</span>
|
713
|
+
|
714
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
715
|
+
<span class="function">decorator_ready</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
716
|
+
<span class="cbracket">{</span>
|
717
|
+
<span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task </span><span class="symbol">=</span><span class="normal"> user_data</span><span class="symbol">;</span>
|
718
|
+
<span class="normal"> </span><span class="usertype">BakingData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">bd </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-get-task-data">g_task_get_task_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
719
|
+
|
720
|
+
<span class="normal"> </span><span class="function">cake_decorate_async</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bd</span><span class="symbol">-></span><span class="normal">cake</span><span class="symbol">,</span><span class="normal"> bd</span><span class="symbol">-></span><span class="normal">frosting</span><span class="symbol">,</span><span class="normal"> bd</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">,</span>
|
721
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-get-cancellable">g_task_get_cancellable</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">),</span>
|
722
|
+
<span class="normal"> decorated_cb</span><span class="symbol">,</span><span class="normal"> task</span><span class="symbol">);</span>
|
723
|
+
<span class="cbracket">}</span>
|
724
|
+
|
725
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
726
|
+
<span class="function">baked_cb</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Cake</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake</span><span class="symbol">,</span>
|
727
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
728
|
+
<span class="cbracket">{</span>
|
729
|
+
<span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task </span><span class="symbol">=</span><span class="normal"> user_data</span><span class="symbol">;</span>
|
730
|
+
<span class="normal"> </span><span class="usertype">BakingData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">bd </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-get-task-data">g_task_get_task_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
731
|
+
<span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
732
|
+
|
733
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake </span><span class="symbol">==</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
734
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
735
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-new-error">g_task_return_new_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> BAKER_ERROR</span><span class="symbol">,</span><span class="normal"> BAKER_ERROR_NO_FLOUR</span><span class="symbol">,</span>
|
736
|
+
<span class="normal"> </span><span class="string">"Go to the supermarket"</span><span class="symbol">);</span>
|
737
|
+
<span class="normal"> </span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
738
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
|
739
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
740
|
+
|
741
|
+
<span class="normal"> bd</span><span class="symbol">-></span><span class="normal">cake </span><span class="symbol">=</span><span class="normal"> cake</span><span class="symbol">;</span>
|
742
|
+
|
743
|
+
<span class="normal"> </span><span class="comment">// Bail out now if the user has already cancelled</span>
|
744
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GTask.html#g-task-return-error-if-cancelled">g_task_return_error_if_cancelled</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">))</span>
|
745
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
746
|
+
<span class="normal"> </span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
747
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
|
748
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
749
|
+
|
750
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function">cake_decorator_available</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake</span><span class="symbol">))</span>
|
751
|
+
<span class="normal"> </span><span class="function">decorator_ready</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
752
|
+
<span class="normal"> </span><span class="keyword">else</span>
|
753
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
754
|
+
<span class="normal"> </span><span class="usertype">GSource</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">source</span><span class="symbol">;</span>
|
755
|
+
|
756
|
+
<span class="normal"> source </span><span class="symbol">=</span><span class="normal"> </span><span class="function">cake_decorator_wait_source_new</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake</span><span class="symbol">);</span>
|
757
|
+
<span class="normal"> </span><span class="comment">// Attach @source to @task's GMainContext and have it call</span>
|
758
|
+
<span class="normal"> </span><span class="comment">// decorator_ready() when it is ready.</span>
|
759
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-attach-source">g_task_attach_source</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> source</span><span class="symbol">,</span>
|
760
|
+
<span class="normal"> </span><span class="function"><a href="../gobject/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">decorator_ready</span><span class="symbol">));</span>
|
761
|
+
<span class="normal"> </span><span class="function"><a href="../glib/glib-The-Main-Event-Loop.html#g-source-unref">g_source_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">source</span><span class="symbol">);</span>
|
762
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
763
|
+
<span class="cbracket">}</span>
|
764
|
+
|
765
|
+
<span class="type">void</span>
|
766
|
+
<span class="function">baker_bake_cake_async</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self</span><span class="symbol">,</span>
|
767
|
+
<span class="normal"> </span><span class="usertype">guint</span><span class="normal"> radius</span><span class="symbol">,</span>
|
768
|
+
<span class="normal"> </span><span class="usertype">CakeFlavor</span><span class="normal"> flavor</span><span class="symbol">,</span>
|
769
|
+
<span class="normal"> </span><span class="usertype">CakeFrostingType</span><span class="normal"> frosting</span><span class="symbol">,</span>
|
770
|
+
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">message</span><span class="symbol">,</span>
|
771
|
+
<span class="normal"> </span><span class="usertype">gint</span><span class="normal"> priority</span><span class="symbol">,</span>
|
772
|
+
<span class="normal"> </span><span class="usertype">GCancellable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cancellable</span><span class="symbol">,</span>
|
773
|
+
<span class="normal"> </span><span class="usertype">GAsyncReadyCallback</span><span class="normal"> callback</span><span class="symbol">,</span>
|
774
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
775
|
+
<span class="cbracket">{</span>
|
776
|
+
<span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task</span><span class="symbol">;</span>
|
777
|
+
<span class="normal"> </span><span class="usertype">BakingData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">bd</span><span class="symbol">;</span>
|
778
|
+
|
779
|
+
<span class="normal"> task </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-new">g_task_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">,</span><span class="normal"> cancellable</span><span class="symbol">,</span><span class="normal"> callback</span><span class="symbol">,</span><span class="normal"> user_data</span><span class="symbol">);</span>
|
780
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-set-priority">g_task_set_priority</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> priority</span><span class="symbol">);</span>
|
781
|
+
|
782
|
+
<span class="normal"> bd </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib/glib-Memory-Slices.html#g-slice-new0">g_slice_new0</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">BakingData</span><span class="symbol">);</span>
|
783
|
+
<span class="normal"> bd</span><span class="symbol">-></span><span class="normal">frosting </span><span class="symbol">=</span><span class="normal"> frosting</span><span class="symbol">;</span>
|
784
|
+
<span class="normal"> bd</span><span class="symbol">-></span><span class="normal">message </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib/glib-String-Utility-Functions.html#g-strdup">g_strdup</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">message</span><span class="symbol">);</span>
|
785
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-set-task-data">g_task_set_task_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> bd</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="../glib/glib-Datasets.html#GDestroyNotify">GDestroyNotify</a></span><span class="symbol">)</span><span class="normal"> baking_data_free</span><span class="symbol">);</span>
|
786
|
+
|
787
|
+
<span class="normal"> </span><span class="function">_baker_begin_cake</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">,</span><span class="normal"> radius</span><span class="symbol">,</span><span class="normal"> flavor</span><span class="symbol">,</span><span class="normal"> cancellable</span><span class="symbol">,</span><span class="normal"> baked_cb</span><span class="symbol">,</span><span class="normal"> task</span><span class="symbol">);</span>
|
788
|
+
<span class="cbracket">}</span>
|
789
|
+
|
790
|
+
<span class="normal">Cake </span><span class="symbol">*</span>
|
791
|
+
<span class="function">baker_bake_cake_finish</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self</span><span class="symbol">,</span>
|
792
|
+
<span class="normal"> </span><span class="usertype">GAsyncResult</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">result</span><span class="symbol">,</span>
|
793
|
+
<span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">**</span><span class="normal">error</span><span class="symbol">)</span>
|
794
|
+
<span class="cbracket">{</span>
|
795
|
+
<span class="normal"> </span><span class="function"><a href="../glib/glib-Warnings-and-Assertions.html#g-return-val-if-fail">g_return_val_if_fail</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GTask.html#g-task-is-valid">g_task_is_valid</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">result</span><span class="symbol">,</span><span class="normal"> self</span><span class="symbol">),</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
796
|
+
|
797
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-propagate-pointer">g_task_propagate_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_TASK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">result</span><span class="symbol">),</span><span class="normal"> error</span><span class="symbol">);</span>
|
798
|
+
<span class="cbracket">}</span></pre></td>
|
799
|
+
</tr>
|
800
|
+
</tbody>
|
801
|
+
</table>
|
802
|
+
</div>
|
803
|
+
|
804
|
+
<p></p>
|
805
|
+
</div>
|
806
|
+
<div class="refsect3">
|
807
|
+
<a name="id-1.4.5.4.8.5"></a><h4>Asynchronous operations from synchronous ones</h4>
|
808
|
+
<p>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
|
809
|
+
operation into an asynchronous one, by running it in a thread
|
810
|
+
which will then dispatch the result back to the caller's
|
811
|
+
<a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a> when it completes.</p>
|
812
|
+
<p>Running a task in a thread:</p>
|
813
|
+
<div class="informalexample">
|
814
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
815
|
+
<tbody>
|
816
|
+
<tr>
|
817
|
+
<td class="listing_lines" align="right"><pre>1
|
818
|
+
2
|
819
|
+
3
|
820
|
+
4
|
821
|
+
5
|
822
|
+
6
|
823
|
+
7
|
824
|
+
8
|
825
|
+
9
|
826
|
+
10
|
827
|
+
11
|
828
|
+
12
|
829
|
+
13
|
830
|
+
14
|
831
|
+
15
|
832
|
+
16
|
833
|
+
17
|
834
|
+
18
|
835
|
+
19
|
836
|
+
20
|
837
|
+
21
|
838
|
+
22
|
839
|
+
23
|
840
|
+
24
|
841
|
+
25
|
842
|
+
26
|
843
|
+
27
|
844
|
+
28
|
845
|
+
29
|
846
|
+
30
|
847
|
+
31
|
848
|
+
32
|
849
|
+
33
|
850
|
+
34
|
851
|
+
35
|
852
|
+
36
|
853
|
+
37
|
854
|
+
38
|
855
|
+
39
|
856
|
+
40
|
857
|
+
41
|
858
|
+
42
|
859
|
+
43
|
860
|
+
44
|
861
|
+
45
|
862
|
+
46
|
863
|
+
47
|
864
|
+
48
|
865
|
+
49
|
866
|
+
50
|
867
|
+
51
|
868
|
+
52
|
869
|
+
53
|
870
|
+
54
|
871
|
+
55
|
872
|
+
56
|
873
|
+
57
|
874
|
+
58
|
875
|
+
59
|
876
|
+
60
|
877
|
+
61
|
878
|
+
62
|
879
|
+
63
|
880
|
+
64
|
881
|
+
65
|
882
|
+
66
|
883
|
+
67</pre></td>
|
884
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">typedef</span><span class="normal"> </span><span class="keyword">struct</span><span class="normal"> </span><span class="cbracket">{</span>
|
885
|
+
<span class="normal"> </span><span class="usertype">guint</span><span class="normal"> radius</span><span class="symbol">;</span>
|
886
|
+
<span class="normal"> </span><span class="usertype">CakeFlavor</span><span class="normal"> flavor</span><span class="symbol">;</span>
|
887
|
+
<span class="normal"> </span><span class="usertype">CakeFrostingType</span><span class="normal"> frosting</span><span class="symbol">;</span>
|
888
|
+
<span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">message</span><span class="symbol">;</span>
|
889
|
+
<span class="cbracket">}</span><span class="normal"> CakeData</span><span class="symbol">;</span>
|
890
|
+
|
891
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
892
|
+
<span class="function">cake_data_free</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">CakeData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake_data</span><span class="symbol">)</span>
|
893
|
+
<span class="cbracket">{</span>
|
894
|
+
<span class="normal"> </span><span class="function"><a href="../glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake_data</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">);</span>
|
895
|
+
<span class="normal"> </span><span class="function"><a href="../glib/glib-Memory-Slices.html#g-slice-free">g_slice_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">CakeData</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">);</span>
|
896
|
+
<span class="cbracket">}</span>
|
897
|
+
|
898
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
899
|
+
<span class="function">bake_cake_thread</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task</span><span class="symbol">,</span>
|
900
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> source_object</span><span class="symbol">,</span>
|
901
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> task_data</span><span class="symbol">,</span>
|
902
|
+
<span class="normal"> </span><span class="usertype">GCancellable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cancellable</span><span class="symbol">)</span>
|
903
|
+
<span class="cbracket">{</span>
|
904
|
+
<span class="normal"> </span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self </span><span class="symbol">=</span><span class="normal"> source_object</span><span class="symbol">;</span>
|
905
|
+
<span class="normal"> </span><span class="usertype">CakeData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake_data </span><span class="symbol">=</span><span class="normal"> task_data</span><span class="symbol">;</span>
|
906
|
+
<span class="normal"> </span><span class="usertype">Cake</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake</span><span class="symbol">;</span>
|
907
|
+
<span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
908
|
+
|
909
|
+
<span class="normal"> cake </span><span class="symbol">=</span><span class="normal"> </span><span class="function">bake_cake</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">baker</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">-></span><span class="normal">radius</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">-></span><span class="normal">flavor</span><span class="symbol">,</span>
|
910
|
+
<span class="normal"> cake_data</span><span class="symbol">-></span><span class="normal">frosting</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">,</span>
|
911
|
+
<span class="normal"> cancellable</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">);</span>
|
912
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cake</span><span class="symbol">)</span>
|
913
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-pointer">g_task_return_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> cake</span><span class="symbol">,</span><span class="normal"> <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="symbol">);</span>
|
914
|
+
<span class="normal"> </span><span class="keyword">else</span>
|
915
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-error">g_task_return_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">);</span>
|
916
|
+
<span class="cbracket">}</span>
|
917
|
+
|
918
|
+
<span class="type">void</span>
|
919
|
+
<span class="function">baker_bake_cake_async</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self</span><span class="symbol">,</span>
|
920
|
+
<span class="normal"> </span><span class="usertype">guint</span><span class="normal"> radius</span><span class="symbol">,</span>
|
921
|
+
<span class="normal"> </span><span class="usertype">CakeFlavor</span><span class="normal"> flavor</span><span class="symbol">,</span>
|
922
|
+
<span class="normal"> </span><span class="usertype">CakeFrostingType</span><span class="normal"> frosting</span><span class="symbol">,</span>
|
923
|
+
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">message</span><span class="symbol">,</span>
|
924
|
+
<span class="normal"> </span><span class="usertype">GCancellable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cancellable</span><span class="symbol">,</span>
|
925
|
+
<span class="normal"> </span><span class="usertype">GAsyncReadyCallback</span><span class="normal"> callback</span><span class="symbol">,</span>
|
926
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
927
|
+
<span class="cbracket">{</span>
|
928
|
+
<span class="normal"> </span><span class="usertype">CakeData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake_data</span><span class="symbol">;</span>
|
929
|
+
<span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task</span><span class="symbol">;</span>
|
930
|
+
|
931
|
+
<span class="normal"> cake_data </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib/glib-Memory-Slices.html#g-slice-new">g_slice_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">CakeData</span><span class="symbol">);</span>
|
932
|
+
<span class="normal"> cake_data</span><span class="symbol">-></span><span class="normal">radius </span><span class="symbol">=</span><span class="normal"> radius</span><span class="symbol">;</span>
|
933
|
+
<span class="normal"> cake_data</span><span class="symbol">-></span><span class="normal">flavor </span><span class="symbol">=</span><span class="normal"> flavor</span><span class="symbol">;</span>
|
934
|
+
<span class="normal"> cake_data</span><span class="symbol">-></span><span class="normal">frosting </span><span class="symbol">=</span><span class="normal"> frosting</span><span class="symbol">;</span>
|
935
|
+
<span class="normal"> cake_data</span><span class="symbol">-></span><span class="normal">message </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib/glib-String-Utility-Functions.html#g-strdup">g_strdup</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">message</span><span class="symbol">);</span>
|
936
|
+
<span class="normal"> task </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-new">g_task_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">,</span><span class="normal"> cancellable</span><span class="symbol">,</span><span class="normal"> callback</span><span class="symbol">,</span><span class="normal"> user_data</span><span class="symbol">);</span>
|
937
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-set-task-data">g_task_set_task_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="../glib/glib-Datasets.html#GDestroyNotify">GDestroyNotify</a></span><span class="symbol">)</span><span class="normal"> cake_data_free</span><span class="symbol">);</span>
|
938
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-run-in-thread">g_task_run_in_thread</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> bake_cake_thread</span><span class="symbol">);</span>
|
939
|
+
<span class="normal"> </span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
940
|
+
<span class="cbracket">}</span>
|
941
|
+
|
942
|
+
<span class="normal">Cake </span><span class="symbol">*</span>
|
943
|
+
<span class="function">baker_bake_cake_finish</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self</span><span class="symbol">,</span>
|
944
|
+
<span class="normal"> </span><span class="usertype">GAsyncResult</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">result</span><span class="symbol">,</span>
|
945
|
+
<span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">**</span><span class="normal">error</span><span class="symbol">)</span>
|
946
|
+
<span class="cbracket">{</span>
|
947
|
+
<span class="normal"> </span><span class="function"><a href="../glib/glib-Warnings-and-Assertions.html#g-return-val-if-fail">g_return_val_if_fail</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GTask.html#g-task-is-valid">g_task_is_valid</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">result</span><span class="symbol">,</span><span class="normal"> self</span><span class="symbol">),</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
948
|
+
|
949
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-propagate-pointer">g_task_propagate_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_TASK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">result</span><span class="symbol">),</span><span class="normal"> error</span><span class="symbol">);</span>
|
950
|
+
<span class="cbracket">}</span></pre></td>
|
951
|
+
</tr>
|
952
|
+
</tbody>
|
953
|
+
</table>
|
954
|
+
</div>
|
955
|
+
|
956
|
+
<p></p>
|
957
|
+
</div>
|
958
|
+
<div class="refsect3">
|
959
|
+
<a name="id-1.4.5.4.8.6"></a><h4>Adding cancellability to uncancellable tasks</h4>
|
960
|
+
<p>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>
|
961
|
+
can be used to turn an uncancellable operation into a
|
962
|
+
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>,
|
963
|
+
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,
|
964
|
+
it will return control back to the caller immediately, while
|
965
|
+
allowing the task thread to continue running in the background
|
966
|
+
(and simply discarding its result when it finally does finish).
|
967
|
+
Provided that the task thread is careful about how it uses
|
968
|
+
locks and other externally-visible resources, this allows you
|
969
|
+
to make "GLib-friendly" asynchronous and cancellable
|
970
|
+
synchronous variants of blocking APIs.</p>
|
971
|
+
<p>Cancelling a task:</p>
|
972
|
+
<div class="informalexample">
|
973
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
974
|
+
<tbody>
|
975
|
+
<tr>
|
976
|
+
<td class="listing_lines" align="right"><pre>1
|
977
|
+
2
|
978
|
+
3
|
979
|
+
4
|
980
|
+
5
|
981
|
+
6
|
982
|
+
7
|
983
|
+
8
|
984
|
+
9
|
985
|
+
10
|
986
|
+
11
|
987
|
+
12
|
988
|
+
13
|
989
|
+
14
|
990
|
+
15
|
991
|
+
16
|
992
|
+
17
|
993
|
+
18
|
994
|
+
19
|
995
|
+
20
|
996
|
+
21
|
997
|
+
22
|
998
|
+
23
|
999
|
+
24
|
1000
|
+
25
|
1001
|
+
26
|
1002
|
+
27
|
1003
|
+
28
|
1004
|
+
29
|
1005
|
+
30
|
1006
|
+
31
|
1007
|
+
32
|
1008
|
+
33
|
1009
|
+
34
|
1010
|
+
35
|
1011
|
+
36
|
1012
|
+
37
|
1013
|
+
38
|
1014
|
+
39
|
1015
|
+
40
|
1016
|
+
41
|
1017
|
+
42
|
1018
|
+
43
|
1019
|
+
44
|
1020
|
+
45
|
1021
|
+
46
|
1022
|
+
47
|
1023
|
+
48
|
1024
|
+
49
|
1025
|
+
50
|
1026
|
+
51
|
1027
|
+
52
|
1028
|
+
53
|
1029
|
+
54
|
1030
|
+
55
|
1031
|
+
56
|
1032
|
+
57
|
1033
|
+
58
|
1034
|
+
59
|
1035
|
+
60
|
1036
|
+
61
|
1037
|
+
62
|
1038
|
+
63
|
1039
|
+
64
|
1040
|
+
65
|
1041
|
+
66
|
1042
|
+
67
|
1043
|
+
68
|
1044
|
+
69
|
1045
|
+
70
|
1046
|
+
71
|
1047
|
+
72
|
1048
|
+
73
|
1049
|
+
74
|
1050
|
+
75
|
1051
|
+
76
|
1052
|
+
77
|
1053
|
+
78
|
1054
|
+
79
|
1055
|
+
80
|
1056
|
+
81
|
1057
|
+
82
|
1058
|
+
83
|
1059
|
+
84
|
1060
|
+
85
|
1061
|
+
86
|
1062
|
+
87
|
1063
|
+
88</pre></td>
|
1064
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
1065
|
+
<span class="function">bake_cake_thread</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task</span><span class="symbol">,</span>
|
1066
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> source_object</span><span class="symbol">,</span>
|
1067
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> task_data</span><span class="symbol">,</span>
|
1068
|
+
<span class="normal"> </span><span class="usertype">GCancellable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cancellable</span><span class="symbol">)</span>
|
1069
|
+
<span class="cbracket">{</span>
|
1070
|
+
<span class="normal"> </span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self </span><span class="symbol">=</span><span class="normal"> source_object</span><span class="symbol">;</span>
|
1071
|
+
<span class="normal"> </span><span class="usertype">CakeData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake_data </span><span class="symbol">=</span><span class="normal"> task_data</span><span class="symbol">;</span>
|
1072
|
+
<span class="normal"> </span><span class="usertype">Cake</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake</span><span class="symbol">;</span>
|
1073
|
+
<span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
1074
|
+
|
1075
|
+
<span class="normal"> cake </span><span class="symbol">=</span><span class="normal"> </span><span class="function">bake_cake</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">baker</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">-></span><span class="normal">radius</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">-></span><span class="normal">flavor</span><span class="symbol">,</span>
|
1076
|
+
<span class="normal"> cake_data</span><span class="symbol">-></span><span class="normal">frosting</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">,</span>
|
1077
|
+
<span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">);</span>
|
1078
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">)</span>
|
1079
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
1080
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-error">g_task_return_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">);</span>
|
1081
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
|
1082
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
1083
|
+
|
1084
|
+
<span class="normal"> </span><span class="comment">// If the task has already been cancelled, then we don't want to add</span>
|
1085
|
+
<span class="normal"> </span><span class="comment">// the cake to the cake cache. Likewise, we don't want to have the</span>
|
1086
|
+
<span class="normal"> </span><span class="comment">// task get cancelled in the middle of updating the cache.</span>
|
1087
|
+
<span class="normal"> </span><span class="comment">// g_task_set_return_on_cancel() will return %TRUE here if it managed</span>
|
1088
|
+
<span class="normal"> </span><span class="comment">// to disable return-on-cancel, or %FALSE if the task was cancelled</span>
|
1089
|
+
<span class="normal"> </span><span class="comment">// before it could.</span>
|
1090
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GTask.html#g-task-set-return-on-cancel">g_task_set_return_on_cancel</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">))</span>
|
1091
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
1092
|
+
<span class="normal"> </span><span class="comment">// If the caller cancels at this point, their</span>
|
1093
|
+
<span class="normal"> </span><span class="comment">// GAsyncReadyCallback won't be invoked until we return,</span>
|
1094
|
+
<span class="normal"> </span><span class="comment">// so we don't have to worry that this code will run at</span>
|
1095
|
+
<span class="normal"> </span><span class="comment">// the same time as that code does. But if there were</span>
|
1096
|
+
<span class="normal"> </span><span class="comment">// other functions that might look at the cake cache,</span>
|
1097
|
+
<span class="normal"> </span><span class="comment">// then we'd probably need a GMutex here as well.</span>
|
1098
|
+
<span class="normal"> </span><span class="function">baker_add_cake_to_cache</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">baker</span><span class="symbol">,</span><span class="normal"> cake</span><span class="symbol">);</span>
|
1099
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-return-pointer">g_task_return_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> cake</span><span class="symbol">,</span><span class="normal"> <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="symbol">);</span>
|
1100
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
1101
|
+
<span class="cbracket">}</span>
|
1102
|
+
|
1103
|
+
<span class="type">void</span>
|
1104
|
+
<span class="function">baker_bake_cake_async</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self</span><span class="symbol">,</span>
|
1105
|
+
<span class="normal"> </span><span class="usertype">guint</span><span class="normal"> radius</span><span class="symbol">,</span>
|
1106
|
+
<span class="normal"> </span><span class="usertype">CakeFlavor</span><span class="normal"> flavor</span><span class="symbol">,</span>
|
1107
|
+
<span class="normal"> </span><span class="usertype">CakeFrostingType</span><span class="normal"> frosting</span><span class="symbol">,</span>
|
1108
|
+
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">message</span><span class="symbol">,</span>
|
1109
|
+
<span class="normal"> </span><span class="usertype">GCancellable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cancellable</span><span class="symbol">,</span>
|
1110
|
+
<span class="normal"> </span><span class="usertype">GAsyncReadyCallback</span><span class="normal"> callback</span><span class="symbol">,</span>
|
1111
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
1112
|
+
<span class="cbracket">{</span>
|
1113
|
+
<span class="normal"> </span><span class="usertype">CakeData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake_data</span><span class="symbol">;</span>
|
1114
|
+
<span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task</span><span class="symbol">;</span>
|
1115
|
+
|
1116
|
+
<span class="normal"> cake_data </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib/glib-Memory-Slices.html#g-slice-new">g_slice_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">CakeData</span><span class="symbol">);</span>
|
1117
|
+
|
1118
|
+
<span class="normal"> </span><span class="symbol">...</span>
|
1119
|
+
|
1120
|
+
<span class="normal"> task </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-new">g_task_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">,</span><span class="normal"> cancellable</span><span class="symbol">,</span><span class="normal"> callback</span><span class="symbol">,</span><span class="normal"> user_data</span><span class="symbol">);</span>
|
1121
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-set-task-data">g_task_set_task_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="../glib/glib-Datasets.html#GDestroyNotify">GDestroyNotify</a></span><span class="symbol">)</span><span class="normal"> cake_data_free</span><span class="symbol">);</span>
|
1122
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-set-return-on-cancel">g_task_set_return_on_cancel</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">);</span>
|
1123
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-run-in-thread">g_task_run_in_thread</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> bake_cake_thread</span><span class="symbol">);</span>
|
1124
|
+
<span class="cbracket">}</span>
|
1125
|
+
|
1126
|
+
<span class="normal">Cake </span><span class="symbol">*</span>
|
1127
|
+
<span class="function">baker_bake_cake_sync</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">Baker</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self</span><span class="symbol">,</span>
|
1128
|
+
<span class="normal"> </span><span class="usertype">guint</span><span class="normal"> radius</span><span class="symbol">,</span>
|
1129
|
+
<span class="normal"> </span><span class="usertype">CakeFlavor</span><span class="normal"> flavor</span><span class="symbol">,</span>
|
1130
|
+
<span class="normal"> </span><span class="usertype">CakeFrostingType</span><span class="normal"> frosting</span><span class="symbol">,</span>
|
1131
|
+
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">message</span><span class="symbol">,</span>
|
1132
|
+
<span class="normal"> </span><span class="usertype">GCancellable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cancellable</span><span class="symbol">,</span>
|
1133
|
+
<span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">**</span><span class="normal">error</span><span class="symbol">)</span>
|
1134
|
+
<span class="cbracket">{</span>
|
1135
|
+
<span class="normal"> </span><span class="usertype">CakeData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake_data</span><span class="symbol">;</span>
|
1136
|
+
<span class="normal"> </span><span class="usertype">GTask</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">task</span><span class="symbol">;</span>
|
1137
|
+
<span class="normal"> </span><span class="usertype">Cake</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cake</span><span class="symbol">;</span>
|
1138
|
+
|
1139
|
+
<span class="normal"> cake_data </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../glib/glib-Memory-Slices.html#g-slice-new">g_slice_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">CakeData</span><span class="symbol">);</span>
|
1140
|
+
|
1141
|
+
<span class="normal"> </span><span class="symbol">...</span>
|
1142
|
+
|
1143
|
+
<span class="normal"> task </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-new">g_task_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">self</span><span class="symbol">,</span><span class="normal"> cancellable</span><span class="symbol">,</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
1144
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-set-task-data">g_task_set_task_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> cake_data</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="../glib/glib-Datasets.html#GDestroyNotify">GDestroyNotify</a></span><span class="symbol">)</span><span class="normal"> cake_data_free</span><span class="symbol">);</span>
|
1145
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-set-return-on-cancel">g_task_set_return_on_cancel</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">);</span>
|
1146
|
+
<span class="normal"> </span><span class="function"><a href="GTask.html#g-task-run-in-thread-sync">g_task_run_in_thread_sync</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> bake_cake_thread</span><span class="symbol">);</span>
|
1147
|
+
|
1148
|
+
<span class="normal"> cake </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GTask.html#g-task-propagate-pointer">g_task_propagate_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">);</span>
|
1149
|
+
<span class="normal"> </span><span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">task</span><span class="symbol">);</span>
|
1150
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> cake</span><span class="symbol">;</span>
|
1151
|
+
<span class="cbracket">}</span></pre></td>
|
1152
|
+
</tr>
|
1153
|
+
</tbody>
|
1154
|
+
</table>
|
1155
|
+
</div>
|
1156
|
+
|
1157
|
+
<p></p>
|
1158
|
+
</div>
|
1159
|
+
<div class="refsect3">
|
1160
|
+
<a name="id-1.4.5.4.8.7"></a><h4>Porting from GSimpleAsyncResult</h4>
|
1161
|
+
<p><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
|
1162
|
+
in several ways:</p>
|
1163
|
+
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
1164
|
+
<li class="listitem"><p>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
|
1165
|
+
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
|
1166
|
+
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
|
1167
|
+
purpose with <a class="link" href="GSimpleAsyncResult.html" title="GSimpleAsyncResult"><span class="type">GSimpleAsyncResult</span></a>.</p></li>
|
1168
|
+
<li class="listitem"><p>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
|
1169
|
+
<a class="link" href="GAsyncResult.html#io-priority" title="I/O Priority">priority</a>, <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, and
|
1170
|
+
<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
|
1171
|
+
a chain of simpler asynchronous operations will have easy access
|
1172
|
+
to those values when starting each sub-task.</p></li>
|
1173
|
+
<li class="listitem"><p>g_task_return_error_if_cancelled() provides simplified
|
1174
|
+
handling for cancellation. In addition, cancellation
|
1175
|
+
overrides any other <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> return value by default, like
|
1176
|
+
<a class="link" href="GSimpleAsyncResult.html" title="GSimpleAsyncResult"><span class="type">GSimpleAsyncResult</span></a> does when
|
1177
|
+
<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.
|
1178
|
+
(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
|
1179
|
+
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>
|
1180
|
+
guarantees that it will always run your
|
1181
|
+
<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>
|
1182
|
+
is already cancelled before the task gets a chance to run;
|
1183
|
+
you can start your <code class="literal">task_func</code> with a
|
1184
|
+
<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
|
1185
|
+
old behavior.</p></li>
|
1186
|
+
<li class="listitem"><p>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>)
|
1187
|
+
automatically cause the task to be "completed" as well, and
|
1188
|
+
there is no need to worry about the "complete" vs "complete
|
1189
|
+
in idle" distinction. (<a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> automatically figures out
|
1190
|
+
whether the task's callback can be invoked directly, or
|
1191
|
+
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
|
1192
|
+
until the next iteration of the current <a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a>.)</p></li>
|
1193
|
+
<li class="listitem"><p>The "finish" functions for <span class="type">GTask-based</span> operations are generally
|
1194
|
+
much simpler than <a class="link" href="GSimpleAsyncResult.html" title="GSimpleAsyncResult"><span class="type">GSimpleAsyncResult</span></a> ones, normally consisting
|
1195
|
+
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.
|
1196
|
+
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
|
1197
|
+
the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>, it is not necessary to juggle pointers around to
|
1198
|
+
prevent it from being freed twice.</p></li>
|
1199
|
+
<li class="listitem"><p>With <a class="link" href="GSimpleAsyncResult.html" title="GSimpleAsyncResult"><span class="type">GSimpleAsyncResult</span></a>, it was common to call
|
1200
|
+
<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
|
1201
|
+
<code class="literal"><code class="function">_finish()</code></code> wrapper function, and have
|
1202
|
+
virtual method implementations only deal with successful
|
1203
|
+
returns. This behavior is deprecated, because it makes it
|
1204
|
+
difficult for a subclass to chain to a parent class's async
|
1205
|
+
methods. Instead, the wrapper function should just be a
|
1206
|
+
simple wrapper, and the virtual method should call an
|
1207
|
+
appropriate <code class="literal">g_task_propagate_</code> function.
|
1208
|
+
Note that wrapper methods can now use
|
1209
|
+
<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
|
1210
|
+
<a class="link" href="GSimpleAsyncResult.html" title="GSimpleAsyncResult"><span class="type">GSimpleAsyncResult</span></a> error-returning behavior, and
|
1211
|
+
<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
|
1212
|
+
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
|
1213
|
+
function (for "short-circuit" results, such as when passing
|
1214
|
+
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>).</p></li>
|
1215
|
+
</ul></div>
|
1216
|
+
</div>
|
1217
|
+
</div>
|
1218
|
+
<div class="refsect1">
|
1219
|
+
<a name="GTask.functions_details"></a><h2>Functions</h2>
|
1220
|
+
<div class="refsect2">
|
1221
|
+
<a name="g-task-new"></a><h3>g_task_new ()</h3>
|
1222
|
+
<pre class="programlisting"><a class="link" href="GTask.html" title="GTask"><span class="returnvalue">GTask</span></a> *
|
1223
|
+
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>,
|
1224
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1225
|
+
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
1226
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> callback_data</code></em>);</pre>
|
1227
|
+
<p>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>
|
1228
|
+
, which will eventually be
|
1229
|
+
used to invoke <em class="parameter"><code>callback</code></em>
|
1230
|
+
in the current
|
1231
|
+
<a href="../glib/glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main context</a>.</p>
|
1232
|
+
<p>Call this in the "start" method of your asynchronous method, and
|
1233
|
+
pass the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> around throughout the asynchronous operation. You
|
1234
|
+
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
|
1235
|
+
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>.</p>
|
1236
|
+
<p>By default, if <em class="parameter"><code>cancellable</code></em>
|
1237
|
+
is cancelled, then the return value of
|
1238
|
+
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
|
1239
|
+
already completed before the cancellation. This allows for
|
1240
|
+
simplified handling in cases where cancellation may imply that
|
1241
|
+
other objects that the task depends on have been destroyed. If you
|
1242
|
+
do not want this behavior, you can use
|
1243
|
+
<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.</p>
|
1244
|
+
<div class="refsect3">
|
1245
|
+
<a name="id-1.4.5.4.9.2.7"></a><h4>Parameters</h4>
|
1246
|
+
<div class="informaltable"><table width="100%" border="0">
|
1247
|
+
<colgroup>
|
1248
|
+
<col width="150px" class="parameters_name">
|
1249
|
+
<col class="parameters_description">
|
1250
|
+
<col width="200px" class="parameters_annotations">
|
1251
|
+
</colgroup>
|
1252
|
+
<tbody>
|
1253
|
+
<tr>
|
1254
|
+
<td class="parameter_name"><p>source_object</p></td>
|
1255
|
+
<td class="parameter_description"><p> the <a href="../gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> that owns
|
1256
|
+
this task, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1257
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject]</span></td>
|
1258
|
+
</tr>
|
1259
|
+
<tr>
|
1260
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
1261
|
+
<td class="parameter_description"><p> 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. </p></td>
|
1262
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1263
|
+
</tr>
|
1264
|
+
<tr>
|
1265
|
+
<td class="parameter_name"><p>callback</p></td>
|
1266
|
+
<td class="parameter_description"><p> a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>. </p></td>
|
1267
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
|
1268
|
+
</tr>
|
1269
|
+
<tr>
|
1270
|
+
<td class="parameter_name"><p>callback_data</p></td>
|
1271
|
+
<td class="parameter_description"><p> user data passed to <em class="parameter"><code>callback</code></em>
|
1272
|
+
. </p></td>
|
1273
|
+
<td class="parameter_annotations"><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></td>
|
1274
|
+
</tr>
|
1275
|
+
</tbody>
|
1276
|
+
</table></div>
|
1277
|
+
</div>
|
1278
|
+
<div class="refsect3">
|
1279
|
+
<a name="id-1.4.5.4.9.2.8"></a><h4>Returns</h4>
|
1280
|
+
<p> a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>.</p>
|
1281
|
+
<p></p>
|
1282
|
+
</div>
|
1283
|
+
<p class="since">Since 2.36</p>
|
1284
|
+
</div>
|
1285
|
+
<hr>
|
1286
|
+
<div class="refsect2">
|
1287
|
+
<a name="g-task-set-task-data"></a><h3>g_task_set_task_data ()</h3>
|
1288
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1289
|
+
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>,
|
1290
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> task_data</code></em>,
|
1291
|
+
<em class="parameter"><code><a href="../glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> task_data_destroy</code></em>);</pre>
|
1292
|
+
<p>Sets <em class="parameter"><code>task</code></em>
|
1293
|
+
's task data (freeing the existing task data, if any).</p>
|
1294
|
+
<div class="refsect3">
|
1295
|
+
<a name="id-1.4.5.4.9.3.5"></a><h4>Parameters</h4>
|
1296
|
+
<div class="informaltable"><table width="100%" border="0">
|
1297
|
+
<colgroup>
|
1298
|
+
<col width="150px" class="parameters_name">
|
1299
|
+
<col class="parameters_description">
|
1300
|
+
<col width="200px" class="parameters_annotations">
|
1301
|
+
</colgroup>
|
1302
|
+
<tbody>
|
1303
|
+
<tr>
|
1304
|
+
<td class="parameter_name"><p>task</p></td>
|
1305
|
+
<td class="parameter_description"><p>the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a></p></td>
|
1306
|
+
<td class="parameter_annotations"> </td>
|
1307
|
+
</tr>
|
1308
|
+
<tr>
|
1309
|
+
<td class="parameter_name"><p>task_data</p></td>
|
1310
|
+
<td class="parameter_description"><p> task-specific data. </p></td>
|
1311
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1312
|
+
</tr>
|
1313
|
+
<tr>
|
1314
|
+
<td class="parameter_name"><p>task_data_destroy</p></td>
|
1315
|
+
<td class="parameter_description"><p> <a href="../glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> for <em class="parameter"><code>task_data</code></em>
|
1316
|
+
. </p></td>
|
1317
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1318
|
+
</tr>
|
1319
|
+
</tbody>
|
1320
|
+
</table></div>
|
1321
|
+
</div>
|
1322
|
+
<p class="since">Since 2.36</p>
|
1323
|
+
</div>
|
1324
|
+
<hr>
|
1325
|
+
<div class="refsect2">
|
1326
|
+
<a name="g-task-set-priority"></a><h3>g_task_set_priority ()</h3>
|
1327
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1328
|
+
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>,
|
1329
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>);</pre>
|
1330
|
+
<p>Sets <em class="parameter"><code>task</code></em>
|
1331
|
+
's priority. If you do not call this, it will default to
|
1332
|
+
<a href="../glib/glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT:CAPS"><code class="literal">G_PRIORITY_DEFAULT</code></a>.</p>
|
1333
|
+
<p>This will affect the priority of <a href="../glib/glib-The-Main-Event-Loop.html#GSource"><span class="type">GSources</span></a> created with
|
1334
|
+
<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,
|
1335
|
+
and can also be explicitly retrieved later via
|
1336
|
+
<a class="link" href="GTask.html#g-task-get-priority" title="g_task_get_priority ()"><code class="function">g_task_get_priority()</code></a>.</p>
|
1337
|
+
<div class="refsect3">
|
1338
|
+
<a name="id-1.4.5.4.9.4.6"></a><h4>Parameters</h4>
|
1339
|
+
<div class="informaltable"><table width="100%" border="0">
|
1340
|
+
<colgroup>
|
1341
|
+
<col width="150px" class="parameters_name">
|
1342
|
+
<col class="parameters_description">
|
1343
|
+
<col width="200px" class="parameters_annotations">
|
1344
|
+
</colgroup>
|
1345
|
+
<tbody>
|
1346
|
+
<tr>
|
1347
|
+
<td class="parameter_name"><p>task</p></td>
|
1348
|
+
<td class="parameter_description"><p>the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a></p></td>
|
1349
|
+
<td class="parameter_annotations"> </td>
|
1350
|
+
</tr>
|
1351
|
+
<tr>
|
1352
|
+
<td class="parameter_name"><p>priority</p></td>
|
1353
|
+
<td class="parameter_description"><p>the <a class="link" href="GAsyncResult.html#io-priority" title="I/O Priority">priority</a> of the request</p></td>
|
1354
|
+
<td class="parameter_annotations"> </td>
|
1355
|
+
</tr>
|
1356
|
+
</tbody>
|
1357
|
+
</table></div>
|
1358
|
+
</div>
|
1359
|
+
<p class="since">Since 2.36</p>
|
1360
|
+
</div>
|
1361
|
+
<hr>
|
1362
|
+
<div class="refsect2">
|
1363
|
+
<a name="g-task-set-check-cancellable"></a><h3>g_task_set_check_cancellable ()</h3>
|
1364
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1365
|
+
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>,
|
1366
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> check_cancellable</code></em>);</pre>
|
1367
|
+
<p>Sets or clears <em class="parameter"><code>task</code></em>
|
1368
|
+
's check-cancellable flag. If this is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
|
1369
|
+
(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
|
1370
|
+
<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
|
1371
|
+
if it has been cancelled, then they will consider the task to have
|
1372
|
+
returned an "Operation was cancelled" error
|
1373
|
+
(<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
|
1374
|
+
value the task may have had.</p>
|
1375
|
+
<p>If <em class="parameter"><code>check_cancellable</code></em>
|
1376
|
+
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
|
1377
|
+
cancellable itself, and it is up to <em class="parameter"><code>task</code></em>
|
1378
|
+
's owner to do this (eg,
|
1379
|
+
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>).</p>
|
1380
|
+
<p>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
|
1381
|
+
you must leave check-cancellable set <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
|
1382
|
+
<div class="refsect3">
|
1383
|
+
<a name="id-1.4.5.4.9.5.7"></a><h4>Parameters</h4>
|
1384
|
+
<div class="informaltable"><table width="100%" border="0">
|
1385
|
+
<colgroup>
|
1386
|
+
<col width="150px" class="parameters_name">
|
1387
|
+
<col class="parameters_description">
|
1388
|
+
<col width="200px" class="parameters_annotations">
|
1389
|
+
</colgroup>
|
1390
|
+
<tbody>
|
1391
|
+
<tr>
|
1392
|
+
<td class="parameter_name"><p>task</p></td>
|
1393
|
+
<td class="parameter_description"><p>the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a></p></td>
|
1394
|
+
<td class="parameter_annotations"> </td>
|
1395
|
+
</tr>
|
1396
|
+
<tr>
|
1397
|
+
<td class="parameter_name"><p>check_cancellable</p></td>
|
1398
|
+
<td class="parameter_description"><p>whether <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> will check the state of
|
1399
|
+
its <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> for you.</p></td>
|
1400
|
+
<td class="parameter_annotations"> </td>
|
1401
|
+
</tr>
|
1402
|
+
</tbody>
|
1403
|
+
</table></div>
|
1404
|
+
</div>
|
1405
|
+
<p class="since">Since 2.36</p>
|
1406
|
+
</div>
|
1407
|
+
<hr>
|
1408
|
+
<div class="refsect2">
|
1409
|
+
<a name="g-task-set-return-on-cancel"></a><h3>g_task_set_return_on_cancel ()</h3>
|
1410
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1411
|
+
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>,
|
1412
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> return_on_cancel</code></em>);</pre>
|
1413
|
+
<p>Sets or clears <em class="parameter"><code>task</code></em>
|
1414
|
+
's return-on-cancel flag. This is only
|
1415
|
+
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
|
1416
|
+
<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>.</p>
|
1417
|
+
<p>If <em class="parameter"><code>return_on_cancel</code></em>
|
1418
|
+
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>
|
1419
|
+
's
|
1420
|
+
<a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> will immediately cause it to return, as though the
|
1421
|
+
task's <a class="link" href="GTask.html#GTaskThreadFunc" title="GTaskThreadFunc ()"><span class="type">GTaskThreadFunc</span></a> had called
|
1422
|
+
<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.</p>
|
1423
|
+
<p>This allows you to create a cancellable wrapper around an
|
1424
|
+
uninterruptable function. The <a class="link" href="GTask.html#GTaskThreadFunc" title="GTaskThreadFunc ()"><span class="type">GTaskThreadFunc</span></a> just needs to be
|
1425
|
+
careful that it does not modify any externally-visible state after
|
1426
|
+
it has been cancelled. To do that, the thread should call
|
1427
|
+
<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
|
1428
|
+
return-on-cancel <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> before making externally-visible changes;
|
1429
|
+
if the task gets cancelled before the return-on-cancel flag could
|
1430
|
+
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
|
1431
|
+
returning <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
|
1432
|
+
<p>You can disable and re-enable this flag multiple times if you wish.
|
1433
|
+
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
|
1434
|
+
<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>
|
1435
|
+
again will cause the task to be cancelled at that point.</p>
|
1436
|
+
<p>If the task's <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> is already cancelled before you call
|
1437
|
+
<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
|
1438
|
+
<a class="link" href="GTask.html#GTaskThreadFunc" title="GTaskThreadFunc ()"><span class="type">GTaskThreadFunc</span></a> will still be run (for consistency), but the task
|
1439
|
+
will also be completed right away.</p>
|
1440
|
+
<div class="refsect3">
|
1441
|
+
<a name="id-1.4.5.4.9.6.9"></a><h4>Parameters</h4>
|
1442
|
+
<div class="informaltable"><table width="100%" border="0">
|
1443
|
+
<colgroup>
|
1444
|
+
<col width="150px" class="parameters_name">
|
1445
|
+
<col class="parameters_description">
|
1446
|
+
<col width="200px" class="parameters_annotations">
|
1447
|
+
</colgroup>
|
1448
|
+
<tbody>
|
1449
|
+
<tr>
|
1450
|
+
<td class="parameter_name"><p>task</p></td>
|
1451
|
+
<td class="parameter_description"><p>the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a></p></td>
|
1452
|
+
<td class="parameter_annotations"> </td>
|
1453
|
+
</tr>
|
1454
|
+
<tr>
|
1455
|
+
<td class="parameter_name"><p>return_on_cancel</p></td>
|
1456
|
+
<td class="parameter_description"><p>whether the task returns automatically when
|
1457
|
+
it is cancelled.</p></td>
|
1458
|
+
<td class="parameter_annotations"> </td>
|
1459
|
+
</tr>
|
1460
|
+
</tbody>
|
1461
|
+
</table></div>
|
1462
|
+
</div>
|
1463
|
+
<div class="refsect3">
|
1464
|
+
<a name="id-1.4.5.4.9.6.10"></a><h4>Returns</h4>
|
1465
|
+
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>task</code></em>
|
1466
|
+
's return-on-cancel flag was changed to
|
1467
|
+
match <em class="parameter"><code>return_on_cancel</code></em>
|
1468
|
+
. <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>task</code></em>
|
1469
|
+
has already been
|
1470
|
+
cancelled.</p>
|
1471
|
+
<p></p>
|
1472
|
+
</div>
|
1473
|
+
<p class="since">Since 2.36</p>
|
1474
|
+
</div>
|
1475
|
+
<hr>
|
1476
|
+
<div class="refsect2">
|
1477
|
+
<a name="g-task-set-source-tag"></a><h3>g_task_set_source_tag ()</h3>
|
1478
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1479
|
+
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>,
|
1480
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source_tag</code></em>);</pre>
|
1481
|
+
<p>Sets <em class="parameter"><code>task</code></em>
|
1482
|
+
's source tag. You can use this to tag a task return
|
1483
|
+
value with a particular pointer (usually a pointer to the function
|
1484
|
+
doing the tagging) and then later check it using
|
1485
|
+
<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
|
1486
|
+
task's "finish" function, to figure out if the response came from a
|
1487
|
+
particular place.</p>
|
1488
|
+
<div class="refsect3">
|
1489
|
+
<a name="id-1.4.5.4.9.7.5"></a><h4>Parameters</h4>
|
1490
|
+
<div class="informaltable"><table width="100%" border="0">
|
1491
|
+
<colgroup>
|
1492
|
+
<col width="150px" class="parameters_name">
|
1493
|
+
<col class="parameters_description">
|
1494
|
+
<col width="200px" class="parameters_annotations">
|
1495
|
+
</colgroup>
|
1496
|
+
<tbody>
|
1497
|
+
<tr>
|
1498
|
+
<td class="parameter_name"><p>task</p></td>
|
1499
|
+
<td class="parameter_description"><p>the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a></p></td>
|
1500
|
+
<td class="parameter_annotations"> </td>
|
1501
|
+
</tr>
|
1502
|
+
<tr>
|
1503
|
+
<td class="parameter_name"><p>source_tag</p></td>
|
1504
|
+
<td class="parameter_description"><p>an opaque pointer indicating the source of this task</p></td>
|
1505
|
+
<td class="parameter_annotations"> </td>
|
1506
|
+
</tr>
|
1507
|
+
</tbody>
|
1508
|
+
</table></div>
|
1509
|
+
</div>
|
1510
|
+
<p class="since">Since 2.36</p>
|
1511
|
+
</div>
|
1512
|
+
<hr>
|
1513
|
+
<div class="refsect2">
|
1514
|
+
<a name="g-task-report-error"></a><h3>g_task_report_error ()</h3>
|
1515
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1516
|
+
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>,
|
1517
|
+
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
1518
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> callback_data</code></em>,
|
1519
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source_tag</code></em>,
|
1520
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>);</pre>
|
1521
|
+
<p>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>
|
1522
|
+
on it. Use this in the wrapper function of an asynchronous method
|
1523
|
+
when you want to avoid even calling the virtual method. You can
|
1524
|
+
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
|
1525
|
+
check if the result there is tagged as having been created by the
|
1526
|
+
wrapper method, and deal with it appropriately if so.</p>
|
1527
|
+
<p>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>.</p>
|
1528
|
+
<div class="refsect3">
|
1529
|
+
<a name="id-1.4.5.4.9.8.6"></a><h4>Parameters</h4>
|
1530
|
+
<div class="informaltable"><table width="100%" border="0">
|
1531
|
+
<colgroup>
|
1532
|
+
<col width="150px" class="parameters_name">
|
1533
|
+
<col class="parameters_description">
|
1534
|
+
<col width="200px" class="parameters_annotations">
|
1535
|
+
</colgroup>
|
1536
|
+
<tbody>
|
1537
|
+
<tr>
|
1538
|
+
<td class="parameter_name"><p>source_object</p></td>
|
1539
|
+
<td class="parameter_description"><p> the <a href="../gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> that owns
|
1540
|
+
this task, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1541
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject]</span></td>
|
1542
|
+
</tr>
|
1543
|
+
<tr>
|
1544
|
+
<td class="parameter_name"><p>callback</p></td>
|
1545
|
+
<td class="parameter_description"><p> a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>. </p></td>
|
1546
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
|
1547
|
+
</tr>
|
1548
|
+
<tr>
|
1549
|
+
<td class="parameter_name"><p>callback_data</p></td>
|
1550
|
+
<td class="parameter_description"><p> user data passed to <em class="parameter"><code>callback</code></em>
|
1551
|
+
. </p></td>
|
1552
|
+
<td class="parameter_annotations"><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></td>
|
1553
|
+
</tr>
|
1554
|
+
<tr>
|
1555
|
+
<td class="parameter_name"><p>source_tag</p></td>
|
1556
|
+
<td class="parameter_description"><p>an opaque pointer indicating the source of this task</p></td>
|
1557
|
+
<td class="parameter_annotations"> </td>
|
1558
|
+
</tr>
|
1559
|
+
<tr>
|
1560
|
+
<td class="parameter_name"><p>error</p></td>
|
1561
|
+
<td class="parameter_description"><p> error to report. </p></td>
|
1562
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
|
1563
|
+
</tr>
|
1564
|
+
</tbody>
|
1565
|
+
</table></div>
|
1566
|
+
</div>
|
1567
|
+
<p class="since">Since 2.36</p>
|
1568
|
+
</div>
|
1569
|
+
<hr>
|
1570
|
+
<div class="refsect2">
|
1571
|
+
<a name="g-task-report-new-error"></a><h3>g_task_report_new_error ()</h3>
|
1572
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1573
|
+
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>,
|
1574
|
+
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
1575
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> callback_data</code></em>,
|
1576
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source_tag</code></em>,
|
1577
|
+
<em class="parameter"><code><a href="../glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> domain</code></em>,
|
1578
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> code</code></em>,
|
1579
|
+
<em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
|
1580
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
1581
|
+
<p>Creates a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> and then immediately calls
|
1582
|
+
<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
|
1583
|
+
of an asynchronous method when you want to avoid even calling the
|
1584
|
+
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
|
1585
|
+
finish method wrapper to check if the result there is tagged as
|
1586
|
+
having been created by the wrapper method, and deal with it
|
1587
|
+
appropriately if so.</p>
|
1588
|
+
<p>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>.</p>
|
1589
|
+
<div class="refsect3">
|
1590
|
+
<a name="id-1.4.5.4.9.9.6"></a><h4>Parameters</h4>
|
1591
|
+
<div class="informaltable"><table width="100%" border="0">
|
1592
|
+
<colgroup>
|
1593
|
+
<col width="150px" class="parameters_name">
|
1594
|
+
<col class="parameters_description">
|
1595
|
+
<col width="200px" class="parameters_annotations">
|
1596
|
+
</colgroup>
|
1597
|
+
<tbody>
|
1598
|
+
<tr>
|
1599
|
+
<td class="parameter_name"><p>source_object</p></td>
|
1600
|
+
<td class="parameter_description"><p> the <a href="../gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> that owns
|
1601
|
+
this task, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1602
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject]</span></td>
|
1603
|
+
</tr>
|
1604
|
+
<tr>
|
1605
|
+
<td class="parameter_name"><p>callback</p></td>
|
1606
|
+
<td class="parameter_description"><p> a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>. </p></td>
|
1607
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
|
1608
|
+
</tr>
|
1609
|
+
<tr>
|
1610
|
+
<td class="parameter_name"><p>callback_data</p></td>
|
1611
|
+
<td class="parameter_description"><p> user data passed to <em class="parameter"><code>callback</code></em>
|
1612
|
+
. </p></td>
|
1613
|
+
<td class="parameter_annotations"><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></td>
|
1614
|
+
</tr>
|
1615
|
+
<tr>
|
1616
|
+
<td class="parameter_name"><p>source_tag</p></td>
|
1617
|
+
<td class="parameter_description"><p>an opaque pointer indicating the source of this task</p></td>
|
1618
|
+
<td class="parameter_annotations"> </td>
|
1619
|
+
</tr>
|
1620
|
+
<tr>
|
1621
|
+
<td class="parameter_name"><p>domain</p></td>
|
1622
|
+
<td class="parameter_description"><p>a <a href="../glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>.</p></td>
|
1623
|
+
<td class="parameter_annotations"> </td>
|
1624
|
+
</tr>
|
1625
|
+
<tr>
|
1626
|
+
<td class="parameter_name"><p>code</p></td>
|
1627
|
+
<td class="parameter_description"><p>an error code.</p></td>
|
1628
|
+
<td class="parameter_annotations"> </td>
|
1629
|
+
</tr>
|
1630
|
+
<tr>
|
1631
|
+
<td class="parameter_name"><p>format</p></td>
|
1632
|
+
<td class="parameter_description"><p>a string with format characters.</p></td>
|
1633
|
+
<td class="parameter_annotations"> </td>
|
1634
|
+
</tr>
|
1635
|
+
<tr>
|
1636
|
+
<td class="parameter_name"><p>...</p></td>
|
1637
|
+
<td class="parameter_description"><p>a list of values to insert into <em class="parameter"><code>format</code></em>
|
1638
|
+
.</p></td>
|
1639
|
+
<td class="parameter_annotations"> </td>
|
1640
|
+
</tr>
|
1641
|
+
</tbody>
|
1642
|
+
</table></div>
|
1643
|
+
</div>
|
1644
|
+
<p class="since">Since 2.36</p>
|
1645
|
+
</div>
|
1646
|
+
<hr>
|
1647
|
+
<div class="refsect2">
|
1648
|
+
<a name="g-task-get-task-data"></a><h3>g_task_get_task_data ()</h3>
|
1649
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
1650
|
+
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>
|
1651
|
+
<p>Gets <em class="parameter"><code>task</code></em>
|
1652
|
+
's <code class="literal">task_data</code>.</p>
|
1653
|
+
<div class="refsect3">
|
1654
|
+
<a name="id-1.4.5.4.9.10.5"></a><h4>Parameters</h4>
|
1655
|
+
<div class="informaltable"><table width="100%" border="0">
|
1656
|
+
<colgroup>
|
1657
|
+
<col width="150px" class="parameters_name">
|
1658
|
+
<col class="parameters_description">
|
1659
|
+
<col width="200px" class="parameters_annotations">
|
1660
|
+
</colgroup>
|
1661
|
+
<tbody><tr>
|
1662
|
+
<td class="parameter_name"><p>task</p></td>
|
1663
|
+
<td class="parameter_description"><p>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a></p></td>
|
1664
|
+
<td class="parameter_annotations"> </td>
|
1665
|
+
</tr></tbody>
|
1666
|
+
</table></div>
|
1667
|
+
</div>
|
1668
|
+
<div class="refsect3">
|
1669
|
+
<a name="id-1.4.5.4.9.10.6"></a><h4>Returns</h4>
|
1670
|
+
<p> <em class="parameter"><code>task</code></em>
|
1671
|
+
's <code class="literal">task_data</code>. </p>
|
1672
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1673
|
+
</div>
|
1674
|
+
<p class="since">Since 2.36</p>
|
1675
|
+
</div>
|
1676
|
+
<hr>
|
1677
|
+
<div class="refsect2">
|
1678
|
+
<a name="g-task-get-priority"></a><h3>g_task_get_priority ()</h3>
|
1679
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
1680
|
+
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>
|
1681
|
+
<p>Gets <em class="parameter"><code>task</code></em>
|
1682
|
+
's priority</p>
|
1683
|
+
<div class="refsect3">
|
1684
|
+
<a name="id-1.4.5.4.9.11.5"></a><h4>Parameters</h4>
|
1685
|
+
<div class="informaltable"><table width="100%" border="0">
|
1686
|
+
<colgroup>
|
1687
|
+
<col width="150px" class="parameters_name">
|
1688
|
+
<col class="parameters_description">
|
1689
|
+
<col width="200px" class="parameters_annotations">
|
1690
|
+
</colgroup>
|
1691
|
+
<tbody><tr>
|
1692
|
+
<td class="parameter_name"><p>task</p></td>
|
1693
|
+
<td class="parameter_description"><p>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a></p></td>
|
1694
|
+
<td class="parameter_annotations"> </td>
|
1695
|
+
</tr></tbody>
|
1696
|
+
</table></div>
|
1697
|
+
</div>
|
1698
|
+
<div class="refsect3">
|
1699
|
+
<a name="id-1.4.5.4.9.11.6"></a><h4>Returns</h4>
|
1700
|
+
<p> <em class="parameter"><code>task</code></em>
|
1701
|
+
's priority</p>
|
1702
|
+
<p></p>
|
1703
|
+
</div>
|
1704
|
+
<p class="since">Since 2.36</p>
|
1705
|
+
</div>
|
1706
|
+
<hr>
|
1707
|
+
<div class="refsect2">
|
1708
|
+
<a name="g-task-get-cancellable"></a><h3>g_task_get_cancellable ()</h3>
|
1709
|
+
<pre class="programlisting"><a class="link" href="GCancellable.html" title="GCancellable"><span class="returnvalue">GCancellable</span></a> *
|
1710
|
+
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>
|
1711
|
+
<p>Gets <em class="parameter"><code>task</code></em>
|
1712
|
+
's <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a></p>
|
1713
|
+
<div class="refsect3">
|
1714
|
+
<a name="id-1.4.5.4.9.12.5"></a><h4>Parameters</h4>
|
1715
|
+
<div class="informaltable"><table width="100%" border="0">
|
1716
|
+
<colgroup>
|
1717
|
+
<col width="150px" class="parameters_name">
|
1718
|
+
<col class="parameters_description">
|
1719
|
+
<col width="200px" class="parameters_annotations">
|
1720
|
+
</colgroup>
|
1721
|
+
<tbody><tr>
|
1722
|
+
<td class="parameter_name"><p>task</p></td>
|
1723
|
+
<td class="parameter_description"><p>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a></p></td>
|
1724
|
+
<td class="parameter_annotations"> </td>
|
1725
|
+
</tr></tbody>
|
1726
|
+
</table></div>
|
1727
|
+
</div>
|
1728
|
+
<div class="refsect3">
|
1729
|
+
<a name="id-1.4.5.4.9.12.6"></a><h4>Returns</h4>
|
1730
|
+
<p> <em class="parameter"><code>task</code></em>
|
1731
|
+
's <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>. </p>
|
1732
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1733
|
+
</div>
|
1734
|
+
<p class="since">Since 2.36</p>
|
1735
|
+
</div>
|
1736
|
+
<hr>
|
1737
|
+
<div class="refsect2">
|
1738
|
+
<a name="g-task-get-check-cancellable"></a><h3>g_task_get_check_cancellable ()</h3>
|
1739
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1740
|
+
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>
|
1741
|
+
<p>Gets <em class="parameter"><code>task</code></em>
|
1742
|
+
's check-cancellable flag. See
|
1743
|
+
<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.</p>
|
1744
|
+
<div class="refsect3">
|
1745
|
+
<a name="id-1.4.5.4.9.13.5"></a><h4>Parameters</h4>
|
1746
|
+
<div class="informaltable"><table width="100%" border="0">
|
1747
|
+
<colgroup>
|
1748
|
+
<col width="150px" class="parameters_name">
|
1749
|
+
<col class="parameters_description">
|
1750
|
+
<col width="200px" class="parameters_annotations">
|
1751
|
+
</colgroup>
|
1752
|
+
<tbody><tr>
|
1753
|
+
<td class="parameter_name"><p>task</p></td>
|
1754
|
+
<td class="parameter_description"><p>the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a></p></td>
|
1755
|
+
<td class="parameter_annotations"> </td>
|
1756
|
+
</tr></tbody>
|
1757
|
+
</table></div>
|
1758
|
+
</div>
|
1759
|
+
<p class="since">Since 2.36</p>
|
1760
|
+
</div>
|
1761
|
+
<hr>
|
1762
|
+
<div class="refsect2">
|
1763
|
+
<a name="g-task-get-return-on-cancel"></a><h3>g_task_get_return_on_cancel ()</h3>
|
1764
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1765
|
+
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>
|
1766
|
+
<p>Gets <em class="parameter"><code>task</code></em>
|
1767
|
+
's return-on-cancel flag. See
|
1768
|
+
<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.</p>
|
1769
|
+
<div class="refsect3">
|
1770
|
+
<a name="id-1.4.5.4.9.14.5"></a><h4>Parameters</h4>
|
1771
|
+
<div class="informaltable"><table width="100%" border="0">
|
1772
|
+
<colgroup>
|
1773
|
+
<col width="150px" class="parameters_name">
|
1774
|
+
<col class="parameters_description">
|
1775
|
+
<col width="200px" class="parameters_annotations">
|
1776
|
+
</colgroup>
|
1777
|
+
<tbody><tr>
|
1778
|
+
<td class="parameter_name"><p>task</p></td>
|
1779
|
+
<td class="parameter_description"><p>the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a></p></td>
|
1780
|
+
<td class="parameter_annotations"> </td>
|
1781
|
+
</tr></tbody>
|
1782
|
+
</table></div>
|
1783
|
+
</div>
|
1784
|
+
<p class="since">Since 2.36</p>
|
1785
|
+
</div>
|
1786
|
+
<hr>
|
1787
|
+
<div class="refsect2">
|
1788
|
+
<a name="g-task-get-context"></a><h3>g_task_get_context ()</h3>
|
1789
|
+
<pre class="programlisting"><a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="returnvalue">GMainContext</span></a> *
|
1790
|
+
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>
|
1791
|
+
<p>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>
|
1792
|
+
will return its result in (that
|
1793
|
+
is, the context that was the
|
1794
|
+
<a href="../glib/glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main context</a>
|
1795
|
+
at the point when <em class="parameter"><code>task</code></em>
|
1796
|
+
was created).</p>
|
1797
|
+
<p>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
|
1798
|
+
context is the default <a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a>.</p>
|
1799
|
+
<div class="refsect3">
|
1800
|
+
<a name="id-1.4.5.4.9.15.6"></a><h4>Parameters</h4>
|
1801
|
+
<div class="informaltable"><table width="100%" border="0">
|
1802
|
+
<colgroup>
|
1803
|
+
<col width="150px" class="parameters_name">
|
1804
|
+
<col class="parameters_description">
|
1805
|
+
<col width="200px" class="parameters_annotations">
|
1806
|
+
</colgroup>
|
1807
|
+
<tbody><tr>
|
1808
|
+
<td class="parameter_name"><p>task</p></td>
|
1809
|
+
<td class="parameter_description"><p>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a></p></td>
|
1810
|
+
<td class="parameter_annotations"> </td>
|
1811
|
+
</tr></tbody>
|
1812
|
+
</table></div>
|
1813
|
+
</div>
|
1814
|
+
<div class="refsect3">
|
1815
|
+
<a name="id-1.4.5.4.9.15.7"></a><h4>Returns</h4>
|
1816
|
+
<p> <em class="parameter"><code>task</code></em>
|
1817
|
+
's <a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a>. </p>
|
1818
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1819
|
+
</div>
|
1820
|
+
<p class="since">Since 2.36</p>
|
1821
|
+
</div>
|
1822
|
+
<hr>
|
1823
|
+
<div class="refsect2">
|
1824
|
+
<a name="g-task-get-source-object"></a><h3>g_task_get_source_object ()</h3>
|
1825
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
1826
|
+
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>
|
1827
|
+
<p>Gets the source object from <em class="parameter"><code>task</code></em>
|
1828
|
+
. Like
|
1829
|
+
<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.</p>
|
1830
|
+
<div class="refsect3">
|
1831
|
+
<a name="id-1.4.5.4.9.16.5"></a><h4>Parameters</h4>
|
1832
|
+
<div class="informaltable"><table width="100%" border="0">
|
1833
|
+
<colgroup>
|
1834
|
+
<col width="150px" class="parameters_name">
|
1835
|
+
<col class="parameters_description">
|
1836
|
+
<col width="200px" class="parameters_annotations">
|
1837
|
+
</colgroup>
|
1838
|
+
<tbody><tr>
|
1839
|
+
<td class="parameter_name"><p>task</p></td>
|
1840
|
+
<td class="parameter_description"><p>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a></p></td>
|
1841
|
+
<td class="parameter_annotations"> </td>
|
1842
|
+
</tr></tbody>
|
1843
|
+
</table></div>
|
1844
|
+
</div>
|
1845
|
+
<div class="refsect3">
|
1846
|
+
<a name="id-1.4.5.4.9.16.6"></a><h4>Returns</h4>
|
1847
|
+
<p> <em class="parameter"><code>task</code></em>
|
1848
|
+
's source object, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
1849
|
+
<p><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></p>
|
1850
|
+
</div>
|
1851
|
+
<p class="since">Since 2.36</p>
|
1852
|
+
</div>
|
1853
|
+
<hr>
|
1854
|
+
<div class="refsect2">
|
1855
|
+
<a name="g-task-get-source-tag"></a><h3>g_task_get_source_tag ()</h3>
|
1856
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
1857
|
+
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>
|
1858
|
+
<p>Gets <em class="parameter"><code>task</code></em>
|
1859
|
+
'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>.</p>
|
1860
|
+
<div class="refsect3">
|
1861
|
+
<a name="id-1.4.5.4.9.17.5"></a><h4>Parameters</h4>
|
1862
|
+
<div class="informaltable"><table width="100%" border="0">
|
1863
|
+
<colgroup>
|
1864
|
+
<col width="150px" class="parameters_name">
|
1865
|
+
<col class="parameters_description">
|
1866
|
+
<col width="200px" class="parameters_annotations">
|
1867
|
+
</colgroup>
|
1868
|
+
<tbody><tr>
|
1869
|
+
<td class="parameter_name"><p>task</p></td>
|
1870
|
+
<td class="parameter_description"><p>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a></p></td>
|
1871
|
+
<td class="parameter_annotations"> </td>
|
1872
|
+
</tr></tbody>
|
1873
|
+
</table></div>
|
1874
|
+
</div>
|
1875
|
+
<div class="refsect3">
|
1876
|
+
<a name="id-1.4.5.4.9.17.6"></a><h4>Returns</h4>
|
1877
|
+
<p> <em class="parameter"><code>task</code></em>
|
1878
|
+
's source tag. </p>
|
1879
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1880
|
+
</div>
|
1881
|
+
<p class="since">Since 2.36</p>
|
1882
|
+
</div>
|
1883
|
+
<hr>
|
1884
|
+
<div class="refsect2">
|
1885
|
+
<a name="g-task-return-boolean"></a><h3>g_task_return_boolean ()</h3>
|
1886
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1887
|
+
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>,
|
1888
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> result</code></em>);</pre>
|
1889
|
+
<p>Sets <em class="parameter"><code>task</code></em>
|
1890
|
+
's result to <em class="parameter"><code>result</code></em>
|
1891
|
+
and completes the task (see
|
1892
|
+
<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
|
1893
|
+
means).</p>
|
1894
|
+
<div class="refsect3">
|
1895
|
+
<a name="id-1.4.5.4.9.18.5"></a><h4>Parameters</h4>
|
1896
|
+
<div class="informaltable"><table width="100%" border="0">
|
1897
|
+
<colgroup>
|
1898
|
+
<col width="150px" class="parameters_name">
|
1899
|
+
<col class="parameters_description">
|
1900
|
+
<col width="200px" class="parameters_annotations">
|
1901
|
+
</colgroup>
|
1902
|
+
<tbody>
|
1903
|
+
<tr>
|
1904
|
+
<td class="parameter_name"><p>task</p></td>
|
1905
|
+
<td class="parameter_description"><p>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>.</p></td>
|
1906
|
+
<td class="parameter_annotations"> </td>
|
1907
|
+
</tr>
|
1908
|
+
<tr>
|
1909
|
+
<td class="parameter_name"><p>result</p></td>
|
1910
|
+
<td class="parameter_description"><p>the <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> result of a task function.</p></td>
|
1911
|
+
<td class="parameter_annotations"> </td>
|
1912
|
+
</tr>
|
1913
|
+
</tbody>
|
1914
|
+
</table></div>
|
1915
|
+
</div>
|
1916
|
+
<p class="since">Since 2.36</p>
|
1917
|
+
</div>
|
1918
|
+
<hr>
|
1919
|
+
<div class="refsect2">
|
1920
|
+
<a name="g-task-return-int"></a><h3>g_task_return_int ()</h3>
|
1921
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1922
|
+
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>,
|
1923
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gssize"><span class="type">gssize</span></a> result</code></em>);</pre>
|
1924
|
+
<p>Sets <em class="parameter"><code>task</code></em>
|
1925
|
+
's result to <em class="parameter"><code>result</code></em>
|
1926
|
+
and completes the task (see
|
1927
|
+
<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
|
1928
|
+
means).</p>
|
1929
|
+
<div class="refsect3">
|
1930
|
+
<a name="id-1.4.5.4.9.19.5"></a><h4>Parameters</h4>
|
1931
|
+
<div class="informaltable"><table width="100%" border="0">
|
1932
|
+
<colgroup>
|
1933
|
+
<col width="150px" class="parameters_name">
|
1934
|
+
<col class="parameters_description">
|
1935
|
+
<col width="200px" class="parameters_annotations">
|
1936
|
+
</colgroup>
|
1937
|
+
<tbody>
|
1938
|
+
<tr>
|
1939
|
+
<td class="parameter_name"><p>task</p></td>
|
1940
|
+
<td class="parameter_description"><p>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>.</p></td>
|
1941
|
+
<td class="parameter_annotations"> </td>
|
1942
|
+
</tr>
|
1943
|
+
<tr>
|
1944
|
+
<td class="parameter_name"><p>result</p></td>
|
1945
|
+
<td class="parameter_description"><p>the integer (<a href="../glib/glib-Basic-Types.html#gssize"><span class="type">gssize</span></a>) result of a task function.</p></td>
|
1946
|
+
<td class="parameter_annotations"> </td>
|
1947
|
+
</tr>
|
1948
|
+
</tbody>
|
1949
|
+
</table></div>
|
1950
|
+
</div>
|
1951
|
+
<p class="since">Since 2.36</p>
|
1952
|
+
</div>
|
1953
|
+
<hr>
|
1954
|
+
<div class="refsect2">
|
1955
|
+
<a name="g-task-return-pointer"></a><h3>g_task_return_pointer ()</h3>
|
1956
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1957
|
+
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>,
|
1958
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> result</code></em>,
|
1959
|
+
<em class="parameter"><code><a href="../glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> result_destroy</code></em>);</pre>
|
1960
|
+
<p>Sets <em class="parameter"><code>task</code></em>
|
1961
|
+
's result to <em class="parameter"><code>result</code></em>
|
1962
|
+
and completes the task. If <em class="parameter"><code>result</code></em>
|
1963
|
+
|
1964
|
+
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>
|
1965
|
+
will be used to free <em class="parameter"><code>result</code></em>
|
1966
|
+
if
|
1967
|
+
the caller does not take ownership of it with
|
1968
|
+
<a class="link" href="GTask.html#g-task-propagate-pointer" title="g_task_propagate_pointer ()"><code class="function">g_task_propagate_pointer()</code></a>.</p>
|
1969
|
+
<p>"Completes the task" means that for an ordinary asynchronous task
|
1970
|
+
it will either invoke the task's callback, or else queue that
|
1971
|
+
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
|
1972
|
+
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
|
1973
|
+
<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
|
1974
|
+
method will save <em class="parameter"><code>result</code></em>
|
1975
|
+
to be returned to the caller later, but
|
1976
|
+
the task will not actually be completed until the <a class="link" href="GTask.html#GTaskThreadFunc" title="GTaskThreadFunc ()"><span class="type">GTaskThreadFunc</span></a>
|
1977
|
+
exits.</p>
|
1978
|
+
<p>Note that since the task may be completed before returning from
|
1979
|
+
<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>
|
1980
|
+
is still
|
1981
|
+
valid after calling this, unless you are still holding another
|
1982
|
+
reference on it.</p>
|
1983
|
+
<div class="refsect3">
|
1984
|
+
<a name="id-1.4.5.4.9.20.7"></a><h4>Parameters</h4>
|
1985
|
+
<div class="informaltable"><table width="100%" border="0">
|
1986
|
+
<colgroup>
|
1987
|
+
<col width="150px" class="parameters_name">
|
1988
|
+
<col class="parameters_description">
|
1989
|
+
<col width="200px" class="parameters_annotations">
|
1990
|
+
</colgroup>
|
1991
|
+
<tbody>
|
1992
|
+
<tr>
|
1993
|
+
<td class="parameter_name"><p>task</p></td>
|
1994
|
+
<td class="parameter_description"><p>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a></p></td>
|
1995
|
+
<td class="parameter_annotations"> </td>
|
1996
|
+
</tr>
|
1997
|
+
<tr>
|
1998
|
+
<td class="parameter_name"><p>result</p></td>
|
1999
|
+
<td class="parameter_description"><p> the pointer result of a task
|
2000
|
+
function. </p></td>
|
2001
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
|
2002
|
+
</tr>
|
2003
|
+
<tr>
|
2004
|
+
<td class="parameter_name"><p>result_destroy</p></td>
|
2005
|
+
<td class="parameter_description"><p> a <a href="../glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> function. </p></td>
|
2006
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2007
|
+
</tr>
|
2008
|
+
</tbody>
|
2009
|
+
</table></div>
|
2010
|
+
</div>
|
2011
|
+
<p class="since">Since 2.36</p>
|
2012
|
+
</div>
|
2013
|
+
<hr>
|
2014
|
+
<div class="refsect2">
|
2015
|
+
<a name="g-task-return-error"></a><h3>g_task_return_error ()</h3>
|
2016
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2017
|
+
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>,
|
2018
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>);</pre>
|
2019
|
+
<p>Sets <em class="parameter"><code>task</code></em>
|
2020
|
+
's result to <em class="parameter"><code>error</code></em>
|
2021
|
+
(which <em class="parameter"><code>task</code></em>
|
2022
|
+
assumes ownership of)
|
2023
|
+
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
|
2024
|
+
discussion of exactly what this means).</p>
|
2025
|
+
<p>Note that since the task takes ownership of <em class="parameter"><code>error</code></em>
|
2026
|
+
, and since the
|
2027
|
+
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>,
|
2028
|
+
you cannot assume that <em class="parameter"><code>error</code></em>
|
2029
|
+
is still valid after calling this.
|
2030
|
+
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
|
2031
|
+
as well.</p>
|
2032
|
+
<p>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>.</p>
|
2033
|
+
<div class="refsect3">
|
2034
|
+
<a name="id-1.4.5.4.9.21.7"></a><h4>Parameters</h4>
|
2035
|
+
<div class="informaltable"><table width="100%" border="0">
|
2036
|
+
<colgroup>
|
2037
|
+
<col width="150px" class="parameters_name">
|
2038
|
+
<col class="parameters_description">
|
2039
|
+
<col width="200px" class="parameters_annotations">
|
2040
|
+
</colgroup>
|
2041
|
+
<tbody>
|
2042
|
+
<tr>
|
2043
|
+
<td class="parameter_name"><p>task</p></td>
|
2044
|
+
<td class="parameter_description"><p>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>.</p></td>
|
2045
|
+
<td class="parameter_annotations"> </td>
|
2046
|
+
</tr>
|
2047
|
+
<tr>
|
2048
|
+
<td class="parameter_name"><p>error</p></td>
|
2049
|
+
<td class="parameter_description"><p> the <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> result of a task function. </p></td>
|
2050
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
|
2051
|
+
</tr>
|
2052
|
+
</tbody>
|
2053
|
+
</table></div>
|
2054
|
+
</div>
|
2055
|
+
<p class="since">Since 2.36</p>
|
2056
|
+
</div>
|
2057
|
+
<hr>
|
2058
|
+
<div class="refsect2">
|
2059
|
+
<a name="g-task-return-new-error"></a><h3>g_task_return_new_error ()</h3>
|
2060
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2061
|
+
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>,
|
2062
|
+
<em class="parameter"><code><a href="../glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> domain</code></em>,
|
2063
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> code</code></em>,
|
2064
|
+
<em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
|
2065
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
2066
|
+
<p>Sets <em class="parameter"><code>task</code></em>
|
2067
|
+
'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>
|
2068
|
+
, <em class="parameter"><code>code</code></em>
|
2069
|
+
,
|
2070
|
+
<em class="parameter"><code>format</code></em>
|
2071
|
+
, and the remaining arguments, and completes the task (see
|
2072
|
+
<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
|
2073
|
+
means).</p>
|
2074
|
+
<p>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>.</p>
|
2075
|
+
<div class="refsect3">
|
2076
|
+
<a name="id-1.4.5.4.9.22.6"></a><h4>Parameters</h4>
|
2077
|
+
<div class="informaltable"><table width="100%" border="0">
|
2078
|
+
<colgroup>
|
2079
|
+
<col width="150px" class="parameters_name">
|
2080
|
+
<col class="parameters_description">
|
2081
|
+
<col width="200px" class="parameters_annotations">
|
2082
|
+
</colgroup>
|
2083
|
+
<tbody>
|
2084
|
+
<tr>
|
2085
|
+
<td class="parameter_name"><p>task</p></td>
|
2086
|
+
<td class="parameter_description"><p>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>.</p></td>
|
2087
|
+
<td class="parameter_annotations"> </td>
|
2088
|
+
</tr>
|
2089
|
+
<tr>
|
2090
|
+
<td class="parameter_name"><p>domain</p></td>
|
2091
|
+
<td class="parameter_description"><p>a <a href="../glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>.</p></td>
|
2092
|
+
<td class="parameter_annotations"> </td>
|
2093
|
+
</tr>
|
2094
|
+
<tr>
|
2095
|
+
<td class="parameter_name"><p>code</p></td>
|
2096
|
+
<td class="parameter_description"><p>an error code.</p></td>
|
2097
|
+
<td class="parameter_annotations"> </td>
|
2098
|
+
</tr>
|
2099
|
+
<tr>
|
2100
|
+
<td class="parameter_name"><p>format</p></td>
|
2101
|
+
<td class="parameter_description"><p>a string with format characters.</p></td>
|
2102
|
+
<td class="parameter_annotations"> </td>
|
2103
|
+
</tr>
|
2104
|
+
<tr>
|
2105
|
+
<td class="parameter_name"><p>...</p></td>
|
2106
|
+
<td class="parameter_description"><p>a list of values to insert into <em class="parameter"><code>format</code></em>
|
2107
|
+
.</p></td>
|
2108
|
+
<td class="parameter_annotations"> </td>
|
2109
|
+
</tr>
|
2110
|
+
</tbody>
|
2111
|
+
</table></div>
|
2112
|
+
</div>
|
2113
|
+
<p class="since">Since 2.36</p>
|
2114
|
+
</div>
|
2115
|
+
<hr>
|
2116
|
+
<div class="refsect2">
|
2117
|
+
<a name="g-task-return-error-if-cancelled"></a><h3>g_task_return_error_if_cancelled ()</h3>
|
2118
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2119
|
+
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>
|
2120
|
+
<p>Checks if <em class="parameter"><code>task</code></em>
|
2121
|
+
's <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> has been cancelled, and if so, sets
|
2122
|
+
<em class="parameter"><code>task</code></em>
|
2123
|
+
's error accordingly and completes the task (see
|
2124
|
+
<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
|
2125
|
+
means).</p>
|
2126
|
+
<div class="refsect3">
|
2127
|
+
<a name="id-1.4.5.4.9.23.5"></a><h4>Parameters</h4>
|
2128
|
+
<div class="informaltable"><table width="100%" border="0">
|
2129
|
+
<colgroup>
|
2130
|
+
<col width="150px" class="parameters_name">
|
2131
|
+
<col class="parameters_description">
|
2132
|
+
<col width="200px" class="parameters_annotations">
|
2133
|
+
</colgroup>
|
2134
|
+
<tbody><tr>
|
2135
|
+
<td class="parameter_name"><p>task</p></td>
|
2136
|
+
<td class="parameter_description"><p>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a></p></td>
|
2137
|
+
<td class="parameter_annotations"> </td>
|
2138
|
+
</tr></tbody>
|
2139
|
+
</table></div>
|
2140
|
+
</div>
|
2141
|
+
<div class="refsect3">
|
2142
|
+
<a name="id-1.4.5.4.9.23.6"></a><h4>Returns</h4>
|
2143
|
+
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>task</code></em>
|
2144
|
+
has been cancelled, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if not</p>
|
2145
|
+
<p></p>
|
2146
|
+
</div>
|
2147
|
+
<p class="since">Since 2.36</p>
|
2148
|
+
</div>
|
2149
|
+
<hr>
|
2150
|
+
<div class="refsect2">
|
2151
|
+
<a name="g-task-propagate-boolean"></a><h3>g_task_propagate_boolean ()</h3>
|
2152
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2153
|
+
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>,
|
2154
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2155
|
+
<p>Gets the result of <em class="parameter"><code>task</code></em>
|
2156
|
+
as a <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>.</p>
|
2157
|
+
<p>If the task resulted in an error, or was cancelled, then this will
|
2158
|
+
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>
|
2159
|
+
.</p>
|
2160
|
+
<p>Since this method transfers ownership of the return value (or
|
2161
|
+
error) to the caller, you may only call it once.</p>
|
2162
|
+
<div class="refsect3">
|
2163
|
+
<a name="id-1.4.5.4.9.24.7"></a><h4>Parameters</h4>
|
2164
|
+
<div class="informaltable"><table width="100%" border="0">
|
2165
|
+
<colgroup>
|
2166
|
+
<col width="150px" class="parameters_name">
|
2167
|
+
<col class="parameters_description">
|
2168
|
+
<col width="200px" class="parameters_annotations">
|
2169
|
+
</colgroup>
|
2170
|
+
<tbody>
|
2171
|
+
<tr>
|
2172
|
+
<td class="parameter_name"><p>task</p></td>
|
2173
|
+
<td class="parameter_description"><p>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>.</p></td>
|
2174
|
+
<td class="parameter_annotations"> </td>
|
2175
|
+
</tr>
|
2176
|
+
<tr>
|
2177
|
+
<td class="parameter_name"><p>error</p></td>
|
2178
|
+
<td class="parameter_description"><p>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a></p></td>
|
2179
|
+
<td class="parameter_annotations"> </td>
|
2180
|
+
</tr>
|
2181
|
+
</tbody>
|
2182
|
+
</table></div>
|
2183
|
+
</div>
|
2184
|
+
<div class="refsect3">
|
2185
|
+
<a name="id-1.4.5.4.9.24.8"></a><h4>Returns</h4>
|
2186
|
+
<p> the task result, or <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error</p>
|
2187
|
+
<p></p>
|
2188
|
+
</div>
|
2189
|
+
<p class="since">Since 2.36</p>
|
2190
|
+
</div>
|
2191
|
+
<hr>
|
2192
|
+
<div class="refsect2">
|
2193
|
+
<a name="g-task-propagate-int"></a><h3>g_task_propagate_int ()</h3>
|
2194
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>
|
2195
|
+
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>,
|
2196
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2197
|
+
<p>Gets the result of <em class="parameter"><code>task</code></em>
|
2198
|
+
as an integer (<a href="../glib/glib-Basic-Types.html#gssize"><span class="type">gssize</span></a>).</p>
|
2199
|
+
<p>If the task resulted in an error, or was cancelled, then this will
|
2200
|
+
instead return -1 and set <em class="parameter"><code>error</code></em>
|
2201
|
+
.</p>
|
2202
|
+
<p>Since this method transfers ownership of the return value (or
|
2203
|
+
error) to the caller, you may only call it once.</p>
|
2204
|
+
<div class="refsect3">
|
2205
|
+
<a name="id-1.4.5.4.9.25.7"></a><h4>Parameters</h4>
|
2206
|
+
<div class="informaltable"><table width="100%" border="0">
|
2207
|
+
<colgroup>
|
2208
|
+
<col width="150px" class="parameters_name">
|
2209
|
+
<col class="parameters_description">
|
2210
|
+
<col width="200px" class="parameters_annotations">
|
2211
|
+
</colgroup>
|
2212
|
+
<tbody>
|
2213
|
+
<tr>
|
2214
|
+
<td class="parameter_name"><p>task</p></td>
|
2215
|
+
<td class="parameter_description"><p>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>.</p></td>
|
2216
|
+
<td class="parameter_annotations"> </td>
|
2217
|
+
</tr>
|
2218
|
+
<tr>
|
2219
|
+
<td class="parameter_name"><p>error</p></td>
|
2220
|
+
<td class="parameter_description"><p>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a></p></td>
|
2221
|
+
<td class="parameter_annotations"> </td>
|
2222
|
+
</tr>
|
2223
|
+
</tbody>
|
2224
|
+
</table></div>
|
2225
|
+
</div>
|
2226
|
+
<div class="refsect3">
|
2227
|
+
<a name="id-1.4.5.4.9.25.8"></a><h4>Returns</h4>
|
2228
|
+
<p> the task result, or -1 on error</p>
|
2229
|
+
<p></p>
|
2230
|
+
</div>
|
2231
|
+
<p class="since">Since 2.36</p>
|
2232
|
+
</div>
|
2233
|
+
<hr>
|
2234
|
+
<div class="refsect2">
|
2235
|
+
<a name="g-task-propagate-pointer"></a><h3>g_task_propagate_pointer ()</h3>
|
2236
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
2237
|
+
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>,
|
2238
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2239
|
+
<p>Gets the result of <em class="parameter"><code>task</code></em>
|
2240
|
+
as a pointer, and transfers ownership
|
2241
|
+
of that value to the caller.</p>
|
2242
|
+
<p>If the task resulted in an error, or was cancelled, then this will
|
2243
|
+
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>
|
2244
|
+
.</p>
|
2245
|
+
<p>Since this method transfers ownership of the return value (or
|
2246
|
+
error) to the caller, you may only call it once.</p>
|
2247
|
+
<div class="refsect3">
|
2248
|
+
<a name="id-1.4.5.4.9.26.7"></a><h4>Parameters</h4>
|
2249
|
+
<div class="informaltable"><table width="100%" border="0">
|
2250
|
+
<colgroup>
|
2251
|
+
<col width="150px" class="parameters_name">
|
2252
|
+
<col class="parameters_description">
|
2253
|
+
<col width="200px" class="parameters_annotations">
|
2254
|
+
</colgroup>
|
2255
|
+
<tbody>
|
2256
|
+
<tr>
|
2257
|
+
<td class="parameter_name"><p>task</p></td>
|
2258
|
+
<td class="parameter_description"><p>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a></p></td>
|
2259
|
+
<td class="parameter_annotations"> </td>
|
2260
|
+
</tr>
|
2261
|
+
<tr>
|
2262
|
+
<td class="parameter_name"><p>error</p></td>
|
2263
|
+
<td class="parameter_description"><p>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a></p></td>
|
2264
|
+
<td class="parameter_annotations"> </td>
|
2265
|
+
</tr>
|
2266
|
+
</tbody>
|
2267
|
+
</table></div>
|
2268
|
+
</div>
|
2269
|
+
<div class="refsect3">
|
2270
|
+
<a name="id-1.4.5.4.9.26.8"></a><h4>Returns</h4>
|
2271
|
+
<p> the task result, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. </p>
|
2272
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
2273
|
+
</div>
|
2274
|
+
<p class="since">Since 2.36</p>
|
2275
|
+
</div>
|
2276
|
+
<hr>
|
2277
|
+
<div class="refsect2">
|
2278
|
+
<a name="g-task-had-error"></a><h3>g_task_had_error ()</h3>
|
2279
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2280
|
+
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>
|
2281
|
+
<p>Tests if <em class="parameter"><code>task</code></em>
|
2282
|
+
resulted in an error.</p>
|
2283
|
+
<div class="refsect3">
|
2284
|
+
<a name="id-1.4.5.4.9.27.5"></a><h4>Parameters</h4>
|
2285
|
+
<div class="informaltable"><table width="100%" border="0">
|
2286
|
+
<colgroup>
|
2287
|
+
<col width="150px" class="parameters_name">
|
2288
|
+
<col class="parameters_description">
|
2289
|
+
<col width="200px" class="parameters_annotations">
|
2290
|
+
</colgroup>
|
2291
|
+
<tbody><tr>
|
2292
|
+
<td class="parameter_name"><p>task</p></td>
|
2293
|
+
<td class="parameter_description"><p>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a>.</p></td>
|
2294
|
+
<td class="parameter_annotations"> </td>
|
2295
|
+
</tr></tbody>
|
2296
|
+
</table></div>
|
2297
|
+
</div>
|
2298
|
+
<div class="refsect3">
|
2299
|
+
<a name="id-1.4.5.4.9.27.6"></a><h4>Returns</h4>
|
2300
|
+
<p> <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.</p>
|
2301
|
+
<p></p>
|
2302
|
+
</div>
|
2303
|
+
<p class="since">Since 2.36</p>
|
2304
|
+
</div>
|
2305
|
+
<hr>
|
2306
|
+
<div class="refsect2">
|
2307
|
+
<a name="g-task-run-in-thread"></a><h3>g_task_run_in_thread ()</h3>
|
2308
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2309
|
+
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>,
|
2310
|
+
<em class="parameter"><code><a class="link" href="GTask.html#GTaskThreadFunc" title="GTaskThreadFunc ()"><span class="type">GTaskThreadFunc</span></a> task_func</code></em>);</pre>
|
2311
|
+
<p>Runs <em class="parameter"><code>task_func</code></em>
|
2312
|
+
in another thread. When <em class="parameter"><code>task_func</code></em>
|
2313
|
+
returns, <em class="parameter"><code>task</code></em>
|
2314
|
+
's
|
2315
|
+
<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>
|
2316
|
+
's <a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a>.</p>
|
2317
|
+
<p>This takes a ref on <em class="parameter"><code>task</code></em>
|
2318
|
+
until the task completes.</p>
|
2319
|
+
<p>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>
|
2320
|
+
is handled.</p>
|
2321
|
+
<div class="refsect3">
|
2322
|
+
<a name="id-1.4.5.4.9.28.7"></a><h4>Parameters</h4>
|
2323
|
+
<div class="informaltable"><table width="100%" border="0">
|
2324
|
+
<colgroup>
|
2325
|
+
<col width="150px" class="parameters_name">
|
2326
|
+
<col class="parameters_description">
|
2327
|
+
<col width="200px" class="parameters_annotations">
|
2328
|
+
</colgroup>
|
2329
|
+
<tbody>
|
2330
|
+
<tr>
|
2331
|
+
<td class="parameter_name"><p>task</p></td>
|
2332
|
+
<td class="parameter_description"><p>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a></p></td>
|
2333
|
+
<td class="parameter_annotations"> </td>
|
2334
|
+
</tr>
|
2335
|
+
<tr>
|
2336
|
+
<td class="parameter_name"><p>task_func</p></td>
|
2337
|
+
<td class="parameter_description"><p>a <a class="link" href="GTask.html#GTaskThreadFunc" title="GTaskThreadFunc ()"><span class="type">GTaskThreadFunc</span></a></p></td>
|
2338
|
+
<td class="parameter_annotations"> </td>
|
2339
|
+
</tr>
|
2340
|
+
</tbody>
|
2341
|
+
</table></div>
|
2342
|
+
</div>
|
2343
|
+
<p class="since">Since 2.36</p>
|
2344
|
+
</div>
|
2345
|
+
<hr>
|
2346
|
+
<div class="refsect2">
|
2347
|
+
<a name="g-task-run-in-thread-sync"></a><h3>g_task_run_in_thread_sync ()</h3>
|
2348
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2349
|
+
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>,
|
2350
|
+
<em class="parameter"><code><a class="link" href="GTask.html#GTaskThreadFunc" title="GTaskThreadFunc ()"><span class="type">GTaskThreadFunc</span></a> task_func</code></em>);</pre>
|
2351
|
+
<p>Runs <em class="parameter"><code>task_func</code></em>
|
2352
|
+
in another thread, and waits for it to return or be
|
2353
|
+
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
|
2354
|
+
to get the result of <em class="parameter"><code>task_func</code></em>
|
2355
|
+
.</p>
|
2356
|
+
<p>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>
|
2357
|
+
is handled.</p>
|
2358
|
+
<p>Normally this is used with tasks created with a <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
2359
|
+
<code class="literal">callback</code>, but note that even if the task does
|
2360
|
+
have a callback, it will not be invoked when <em class="parameter"><code>task_func</code></em>
|
2361
|
+
returns.</p>
|
2362
|
+
<div class="refsect3">
|
2363
|
+
<a name="id-1.4.5.4.9.29.7"></a><h4>Parameters</h4>
|
2364
|
+
<div class="informaltable"><table width="100%" border="0">
|
2365
|
+
<colgroup>
|
2366
|
+
<col width="150px" class="parameters_name">
|
2367
|
+
<col class="parameters_description">
|
2368
|
+
<col width="200px" class="parameters_annotations">
|
2369
|
+
</colgroup>
|
2370
|
+
<tbody>
|
2371
|
+
<tr>
|
2372
|
+
<td class="parameter_name"><p>task</p></td>
|
2373
|
+
<td class="parameter_description"><p>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a></p></td>
|
2374
|
+
<td class="parameter_annotations"> </td>
|
2375
|
+
</tr>
|
2376
|
+
<tr>
|
2377
|
+
<td class="parameter_name"><p>task_func</p></td>
|
2378
|
+
<td class="parameter_description"><p>a <a class="link" href="GTask.html#GTaskThreadFunc" title="GTaskThreadFunc ()"><span class="type">GTaskThreadFunc</span></a></p></td>
|
2379
|
+
<td class="parameter_annotations"> </td>
|
2380
|
+
</tr>
|
2381
|
+
</tbody>
|
2382
|
+
</table></div>
|
2383
|
+
</div>
|
2384
|
+
<p class="since">Since 2.36</p>
|
2385
|
+
</div>
|
2386
|
+
<hr>
|
2387
|
+
<div class="refsect2">
|
2388
|
+
<a name="GTaskThreadFunc"></a><h3>GTaskThreadFunc ()</h3>
|
2389
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2390
|
+
<span class="c_punctuation">(</span>*GTaskThreadFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> *task</code></em>,
|
2391
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source_object</code></em>,
|
2392
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> task_data</code></em>,
|
2393
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>);</pre>
|
2394
|
+
<p>The prototype for a task function to be run in a thread via
|
2395
|
+
<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>.</p>
|
2396
|
+
<p>If the return-on-cancel flag is set on <em class="parameter"><code>task</code></em>
|
2397
|
+
, and <em class="parameter"><code>cancellable</code></em>
|
2398
|
+
gets
|
2399
|
+
cancelled, then the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a> will be completed immediately (as though
|
2400
|
+
<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
|
2401
|
+
waiting for the task function to complete. However, the task
|
2402
|
+
function will continue running in its thread in the background. The
|
2403
|
+
function therefore needs to be careful about how it uses
|
2404
|
+
externally-visible state in this case. See
|
2405
|
+
<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.</p>
|
2406
|
+
<p>Other than in that case, <em class="parameter"><code>task</code></em>
|
2407
|
+
will be completed when the
|
2408
|
+
<a class="link" href="GTask.html#GTaskThreadFunc" title="GTaskThreadFunc ()"><span class="type">GTaskThreadFunc</span></a> returns, not when it calls a
|
2409
|
+
<code class="literal">g_task_return_</code> function.</p>
|
2410
|
+
<div class="refsect3">
|
2411
|
+
<a name="id-1.4.5.4.9.30.7"></a><h4>Parameters</h4>
|
2412
|
+
<div class="informaltable"><table width="100%" border="0">
|
2413
|
+
<colgroup>
|
2414
|
+
<col width="150px" class="parameters_name">
|
2415
|
+
<col class="parameters_description">
|
2416
|
+
<col width="200px" class="parameters_annotations">
|
2417
|
+
</colgroup>
|
2418
|
+
<tbody>
|
2419
|
+
<tr>
|
2420
|
+
<td class="parameter_name"><p>task</p></td>
|
2421
|
+
<td class="parameter_description"><p>the <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a></p></td>
|
2422
|
+
<td class="parameter_annotations"> </td>
|
2423
|
+
</tr>
|
2424
|
+
<tr>
|
2425
|
+
<td class="parameter_name"><p>source_object</p></td>
|
2426
|
+
<td class="parameter_description"><p> <em class="parameter"><code>task</code></em>
|
2427
|
+
's source object. </p></td>
|
2428
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject]</span></td>
|
2429
|
+
</tr>
|
2430
|
+
<tr>
|
2431
|
+
<td class="parameter_name"><p>task_data</p></td>
|
2432
|
+
<td class="parameter_description"><p><em class="parameter"><code>task</code></em>
|
2433
|
+
's task data</p></td>
|
2434
|
+
<td class="parameter_annotations"> </td>
|
2435
|
+
</tr>
|
2436
|
+
<tr>
|
2437
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
2438
|
+
<td class="parameter_description"><p><em class="parameter"><code>task</code></em>
|
2439
|
+
'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></p></td>
|
2440
|
+
<td class="parameter_annotations"> </td>
|
2441
|
+
</tr>
|
2442
|
+
</tbody>
|
2443
|
+
</table></div>
|
2444
|
+
</div>
|
2445
|
+
<p class="since">Since 2.36</p>
|
2446
|
+
</div>
|
2447
|
+
<hr>
|
2448
|
+
<div class="refsect2">
|
2449
|
+
<a name="g-task-attach-source"></a><h3>g_task_attach_source ()</h3>
|
2450
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2451
|
+
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>,
|
2452
|
+
<em class="parameter"><code><a href="../glib/glib-The-Main-Event-Loop.html#GSource"><span class="type">GSource</span></a> *source</code></em>,
|
2453
|
+
<em class="parameter"><code><a href="../glib/glib-The-Main-Event-Loop.html#GSourceFunc"><span class="type">GSourceFunc</span></a> callback</code></em>);</pre>
|
2454
|
+
<p>A utility function for dealing with async operations where you need
|
2455
|
+
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>
|
2456
|
+
to <em class="parameter"><code>task</code></em>
|
2457
|
+
's
|
2458
|
+
<a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a> with <em class="parameter"><code>task</code></em>
|
2459
|
+
's <a class="link" href="GAsyncResult.html#io-priority" title="I/O Priority">priority</a>, and sets <em class="parameter"><code>source</code></em>
|
2460
|
+
's
|
2461
|
+
callback to <em class="parameter"><code>callback</code></em>
|
2462
|
+
, with <em class="parameter"><code>task</code></em>
|
2463
|
+
as the callback's <code class="literal">user_data</code>.</p>
|
2464
|
+
<p>This takes a reference on <em class="parameter"><code>task</code></em>
|
2465
|
+
until <em class="parameter"><code>source</code></em>
|
2466
|
+
is destroyed.</p>
|
2467
|
+
<div class="refsect3">
|
2468
|
+
<a name="id-1.4.5.4.9.31.6"></a><h4>Parameters</h4>
|
2469
|
+
<div class="informaltable"><table width="100%" border="0">
|
2470
|
+
<colgroup>
|
2471
|
+
<col width="150px" class="parameters_name">
|
2472
|
+
<col class="parameters_description">
|
2473
|
+
<col width="200px" class="parameters_annotations">
|
2474
|
+
</colgroup>
|
2475
|
+
<tbody>
|
2476
|
+
<tr>
|
2477
|
+
<td class="parameter_name"><p>task</p></td>
|
2478
|
+
<td class="parameter_description"><p>a <a class="link" href="GTask.html" title="GTask"><span class="type">GTask</span></a></p></td>
|
2479
|
+
<td class="parameter_annotations"> </td>
|
2480
|
+
</tr>
|
2481
|
+
<tr>
|
2482
|
+
<td class="parameter_name"><p>source</p></td>
|
2483
|
+
<td class="parameter_description"><p>the source to attach</p></td>
|
2484
|
+
<td class="parameter_annotations"> </td>
|
2485
|
+
</tr>
|
2486
|
+
<tr>
|
2487
|
+
<td class="parameter_name"><p>callback</p></td>
|
2488
|
+
<td class="parameter_description"><p>the callback to invoke when <em class="parameter"><code>source</code></em>
|
2489
|
+
triggers</p></td>
|
2490
|
+
<td class="parameter_annotations"> </td>
|
2491
|
+
</tr>
|
2492
|
+
</tbody>
|
2493
|
+
</table></div>
|
2494
|
+
</div>
|
2495
|
+
<p class="since">Since 2.36</p>
|
2496
|
+
</div>
|
2497
|
+
<hr>
|
2498
|
+
<div class="refsect2">
|
2499
|
+
<a name="g-task-is-valid"></a><h3>g_task_is_valid ()</h3>
|
2500
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2501
|
+
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>,
|
2502
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source_object</code></em>);</pre>
|
2503
|
+
<p>Checks that <em class="parameter"><code>result</code></em>
|
2504
|
+
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>
|
2505
|
+
is its
|
2506
|
+
source object (or that <em class="parameter"><code>source_object</code></em>
|
2507
|
+
is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> and <em class="parameter"><code>result</code></em>
|
2508
|
+
has no
|
2509
|
+
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.</p>
|
2510
|
+
<div class="refsect3">
|
2511
|
+
<a name="id-1.4.5.4.9.32.5"></a><h4>Parameters</h4>
|
2512
|
+
<div class="informaltable"><table width="100%" border="0">
|
2513
|
+
<colgroup>
|
2514
|
+
<col width="150px" class="parameters_name">
|
2515
|
+
<col class="parameters_description">
|
2516
|
+
<col width="200px" class="parameters_annotations">
|
2517
|
+
</colgroup>
|
2518
|
+
<tbody>
|
2519
|
+
<tr>
|
2520
|
+
<td class="parameter_name"><p>result</p></td>
|
2521
|
+
<td class="parameter_description"><p> A <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>. </p></td>
|
2522
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gio.AsyncResult]</span></td>
|
2523
|
+
</tr>
|
2524
|
+
<tr>
|
2525
|
+
<td class="parameter_name"><p>source_object</p></td>
|
2526
|
+
<td class="parameter_description"><p> the source object
|
2527
|
+
expected to be associated with the task. </p></td>
|
2528
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject]</span></td>
|
2529
|
+
</tr>
|
2530
|
+
</tbody>
|
2531
|
+
</table></div>
|
2532
|
+
</div>
|
2533
|
+
<div class="refsect3">
|
2534
|
+
<a name="id-1.4.5.4.9.32.6"></a><h4>Returns</h4>
|
2535
|
+
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>result</code></em>
|
2536
|
+
and <em class="parameter"><code>source_object</code></em>
|
2537
|
+
are valid, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
2538
|
+
if not</p>
|
2539
|
+
<p></p>
|
2540
|
+
</div>
|
2541
|
+
<p class="since">Since 2.36</p>
|
2542
|
+
</div>
|
2543
|
+
</div>
|
2544
|
+
<div class="refsect1">
|
2545
|
+
<a name="GTask.other_details"></a><h2>Types and Values</h2>
|
2546
|
+
<div class="refsect2">
|
2547
|
+
<a name="GTask-struct"></a><h3>GTask</h3>
|
2548
|
+
<pre class="programlisting">typedef struct _GTask GTask;</pre>
|
2549
|
+
<p>The opaque object representing a synchronous or asynchronous task
|
2550
|
+
and its result.</p>
|
2551
|
+
</div>
|
2552
|
+
</div>
|
2553
|
+
<div class="refsect1">
|
2554
|
+
<a name="GTask.see-also"></a><h2>See Also</h2>
|
2555
|
+
<p><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a></p>
|
2556
|
+
</div>
|
2557
|
+
</div>
|
2558
|
+
<div class="footer">
|
2559
|
+
<hr>
|
2560
|
+
Generated by GTK-Doc V1.21.1</div>
|
2561
|
+
</body>
|
2562
|
+
</html>
|