glib2 1.1.8-x86-mingw32 → 1.1.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +51 -9
- data/ext/glib2/extconf.rb +2 -2
- data/ext/glib2/rbglib.h +3 -2
- data/ext/glib2/rbglib_win32.c +0 -17
- data/ext/glib2/rbgobj_type.c +10 -5
- data/ext/glib2/rbgobject.h +3 -1
- data/lib/1.8/glib2.so +0 -0
- data/lib/1.9/glib2.so +0 -0
- data/lib/gnome2-win32-binary-build-task.rb +42 -15
- data/vendor/local/bin/certtool.exe +0 -0
- data/vendor/local/bin/danetool.exe +0 -0
- data/vendor/local/bin/gdbus-codegen +41 -0
- data/vendor/local/bin/gdbus.exe +0 -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 +3 -3
- data/vendor/local/bin/glib-mkenums +41 -14
- 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-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/libffi-5.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 +807 -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 +304 -0
- data/vendor/local/bin/libgnutlsxx-28.dll +0 -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-2.dll +0 -0
- data/vendor/local/bin/libnettle-4-4.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/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/bin/zlib1.dll +0 -0
- data/vendor/local/include/glib-2.0/gio/gaction.h +5 -18
- data/vendor/local/include/glib-2.0/gio/gactiongroup.h +19 -21
- data/vendor/local/include/glib-2.0/gio/gactiongroupexporter.h +47 -0
- data/vendor/local/include/glib-2.0/gio/gactionmap.h +97 -0
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +48 -30
- data/vendor/local/include/glib-2.0/gio/gapplication.h +24 -31
- data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +4 -16
- data/vendor/local/include/glib-2.0/gio/gasyncresult.h +11 -0
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +5 -0
- data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +10 -0
- data/vendor/local/include/glib-2.0/gio/gdbusactiongroup.h +55 -0
- data/vendor/local/include/glib-2.0/gio/gdbusauthobserver.h +4 -0
- data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +37 -0
- data/vendor/local/include/glib-2.0/gio/gdbusinterface.h +79 -0
- data/vendor/local/include/glib-2.0/gio/gdbusinterfaceskeleton.h +115 -0
- data/vendor/local/include/glib-2.0/gio/gdbusintrospection.h +25 -15
- data/vendor/local/include/glib-2.0/gio/gdbusmenumodel.h +45 -0
- data/vendor/local/include/glib-2.0/gio/gdbusmethodinvocation.h +5 -0
- data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +6 -1
- data/vendor/local/include/glib-2.0/gio/gdbusobject.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectmanager.h +91 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectmanagerclient.h +137 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectmanagerserver.h +87 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectproxy.h +78 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectskeleton.h +91 -0
- data/vendor/local/include/glib-2.0/gio/gdbusproxy.h +23 -0
- data/vendor/local/include/glib-2.0/gio/gdbusutils.h +5 -0
- data/vendor/local/include/glib-2.0/gio/gdrive.h +17 -6
- data/vendor/local/include/glib-2.0/gio/gfile.h +48 -20
- data/vendor/local/include/glib-2.0/gio/gfileattribute.h +3 -1
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +3 -0
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +36 -3
- data/vendor/local/include/glib-2.0/gio/ginetaddress.h +3 -0
- data/vendor/local/include/glib-2.0/gio/ginetaddressmask.h +87 -0
- data/vendor/local/include/glib-2.0/gio/ginetsocketaddress.h +9 -5
- data/vendor/local/include/glib-2.0/gio/ginputstream.h +16 -0
- data/vendor/local/include/glib-2.0/gio/gio.h +30 -3
- data/vendor/local/include/glib-2.0/gio/gioenums.h +286 -14
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +26 -0
- data/vendor/local/include/glib-2.0/gio/giomodule.h +18 -1
- data/vendor/local/include/glib-2.0/gio/gioscheduler.h +4 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +60 -10
- data/vendor/local/include/glib-2.0/gio/gmemoryinputstream.h +6 -0
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +5 -0
- data/vendor/local/include/glib-2.0/gio/gmenu.h +177 -0
- data/vendor/local/include/glib-2.0/gio/gmenuexporter.h +42 -0
- data/vendor/local/include/glib-2.0/gio/gmenumodel.h +214 -0
- data/vendor/local/include/glib-2.0/gio/gmount.h +16 -4
- data/vendor/local/include/glib-2.0/gio/gmountoperation.h +5 -1
- data/vendor/local/include/glib-2.0/gio/gnetworking.h +83 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkmonitor.h +91 -0
- data/vendor/local/include/glib-2.0/gio/goutputstream.h +16 -0
- data/vendor/local/include/glib-2.0/gio/gpollableinputstream.h +6 -5
- data/vendor/local/include/glib-2.0/gio/gpollableoutputstream.h +6 -2
- data/vendor/local/include/glib-2.0/gio/gpollableutils.h +65 -0
- data/vendor/local/include/glib-2.0/gio/gproxy.h +2 -1
- data/vendor/local/include/glib-2.0/gio/gproxyaddress.h +5 -0
- data/vendor/local/include/glib-2.0/gio/gproxyresolver.h +0 -5
- data/vendor/local/include/glib-2.0/gio/gremoteactiongroup.h +77 -0
- data/vendor/local/include/glib-2.0/gio/gresolver.h +35 -3
- data/vendor/local/include/glib-2.0/gio/gresource.h +131 -0
- data/vendor/local/include/glib-2.0/gio/gseekable.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gsettings.h +26 -9
- data/vendor/local/include/glib-2.0/gio/gsettingsschema.h +65 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +4 -42
- data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +7 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +3 -0
- data/vendor/local/include/glib-2.0/gio/gsocket.h +57 -0
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +5 -1
- data/vendor/local/include/glib-2.0/gio/gsocketconnection.h +19 -0
- data/vendor/local/include/glib-2.0/gio/gtask.h +160 -0
- data/vendor/local/include/glib-2.0/gio/gtestdbus.h +74 -0
- data/vendor/local/include/glib-2.0/gio/gtlsbackend.h +18 -20
- data/vendor/local/include/glib-2.0/gio/gtlscertificate.h +4 -0
- data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +0 -8
- data/vendor/local/include/glib-2.0/gio/gtlsconnection.h +12 -10
- data/vendor/local/include/glib-2.0/gio/gtlsdatabase.h +235 -0
- data/vendor/local/include/glib-2.0/gio/gtlsfiledatabase.h +56 -0
- data/vendor/local/include/glib-2.0/gio/gtlsinteraction.h +102 -0
- data/vendor/local/include/glib-2.0/gio/gtlspassword.h +101 -0
- data/vendor/local/include/glib-2.0/gio/gvolume.h +36 -8
- data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +1 -2
- data/vendor/local/include/glib-2.0/glib-object.h +14 -14
- data/vendor/local/include/glib-2.0/glib-unix.h +90 -0
- data/vendor/local/include/glib-2.0/glib.h +16 -3
- data/vendor/local/include/glib-2.0/glib/deprecated/gallocator.h +90 -0
- data/vendor/local/include/glib-2.0/glib/deprecated/gcache.h +73 -0
- data/vendor/local/include/glib-2.0/glib/deprecated/gcompletion.h +85 -0
- data/vendor/local/include/glib-2.0/glib/deprecated/gmain.h +138 -0
- data/vendor/local/include/glib-2.0/glib/deprecated/grel.h +107 -0
- data/vendor/local/include/glib-2.0/glib/deprecated/gthread.h +286 -0
- data/vendor/local/include/glib-2.0/glib/galloca.h +1 -1
- data/vendor/local/include/glib-2.0/glib/garray.h +9 -1
- data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +30 -59
- data/vendor/local/include/glib-2.0/glib/gatomic.h +197 -82
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +8 -12
- data/vendor/local/include/glib-2.0/glib/gbase64.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gbitlock.h +30 -1
- data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gbytes.h +78 -0
- data/vendor/local/include/glib-2.0/glib/gcharset.h +40 -0
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +10 -3
- data/vendor/local/include/glib-2.0/glib/gconvert.h +26 -11
- data/vendor/local/include/glib-2.0/glib/gdataset.h +19 -4
- data/vendor/local/include/glib-2.0/glib/gdate.h +2 -1
- data/vendor/local/include/glib-2.0/glib/gdatetime.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gdir.h +12 -10
- data/vendor/local/include/glib-2.0/glib/genviron.h +69 -0
- data/vendor/local/include/glib-2.0/glib/gerror.h +10 -1
- data/vendor/local/include/glib-2.0/glib/gfileutils.h +94 -40
- data/vendor/local/include/glib-2.0/glib/ggettext.h +59 -0
- data/vendor/local/include/glib-2.0/glib/ghash.h +63 -82
- data/vendor/local/include/glib-2.0/glib/ghmac.h +80 -0
- data/vendor/local/include/glib-2.0/glib/ghook.h +1 -1
- data/vendor/local/include/glib-2.0/glib/giochannel.h +38 -20
- data/vendor/local/include/glib-2.0/glib/gkeyfile.h +3 -1
- data/vendor/local/include/glib-2.0/glib/glist.h +8 -6
- data/vendor/local/include/glib-2.0/glib/gmacros.h +66 -7
- data/vendor/local/include/glib-2.0/glib/gmain.h +53 -112
- data/vendor/local/include/glib-2.0/glib/gmappedfile.h +8 -3
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +3 -3
- data/vendor/local/include/glib-2.0/glib/gmem.h +25 -49
- data/vendor/local/include/glib-2.0/glib/gmessages.h +76 -15
- data/vendor/local/include/glib-2.0/glib/gnode.h +14 -6
- data/vendor/local/include/glib-2.0/glib/goption.h +3 -3
- data/vendor/local/include/glib-2.0/glib/gpattern.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gpoll.h +3 -0
- data/vendor/local/include/glib-2.0/glib/gprimes.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gqsort.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gquark.h +16 -4
- data/vendor/local/include/glib-2.0/glib/gqueue.h +62 -37
- data/vendor/local/include/glib-2.0/glib/grand.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gregex.h +116 -26
- data/vendor/local/include/glib-2.0/glib/gscanner.h +9 -3
- data/vendor/local/include/glib-2.0/glib/gsequence.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gshell.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gslice.h +9 -1
- data/vendor/local/include/glib-2.0/glib/gslist.h +7 -6
- data/vendor/local/include/glib-2.0/glib/gspawn.h +164 -13
- data/vendor/local/include/glib-2.0/glib/gstdio.h +3 -1
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +15 -37
- data/vendor/local/include/glib-2.0/glib/gstring.h +84 -104
- data/vendor/local/include/glib-2.0/glib/gstringchunk.h +53 -0
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +23 -1
- data/vendor/local/include/glib-2.0/glib/gthread.h +172 -325
- data/vendor/local/include/glib-2.0/glib/gthreadpool.h +26 -60
- data/vendor/local/include/glib-2.0/glib/gtimer.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gtimezone.h +3 -3
- data/vendor/local/include/glib-2.0/glib/gtrashstack.h +103 -0
- data/vendor/local/include/glib-2.0/glib/gtree.h +2 -3
- data/vendor/local/include/glib-2.0/glib/gtypes.h +50 -18
- data/vendor/local/include/glib-2.0/glib/gunicode.h +420 -95
- data/vendor/local/include/glib-2.0/glib/gurifuncs.h +2 -2
- data/vendor/local/include/glib-2.0/glib/gutils.h +68 -192
- data/vendor/local/include/glib-2.0/glib/gvariant.h +25 -3
- data/vendor/local/include/glib-2.0/glib/gvarianttype.h +20 -2
- data/vendor/local/include/glib-2.0/glib/gversion.h +56 -0
- data/vendor/local/include/glib-2.0/glib/gversionmacros.h +274 -0
- data/vendor/local/include/glib-2.0/glib/gwin32.h +15 -4
- data/vendor/local/include/glib-2.0/gmodule.h +14 -8
- data/vendor/local/include/glib-2.0/gobject/gbinding.h +2 -2
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +41 -175
- data/vendor/local/include/glib-2.0/gobject/gclosure.h +40 -10
- data/vendor/local/include/glib-2.0/gobject/glib-types.h +310 -0
- data/vendor/local/include/glib-2.0/gobject/gmarshal.h +338 -183
- data/vendor/local/include/glib-2.0/gobject/gobject.h +56 -28
- data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +6 -0
- data/vendor/local/include/glib-2.0/gobject/gparam.h +11 -12
- data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +6 -0
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +42 -9
- data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +1 -16
- data/vendor/local/include/glib-2.0/gobject/gtype.h +28 -31
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +1 -1
- data/vendor/local/include/glib-2.0/gobject/gvalue.h +21 -5
- data/vendor/local/include/glib-2.0/gobject/gvaluearray.h +31 -2
- data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +32 -3
- data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +12 -8
- data/vendor/local/include/gmp.h +2229 -0
- data/vendor/local/include/gnutls/abstract.h +401 -0
- data/vendor/local/include/gnutls/compat.h +290 -56
- data/vendor/local/include/gnutls/crypto.h +80 -47
- data/vendor/local/include/gnutls/dtls.h +88 -0
- data/vendor/local/include/gnutls/gnutls.h +1357 -550
- data/vendor/local/include/gnutls/gnutlsxx.h +400 -362
- data/vendor/local/include/gnutls/ocsp.h +259 -0
- data/vendor/local/include/gnutls/openpgp.h +235 -147
- data/vendor/local/include/gnutls/openssl.h +22 -24
- data/vendor/local/include/gnutls/pkcs11.h +322 -0
- data/vendor/local/include/gnutls/pkcs12.h +66 -38
- data/vendor/local/include/gnutls/tpm.h +74 -0
- data/vendor/local/include/gnutls/x509.h +771 -348
- 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 +292 -0
- data/vendor/local/include/nettle/gcm.h +186 -0
- data/vendor/local/include/nettle/hmac.h +201 -0
- data/vendor/local/include/nettle/knuth-lfib.h +75 -0
- data/vendor/local/include/nettle/macros.h +216 -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 +227 -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/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 +418 -0
- data/vendor/local/include/nettle/salsa20.h +82 -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 +193 -0
- data/vendor/local/include/nettle/twofish.h +78 -0
- data/vendor/local/include/nettle/yarrow.h +137 -0
- data/vendor/local/include/zconf.h +461 -0
- data/vendor/local/include/zlib.h +1589 -0
- data/vendor/local/lib/charset.alias +4 -0
- data/vendor/local/lib/gio-2.0.def +505 -147
- 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 +2 -2
- data/vendor/local/lib/glib-2.0.def +298 -167
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +32 -115
- data/vendor/local/lib/gmodule-2.0.def +0 -0
- data/vendor/local/lib/gobject-2.0.def +71 -23
- data/vendor/local/lib/gthread-2.0.def +0 -0
- data/vendor/local/lib/libffi-3.0.6/include/ffi.h +393 -0
- data/vendor/local/lib/libffi-3.0.6/include/ffitarget.h +90 -0
- data/vendor/local/lib/libffi.dll.a +0 -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.a +0 -0
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgnutls.la +41 -0
- data/vendor/local/lib/libgnutlsxx.a +0 -0
- data/vendor/local/lib/libgnutlsxx.dll.a +0 -0
- data/vendor/local/lib/libgnutlsxx.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/libnettle.a +0 -0
- data/vendor/local/lib/libnettle.dll.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +7 -4
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +3 -2
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +14 -0
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gnutls-dane.pc +24 -0
- data/vendor/local/lib/pkgconfig/gnutls.pc +13 -12
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +3 -2
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/hogweed.pc +18 -0
- data/vendor/local/lib/pkgconfig/nettle.pc +11 -0
- data/vendor/local/lib/zdll.lib +0 -0
- data/vendor/local/lib/zlib.def +67 -0
- data/vendor/local/manifest/libffi-dev_3.0.6-1_win32.mft +9 -0
- data/vendor/local/manifest/libffi_3.0.6-1_win32.mft +2 -0
- data/vendor/local/manifest/zlib-dev_1.2.5-2_win32.mft +8 -0
- data/vendor/local/manifest/zlib_1.2.5-2_win32.mft +2 -0
- data/vendor/local/share/aclocal/glib-2.0.m4 +3 -0
- data/vendor/local/share/aclocal/glib-gettext.m4 +4 -0
- data/vendor/local/share/aclocal/gsettings.m4 +1 -1
- 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/gdb/auto-load/libglib-2.0.so.0.3503.0-gdb.py +10 -0
- data/vendor/local/share/gdb/auto-load/libgobject-2.0.so.0.3503.0-gdb.py +10 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.py +29 -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 +3375 -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 +323 -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 +203 -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 +27 -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 +426 -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 +290 -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 +104 -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 +15 -11
- data/vendor/local/share/glib-2.0/gdb/gobject.py +0 -0
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +9 -20
- data/vendor/local/share/gtk-doc/html/gio/ExampleAnimal.html +1301 -0
- data/vendor/local/share/gtk-doc/html/gio/ExampleCat.html +594 -0
- data/vendor/local/share/gtk-doc/html/gio/ExampleObject.html +461 -0
- data/vendor/local/share/gtk-doc/html/gio/ExampleObjectManagerClient.html +486 -0
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +174 -73
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +465 -130
- data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +440 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +470 -183
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +862 -225
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +139 -76
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +141 -135
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +148 -37
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +110 -67
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +55 -29
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +135 -79
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +42 -30
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +49 -42
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +78 -43
- data/vendor/local/share/gtk-doc/html/gio/GDBusActionGroup.html +138 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +107 -24
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +1369 -836
- data/vendor/local/share/gtk-doc/html/gio/GDBusError.html +92 -92
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +268 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +691 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusMenuModel.html +126 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +381 -215
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +212 -81
- data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +312 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +462 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +1095 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +397 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectProxy.html +206 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectSkeleton.html +385 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +679 -330
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +161 -129
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +396 -210
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +143 -102
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +323 -162
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +35 -24
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +30 -15
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +2551 -1662
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +16 -5
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +151 -64
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +34 -22
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +15 -8
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +731 -342
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +31 -22
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +53 -38
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +34 -22
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +37 -22
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +24 -15
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +24 -15
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +259 -22
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +91 -55
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +51 -34
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +189 -101
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +99 -15
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +116 -80
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +339 -110
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +33 -21
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +33 -20
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +84 -49
- data/vendor/local/share/gtk-doc/html/gio/GMenu.html +1562 -0
- data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +1064 -0
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +325 -174
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +217 -94
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +72 -49
- data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +435 -0
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +53 -35
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +392 -138
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +104 -74
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +58 -104
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +60 -45
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +48 -30
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +157 -51
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +50 -37
- data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +262 -0
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +348 -128
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +66 -48
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +790 -390
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +106 -75
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +188 -76
- data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +79 -22
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +334 -180
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +12 -9
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +1183 -407
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +51 -42
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +556 -217
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +55 -37
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +243 -49
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +35 -20
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +159 -122
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +57 -34
- data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +56 -32
- data/vendor/local/share/gtk-doc/html/gio/GTask.html +2296 -0
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +22 -16
- data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +13 -9
- data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +331 -0
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +43 -25
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +30 -24
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +123 -36
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +145 -76
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +67 -42
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +297 -90
- data/vendor/local/share/gtk-doc/html/gio/GTlsDatabase.html +993 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +172 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsInteraction.html +385 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsPassword.html +511 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +19 -16
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +244 -41
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +25 -13
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +70 -51
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +47 -34
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +44 -30
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +46 -32
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +76 -53
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +55 -33
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +260 -110
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +127 -70
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +32 -24
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +19 -13
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +10 -10
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +14 -10
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +8 -16
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +74 -31
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +21 -41
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-30.html +691 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-32.html +698 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-34.html +231 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +55 -7
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +2101 -230
- data/vendor/local/share/gtk-doc/html/gio/application.html +33 -9
- data/vendor/local/share/gtk-doc/html/gio/async.html +6 -3
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +43 -18
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +86 -22
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +23 -152
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch28s03.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch28s06.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch29.html +54 -49
- data/vendor/local/share/gtk-doc/html/gio/ch29s02.html +1 -1
- data/vendor/local/share/gtk-doc/html/gio/ch29s03.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/ch29s04.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch29s05.html +81 -81
- data/vendor/local/share/gtk-doc/html/gio/ch29s06.html +67 -67
- data/vendor/local/share/gtk-doc/html/gio/ch30.html +217 -0
- data/vendor/local/share/gtk-doc/html/gio/ch30s02.html +41 -0
- data/vendor/local/share/gtk-doc/html/gio/ch30s03.html +39 -0
- data/vendor/local/share/gtk-doc/html/gio/ch31.html +57 -0
- data/vendor/local/share/gtk-doc/html/gio/ch31s02.html +59 -0
- data/vendor/local/share/gtk-doc/html/gio/ch31s03.html +159 -0
- data/vendor/local/share/gtk-doc/html/gio/ch31s04.html +46 -0
- data/vendor/local/share/gtk-doc/html/gio/ch31s05.html +48 -0
- data/vendor/local/share/gtk-doc/html/gio/ch31s06.html +278 -0
- data/vendor/local/share/gtk-doc/html/gio/ch31s07.html +160 -0
- data/vendor/local/share/gtk-doc/html/gio/ch32.html +113 -0
- data/vendor/local/share/gtk-doc/html/gio/ch32s02.html +142 -0
- data/vendor/local/share/gtk-doc/html/gio/ch32s03.html +202 -0
- data/vendor/local/share/gtk-doc/html/gio/ch32s04.html +97 -0
- data/vendor/local/share/gtk-doc/html/gio/ch32s05.html +931 -0
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +14 -5
- data/vendor/local/share/gtk-doc/html/gio/extending.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +1080 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +28 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html +167 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Cat.html +54 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +87 -30
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +70 -49
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +420 -187
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +200 -27
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +497 -23
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +88 -48
- data/vendor/local/share/gtk-doc/html/gio/gio-GActionGroup-exporter.html +176 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +162 -68
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +26 -8
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +24 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +919 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +113 -97
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +38 -32
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +85 -62
- data/vendor/local/share/gtk-doc/html/gio/gio-GInetAddressMask.html +330 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GMenuModel-exporter.html +164 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GResource.html +917 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +614 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32InputStream.html +213 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32OutputStream.html +210 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +154 -134
- data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +22 -17
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +272 -92
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +136 -105
- data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +91 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-gpollableutils.html +396 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +53 -52
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +790 -157
- 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 +25 -18
- data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +111 -0
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +27 -15
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +10 -7
- data/vendor/local/share/gtk-doc/html/gio/icons.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/index.html +160 -34
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +1009 -179
- 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 +45 -25
- data/vendor/local/share/gtk-doc/html/gio/networking.html +11 -5
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +7 -6
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +115 -13
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/resources.html +33 -0
- data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +176 -0
- data/vendor/local/share/gtk-doc/html/gio/settings.html +9 -5
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +12 -3
- data/vendor/local/share/gtk-doc/html/gio/testing.html +33 -0
- data/vendor/local/share/gtk-doc/html/gio/tls.html +17 -5
- data/vendor/local/share/gtk-doc/html/gio/tools.html +13 -4
- data/vendor/local/share/gtk-doc/html/gio/types.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/utils.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +28 -7
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +6 -14
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +19 -11
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +17 -6
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +15 -7
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +8 -8
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +13 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +20 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +22 -7
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-30.html +257 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-32.html +348 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +121 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +26 -18
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +20 -16
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +11 -7
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +152 -78
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +729 -249
- data/vendor/local/share/gtk-doc/html/glib/deprecated.html +47 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +135 -28
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +383 -170
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +525 -142
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +71 -32
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +97 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +68 -30
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +724 -106
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +187 -67
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +715 -29
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +368 -194
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +105 -50
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +126 -59
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +163 -62
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +106 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +452 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +61 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +394 -162
- data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +1772 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +241 -63
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +236 -95
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +174 -100
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +259 -168
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +710 -221
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +409 -167
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +86 -53
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +1077 -281
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +234 -187
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +28 -10
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +545 -211
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +234 -108
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +23 -8
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +138 -77
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +259 -105
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +436 -206
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +263 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +540 -362
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +165 -37
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +146 -79
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +214 -104
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +489 -438
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +690 -202
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +230 -118
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +23 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +538 -102
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +135 -33
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +79 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +75 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +57 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +308 -111
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +20 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +88 -37
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +228 -86
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +271 -109
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +108 -63
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +42 -24
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +578 -315
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +241 -94
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +647 -189
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +592 -210
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +162 -100
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +1345 -1882
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +33 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +40 -18
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +42 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +334 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +55 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +852 -253
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +204 -41
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +146 -85
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +106 -44
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +298 -333
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +69 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +13 -8
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +10 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +15 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +9 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +13 -10
- 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 +58 -58
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +12 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +133 -112
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +24 -16
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +434 -267
- data/vendor/local/share/gtk-doc/html/glib/glib.html +16 -24
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +12 -9
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +68 -12
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +67 -25
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +15 -8
- data/vendor/local/share/gtk-doc/html/glib/index.html +66 -59
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +383 -215
- data/vendor/local/share/gtk-doc/html/glib/tools.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +56 -25
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +58 -19
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +39 -12
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-30.html +70 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-32.html +81 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-34.html +63 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +94 -7
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +296 -76
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +13 -13
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +14 -14
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +120 -108
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +157 -133
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +171 -27
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +741 -86
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +113 -41
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +182 -65
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +124 -37
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +365 -136
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +837 -244
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +773 -102
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +545 -158
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +149 -34
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +26 -11
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +226 -105
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +29 -18
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +92 -34
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +11 -10
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +10 -9
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +104 -42
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +68 -21
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +11 -11
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +33 -18
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-override.html +135 -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 +27 -39
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +40 -51
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/index.html +19 -15
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +59 -3
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +12 -11
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +16 -15
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +3 -3
- data/vendor/local/share/info/dir +40 -0
- data/vendor/local/share/info/gmp.info +183 -0
- data/vendor/local/share/info/gmp.info-1 +7078 -0
- data/vendor/local/share/info/gmp.info-2 +3513 -0
- data/vendor/local/share/info/gnutls-client-server-use-case.png +0 -0
- data/vendor/local/share/info/gnutls-guile.info +1580 -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-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 +1237 -683
- data/vendor/local/share/info/gnutls.info-1 +5355 -8447
- data/vendor/local/share/info/gnutls.info-2 +9995 -5771
- data/vendor/local/share/info/gnutls.info-3 +8788 -1871
- data/vendor/local/share/info/gnutls.info-4 +5085 -0
- data/vendor/local/share/info/nettle.info +3355 -0
- data/vendor/local/share/info/pkcs11-vision.png +0 -0
- data/vendor/local/share/license/glib-networking/COPYING +9 -10
- 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 +79 -0
- data/vendor/local/share/license/gmp/COPYING +674 -0
- data/vendor/local/share/license/gmp/COPYING.LIB +165 -0
- data/vendor/local/share/license/gnutls/AUTHORS +92 -0
- data/vendor/local/share/license/gnutls/COPYING +674 -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/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/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/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/glib20.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/glib20.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/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/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/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/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/gnutls.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/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/glib20.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/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/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/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/ga/LC_MESSAGES/glib20.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/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/glib20.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/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/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/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/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/glib20.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/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/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/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/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/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/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/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/glib20.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/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/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/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/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/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/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/glib20.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/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/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/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/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 +644 -130
- data/vendor/local/share/man/man1/gdbus-codegen.1 +751 -0
- data/vendor/local/share/man/man1/gdbus.1 +93 -15
- data/vendor/local/share/man/man1/gio-querymodules.1 +6 -6
- data/vendor/local/share/man/man1/glib-compile-resources.1 +167 -0
- data/vendor/local/share/man/man1/glib-compile-schemas.1 +20 -15
- data/vendor/local/share/man/man1/glib-genmarshal.1 +88 -70
- data/vendor/local/share/man/man1/glib-gettextize.1 +7 -7
- data/vendor/local/share/man/man1/glib-mkenums.1 +110 -101
- data/vendor/local/share/man/man1/gnutls-cli-debug.1 +133 -27
- data/vendor/local/share/man/man1/gnutls-cli.1 +308 -154
- data/vendor/local/share/man/man1/gnutls-serv.1 +416 -126
- data/vendor/local/share/man/man1/gobject-query.1 +13 -13
- data/vendor/local/share/man/man1/gresource.1 +95 -0
- data/vendor/local/share/man/man1/gsettings.1 +22 -10
- data/vendor/local/share/man/man1/gtester-report.1 +53 -0
- data/vendor/local/share/man/man1/gtester.1 +142 -0
- data/vendor/local/share/man/man1/ocsptool.1 +308 -0
- data/vendor/local/share/man/man1/p11tool.1 +230 -0
- data/vendor/local/share/man/man1/psktool.1 +96 -26
- data/vendor/local/share/man/man1/srptool.1 +117 -59
- data/vendor/local/share/man/man1/tpmtool.1 +197 -0
- data/vendor/local/share/man/man3/ffi.3 +31 -0
- data/vendor/local/share/man/man3/ffi_call.3 +103 -0
- data/vendor/local/share/man/man3/ffi_prep_cif.3 +66 -0
- data/vendor/local/share/man/man3/gnutls_alert_get.3 +19 -12
- data/vendor/local/share/man/man3/gnutls_alert_get_name.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_alert_get_strname.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_alert_send.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_alert_send_appropriate.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_anon_allocate_client_credentials.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_anon_allocate_server_credentials.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_anon_free_client_credentials.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_anon_free_server_credentials.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_anon_set_params_function.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_anon_set_server_dh_params.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_anon_set_server_params_function.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_auth_client_get_type.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_auth_get_type.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_auth_server_get_type.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_bye.3 +23 -15
- data/vendor/local/share/man/man3/gnutls_certificate_activation_time_peers.3 +17 -6
- data/vendor/local/share/man/man3/gnutls_certificate_allocate_credentials.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_certificate_client_get_request_status.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_certificate_expiration_time_peers.3 +17 -6
- data/vendor/local/share/man/man3/gnutls_certificate_free_ca_names.3 +24 -12
- data/vendor/local/share/man/man3/gnutls_certificate_free_cas.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_certificate_free_credentials.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_certificate_free_crls.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_certificate_free_keys.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_certificate_get_issuer.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_certificate_get_ours.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_certificate_get_peers.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_certificate_get_peers_subkey_id.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_certificate_send_x509_rdn_sequence.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_certificate_server_set_request.3 +21 -13
- data/vendor/local/share/man/man3/gnutls_certificate_set_dh_params.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_certificate_set_key.3 +63 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_ocsp_status_request_file.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_ocsp_status_request_function.3 +63 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key.3 +30 -15
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_file.3 +20 -12
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_file2.3 +24 -14
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_mem.3 +24 -13
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_mem2.3 +26 -16
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_keyring_file.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_keyring_mem.3 +21 -11
- data/vendor/local/share/man/man3/gnutls_certificate_set_params_function.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_certificate_set_pin_function.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_retrieve_function.3 +74 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_retrieve_function2.3 +77 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_rsa_export_params.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_certificate_set_verify_flags.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_certificate_set_verify_function.3 +60 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_verify_limits.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl_file.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl_mem.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key.3 +22 -11
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_file.3 +28 -16
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_mem.3 +24 -21
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_simple_pkcs12_file.3 +20 -14
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_simple_pkcs12_mem.3 +69 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_system_trust.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust_file.3 +23 -10
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust_mem.3 +21 -12
- data/vendor/local/share/man/man3/gnutls_certificate_type_get.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_certificate_type_get_id.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_certificate_type_get_name.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_certificate_type_list.3 +17 -10
- data/vendor/local/share/man/man3/gnutls_certificate_type_set_priority.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_certificate_verification_status_print.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_certificate_verify_peers2.3 +28 -22
- data/vendor/local/share/man/man3/gnutls_certificate_verify_peers3.3 +64 -0
- data/vendor/local/share/man/man3/gnutls_check_version.3 +24 -17
- data/vendor/local/share/man/man3/gnutls_cipher_add_auth.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_cipher_decrypt.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_cipher_decrypt2.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_cipher_deinit.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_cipher_encrypt.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_cipher_encrypt2.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_cipher_get.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_cipher_get_block_size.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_cipher_get_id.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_cipher_get_key_size.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_cipher_get_name.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_cipher_init.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_cipher_list.3 +18 -7
- data/vendor/local/share/man/man3/gnutls_cipher_set_iv.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_cipher_set_priority.3 +22 -14
- data/vendor/local/share/man/man3/gnutls_cipher_suite_get_name.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_cipher_suite_info.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_cipher_tag.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_compression_get.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_compression_get_id.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_compression_get_name.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_compression_list.3 +16 -9
- data/vendor/local/share/man/man3/gnutls_compression_set_priority.3 +23 -14
- data/vendor/local/share/man/man3/gnutls_credentials_clear.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_credentials_set.3 +34 -19
- data/vendor/local/share/man/man3/gnutls_db_check_entry.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_db_get_ptr.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_db_remove_session.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_db_set_cache_expiration.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_db_set_ptr.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_db_set_remove_function.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_db_set_retrieve_function.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_db_set_store_function.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_deinit.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_dh_get_group.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_dh_get_peers_public_bits.3 +18 -10
- data/vendor/local/share/man/man3/gnutls_dh_get_prime_bits.3 +22 -10
- data/vendor/local/share/man/man3/gnutls_dh_get_pubkey.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_dh_get_secret_bits.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_dh_params_cpy.3 +18 -6
- data/vendor/local/share/man/man3/gnutls_dh_params_deinit.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_dh_params_export2_pkcs3.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_export_pkcs3.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_dh_params_export_raw.3 +23 -10
- data/vendor/local/share/man/man3/gnutls_dh_params_generate2.3 +22 -9
- data/vendor/local/share/man/man3/gnutls_dh_params_import_pkcs3.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_dh_params_import_raw.3 +21 -9
- data/vendor/local/share/man/man3/gnutls_dh_params_init.3 +18 -6
- data/vendor/local/share/man/man3/gnutls_dh_set_prime_bits.3 +21 -7
- data/vendor/local/share/man/man3/gnutls_dtls_cookie_send.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_dtls_cookie_verify.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_dtls_get_data_mtu.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_dtls_get_mtu.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_dtls_get_timeout.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_dtls_prestate_set.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_dtls_set_data_mtu.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_dtls_set_mtu.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_dtls_set_timeouts.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_ecc_curve_get.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_ecc_curve_get_name.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_ecc_curve_get_size.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_ecc_curve_list.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_error_is_fatal.3 +26 -16
- data/vendor/local/share/man/man3/gnutls_error_to_alert.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_fingerprint.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_global_deinit.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_global_init.3 +23 -18
- data/vendor/local/share/man/man3/gnutls_global_set_audit_log_function.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_global_set_log_function.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_global_set_log_level.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_global_set_mem_functions.3 +24 -14
- data/vendor/local/share/man/man3/gnutls_global_set_mutex.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_global_set_time_function.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_handshake.3 +20 -9
- data/vendor/local/share/man/man3/gnutls_handshake_get_last_in.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_handshake_get_last_out.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_handshake_set_max_packet_length.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_handshake_set_post_client_hello_function.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_handshake_set_private_extensions.3 +18 -11
- data/vendor/local/share/man/man3/gnutls_handshake_set_timeout.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_hash.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_hash_deinit.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_hash_fast.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_hash_get_len.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_hash_init.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_hash_output.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_heartbeat_allowed.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_heartbeat_enable.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_heartbeat_get_timeout.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_heartbeat_ping.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_heartbeat_pong.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_heartbeat_set_timeouts.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_hex2bin.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_hex_decode.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_hex_encode.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_hmac.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_hmac_deinit.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_hmac_fast.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_hmac_get_len.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_hmac_init.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_hmac_output.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_init.3 +27 -10
- data/vendor/local/share/man/man3/gnutls_key_generate.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_kx_get.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_kx_get_id.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_kx_get_name.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_kx_list.3 +18 -7
- data/vendor/local/share/man/man3/gnutls_kx_set_priority.3 +21 -12
- data/vendor/local/share/man/man3/gnutls_load_file.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_mac_get.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_mac_get_id.3 +20 -10
- data/vendor/local/share/man/man3/gnutls_mac_get_key_size.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_mac_get_name.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_mac_list.3 +18 -7
- data/vendor/local/share/man/man3/gnutls_mac_set_priority.3 +21 -12
- data/vendor/local/share/man/man3/gnutls_ocsp_req_add_cert.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_add_cert_id.3 +66 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_deinit.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_export.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_get_cert_id.3 +70 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_get_extension.3 +63 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_get_nonce.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_get_version.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_import.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_init.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_print.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_randomize_nonce.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_set_extension.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_req_set_nonce.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_check_crt.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_deinit.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_export.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_certs.3 +60 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_extension.3 +63 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_nonce.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_produced.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_responder.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_response.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_signature.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_signature_algorithm.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_single.3 +73 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_status.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_version.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_import.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_init.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_print.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_verify.3 +68 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_verify_direct.3 +62 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_status_request_enable_client.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_status_request_get.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_ocsp_status_request_is_checked.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_check_hostname.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_deinit.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_export.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_export2.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_auth_subkey.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_creation_time.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_expiration_time.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_fingerprint.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_key_id.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_key_usage.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_name.3 +19 -9
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_algorithm.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_dsa_raw.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_rsa_raw.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_preferred_key_id.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_revoked_status.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_count.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_creation_time.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_expiration_time.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_fingerprint.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_id.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_idx.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_algorithm.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_dsa_raw.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_rsa_raw.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_revoked_status.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_usage.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_version.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_import.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_init.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_print.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_set_preferred_key_id.3 +21 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_verify_ring.3 +20 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_verify_self.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_check_id.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_deinit.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_get_crt.3 +17 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_get_crt_count.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_import.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_init.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_deinit.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export2.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_dsa_raw.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_rsa_raw.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_subkey_dsa_raw.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_subkey_rsa_raw.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_fingerprint.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_key_id.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_pk_algorithm.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_preferred_key_id.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_revoked_status.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_count.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_creation_time.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_fingerprint.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_id.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_idx.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_pk_algorithm.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_revoked_status.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_import.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_init.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_sec_param.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_set_preferred_key_id.3 +22 -9
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_sign_hash.3 +21 -10
- data/vendor/local/share/man/man3/gnutls_openpgp_send_cert.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_openpgp_set_recv_key_function.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_pcert_deinit.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pcert_import_openpgp.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_pcert_import_openpgp_raw.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_pcert_import_x509.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_pcert_import_x509_raw.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_pcert_list_import_x509_raw.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_pem_base64_decode.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_pem_base64_decode_alloc.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_pem_base64_encode.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_pem_base64_encode_alloc.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_perror.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_pk_algorithm_get_name.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_pk_bits_to_sec_param.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_pk_get_id.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_pk_get_name.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pk_list.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_pk_to_sign.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_add_provider.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_copy_secret_key.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_copy_x509_crt.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_copy_x509_privkey.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_deinit.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_delete_url.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_get_pin_function.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_init.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_deinit.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export2.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export_url.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_get_info.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_get_type.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_import_url.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_init.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_list_import_url.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_list_import_url2.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_set_pin_function.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_deinit.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_export_url.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_generate.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_generate2.3 +63 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_get_info.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_get_pk_algorithm.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_import_url.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_init.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_set_pin_function.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_reinit.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_set_pin_function.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_set_token_function.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_flags.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_info.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_mechanism.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_url.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_init.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_set_pin.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_type_get_name.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_decrypt.3 +21 -8
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_deinit.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_encrypt.3 +21 -9
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_count.3 +19 -7
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_data.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_friendly_name.3 +20 -10
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_key_id.3 +19 -9
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_type.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_init.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_crl.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_crt.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_data.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_friendly_name.3 +21 -11
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_key_id.3 +21 -11
- data/vendor/local/share/man/man3/gnutls_pkcs12_deinit.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_pkcs12_export.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_pkcs12_export2.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_generate_mac.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_pkcs12_get_bag.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_pkcs12_import.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_pkcs12_init.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_pkcs12_set_bag.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_pkcs12_simple_parse.3 +93 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_verify_mac.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_pkcs7_deinit.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_pkcs7_delete_crl.3 +17 -7
- data/vendor/local/share/man/man3/gnutls_pkcs7_delete_crt.3 +17 -7
- data/vendor/local/share/man/man3/gnutls_pkcs7_export.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_pkcs7_export2.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crl_count.3 +17 -7
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crl_raw.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crt_count.3 +17 -7
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crt_raw.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_pkcs7_import.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_pkcs7_init.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crl.3 +17 -7
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crl_raw.3 +17 -7
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crt.3 +17 -7
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crt_raw.3 +17 -7
- data/vendor/local/share/man/man3/gnutls_prf.3 +28 -19
- data/vendor/local/share/man/man3/gnutls_prf_raw.3 +25 -16
- data/vendor/local/share/man/man3/gnutls_priority_certificate_type_list.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_priority_compression_list.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_priority_deinit.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_priority_ecc_curve_list.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_priority_get_cipher_suite_index.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_priority_init.3 +58 -53
- data/vendor/local/share/man/man3/gnutls_priority_protocol_list.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_priority_set.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_priority_set_direct.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_priority_sign_list.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_privkey_decrypt_data.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_privkey_deinit.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_privkey_get_pk_algorithm.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_privkey_get_type.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_ext.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_ext2.3 +62 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_openpgp.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_openpgp_raw.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_pkcs11.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_pkcs11_url.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_tpm_raw.3 +60 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_tpm_url.3 +64 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_url.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_x509.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_privkey_import_x509_raw.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_privkey_init.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_privkey_set_pin_function.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_privkey_sign_data.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_privkey_sign_hash.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_protocol_get_id.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_protocol_get_name.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_protocol_get_version.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_protocol_list.3 +18 -7
- data/vendor/local/share/man/man3/gnutls_protocol_set_priority.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_psk_allocate_client_credentials.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_psk_allocate_server_credentials.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_psk_client_get_hint.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_psk_free_client_credentials.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_psk_free_server_credentials.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_psk_server_get_username.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_psk_set_client_credentials.3 +25 -13
- data/vendor/local/share/man/man3/gnutls_psk_set_client_credentials_function.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_psk_set_params_function.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_file.3 +20 -10
- data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_function.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_hint.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_psk_set_server_dh_params.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_psk_set_server_params_function.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_pubkey_deinit.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_encrypt_data.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_export.3 +63 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_export2.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_key_id.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_key_usage.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_openpgp_key_id.3 +62 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_algorithm.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_dsa_raw.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_ecc_raw.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_ecc_x962.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_rsa_raw.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_preferred_hash_algorithm.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_get_verify_algorithm.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_dsa_raw.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_ecc_raw.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_ecc_x962.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_openpgp.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_openpgp_raw.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_pkcs11.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_pkcs11_url.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_privkey.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_rsa_raw.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_tpm_raw.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_tpm_url.3 +60 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_url.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_x509.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_x509_crq.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_import_x509_raw.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_init.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_print.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_set_key_usage.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_set_pin_function.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_verify_data.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_verify_data2.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_verify_hash.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_pubkey_verify_hash2.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_random_art.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_record_check_pending.3 +21 -12
- data/vendor/local/share/man/man3/gnutls_record_disable_padding.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_record_get_direction.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_record_get_discarded.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_record_get_max_size.3 +19 -9
- data/vendor/local/share/man/man3/gnutls_record_recv.3 +25 -19
- data/vendor/local/share/man/man3/gnutls_record_recv_seq.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_record_send.3 +26 -18
- data/vendor/local/share/man/man3/gnutls_record_set_max_size.3 +21 -9
- data/vendor/local/share/man/man3/gnutls_rehandshake.3 +23 -7
- data/vendor/local/share/man/man3/gnutls_rnd.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_rsa_export_get_modulus_bits.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_rsa_export_get_pubkey.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_rsa_params_cpy.3 +18 -7
- data/vendor/local/share/man/man3/gnutls_rsa_params_deinit.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_rsa_params_export_pkcs1.3 +20 -12
- data/vendor/local/share/man/man3/gnutls_rsa_params_export_raw.3 +20 -9
- data/vendor/local/share/man/man3/gnutls_rsa_params_generate2.3 +21 -10
- data/vendor/local/share/man/man3/gnutls_rsa_params_import_pkcs1.3 +21 -13
- data/vendor/local/share/man/man3/gnutls_rsa_params_import_raw.3 +20 -8
- data/vendor/local/share/man/man3/gnutls_rsa_params_init.3 +18 -7
- data/vendor/local/share/man/man3/gnutls_safe_renegotiation_status.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_sec_param_get_name.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_sec_param_to_pk_bits.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_server_name_get.3 +30 -15
- data/vendor/local/share/man/man3/gnutls_server_name_set.3 +26 -13
- data/vendor/local/share/man/man3/gnutls_session_channel_binding.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_session_enable_compatibility_mode.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_session_get_data.3 +19 -14
- data/vendor/local/share/man/man3/gnutls_session_get_data2.3 +21 -14
- data/vendor/local/share/man/man3/gnutls_session_get_id.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_session_get_id2.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_session_get_ptr.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_session_get_random.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_session_is_resumed.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_session_resumption_requested.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_session_set_data.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_session_set_premaster.3 +64 -0
- data/vendor/local/share/man/man3/gnutls_session_set_ptr.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_session_ticket_enable_client.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_session_ticket_enable_server.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_session_ticket_key_generate.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_set_default_export_priority.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_set_default_priority.3 +17 -7
- data/vendor/local/share/man/man3/gnutls_sign_algorithm_get.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_sign_algorithm_get_requested.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_sign_callback_get.3 +18 -7
- data/vendor/local/share/man/man3/gnutls_sign_callback_set.3 +18 -7
- data/vendor/local/share/man/man3/gnutls_sign_get_hash_algorithm.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_sign_get_id.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_sign_get_name.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_sign_get_pk_algorithm.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_sign_is_secure.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_sign_list.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_srp_allocate_client_credentials.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_srp_allocate_server_credentials.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_srp_base64_decode.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_srp_base64_decode_alloc.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_srp_base64_encode.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_srp_base64_encode_alloc.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_srp_free_client_credentials.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_srp_free_server_credentials.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_srp_server_get_username.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_srp_set_client_credentials.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_srp_set_client_credentials_function.3 +23 -15
- data/vendor/local/share/man/man3/gnutls_srp_set_prime_bits.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_srp_set_server_credentials_file.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_srp_set_server_credentials_function.3 +24 -15
- data/vendor/local/share/man/man3/gnutls_srp_verifier.3 +19 -12
- data/vendor/local/share/man/man3/gnutls_srtp_get_keys.3 +63 -0
- data/vendor/local/share/man/man3/gnutls_srtp_get_mki.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_srtp_get_profile_id.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_srtp_get_profile_name.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_srtp_get_selected_profile.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_srtp_set_mki.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_srtp_set_profile.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_srtp_set_profile_direct.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_store_commitment.3 +69 -0
- data/vendor/local/share/man/man3/gnutls_store_pubkey.3 +67 -0
- data/vendor/local/share/man/man3/gnutls_strerror.3 +23 -10
- data/vendor/local/share/man/man3/gnutls_strerror_name.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_supplemental_get_name.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_tdb_deinit.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_tdb_init.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_tdb_set_store_commitment_func.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_tdb_set_store_func.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_tdb_set_verify_func.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_tpm_get_registered.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_tpm_key_list_deinit.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_tpm_key_list_get_url.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_tpm_privkey_delete.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_tpm_privkey_generate.3 +73 -0
- data/vendor/local/share/man/man3/gnutls_transport_get_ptr.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_transport_get_ptr2.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_transport_set_errno.3 +21 -17
- data/vendor/local/share/man/man3/gnutls_transport_set_errno_function.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_ptr.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_transport_set_ptr2.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_transport_set_pull_function.3 +22 -12
- data/vendor/local/share/man/man3/gnutls_transport_set_pull_timeout_function.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_push_function.3 +24 -13
- data/vendor/local/share/man/man3/gnutls_transport_set_vec_push_function.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_url_is_supported.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_verify_stored_pubkey.3 +76 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_check_issuer.3 +24 -13
- data/vendor/local/share/man/man3/gnutls_x509_crl_deinit.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_x509_crl_export.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_crl_export2.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_authority_key_gn_serial.3 +66 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_authority_key_id.3 +60 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_crt_count.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_crt_serial.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_dn_oid.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_data.3 +62 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_info.3 +65 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_oid.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn_by_oid.3 +22 -13
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_next_update.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_number.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_raw_issuer_dn.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_signature.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_signature_algorithm.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_this_update.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_version.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crl_import.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crl_init.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crl_list_import.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_list_import2.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_print.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_crl_privkey_sign.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_authority_key_id.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_crt.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_crt_serial.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_next_update.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_number.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_this_update.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_version.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crl_sign.3 +19 -8
- data/vendor/local/share/man/man3/gnutls_x509_crl_sign2.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crl_verify.3 +19 -9
- data/vendor/local/share/man/man3/gnutls_x509_crq_deinit.3 +17 -7
- data/vendor/local/share/man/man3/gnutls_x509_crq_export.3 +23 -13
- data/vendor/local/share/man/man3/gnutls_x509_crq_export2.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_by_oid.3 +25 -15
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_data.3 +62 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_info.3 +63 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_basic_constraints.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_challenge_password.3 +22 -12
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn.3 +25 -17
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn_by_oid.3 +23 -16
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn_oid.3 +22 -15
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_by_oid.3 +62 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_data.3 +62 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_info.3 +65 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_id.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_purpose_oid.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_rsa_raw.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_usage.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_pk_algorithm.3 +22 -14
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_private_key_usage_period.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_subject_alt_name.3 +69 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_subject_alt_othername_oid.3 +67 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_version.3 +19 -9
- data/vendor/local/share/man/man3/gnutls_x509_crq_import.3 +21 -10
- data/vendor/local/share/man/man3/gnutls_x509_crq_init.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_x509_crq_print.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_privkey_sign.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_attribute_by_oid.3 +22 -12
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_basic_constraints.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_challenge_password.3 +20 -10
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_dn_by_oid.3 +24 -14
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_key.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_purpose_oid.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_rsa_raw.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_usage.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_private_key_usage_period.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_pubkey.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_subject_alt_name.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_version.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_x509_crq_sign.3 +22 -11
- data/vendor/local/share/man/man3/gnutls_x509_crq_sign2.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crq_verify.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_check_hostname.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crt_check_issuer.3 +21 -10
- data/vendor/local/share/man/man3/gnutls_x509_crt_check_revocation.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crt_cpy_crl_dist_points.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crt_deinit.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crt_export.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crt_export2.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_activation_time.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_info_access.3 +109 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_key_gn_serial.3 +67 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_key_id.3 +30 -16
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_basic_constraints.3 +23 -14
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_ca_status.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_crl_dist_points.3 +22 -26
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn.3 +26 -17
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn_by_oid.3 +32 -21
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn_oid.3 +25 -14
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_expiration_time.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_by_oid.3 +27 -17
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_data.3 +22 -12
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_info.3 +29 -18
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_oid.3 +26 -13
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_fingerprint.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_name.3 +73 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_name2.3 +67 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_othername_oid.3 +70 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn.3 +21 -12
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn_by_oid.3 +30 -19
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn_oid.3 +25 -14
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_unique_id.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_id.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_purpose_oid.3 +24 -13
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_usage.3 +21 -12
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_algorithm.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_dsa_raw.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_rsa_raw.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_policy.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_preferred_hash_algorithm.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_private_key_usage_period.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_proxy.3 +26 -18
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_raw_dn.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_raw_issuer_dn.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_serial.3 +21 -13
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_signature.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_signature_algorithm.3 +18 -8
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name.3 +24 -18
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name2.3 +33 -17
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_othername_oid.3 +23 -11
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_key_id.3 +21 -12
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_unique_id.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_verify_algorithm.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_version.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crt_import.3 +20 -10
- data/vendor/local/share/man/man3/gnutls_x509_crt_import_pkcs11.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_import_pkcs11_url.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_init.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_import.3 +23 -8
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_import2.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_import_pkcs11.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_verify.3 +28 -25
- data/vendor/local/share/man/man3/gnutls_x509_crt_print.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_crt_privkey_sign.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_activation_time.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_authority_info_access.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_authority_key_id.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_basic_constraints.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_ca_status.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crl_dist_points.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crl_dist_points2.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crq.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crq_extensions.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_dn_by_oid.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_expiration_time.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_extension_by_oid.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_issuer_dn_by_oid.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_key.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_key_purpose_oid.3 +19 -9
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_key_usage.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_pin_function.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_policy.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_private_key_usage_period.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_proxy.3 +22 -13
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_proxy_dn.3 +20 -12
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_pubkey.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_serial.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_alt_name.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_alternative_name.3 +25 -12
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_key_id.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_version.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_crt_sign.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_crt_sign2.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_crt_verify.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_x509_crt_verify_data.3 +20 -9
- data/vendor/local/share/man/man3/gnutls_x509_crt_verify_hash.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_deinit.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_dn_export.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_dn_export2.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_get_rdn_ava.3 +28 -9
- data/vendor/local/share/man/man3/gnutls_x509_dn_import.3 +17 -13
- data/vendor/local/share/man/man3/gnutls_x509_dn_init.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_dn_oid_known.3 +15 -6
- data/vendor/local/share/man/man3/gnutls_x509_dn_oid_name.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_x509_policy_release.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_cpy.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_privkey_deinit.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export2.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export2_pkcs8.3 +67 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_dsa_raw.3 +17 -7
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_ecc_raw.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_pkcs8.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_rsa_raw.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_rsa_raw2.3 +65 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_fix.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_privkey_generate.3 +19 -8
- data/vendor/local/share/man/man3/gnutls_x509_privkey_get_key_id.3 +18 -9
- data/vendor/local/share/man/man3/gnutls_x509_privkey_get_pk_algorithm.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_privkey_get_pk_algorithm2.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import.3 +20 -10
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import2.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_dsa_raw.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_ecc_raw.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_openssl.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_pkcs8.3 +29 -15
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_rsa_raw.3 +17 -8
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_rsa_raw2.3 +63 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_init.3 +16 -7
- data/vendor/local/share/man/man3/gnutls_x509_privkey_sec_param.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_sign_data.3 +23 -9
- data/vendor/local/share/man/man3/gnutls_x509_privkey_sign_hash.3 +23 -9
- data/vendor/local/share/man/man3/gnutls_x509_privkey_verify_params.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_rdn_get.3 +19 -10
- data/vendor/local/share/man/man3/gnutls_x509_rdn_get_by_oid.3 +20 -11
- data/vendor/local/share/man/man3/gnutls_x509_rdn_get_oid.3 +19 -8
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_cas.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_crls.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_named_crt.3 +65 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_system_trust.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_trust_file.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_trust_mem.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_deinit.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_get_issuer.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_init.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_verify_crt.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_verify_named_crt.3 +62 -0
- data/vendor/local/src/tml/make/libffi_3.0.6-1_win32.log +265 -0
- data/vendor/local/src/tml/make/libffi_3.0.6-1_win32.sh +76 -0
- data/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.log +42 -0
- data/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.sh +189 -0
- metadata +668 -4
@@ -0,0 +1,1772 @@
|
|
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>Deprecated thread API</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
|
7
|
+
<link rel="home" href="index.html" title="GLib Reference Manual">
|
8
|
+
<link rel="up" href="deprecated.html" title="Deprecated APIs">
|
9
|
+
<link rel="prev" href="deprecated.html" title="Deprecated APIs">
|
10
|
+
<link rel="next" href="glib-Caches.html" title="Caches">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="deprecated.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="deprecated.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">GLib Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="glib-Caches.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#glib-Deprecated-Thread-APIs.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#glib-Deprecated-Thread-APIs.description" class="shortcut">Description</a>
|
27
|
+
</td></tr>
|
28
|
+
</table>
|
29
|
+
<div class="refentry">
|
30
|
+
<a name="glib-Deprecated-Thread-APIs"></a><div class="titlepage"></div>
|
31
|
+
<div class="refnamediv"><table width="100%"><tr>
|
32
|
+
<td valign="top">
|
33
|
+
<h2><span class="refentrytitle"><a name="glib-Deprecated-Thread-APIs.top_of_page"></a>Deprecated thread API</span></h2>
|
34
|
+
<p>Deprecated thread API — old thread APIs (for reference only)</p>
|
35
|
+
</td>
|
36
|
+
<td valign="top" align="right"></td>
|
37
|
+
</tr></table></div>
|
38
|
+
<div class="refsynopsisdiv">
|
39
|
+
<a name="glib-Deprecated-Thread-APIs.synopsis"></a><h2>Synopsis</h2>
|
40
|
+
<pre class="synopsis">
|
41
|
+
#include <glib.h>
|
42
|
+
|
43
|
+
#define <a class="link" href="glib-Deprecated-Thread-APIs.html#G-THREADS-IMPL-POSIX:CAPS" title="G_THREADS_IMPL_POSIX">G_THREADS_IMPL_POSIX</a>
|
44
|
+
#define <a class="link" href="glib-Deprecated-Thread-APIs.html#G-THREADS-IMPL-WIN32:CAPS" title="G_THREADS_IMPL_WIN32">G_THREADS_IMPL_WIN32</a>
|
45
|
+
|
46
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-thread-init" title="g_thread_init ()">g_thread_init</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> vtable</code></em>);
|
47
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-thread-supported" title="g_thread_supported ()">g_thread_supported</a> ();
|
48
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-thread-get-initialized" title="g_thread_get_initialized ()">g_thread_get_initialized</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
49
|
+
|
50
|
+
<a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="returnvalue">GThread</span></a> * <a class="link" href="glib-Deprecated-Thread-APIs.html#g-thread-create" title="g_thread_create ()">g_thread_create</a> (<em class="parameter"><code><a class="link" href="glib-Threads.html#GThreadFunc" title="GThreadFunc ()"><span class="type">GThreadFunc</span></a> func</code></em>,
|
51
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
52
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> joinable</code></em>,
|
53
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);
|
54
|
+
<a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="returnvalue">GThread</span></a> * <a class="link" href="glib-Deprecated-Thread-APIs.html#g-thread-create-full" title="g_thread_create_full ()">g_thread_create_full</a> (<em class="parameter"><code><a class="link" href="glib-Threads.html#GThreadFunc" title="GThreadFunc ()"><span class="type">GThreadFunc</span></a> func</code></em>,
|
55
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
56
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a> stack_size</code></em>,
|
57
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> joinable</code></em>,
|
58
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> bound</code></em>,
|
59
|
+
<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GThreadPriority" title="enum GThreadPriority"><span class="type">GThreadPriority</span></a> priority</code></em>,
|
60
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);
|
61
|
+
enum <a class="link" href="glib-Deprecated-Thread-APIs.html#GThreadPriority" title="enum GThreadPriority">GThreadPriority</a>;
|
62
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-thread-set-priority" title="g_thread_set_priority ()">g_thread_set_priority</a> (<em class="parameter"><code><a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="type">GThread</span></a> *thread</code></em>,
|
63
|
+
<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GThreadPriority" title="enum GThreadPriority"><span class="type">GThreadPriority</span></a> priority</code></em>);
|
64
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-thread-foreach" title="g_thread_foreach ()">g_thread_foreach</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GFunc" title="GFunc ()"><span class="type">GFunc</span></a> thread_func</code></em>,
|
65
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
|
66
|
+
|
67
|
+
<a class="link" href="glib-Threads.html#GMutex" title="union GMutex"><span class="returnvalue">GMutex</span></a> * <a class="link" href="glib-Deprecated-Thread-APIs.html#g-mutex-new" title="g_mutex_new ()">g_mutex_new</a> ();
|
68
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-mutex-free" title="g_mutex_free ()">g_mutex_free</a> (<em class="parameter"><code><a class="link" href="glib-Threads.html#GMutex" title="union GMutex"><span class="type">GMutex</span></a> *mutex</code></em>);
|
69
|
+
<a class="link" href="glib-Threads.html#GCond" title="struct GCond"><span class="returnvalue">GCond</span></a>* <a class="link" href="glib-Deprecated-Thread-APIs.html#g-cond-new" title="g_cond_new ()">g_cond_new</a> ();
|
70
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-cond-free" title="g_cond_free ()">g_cond_free</a> (<em class="parameter"><code><a class="link" href="glib-Threads.html#GCond" title="struct GCond"><span class="type">GCond</span></a> *cond</code></em>);
|
71
|
+
<a class="link" href="glib-Threads.html#GPrivate" title="struct GPrivate"><span class="returnvalue">GPrivate</span></a> * <a class="link" href="glib-Deprecated-Thread-APIs.html#g-private-new" title="g_private_new ()">g_private_new</a> (<em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> notify</code></em>);
|
72
|
+
|
73
|
+
<a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex">GStaticMutex</a>;
|
74
|
+
#define <a class="link" href="glib-Deprecated-Thread-APIs.html#G-STATIC-MUTEX-INIT:CAPS" title="G_STATIC_MUTEX_INIT">G_STATIC_MUTEX_INIT</a>
|
75
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-mutex-init" title="g_static_mutex_init ()">g_static_mutex_init</a> (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a> *mutex</code></em>);
|
76
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-mutex-lock" title="g_static_mutex_lock ()">g_static_mutex_lock</a> (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a> *mutex</code></em>);
|
77
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-mutex-trylock" title="g_static_mutex_trylock ()">g_static_mutex_trylock</a> (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a> *mutex</code></em>);
|
78
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-mutex-unlock" title="g_static_mutex_unlock ()">g_static_mutex_unlock</a> (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a> *mutex</code></em>);
|
79
|
+
<a class="link" href="glib-Threads.html#GMutex" title="union GMutex"><span class="returnvalue">GMutex</span></a> * <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-mutex-get-mutex" title="g_static_mutex_get_mutex ()">g_static_mutex_get_mutex</a> (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a> *mutex</code></em>);
|
80
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-mutex-free" title="g_static_mutex_free ()">g_static_mutex_free</a> (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a> *mutex</code></em>);
|
81
|
+
|
82
|
+
struct <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex">GStaticRecMutex</a>;
|
83
|
+
#define <a class="link" href="glib-Deprecated-Thread-APIs.html#G-STATIC-REC-MUTEX-INIT:CAPS" title="G_STATIC_REC_MUTEX_INIT">G_STATIC_REC_MUTEX_INIT</a>
|
84
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rec-mutex-init" title="g_static_rec_mutex_init ()">g_static_rec_mutex_init</a> (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> *mutex</code></em>);
|
85
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rec-mutex-lock" title="g_static_rec_mutex_lock ()">g_static_rec_mutex_lock</a> (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> *mutex</code></em>);
|
86
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rec-mutex-trylock" title="g_static_rec_mutex_trylock ()">g_static_rec_mutex_trylock</a> (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> *mutex</code></em>);
|
87
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rec-mutex-unlock" title="g_static_rec_mutex_unlock ()">g_static_rec_mutex_unlock</a> (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> *mutex</code></em>);
|
88
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rec-mutex-lock-full" title="g_static_rec_mutex_lock_full ()">g_static_rec_mutex_lock_full</a> (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> *mutex</code></em>,
|
89
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> depth</code></em>);
|
90
|
+
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rec-mutex-unlock-full" title="g_static_rec_mutex_unlock_full ()">g_static_rec_mutex_unlock_full</a> (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> *mutex</code></em>);
|
91
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rec-mutex-free" title="g_static_rec_mutex_free ()">g_static_rec_mutex_free</a> (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> *mutex</code></em>);
|
92
|
+
|
93
|
+
struct <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock">GStaticRWLock</a>;
|
94
|
+
#define <a class="link" href="glib-Deprecated-Thread-APIs.html#G-STATIC-RW-LOCK-INIT:CAPS" title="G_STATIC_RW_LOCK_INIT">G_STATIC_RW_LOCK_INIT</a>
|
95
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rw-lock-init" title="g_static_rw_lock_init ()">g_static_rw_lock_init</a> (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> *lock</code></em>);
|
96
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rw-lock-reader-lock" title="g_static_rw_lock_reader_lock ()">g_static_rw_lock_reader_lock</a> (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> *lock</code></em>);
|
97
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rw-lock-reader-trylock" title="g_static_rw_lock_reader_trylock ()">g_static_rw_lock_reader_trylock</a> (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> *lock</code></em>);
|
98
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rw-lock-reader-unlock" title="g_static_rw_lock_reader_unlock ()">g_static_rw_lock_reader_unlock</a> (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> *lock</code></em>);
|
99
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rw-lock-writer-lock" title="g_static_rw_lock_writer_lock ()">g_static_rw_lock_writer_lock</a> (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> *lock</code></em>);
|
100
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rw-lock-writer-trylock" title="g_static_rw_lock_writer_trylock ()">g_static_rw_lock_writer_trylock</a> (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> *lock</code></em>);
|
101
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rw-lock-writer-unlock" title="g_static_rw_lock_writer_unlock ()">g_static_rw_lock_writer_unlock</a> (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> *lock</code></em>);
|
102
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rw-lock-free" title="g_static_rw_lock_free ()">g_static_rw_lock_free</a> (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> *lock</code></em>);
|
103
|
+
|
104
|
+
struct <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticPrivate" title="struct GStaticPrivate">GStaticPrivate</a>;
|
105
|
+
#define <a class="link" href="glib-Deprecated-Thread-APIs.html#G-STATIC-PRIVATE-INIT:CAPS" title="G_STATIC_PRIVATE_INIT">G_STATIC_PRIVATE_INIT</a>
|
106
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-private-init" title="g_static_private_init ()">g_static_private_init</a> (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticPrivate" title="struct GStaticPrivate"><span class="type">GStaticPrivate</span></a> *private_key</code></em>);
|
107
|
+
<a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-private-get" title="g_static_private_get ()">g_static_private_get</a> (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticPrivate" title="struct GStaticPrivate"><span class="type">GStaticPrivate</span></a> *private_key</code></em>);
|
108
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-private-set" title="g_static_private_set ()">g_static_private_set</a> (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticPrivate" title="struct GStaticPrivate"><span class="type">GStaticPrivate</span></a> *private_key</code></em>,
|
109
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
110
|
+
<em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> notify</code></em>);
|
111
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-private-free" title="g_static_private_free ()">g_static_private_free</a> (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticPrivate" title="struct GStaticPrivate"><span class="type">GStaticPrivate</span></a> *private_key</code></em>);
|
112
|
+
</pre>
|
113
|
+
</div>
|
114
|
+
<div class="refsect1">
|
115
|
+
<a name="glib-Deprecated-Thread-APIs.description"></a><h2>Description</h2>
|
116
|
+
<p>
|
117
|
+
These APIs are deprecated. You should not use them in new code.
|
118
|
+
This section remains only to assist with understanding code that was
|
119
|
+
written to use these APIs at some point in the past.
|
120
|
+
</p>
|
121
|
+
</div>
|
122
|
+
<div class="refsect1">
|
123
|
+
<a name="glib-Deprecated-Thread-APIs.details"></a><h2>Details</h2>
|
124
|
+
<div class="refsect2">
|
125
|
+
<a name="G-THREADS-IMPL-POSIX:CAPS"></a><h3>G_THREADS_IMPL_POSIX</h3>
|
126
|
+
<pre class="programlisting">#define G_THREADS_IMPL_POSIX
|
127
|
+
</pre>
|
128
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
129
|
+
<h3 class="title">Warning</h3>
|
130
|
+
<p><code class="literal">G_THREADS_IMPL_POSIX</code> has been deprecated since version 2.32 and should not be used in newly-written code. POSIX threads are in use on all non-Windows systems.
|
131
|
+
Use G_OS_WIN32 to detect Windows.</p>
|
132
|
+
</div>
|
133
|
+
<p>
|
134
|
+
This macro is defined if POSIX style threads are used.
|
135
|
+
</p>
|
136
|
+
</div>
|
137
|
+
<hr>
|
138
|
+
<div class="refsect2">
|
139
|
+
<a name="G-THREADS-IMPL-WIN32:CAPS"></a><h3>G_THREADS_IMPL_WIN32</h3>
|
140
|
+
<pre class="programlisting">#define G_THREADS_IMPL_NONE
|
141
|
+
</pre>
|
142
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
143
|
+
<h3 class="title">Warning</h3>
|
144
|
+
<p><code class="literal">G_THREADS_IMPL_WIN32</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use G_OS_WIN32 to detect Windows.</p>
|
145
|
+
</div>
|
146
|
+
<p>
|
147
|
+
This macro is defined if Windows style threads are used.
|
148
|
+
</p>
|
149
|
+
</div>
|
150
|
+
<hr>
|
151
|
+
<div class="refsect2">
|
152
|
+
<a name="g-thread-init"></a><h3>g_thread_init ()</h3>
|
153
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_thread_init (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> vtable</code></em>);</pre>
|
154
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
155
|
+
<h3 class="title">Warning</h3>
|
156
|
+
<p><code class="literal">g_thread_init</code> has been deprecated since version 2.32 and should not be used in newly-written code. This function is no longer necessary. The GLib
|
157
|
+
threading system is automatically initialized at the start
|
158
|
+
of your program.</p>
|
159
|
+
</div>
|
160
|
+
<p>
|
161
|
+
If you use GLib from more than one thread, you must initialize the
|
162
|
+
thread system by calling <a class="link" href="glib-Deprecated-Thread-APIs.html#g-thread-init" title="g_thread_init ()"><code class="function">g_thread_init()</code></a>.
|
163
|
+
</p>
|
164
|
+
<p>
|
165
|
+
Since version 2.24, calling <a class="link" href="glib-Deprecated-Thread-APIs.html#g-thread-init" title="g_thread_init ()"><code class="function">g_thread_init()</code></a> multiple times is allowed,
|
166
|
+
but nothing happens except for the first call.
|
167
|
+
</p>
|
168
|
+
<p>
|
169
|
+
Since version 2.32, GLib does not support custom thread implementations
|
170
|
+
anymore and the <em class="parameter"><code>vtable</code></em> parameter is ignored and you should pass <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
171
|
+
</p>
|
172
|
+
<p>
|
173
|
+
</p>
|
174
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
175
|
+
<h3 class="title">Note</h3>
|
176
|
+
<p><a class="link" href="glib-Deprecated-Thread-APIs.html#g-thread-init" title="g_thread_init ()"><code class="function">g_thread_init()</code></a> must not be called directly or indirectly
|
177
|
+
in a callback from GLib. Also no mutexes may be currently locked while
|
178
|
+
calling <a class="link" href="glib-Deprecated-Thread-APIs.html#g-thread-init" title="g_thread_init ()"><code class="function">g_thread_init()</code></a>.</p>
|
179
|
+
</div>
|
180
|
+
<p>
|
181
|
+
</p>
|
182
|
+
<p>
|
183
|
+
</p>
|
184
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
185
|
+
<h3 class="title">Note</h3>
|
186
|
+
<p>To use <a class="link" href="glib-Deprecated-Thread-APIs.html#g-thread-init" title="g_thread_init ()"><code class="function">g_thread_init()</code></a> in your program, you have to link
|
187
|
+
with the libraries that the command <span class="command"><strong>pkg-config --libs
|
188
|
+
gthread-2.0</strong></span> outputs. This is not the case for all the
|
189
|
+
other thread-related functions of GLib. Those can be used without
|
190
|
+
having to link with the thread libraries.</p>
|
191
|
+
</div>
|
192
|
+
<p>
|
193
|
+
</p>
|
194
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
195
|
+
<colgroup>
|
196
|
+
<col align="left" valign="top">
|
197
|
+
<col>
|
198
|
+
</colgroup>
|
199
|
+
<tbody><tr>
|
200
|
+
<td><p><span class="term"><em class="parameter"><code>vtable</code></em> :</span></p></td>
|
201
|
+
<td>a function table of type <span class="type">GThreadFunctions</span>, that provides
|
202
|
+
the entry points to the thread system to be used. Since 2.32,
|
203
|
+
this parameter is ignored and should always be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
204
|
+
</td>
|
205
|
+
</tr></tbody>
|
206
|
+
</table></div>
|
207
|
+
</div>
|
208
|
+
<hr>
|
209
|
+
<div class="refsect2">
|
210
|
+
<a name="g-thread-supported"></a><h3>g_thread_supported ()</h3>
|
211
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_thread_supported ();</pre>
|
212
|
+
<p>
|
213
|
+
This macro returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the thread system is initialized,
|
214
|
+
and <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> if it is not.
|
215
|
+
</p>
|
216
|
+
<p>
|
217
|
+
For language bindings, <a class="link" href="glib-Deprecated-Thread-APIs.html#g-thread-get-initialized" title="g_thread_get_initialized ()"><code class="function">g_thread_get_initialized()</code></a> provides
|
218
|
+
the same functionality as a function.
|
219
|
+
</p>
|
220
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
221
|
+
<colgroup>
|
222
|
+
<col align="left" valign="top">
|
223
|
+
<col>
|
224
|
+
</colgroup>
|
225
|
+
<tbody><tr>
|
226
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
227
|
+
<td>
|
228
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>, if the thread system is initialized</td>
|
229
|
+
</tr></tbody>
|
230
|
+
</table></div>
|
231
|
+
</div>
|
232
|
+
<hr>
|
233
|
+
<div class="refsect2">
|
234
|
+
<a name="g-thread-get-initialized"></a><h3>g_thread_get_initialized ()</h3>
|
235
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_thread_get_initialized (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
236
|
+
<p>
|
237
|
+
Indicates if <a class="link" href="glib-Deprecated-Thread-APIs.html#g-thread-init" title="g_thread_init ()"><code class="function">g_thread_init()</code></a> has been called.
|
238
|
+
</p>
|
239
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
240
|
+
<colgroup>
|
241
|
+
<col align="left" valign="top">
|
242
|
+
<col>
|
243
|
+
</colgroup>
|
244
|
+
<tbody><tr>
|
245
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
246
|
+
<td>
|
247
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if threads have been initialized.</td>
|
248
|
+
</tr></tbody>
|
249
|
+
</table></div>
|
250
|
+
<p class="since">Since 2.20</p>
|
251
|
+
</div>
|
252
|
+
<hr>
|
253
|
+
<div class="refsect2">
|
254
|
+
<a name="g-thread-create"></a><h3>g_thread_create ()</h3>
|
255
|
+
<pre class="programlisting"><a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="returnvalue">GThread</span></a> * g_thread_create (<em class="parameter"><code><a class="link" href="glib-Threads.html#GThreadFunc" title="GThreadFunc ()"><span class="type">GThreadFunc</span></a> func</code></em>,
|
256
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
257
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> joinable</code></em>,
|
258
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
259
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
260
|
+
<h3 class="title">Warning</h3>
|
261
|
+
<p><code class="literal">g_thread_create</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a class="link" href="glib-Threads.html#g-thread-new" title="g_thread_new ()"><code class="function">g_thread_new()</code></a> instead</p>
|
262
|
+
</div>
|
263
|
+
<p>
|
264
|
+
This function creates a new thread.
|
265
|
+
</p>
|
266
|
+
<p>
|
267
|
+
The new thread executes the function <em class="parameter"><code>func</code></em> with the argument <em class="parameter"><code>data</code></em>.
|
268
|
+
If the thread was created successfully, it is returned.
|
269
|
+
</p>
|
270
|
+
<p>
|
271
|
+
<em class="parameter"><code>error</code></em> can be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to ignore errors, or non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to report errors.
|
272
|
+
The error is set, if and only if the function returns <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
273
|
+
</p>
|
274
|
+
<p>
|
275
|
+
This function returns a reference to the created thread only if
|
276
|
+
<em class="parameter"><code>joinable</code></em> is <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>. In that case, you must free this reference by
|
277
|
+
calling <a class="link" href="glib-Threads.html#g-thread-unref" title="g_thread_unref ()"><code class="function">g_thread_unref()</code></a> or <a class="link" href="glib-Threads.html#g-thread-join" title="g_thread_join ()"><code class="function">g_thread_join()</code></a>. If <em class="parameter"><code>joinable</code></em> is <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>
|
278
|
+
then you should probably not touch the return value.
|
279
|
+
</p>
|
280
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
281
|
+
<colgroup>
|
282
|
+
<col align="left" valign="top">
|
283
|
+
<col>
|
284
|
+
</colgroup>
|
285
|
+
<tbody>
|
286
|
+
<tr>
|
287
|
+
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
288
|
+
<td>a function to execute in the new thread</td>
|
289
|
+
</tr>
|
290
|
+
<tr>
|
291
|
+
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
292
|
+
<td>an argument to supply to the new thread</td>
|
293
|
+
</tr>
|
294
|
+
<tr>
|
295
|
+
<td><p><span class="term"><em class="parameter"><code>joinable</code></em> :</span></p></td>
|
296
|
+
<td>should this thread be joinable?</td>
|
297
|
+
</tr>
|
298
|
+
<tr>
|
299
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
300
|
+
<td>return location for error, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
301
|
+
</td>
|
302
|
+
</tr>
|
303
|
+
<tr>
|
304
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
305
|
+
<td>the new <a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="type">GThread</span></a> on success</td>
|
306
|
+
</tr>
|
307
|
+
</tbody>
|
308
|
+
</table></div>
|
309
|
+
</div>
|
310
|
+
<hr>
|
311
|
+
<div class="refsect2">
|
312
|
+
<a name="g-thread-create-full"></a><h3>g_thread_create_full ()</h3>
|
313
|
+
<pre class="programlisting"><a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="returnvalue">GThread</span></a> * g_thread_create_full (<em class="parameter"><code><a class="link" href="glib-Threads.html#GThreadFunc" title="GThreadFunc ()"><span class="type">GThreadFunc</span></a> func</code></em>,
|
314
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
315
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a> stack_size</code></em>,
|
316
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> joinable</code></em>,
|
317
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> bound</code></em>,
|
318
|
+
<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GThreadPriority" title="enum GThreadPriority"><span class="type">GThreadPriority</span></a> priority</code></em>,
|
319
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
320
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
321
|
+
<h3 class="title">Warning</h3>
|
322
|
+
<p><code class="literal">g_thread_create_full</code> has been deprecated since version 2.32 and should not be used in newly-written code. The <em class="parameter"><code>bound</code></em> and <em class="parameter"><code>priority</code></em> arguments are now ignored.
|
323
|
+
Use <a class="link" href="glib-Threads.html#g-thread-new" title="g_thread_new ()"><code class="function">g_thread_new()</code></a>.</p>
|
324
|
+
</div>
|
325
|
+
<p>
|
326
|
+
This function creates a new thread.
|
327
|
+
</p>
|
328
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
329
|
+
<colgroup>
|
330
|
+
<col align="left" valign="top">
|
331
|
+
<col>
|
332
|
+
</colgroup>
|
333
|
+
<tbody>
|
334
|
+
<tr>
|
335
|
+
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
336
|
+
<td>a function to execute in the new thread.</td>
|
337
|
+
</tr>
|
338
|
+
<tr>
|
339
|
+
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
340
|
+
<td>an argument to supply to the new thread.</td>
|
341
|
+
</tr>
|
342
|
+
<tr>
|
343
|
+
<td><p><span class="term"><em class="parameter"><code>stack_size</code></em> :</span></p></td>
|
344
|
+
<td>a stack size for the new thread.</td>
|
345
|
+
</tr>
|
346
|
+
<tr>
|
347
|
+
<td><p><span class="term"><em class="parameter"><code>joinable</code></em> :</span></p></td>
|
348
|
+
<td>should this thread be joinable?</td>
|
349
|
+
</tr>
|
350
|
+
<tr>
|
351
|
+
<td><p><span class="term"><em class="parameter"><code>bound</code></em> :</span></p></td>
|
352
|
+
<td>ignored</td>
|
353
|
+
</tr>
|
354
|
+
<tr>
|
355
|
+
<td><p><span class="term"><em class="parameter"><code>priority</code></em> :</span></p></td>
|
356
|
+
<td>ignored</td>
|
357
|
+
</tr>
|
358
|
+
<tr>
|
359
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
360
|
+
<td>return location for error.</td>
|
361
|
+
</tr>
|
362
|
+
<tr>
|
363
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
364
|
+
<td>the new <a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="type">GThread</span></a> on success.</td>
|
365
|
+
</tr>
|
366
|
+
</tbody>
|
367
|
+
</table></div>
|
368
|
+
</div>
|
369
|
+
<hr>
|
370
|
+
<div class="refsect2">
|
371
|
+
<a name="GThreadPriority"></a><h3>enum GThreadPriority</h3>
|
372
|
+
<pre class="programlisting">typedef enum {
|
373
|
+
G_THREAD_PRIORITY_LOW,
|
374
|
+
G_THREAD_PRIORITY_NORMAL,
|
375
|
+
G_THREAD_PRIORITY_HIGH,
|
376
|
+
G_THREAD_PRIORITY_URGENT
|
377
|
+
} GThreadPriority;
|
378
|
+
</pre>
|
379
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
380
|
+
<h3 class="title">Warning</h3>
|
381
|
+
<p><code class="literal">GThreadPriority</code> has been deprecated since version 2.32 and should not be used in newly-written code. Thread priorities no longer have any effect.</p>
|
382
|
+
</div>
|
383
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
384
|
+
<colgroup>
|
385
|
+
<col align="left" valign="top">
|
386
|
+
<col>
|
387
|
+
</colgroup>
|
388
|
+
<tbody>
|
389
|
+
<tr>
|
390
|
+
<td><p><a name="G-THREAD-PRIORITY-LOW:CAPS"></a><span class="term"><code class="literal">G_THREAD_PRIORITY_LOW</code></span></p></td>
|
391
|
+
<td>a priority lower than normal
|
392
|
+
</td>
|
393
|
+
</tr>
|
394
|
+
<tr>
|
395
|
+
<td><p><a name="G-THREAD-PRIORITY-NORMAL:CAPS"></a><span class="term"><code class="literal">G_THREAD_PRIORITY_NORMAL</code></span></p></td>
|
396
|
+
<td>the default priority
|
397
|
+
</td>
|
398
|
+
</tr>
|
399
|
+
<tr>
|
400
|
+
<td><p><a name="G-THREAD-PRIORITY-HIGH:CAPS"></a><span class="term"><code class="literal">G_THREAD_PRIORITY_HIGH</code></span></p></td>
|
401
|
+
<td>a priority higher than normal
|
402
|
+
</td>
|
403
|
+
</tr>
|
404
|
+
<tr>
|
405
|
+
<td><p><a name="G-THREAD-PRIORITY-URGENT:CAPS"></a><span class="term"><code class="literal">G_THREAD_PRIORITY_URGENT</code></span></p></td>
|
406
|
+
<td>the highest priority
|
407
|
+
</td>
|
408
|
+
</tr>
|
409
|
+
</tbody>
|
410
|
+
</table></div>
|
411
|
+
</div>
|
412
|
+
<hr>
|
413
|
+
<div class="refsect2">
|
414
|
+
<a name="g-thread-set-priority"></a><h3>g_thread_set_priority ()</h3>
|
415
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_thread_set_priority (<em class="parameter"><code><a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="type">GThread</span></a> *thread</code></em>,
|
416
|
+
<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GThreadPriority" title="enum GThreadPriority"><span class="type">GThreadPriority</span></a> priority</code></em>);</pre>
|
417
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
418
|
+
<h3 class="title">Warning</h3>
|
419
|
+
<p><code class="literal">g_thread_set_priority</code> has been deprecated since version 2.32 and should not be used in newly-written code. Thread priorities no longer have any effect.</p>
|
420
|
+
</div>
|
421
|
+
<p>
|
422
|
+
This function does nothing.
|
423
|
+
</p>
|
424
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
425
|
+
<colgroup>
|
426
|
+
<col align="left" valign="top">
|
427
|
+
<col>
|
428
|
+
</colgroup>
|
429
|
+
<tbody>
|
430
|
+
<tr>
|
431
|
+
<td><p><span class="term"><em class="parameter"><code>thread</code></em> :</span></p></td>
|
432
|
+
<td>a <a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="type">GThread</span></a>.</td>
|
433
|
+
</tr>
|
434
|
+
<tr>
|
435
|
+
<td><p><span class="term"><em class="parameter"><code>priority</code></em> :</span></p></td>
|
436
|
+
<td>ignored</td>
|
437
|
+
</tr>
|
438
|
+
</tbody>
|
439
|
+
</table></div>
|
440
|
+
</div>
|
441
|
+
<hr>
|
442
|
+
<div class="refsect2">
|
443
|
+
<a name="g-thread-foreach"></a><h3>g_thread_foreach ()</h3>
|
444
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_thread_foreach (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GFunc" title="GFunc ()"><span class="type">GFunc</span></a> thread_func</code></em>,
|
445
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
446
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
447
|
+
<h3 class="title">Warning</h3>
|
448
|
+
<p><code class="literal">g_thread_foreach</code> has been deprecated since version 2.32 and should not be used in newly-written code. There aren't many things you can do with a <a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="type">GThread</span></a>,
|
449
|
+
except comparing it with one that was returned from <a class="link" href="glib-Deprecated-Thread-APIs.html#g-thread-create" title="g_thread_create ()"><code class="function">g_thread_create()</code></a>.
|
450
|
+
There are better ways to find out if your thread is still alive.</p>
|
451
|
+
</div>
|
452
|
+
<p>
|
453
|
+
Call <em class="parameter"><code>thread_func</code></em> on all <a href="glib-Threads.html#GThread"><span class="type">GThreads</span></a> that have been
|
454
|
+
created with <a class="link" href="glib-Deprecated-Thread-APIs.html#g-thread-create" title="g_thread_create ()"><code class="function">g_thread_create()</code></a>.
|
455
|
+
</p>
|
456
|
+
<p>
|
457
|
+
Note that threads may decide to exit while <em class="parameter"><code>thread_func</code></em> is
|
458
|
+
running, so without intimate knowledge about the lifetime of
|
459
|
+
foreign threads, <em class="parameter"><code>thread_func</code></em> shouldn't access the GThread*
|
460
|
+
pointer passed in as first argument. However, <em class="parameter"><code>thread_func</code></em> will
|
461
|
+
not be called for threads which are known to have exited already.
|
462
|
+
</p>
|
463
|
+
<p>
|
464
|
+
Due to thread lifetime checks, this function has an execution complexity
|
465
|
+
which is quadratic in the number of existing threads.
|
466
|
+
</p>
|
467
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
468
|
+
<colgroup>
|
469
|
+
<col align="left" valign="top">
|
470
|
+
<col>
|
471
|
+
</colgroup>
|
472
|
+
<tbody>
|
473
|
+
<tr>
|
474
|
+
<td><p><span class="term"><em class="parameter"><code>thread_func</code></em> :</span></p></td>
|
475
|
+
<td>function to call for all <a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="type">GThread</span></a> structures</td>
|
476
|
+
</tr>
|
477
|
+
<tr>
|
478
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
479
|
+
<td>second argument to <em class="parameter"><code>thread_func</code></em>
|
480
|
+
</td>
|
481
|
+
</tr>
|
482
|
+
</tbody>
|
483
|
+
</table></div>
|
484
|
+
<p class="since">Since 2.10</p>
|
485
|
+
</div>
|
486
|
+
<hr>
|
487
|
+
<div class="refsect2">
|
488
|
+
<a name="g-mutex-new"></a><h3>g_mutex_new ()</h3>
|
489
|
+
<pre class="programlisting"><a class="link" href="glib-Threads.html#GMutex" title="union GMutex"><span class="returnvalue">GMutex</span></a> * g_mutex_new ();</pre>
|
490
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
491
|
+
<h3 class="title">Warning</h3>
|
492
|
+
<p><code class="literal">g_mutex_new</code> has been deprecated since version 2.32 and should not be used in newly-written code. GMutex can now be statically allocated, or embedded
|
493
|
+
in structures and initialised with <a class="link" href="glib-Threads.html#g-mutex-init" title="g_mutex_init ()"><code class="function">g_mutex_init()</code></a>.</p>
|
494
|
+
</div>
|
495
|
+
<p>
|
496
|
+
Allocates and initializes a new <a class="link" href="glib-Threads.html#GMutex" title="union GMutex"><span class="type">GMutex</span></a>.
|
497
|
+
</p>
|
498
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
499
|
+
<colgroup>
|
500
|
+
<col align="left" valign="top">
|
501
|
+
<col>
|
502
|
+
</colgroup>
|
503
|
+
<tbody><tr>
|
504
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
505
|
+
<td>a newly allocated <a class="link" href="glib-Threads.html#GMutex" title="union GMutex"><span class="type">GMutex</span></a>. Use <a class="link" href="glib-Deprecated-Thread-APIs.html#g-mutex-free" title="g_mutex_free ()"><code class="function">g_mutex_free()</code></a> to free</td>
|
506
|
+
</tr></tbody>
|
507
|
+
</table></div>
|
508
|
+
</div>
|
509
|
+
<hr>
|
510
|
+
<div class="refsect2">
|
511
|
+
<a name="g-mutex-free"></a><h3>g_mutex_free ()</h3>
|
512
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_mutex_free (<em class="parameter"><code><a class="link" href="glib-Threads.html#GMutex" title="union GMutex"><span class="type">GMutex</span></a> *mutex</code></em>);</pre>
|
513
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
514
|
+
<h3 class="title">Warning</h3>
|
515
|
+
<p><code class="literal">g_mutex_free</code> has been deprecated since version 2.32 and should not be used in newly-written code. GMutex can now be statically allocated, or embedded
|
516
|
+
in structures and initialised with <a class="link" href="glib-Threads.html#g-mutex-init" title="g_mutex_init ()"><code class="function">g_mutex_init()</code></a>.</p>
|
517
|
+
</div>
|
518
|
+
<p>
|
519
|
+
Destroys a <em class="parameter"><code>mutex</code></em> that has been created with <a class="link" href="glib-Deprecated-Thread-APIs.html#g-mutex-new" title="g_mutex_new ()"><code class="function">g_mutex_new()</code></a>.
|
520
|
+
</p>
|
521
|
+
<p>
|
522
|
+
Calling <a class="link" href="glib-Deprecated-Thread-APIs.html#g-mutex-free" title="g_mutex_free ()"><code class="function">g_mutex_free()</code></a> on a locked mutex may result
|
523
|
+
in undefined behaviour.
|
524
|
+
</p>
|
525
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
526
|
+
<colgroup>
|
527
|
+
<col align="left" valign="top">
|
528
|
+
<col>
|
529
|
+
</colgroup>
|
530
|
+
<tbody><tr>
|
531
|
+
<td><p><span class="term"><em class="parameter"><code>mutex</code></em> :</span></p></td>
|
532
|
+
<td>a <a class="link" href="glib-Threads.html#GMutex" title="union GMutex"><span class="type">GMutex</span></a>
|
533
|
+
</td>
|
534
|
+
</tr></tbody>
|
535
|
+
</table></div>
|
536
|
+
</div>
|
537
|
+
<hr>
|
538
|
+
<div class="refsect2">
|
539
|
+
<a name="g-cond-new"></a><h3>g_cond_new ()</h3>
|
540
|
+
<pre class="programlisting"><a class="link" href="glib-Threads.html#GCond" title="struct GCond"><span class="returnvalue">GCond</span></a>* g_cond_new ();</pre>
|
541
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
542
|
+
<h3 class="title">Warning</h3>
|
543
|
+
<p><code class="literal">g_cond_new</code> has been deprecated since version 2.32 and should not be used in newly-written code. GCond can now be statically allocated, or embedded
|
544
|
+
in structures and initialised with <a class="link" href="glib-Threads.html#g-cond-init" title="g_cond_init ()"><code class="function">g_cond_init()</code></a>.</p>
|
545
|
+
</div>
|
546
|
+
<p>
|
547
|
+
Allocates and initializes a new <a class="link" href="glib-Threads.html#GCond" title="struct GCond"><span class="type">GCond</span></a>.
|
548
|
+
</p>
|
549
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
550
|
+
<colgroup>
|
551
|
+
<col align="left" valign="top">
|
552
|
+
<col>
|
553
|
+
</colgroup>
|
554
|
+
<tbody><tr>
|
555
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
556
|
+
<td>a newly allocated <a class="link" href="glib-Threads.html#GCond" title="struct GCond"><span class="type">GCond</span></a>. Free with <a class="link" href="glib-Deprecated-Thread-APIs.html#g-cond-free" title="g_cond_free ()"><code class="function">g_cond_free()</code></a>
|
557
|
+
</td>
|
558
|
+
</tr></tbody>
|
559
|
+
</table></div>
|
560
|
+
</div>
|
561
|
+
<hr>
|
562
|
+
<div class="refsect2">
|
563
|
+
<a name="g-cond-free"></a><h3>g_cond_free ()</h3>
|
564
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_cond_free (<em class="parameter"><code><a class="link" href="glib-Threads.html#GCond" title="struct GCond"><span class="type">GCond</span></a> *cond</code></em>);</pre>
|
565
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
566
|
+
<h3 class="title">Warning</h3>
|
567
|
+
<p><code class="literal">g_cond_free</code> has been deprecated since version 2.32 and should not be used in newly-written code. GCond can now be statically allocated, or embedded
|
568
|
+
in structures and initialised with <a class="link" href="glib-Threads.html#g-cond-init" title="g_cond_init ()"><code class="function">g_cond_init()</code></a>.</p>
|
569
|
+
</div>
|
570
|
+
<p>
|
571
|
+
Destroys a <a class="link" href="glib-Threads.html#GCond" title="struct GCond"><span class="type">GCond</span></a> that has been created with <a class="link" href="glib-Deprecated-Thread-APIs.html#g-cond-new" title="g_cond_new ()"><code class="function">g_cond_new()</code></a>.
|
572
|
+
</p>
|
573
|
+
<p>
|
574
|
+
Calling <a class="link" href="glib-Deprecated-Thread-APIs.html#g-cond-free" title="g_cond_free ()"><code class="function">g_cond_free()</code></a> for a <a class="link" href="glib-Threads.html#GCond" title="struct GCond"><span class="type">GCond</span></a> on which threads are
|
575
|
+
blocking leads to undefined behaviour.
|
576
|
+
</p>
|
577
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
578
|
+
<colgroup>
|
579
|
+
<col align="left" valign="top">
|
580
|
+
<col>
|
581
|
+
</colgroup>
|
582
|
+
<tbody><tr>
|
583
|
+
<td><p><span class="term"><em class="parameter"><code>cond</code></em> :</span></p></td>
|
584
|
+
<td>a <a class="link" href="glib-Threads.html#GCond" title="struct GCond"><span class="type">GCond</span></a>
|
585
|
+
</td>
|
586
|
+
</tr></tbody>
|
587
|
+
</table></div>
|
588
|
+
</div>
|
589
|
+
<hr>
|
590
|
+
<div class="refsect2">
|
591
|
+
<a name="g-private-new"></a><h3>g_private_new ()</h3>
|
592
|
+
<pre class="programlisting"><a class="link" href="glib-Threads.html#GPrivate" title="struct GPrivate"><span class="returnvalue">GPrivate</span></a> * g_private_new (<em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre>
|
593
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
594
|
+
<h3 class="title">Warning</h3>
|
595
|
+
<p><code class="literal">g_private_new</code> has been deprecated since version 2.32 and should not be used in newly-written code. dynamic allocation of <a class="link" href="glib-Threads.html#GPrivate" title="struct GPrivate"><span class="type">GPrivate</span></a> is a bad idea. Use
|
596
|
+
static storage and <a class="link" href="glib-Threads.html#G-PRIVATE-INIT:CAPS" title="G_PRIVATE_INIT()"><code class="function">G_PRIVATE_INIT()</code></a> instead.</p>
|
597
|
+
</div>
|
598
|
+
<p>
|
599
|
+
Creates a new <a class="link" href="glib-Threads.html#GPrivate" title="struct GPrivate"><span class="type">GPrivate</span></a>.
|
600
|
+
</p>
|
601
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
602
|
+
<colgroup>
|
603
|
+
<col align="left" valign="top">
|
604
|
+
<col>
|
605
|
+
</colgroup>
|
606
|
+
<tbody>
|
607
|
+
<tr>
|
608
|
+
<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td>
|
609
|
+
<td>a <a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a>
|
610
|
+
</td>
|
611
|
+
</tr>
|
612
|
+
<tr>
|
613
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
614
|
+
<td>a newly allocated <a class="link" href="glib-Threads.html#GPrivate" title="struct GPrivate"><span class="type">GPrivate</span></a> (which can never be destroyed)</td>
|
615
|
+
</tr>
|
616
|
+
</tbody>
|
617
|
+
</table></div>
|
618
|
+
</div>
|
619
|
+
<hr>
|
620
|
+
<div class="refsect2">
|
621
|
+
<a name="GStaticMutex"></a><h3>GStaticMutex</h3>
|
622
|
+
<pre class="programlisting">typedef struct _GStaticMutex GStaticMutex;</pre>
|
623
|
+
<p>
|
624
|
+
A <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a> works like a <a class="link" href="glib-Threads.html#GMutex" title="union GMutex"><span class="type">GMutex</span></a>.
|
625
|
+
</p>
|
626
|
+
<p>
|
627
|
+
Prior to GLib 2.32, GStaticMutex had the significant advantage
|
628
|
+
that it doesn't need to be created at run-time, but can be defined
|
629
|
+
at compile-time. Since 2.32, <a class="link" href="glib-Threads.html#GMutex" title="union GMutex"><span class="type">GMutex</span></a> can be statically allocated
|
630
|
+
as well, and GStaticMutex has been deprecated.
|
631
|
+
</p>
|
632
|
+
<p>
|
633
|
+
Here is a version of our <code class="function">give_me_next_number()</code> example using
|
634
|
+
a GStaticMutex.
|
635
|
+
</p>
|
636
|
+
<p>
|
637
|
+
</p>
|
638
|
+
<div class="example">
|
639
|
+
<a name="idp59828384"></a><p class="title"><b>Example 20.
|
640
|
+
Using <span class="structname">GStaticMutex</span>
|
641
|
+
to simplify thread-safe programming
|
642
|
+
</b></p>
|
643
|
+
<div class="example-contents">
|
644
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
645
|
+
<tbody>
|
646
|
+
<tr>
|
647
|
+
<td class="listing_lines" align="right"><pre>1
|
648
|
+
2
|
649
|
+
3
|
650
|
+
4
|
651
|
+
5
|
652
|
+
6
|
653
|
+
7
|
654
|
+
8
|
655
|
+
9
|
656
|
+
10
|
657
|
+
11
|
658
|
+
12
|
659
|
+
13</pre></td>
|
660
|
+
<td class="listing_code"><pre class="programlisting"><span class="type">int</span>
|
661
|
+
<span class="function">give_me_next_number</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">)</span>
|
662
|
+
<span class="cbracket">{</span>
|
663
|
+
<span class="normal"> </span><span class="keyword">static</span><span class="normal"> </span><span class="type">int</span><span class="normal"> current_number </span><span class="symbol">=</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
664
|
+
<span class="normal"> </span><span class="type">int</span><span class="normal"> ret_val</span><span class="symbol">;</span>
|
665
|
+
<span class="normal"> </span><span class="keyword">static</span><span class="normal"> </span><span class="usertype">GStaticMutex</span><span class="normal"> mutex </span><span class="symbol">=</span><span class="normal"> <a href="glib-Deprecated-Thread-APIs.html#G-STATIC-MUTEX-INIT:CAPS">G_STATIC_MUTEX_INIT</a></span><span class="symbol">;</span>
|
666
|
+
|
667
|
+
<span class="normal"> </span><span class="function"><a href="glib-Deprecated-Thread-APIs.html#g-static-mutex-lock">g_static_mutex_lock</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">mutex</span><span class="symbol">);</span>
|
668
|
+
<span class="normal"> ret_val </span><span class="symbol">=</span><span class="normal"> current_number </span><span class="symbol">=</span><span class="normal"> </span><span class="function">calc_next_number</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">current_number</span><span class="symbol">);</span>
|
669
|
+
<span class="normal"> </span><span class="function"><a href="glib-Deprecated-Thread-APIs.html#g-static-mutex-unlock">g_static_mutex_unlock</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">mutex</span><span class="symbol">);</span>
|
670
|
+
|
671
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> ret_val</span><span class="symbol">;</span>
|
672
|
+
<span class="cbracket">}</span></pre></td>
|
673
|
+
</tr>
|
674
|
+
</tbody>
|
675
|
+
</table>
|
676
|
+
</div>
|
677
|
+
|
678
|
+
</div>
|
679
|
+
<p><br class="example-break">
|
680
|
+
</p>
|
681
|
+
<p>
|
682
|
+
Sometimes you would like to dynamically create a mutex. If you don't
|
683
|
+
want to require prior calling to <a class="link" href="glib-Deprecated-Thread-APIs.html#g-thread-init" title="g_thread_init ()"><code class="function">g_thread_init()</code></a>, because your code
|
684
|
+
should also be usable in non-threaded programs, you are not able to
|
685
|
+
use <a class="link" href="glib-Deprecated-Thread-APIs.html#g-mutex-new" title="g_mutex_new ()"><code class="function">g_mutex_new()</code></a> and thus <a class="link" href="glib-Threads.html#GMutex" title="union GMutex"><span class="type">GMutex</span></a>, as that requires a prior call to
|
686
|
+
<a class="link" href="glib-Deprecated-Thread-APIs.html#g-thread-init" title="g_thread_init ()"><code class="function">g_thread_init()</code></a>. In theses cases you can also use a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a>.
|
687
|
+
It must be initialized with <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-mutex-init" title="g_static_mutex_init ()"><code class="function">g_static_mutex_init()</code></a> before using it
|
688
|
+
and freed with with <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-mutex-free" title="g_static_mutex_free ()"><code class="function">g_static_mutex_free()</code></a> when not needed anymore to
|
689
|
+
free up any allocated resources.
|
690
|
+
</p>
|
691
|
+
<p>
|
692
|
+
Even though <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a> is not opaque, it should only be used with
|
693
|
+
the following functions, as it is defined differently on different
|
694
|
+
platforms.
|
695
|
+
</p>
|
696
|
+
<p>
|
697
|
+
All of the <code class="function">g_static_mutex_*</code> functions apart
|
698
|
+
from <code class="function">g_static_mutex_get_mutex</code> can also be used
|
699
|
+
even if <a class="link" href="glib-Deprecated-Thread-APIs.html#g-thread-init" title="g_thread_init ()"><code class="function">g_thread_init()</code></a> has not yet been called. Then they do
|
700
|
+
nothing, apart from <code class="function">g_static_mutex_trylock</code>,
|
701
|
+
which does nothing but returning <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>.
|
702
|
+
</p>
|
703
|
+
<p>
|
704
|
+
</p>
|
705
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
706
|
+
<h3 class="title">Note</h3>
|
707
|
+
<p>All of the <code class="function">g_static_mutex_*</code>
|
708
|
+
functions are actually macros. Apart from taking their addresses, you
|
709
|
+
can however use them as if they were functions.</p>
|
710
|
+
</div>
|
711
|
+
<p>
|
712
|
+
</p>
|
713
|
+
</div>
|
714
|
+
<hr>
|
715
|
+
<div class="refsect2">
|
716
|
+
<a name="G-STATIC-MUTEX-INIT:CAPS"></a><h3>G_STATIC_MUTEX_INIT</h3>
|
717
|
+
<pre class="programlisting">#define G_STATIC_MUTEX_INIT
|
718
|
+
</pre>
|
719
|
+
<p>
|
720
|
+
A <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a> must be initialized with this macro, before it can
|
721
|
+
be used. This macro can used be to initialize a variable, but it
|
722
|
+
cannot be assigned to a variable. In that case you have to use
|
723
|
+
<a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-mutex-init" title="g_static_mutex_init ()"><code class="function">g_static_mutex_init()</code></a>.
|
724
|
+
</p>
|
725
|
+
<p>
|
726
|
+
</p>
|
727
|
+
<div class="informalexample">
|
728
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
729
|
+
<tbody>
|
730
|
+
<tr>
|
731
|
+
<td class="listing_lines" align="right"><pre>1</pre></td>
|
732
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">GStaticMutex</span><span class="normal"> my_mutex </span><span class="symbol">=</span><span class="normal"> <a href="glib-Deprecated-Thread-APIs.html#G-STATIC-MUTEX-INIT:CAPS">G_STATIC_MUTEX_INIT</a></span><span class="symbol">;</span></pre></td>
|
733
|
+
</tr>
|
734
|
+
</tbody>
|
735
|
+
</table>
|
736
|
+
</div>
|
737
|
+
|
738
|
+
<p>
|
739
|
+
</p>
|
740
|
+
</div>
|
741
|
+
<hr>
|
742
|
+
<div class="refsect2">
|
743
|
+
<a name="g-static-mutex-init"></a><h3>g_static_mutex_init ()</h3>
|
744
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_static_mutex_init (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a> *mutex</code></em>);</pre>
|
745
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
746
|
+
<h3 class="title">Warning</h3>
|
747
|
+
<p><code class="literal">g_static_mutex_init</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a class="link" href="glib-Threads.html#g-mutex-init" title="g_mutex_init ()"><code class="function">g_mutex_init()</code></a></p>
|
748
|
+
</div>
|
749
|
+
<p>
|
750
|
+
Initializes <em class="parameter"><code>mutex</code></em>.
|
751
|
+
Alternatively you can initialize it with <a class="link" href="glib-Deprecated-Thread-APIs.html#G-STATIC-MUTEX-INIT:CAPS" title="G_STATIC_MUTEX_INIT"><span class="type">G_STATIC_MUTEX_INIT</span></a>.
|
752
|
+
</p>
|
753
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
754
|
+
<colgroup>
|
755
|
+
<col align="left" valign="top">
|
756
|
+
<col>
|
757
|
+
</colgroup>
|
758
|
+
<tbody><tr>
|
759
|
+
<td><p><span class="term"><em class="parameter"><code>mutex</code></em> :</span></p></td>
|
760
|
+
<td>a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a> to be initialized.</td>
|
761
|
+
</tr></tbody>
|
762
|
+
</table></div>
|
763
|
+
</div>
|
764
|
+
<hr>
|
765
|
+
<div class="refsect2">
|
766
|
+
<a name="g-static-mutex-lock"></a><h3>g_static_mutex_lock ()</h3>
|
767
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_static_mutex_lock (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a> *mutex</code></em>);</pre>
|
768
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
769
|
+
<h3 class="title">Warning</h3>
|
770
|
+
<p><code class="literal">g_static_mutex_lock</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a class="link" href="glib-Threads.html#g-mutex-lock" title="g_mutex_lock ()"><code class="function">g_mutex_lock()</code></a></p>
|
771
|
+
</div>
|
772
|
+
<p>
|
773
|
+
Works like <a class="link" href="glib-Threads.html#g-mutex-lock" title="g_mutex_lock ()"><code class="function">g_mutex_lock()</code></a>, but for a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a>.
|
774
|
+
</p>
|
775
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
776
|
+
<colgroup>
|
777
|
+
<col align="left" valign="top">
|
778
|
+
<col>
|
779
|
+
</colgroup>
|
780
|
+
<tbody><tr>
|
781
|
+
<td><p><span class="term"><em class="parameter"><code>mutex</code></em> :</span></p></td>
|
782
|
+
<td>a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a>.</td>
|
783
|
+
</tr></tbody>
|
784
|
+
</table></div>
|
785
|
+
</div>
|
786
|
+
<hr>
|
787
|
+
<div class="refsect2">
|
788
|
+
<a name="g-static-mutex-trylock"></a><h3>g_static_mutex_trylock ()</h3>
|
789
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_static_mutex_trylock (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a> *mutex</code></em>);</pre>
|
790
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
791
|
+
<h3 class="title">Warning</h3>
|
792
|
+
<p><code class="literal">g_static_mutex_trylock</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a class="link" href="glib-Threads.html#g-mutex-trylock" title="g_mutex_trylock ()"><code class="function">g_mutex_trylock()</code></a></p>
|
793
|
+
</div>
|
794
|
+
<p>
|
795
|
+
Works like <a class="link" href="glib-Threads.html#g-mutex-trylock" title="g_mutex_trylock ()"><code class="function">g_mutex_trylock()</code></a>, but for a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a>.
|
796
|
+
</p>
|
797
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
798
|
+
<colgroup>
|
799
|
+
<col align="left" valign="top">
|
800
|
+
<col>
|
801
|
+
</colgroup>
|
802
|
+
<tbody>
|
803
|
+
<tr>
|
804
|
+
<td><p><span class="term"><em class="parameter"><code>mutex</code></em> :</span></p></td>
|
805
|
+
<td>a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a>.</td>
|
806
|
+
</tr>
|
807
|
+
<tr>
|
808
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
809
|
+
<td>
|
810
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>, if the <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a> could be locked.</td>
|
811
|
+
</tr>
|
812
|
+
</tbody>
|
813
|
+
</table></div>
|
814
|
+
</div>
|
815
|
+
<hr>
|
816
|
+
<div class="refsect2">
|
817
|
+
<a name="g-static-mutex-unlock"></a><h3>g_static_mutex_unlock ()</h3>
|
818
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_static_mutex_unlock (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a> *mutex</code></em>);</pre>
|
819
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
820
|
+
<h3 class="title">Warning</h3>
|
821
|
+
<p><code class="literal">g_static_mutex_unlock</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a class="link" href="glib-Threads.html#g-mutex-unlock" title="g_mutex_unlock ()"><code class="function">g_mutex_unlock()</code></a></p>
|
822
|
+
</div>
|
823
|
+
<p>
|
824
|
+
Works like <a class="link" href="glib-Threads.html#g-mutex-unlock" title="g_mutex_unlock ()"><code class="function">g_mutex_unlock()</code></a>, but for a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a>.
|
825
|
+
</p>
|
826
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
827
|
+
<colgroup>
|
828
|
+
<col align="left" valign="top">
|
829
|
+
<col>
|
830
|
+
</colgroup>
|
831
|
+
<tbody><tr>
|
832
|
+
<td><p><span class="term"><em class="parameter"><code>mutex</code></em> :</span></p></td>
|
833
|
+
<td>a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a>.</td>
|
834
|
+
</tr></tbody>
|
835
|
+
</table></div>
|
836
|
+
</div>
|
837
|
+
<hr>
|
838
|
+
<div class="refsect2">
|
839
|
+
<a name="g-static-mutex-get-mutex"></a><h3>g_static_mutex_get_mutex ()</h3>
|
840
|
+
<pre class="programlisting"><a class="link" href="glib-Threads.html#GMutex" title="union GMutex"><span class="returnvalue">GMutex</span></a> * g_static_mutex_get_mutex (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a> *mutex</code></em>);</pre>
|
841
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
842
|
+
<h3 class="title">Warning</h3>
|
843
|
+
<p><code class="literal">g_static_mutex_get_mutex</code> has been deprecated since version 2.32 and should not be used in newly-written code. Just use a <a class="link" href="glib-Threads.html#GMutex" title="union GMutex"><span class="type">GMutex</span></a></p>
|
844
|
+
</div>
|
845
|
+
<p>
|
846
|
+
For some operations (like <a class="link" href="glib-Threads.html#g-cond-wait" title="g_cond_wait ()"><code class="function">g_cond_wait()</code></a>) you must have a <a class="link" href="glib-Threads.html#GMutex" title="union GMutex"><span class="type">GMutex</span></a>
|
847
|
+
instead of a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a>. This function will return the
|
848
|
+
corresponding <a class="link" href="glib-Threads.html#GMutex" title="union GMutex"><span class="type">GMutex</span></a> for <em class="parameter"><code>mutex</code></em>.
|
849
|
+
</p>
|
850
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
851
|
+
<colgroup>
|
852
|
+
<col align="left" valign="top">
|
853
|
+
<col>
|
854
|
+
</colgroup>
|
855
|
+
<tbody>
|
856
|
+
<tr>
|
857
|
+
<td><p><span class="term"><em class="parameter"><code>mutex</code></em> :</span></p></td>
|
858
|
+
<td>a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a>.</td>
|
859
|
+
</tr>
|
860
|
+
<tr>
|
861
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
862
|
+
<td>the <a class="link" href="glib-Threads.html#GMutex" title="union GMutex"><span class="type">GMutex</span></a> corresponding to <em class="parameter"><code>mutex</code></em>.</td>
|
863
|
+
</tr>
|
864
|
+
</tbody>
|
865
|
+
</table></div>
|
866
|
+
</div>
|
867
|
+
<hr>
|
868
|
+
<div class="refsect2">
|
869
|
+
<a name="g-static-mutex-free"></a><h3>g_static_mutex_free ()</h3>
|
870
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_static_mutex_free (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a> *mutex</code></em>);</pre>
|
871
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
872
|
+
<h3 class="title">Warning</h3>
|
873
|
+
<p><code class="literal">g_static_mutex_free</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a class="link" href="glib-Deprecated-Thread-APIs.html#g-mutex-free" title="g_mutex_free ()"><code class="function">g_mutex_free()</code></a></p>
|
874
|
+
</div>
|
875
|
+
<p>
|
876
|
+
Releases all resources allocated to <em class="parameter"><code>mutex</code></em>.
|
877
|
+
</p>
|
878
|
+
<p>
|
879
|
+
You don't have to call this functions for a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a> with an
|
880
|
+
unbounded lifetime, i.e. objects declared 'static', but if you have
|
881
|
+
a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a> as a member of a structure and the structure is
|
882
|
+
freed, you should also free the <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a>.
|
883
|
+
</p>
|
884
|
+
<p>
|
885
|
+
</p>
|
886
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
887
|
+
<h3 class="title">Note</h3>
|
888
|
+
<p>Calling <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-mutex-free" title="g_static_mutex_free ()"><code class="function">g_static_mutex_free()</code></a> on a locked mutex may
|
889
|
+
result in undefined behaviour.</p>
|
890
|
+
</div>
|
891
|
+
<p>
|
892
|
+
</p>
|
893
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
894
|
+
<colgroup>
|
895
|
+
<col align="left" valign="top">
|
896
|
+
<col>
|
897
|
+
</colgroup>
|
898
|
+
<tbody><tr>
|
899
|
+
<td><p><span class="term"><em class="parameter"><code>mutex</code></em> :</span></p></td>
|
900
|
+
<td>a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a> to be freed.</td>
|
901
|
+
</tr></tbody>
|
902
|
+
</table></div>
|
903
|
+
</div>
|
904
|
+
<hr>
|
905
|
+
<div class="refsect2">
|
906
|
+
<a name="GStaticRecMutex"></a><h3>struct GStaticRecMutex</h3>
|
907
|
+
<pre class="programlisting">struct GStaticRecMutex {
|
908
|
+
};
|
909
|
+
</pre>
|
910
|
+
<p>
|
911
|
+
A <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> works like a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a>, but it can be locked
|
912
|
+
multiple times by one thread. If you enter it n times, you have to
|
913
|
+
unlock it n times again to let other threads lock it. An exception
|
914
|
+
is the function <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rec-mutex-unlock-full" title="g_static_rec_mutex_unlock_full ()"><code class="function">g_static_rec_mutex_unlock_full()</code></a>: that allows you to
|
915
|
+
unlock a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> completely returning the depth, (i.e. the
|
916
|
+
number of times this mutex was locked). The depth can later be used
|
917
|
+
to restore the state of the <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> by calling
|
918
|
+
<a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rec-mutex-lock-full" title="g_static_rec_mutex_lock_full ()"><code class="function">g_static_rec_mutex_lock_full()</code></a>. In GLib 2.32, <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> has
|
919
|
+
been deprecated in favor of <a class="link" href="glib-Threads.html#GRecMutex" title="struct GRecMutex"><span class="type">GRecMutex</span></a>.
|
920
|
+
</p>
|
921
|
+
<p>
|
922
|
+
Even though <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> is not opaque, it should only be used
|
923
|
+
with the following functions.
|
924
|
+
</p>
|
925
|
+
<p>
|
926
|
+
All of the <code class="function">g_static_rec_mutex_*</code> functions can
|
927
|
+
be used even if <a class="link" href="glib-Deprecated-Thread-APIs.html#g-thread-init" title="g_thread_init ()"><code class="function">g_thread_init()</code></a> has not been called. Then they do
|
928
|
+
nothing, apart from <code class="function">g_static_rec_mutex_trylock</code>,
|
929
|
+
which does nothing but returning <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>.
|
930
|
+
</p>
|
931
|
+
</div>
|
932
|
+
<hr>
|
933
|
+
<div class="refsect2">
|
934
|
+
<a name="G-STATIC-REC-MUTEX-INIT:CAPS"></a><h3>G_STATIC_REC_MUTEX_INIT</h3>
|
935
|
+
<pre class="programlisting">#define G_STATIC_REC_MUTEX_INIT { G_STATIC_MUTEX_INIT }
|
936
|
+
</pre>
|
937
|
+
<p>
|
938
|
+
A <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> must be initialized with this macro before it can
|
939
|
+
be used. This macro can used be to initialize a variable, but it
|
940
|
+
cannot be assigned to a variable. In that case you have to use
|
941
|
+
<a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rec-mutex-init" title="g_static_rec_mutex_init ()"><code class="function">g_static_rec_mutex_init()</code></a>.
|
942
|
+
</p>
|
943
|
+
<p>
|
944
|
+
</p>
|
945
|
+
<div class="informalexample">
|
946
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
947
|
+
<tbody>
|
948
|
+
<tr>
|
949
|
+
<td class="listing_lines" align="right"><pre>1</pre></td>
|
950
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">GStaticRecMutex</span><span class="normal"> my_mutex </span><span class="symbol">=</span><span class="normal"> <a href="glib-Deprecated-Thread-APIs.html#G-STATIC-REC-MUTEX-INIT:CAPS">G_STATIC_REC_MUTEX_INIT</a></span><span class="symbol">;</span></pre></td>
|
951
|
+
</tr>
|
952
|
+
</tbody>
|
953
|
+
</table>
|
954
|
+
</div>
|
955
|
+
|
956
|
+
<p>
|
957
|
+
</p>
|
958
|
+
</div>
|
959
|
+
<hr>
|
960
|
+
<div class="refsect2">
|
961
|
+
<a name="g-static-rec-mutex-init"></a><h3>g_static_rec_mutex_init ()</h3>
|
962
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_static_rec_mutex_init (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> *mutex</code></em>);</pre>
|
963
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
964
|
+
<h3 class="title">Warning</h3>
|
965
|
+
<p><code class="literal">g_static_rec_mutex_init</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a class="link" href="glib-Threads.html#g-rec-mutex-init" title="g_rec_mutex_init ()"><code class="function">g_rec_mutex_init()</code></a></p>
|
966
|
+
</div>
|
967
|
+
<p>
|
968
|
+
A <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> must be initialized with this function before it
|
969
|
+
can be used. Alternatively you can initialize it with
|
970
|
+
<a class="link" href="glib-Deprecated-Thread-APIs.html#G-STATIC-REC-MUTEX-INIT:CAPS" title="G_STATIC_REC_MUTEX_INIT"><span class="type">G_STATIC_REC_MUTEX_INIT</span></a>.
|
971
|
+
</p>
|
972
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
973
|
+
<colgroup>
|
974
|
+
<col align="left" valign="top">
|
975
|
+
<col>
|
976
|
+
</colgroup>
|
977
|
+
<tbody><tr>
|
978
|
+
<td><p><span class="term"><em class="parameter"><code>mutex</code></em> :</span></p></td>
|
979
|
+
<td>a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> to be initialized.</td>
|
980
|
+
</tr></tbody>
|
981
|
+
</table></div>
|
982
|
+
</div>
|
983
|
+
<hr>
|
984
|
+
<div class="refsect2">
|
985
|
+
<a name="g-static-rec-mutex-lock"></a><h3>g_static_rec_mutex_lock ()</h3>
|
986
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_static_rec_mutex_lock (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> *mutex</code></em>);</pre>
|
987
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
988
|
+
<h3 class="title">Warning</h3>
|
989
|
+
<p><code class="literal">g_static_rec_mutex_lock</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a class="link" href="glib-Threads.html#g-rec-mutex-lock" title="g_rec_mutex_lock ()"><code class="function">g_rec_mutex_lock()</code></a></p>
|
990
|
+
</div>
|
991
|
+
<p>
|
992
|
+
Locks <em class="parameter"><code>mutex</code></em>. If <em class="parameter"><code>mutex</code></em> is already locked by another thread, the
|
993
|
+
current thread will block until <em class="parameter"><code>mutex</code></em> is unlocked by the other
|
994
|
+
thread. If <em class="parameter"><code>mutex</code></em> is already locked by the calling thread, this
|
995
|
+
functions increases the depth of <em class="parameter"><code>mutex</code></em> and returns immediately.
|
996
|
+
</p>
|
997
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
998
|
+
<colgroup>
|
999
|
+
<col align="left" valign="top">
|
1000
|
+
<col>
|
1001
|
+
</colgroup>
|
1002
|
+
<tbody><tr>
|
1003
|
+
<td><p><span class="term"><em class="parameter"><code>mutex</code></em> :</span></p></td>
|
1004
|
+
<td>a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> to lock.</td>
|
1005
|
+
</tr></tbody>
|
1006
|
+
</table></div>
|
1007
|
+
</div>
|
1008
|
+
<hr>
|
1009
|
+
<div class="refsect2">
|
1010
|
+
<a name="g-static-rec-mutex-trylock"></a><h3>g_static_rec_mutex_trylock ()</h3>
|
1011
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_static_rec_mutex_trylock (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> *mutex</code></em>);</pre>
|
1012
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1013
|
+
<h3 class="title">Warning</h3>
|
1014
|
+
<p><code class="literal">g_static_rec_mutex_trylock</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a class="link" href="glib-Threads.html#g-rec-mutex-trylock" title="g_rec_mutex_trylock ()"><code class="function">g_rec_mutex_trylock()</code></a></p>
|
1015
|
+
</div>
|
1016
|
+
<p>
|
1017
|
+
Tries to lock <em class="parameter"><code>mutex</code></em>. If <em class="parameter"><code>mutex</code></em> is already locked by another thread,
|
1018
|
+
it immediately returns <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>. Otherwise it locks <em class="parameter"><code>mutex</code></em> and returns
|
1019
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>. If <em class="parameter"><code>mutex</code></em> is already locked by the calling thread, this
|
1020
|
+
functions increases the depth of <em class="parameter"><code>mutex</code></em> and immediately returns
|
1021
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>.
|
1022
|
+
</p>
|
1023
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1024
|
+
<colgroup>
|
1025
|
+
<col align="left" valign="top">
|
1026
|
+
<col>
|
1027
|
+
</colgroup>
|
1028
|
+
<tbody>
|
1029
|
+
<tr>
|
1030
|
+
<td><p><span class="term"><em class="parameter"><code>mutex</code></em> :</span></p></td>
|
1031
|
+
<td>a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> to lock.</td>
|
1032
|
+
</tr>
|
1033
|
+
<tr>
|
1034
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1035
|
+
<td>
|
1036
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>, if <em class="parameter"><code>mutex</code></em> could be locked.</td>
|
1037
|
+
</tr>
|
1038
|
+
</tbody>
|
1039
|
+
</table></div>
|
1040
|
+
</div>
|
1041
|
+
<hr>
|
1042
|
+
<div class="refsect2">
|
1043
|
+
<a name="g-static-rec-mutex-unlock"></a><h3>g_static_rec_mutex_unlock ()</h3>
|
1044
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_static_rec_mutex_unlock (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> *mutex</code></em>);</pre>
|
1045
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1046
|
+
<h3 class="title">Warning</h3>
|
1047
|
+
<p><code class="literal">g_static_rec_mutex_unlock</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a class="link" href="glib-Threads.html#g-rec-mutex-unlock" title="g_rec_mutex_unlock ()"><code class="function">g_rec_mutex_unlock()</code></a></p>
|
1048
|
+
</div>
|
1049
|
+
<p>
|
1050
|
+
Unlocks <em class="parameter"><code>mutex</code></em>. Another thread will be allowed to lock <em class="parameter"><code>mutex</code></em> only
|
1051
|
+
when it has been unlocked as many times as it had been locked
|
1052
|
+
before. If <em class="parameter"><code>mutex</code></em> is completely unlocked and another thread is
|
1053
|
+
blocked in a <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rec-mutex-lock" title="g_static_rec_mutex_lock ()"><code class="function">g_static_rec_mutex_lock()</code></a> call for <em class="parameter"><code>mutex</code></em>, it will be
|
1054
|
+
woken and can lock <em class="parameter"><code>mutex</code></em> itself.
|
1055
|
+
</p>
|
1056
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1057
|
+
<colgroup>
|
1058
|
+
<col align="left" valign="top">
|
1059
|
+
<col>
|
1060
|
+
</colgroup>
|
1061
|
+
<tbody><tr>
|
1062
|
+
<td><p><span class="term"><em class="parameter"><code>mutex</code></em> :</span></p></td>
|
1063
|
+
<td>a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> to unlock.</td>
|
1064
|
+
</tr></tbody>
|
1065
|
+
</table></div>
|
1066
|
+
</div>
|
1067
|
+
<hr>
|
1068
|
+
<div class="refsect2">
|
1069
|
+
<a name="g-static-rec-mutex-lock-full"></a><h3>g_static_rec_mutex_lock_full ()</h3>
|
1070
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_static_rec_mutex_lock_full (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> *mutex</code></em>,
|
1071
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> depth</code></em>);</pre>
|
1072
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1073
|
+
<h3 class="title">Warning</h3>
|
1074
|
+
<p><code class="literal">g_static_rec_mutex_lock_full</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a class="link" href="glib-Threads.html#g-rec-mutex-lock" title="g_rec_mutex_lock ()"><code class="function">g_rec_mutex_lock()</code></a></p>
|
1075
|
+
</div>
|
1076
|
+
<p>
|
1077
|
+
Works like calling <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rec-mutex-lock" title="g_static_rec_mutex_lock ()"><code class="function">g_static_rec_mutex_lock()</code></a> for <em class="parameter"><code>mutex</code></em> <em class="parameter"><code>depth</code></em> times.
|
1078
|
+
</p>
|
1079
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1080
|
+
<colgroup>
|
1081
|
+
<col align="left" valign="top">
|
1082
|
+
<col>
|
1083
|
+
</colgroup>
|
1084
|
+
<tbody>
|
1085
|
+
<tr>
|
1086
|
+
<td><p><span class="term"><em class="parameter"><code>mutex</code></em> :</span></p></td>
|
1087
|
+
<td>a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> to lock.</td>
|
1088
|
+
</tr>
|
1089
|
+
<tr>
|
1090
|
+
<td><p><span class="term"><em class="parameter"><code>depth</code></em> :</span></p></td>
|
1091
|
+
<td>number of times this mutex has to be unlocked to be
|
1092
|
+
completely unlocked.</td>
|
1093
|
+
</tr>
|
1094
|
+
</tbody>
|
1095
|
+
</table></div>
|
1096
|
+
</div>
|
1097
|
+
<hr>
|
1098
|
+
<div class="refsect2">
|
1099
|
+
<a name="g-static-rec-mutex-unlock-full"></a><h3>g_static_rec_mutex_unlock_full ()</h3>
|
1100
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_static_rec_mutex_unlock_full (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> *mutex</code></em>);</pre>
|
1101
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1102
|
+
<h3 class="title">Warning</h3>
|
1103
|
+
<p><code class="literal">g_static_rec_mutex_unlock_full</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a class="link" href="glib-Threads.html#g-rec-mutex-unlock" title="g_rec_mutex_unlock ()"><code class="function">g_rec_mutex_unlock()</code></a></p>
|
1104
|
+
</div>
|
1105
|
+
<p>
|
1106
|
+
Completely unlocks <em class="parameter"><code>mutex</code></em>. If another thread is blocked in a
|
1107
|
+
<a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rec-mutex-lock" title="g_static_rec_mutex_lock ()"><code class="function">g_static_rec_mutex_lock()</code></a> call for <em class="parameter"><code>mutex</code></em>, it will be woken and can
|
1108
|
+
lock <em class="parameter"><code>mutex</code></em> itself. This function returns the number of times that
|
1109
|
+
<em class="parameter"><code>mutex</code></em> has been locked by the current thread. To restore the state
|
1110
|
+
before the call to <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rec-mutex-unlock-full" title="g_static_rec_mutex_unlock_full ()"><code class="function">g_static_rec_mutex_unlock_full()</code></a> you can call
|
1111
|
+
<a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rec-mutex-lock-full" title="g_static_rec_mutex_lock_full ()"><code class="function">g_static_rec_mutex_lock_full()</code></a> with the depth returned by this
|
1112
|
+
function.
|
1113
|
+
</p>
|
1114
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1115
|
+
<colgroup>
|
1116
|
+
<col align="left" valign="top">
|
1117
|
+
<col>
|
1118
|
+
</colgroup>
|
1119
|
+
<tbody>
|
1120
|
+
<tr>
|
1121
|
+
<td><p><span class="term"><em class="parameter"><code>mutex</code></em> :</span></p></td>
|
1122
|
+
<td>a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> to completely unlock.</td>
|
1123
|
+
</tr>
|
1124
|
+
<tr>
|
1125
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1126
|
+
<td>number of times <em class="parameter"><code>mutex</code></em> has been locked by the current
|
1127
|
+
thread.</td>
|
1128
|
+
</tr>
|
1129
|
+
</tbody>
|
1130
|
+
</table></div>
|
1131
|
+
</div>
|
1132
|
+
<hr>
|
1133
|
+
<div class="refsect2">
|
1134
|
+
<a name="g-static-rec-mutex-free"></a><h3>g_static_rec_mutex_free ()</h3>
|
1135
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_static_rec_mutex_free (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> *mutex</code></em>);</pre>
|
1136
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1137
|
+
<h3 class="title">Warning</h3>
|
1138
|
+
<p><code class="literal">g_static_rec_mutex_free</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a class="link" href="glib-Threads.html#g-rec-mutex-clear" title="g_rec_mutex_clear ()"><code class="function">g_rec_mutex_clear()</code></a></p>
|
1139
|
+
</div>
|
1140
|
+
<p>
|
1141
|
+
Releases all resources allocated to a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a>.
|
1142
|
+
</p>
|
1143
|
+
<p>
|
1144
|
+
You don't have to call this functions for a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> with an
|
1145
|
+
unbounded lifetime, i.e. objects declared 'static', but if you have
|
1146
|
+
a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> as a member of a structure and the structure is
|
1147
|
+
freed, you should also free the <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a>.
|
1148
|
+
</p>
|
1149
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1150
|
+
<colgroup>
|
1151
|
+
<col align="left" valign="top">
|
1152
|
+
<col>
|
1153
|
+
</colgroup>
|
1154
|
+
<tbody><tr>
|
1155
|
+
<td><p><span class="term"><em class="parameter"><code>mutex</code></em> :</span></p></td>
|
1156
|
+
<td>a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRecMutex" title="struct GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> to be freed.</td>
|
1157
|
+
</tr></tbody>
|
1158
|
+
</table></div>
|
1159
|
+
</div>
|
1160
|
+
<hr>
|
1161
|
+
<div class="refsect2">
|
1162
|
+
<a name="GStaticRWLock"></a><h3>struct GStaticRWLock</h3>
|
1163
|
+
<pre class="programlisting">struct GStaticRWLock {
|
1164
|
+
};
|
1165
|
+
</pre>
|
1166
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1167
|
+
<h3 class="title">Warning</h3>
|
1168
|
+
<p><code class="literal">GStaticRWLock</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use a <a class="link" href="glib-Threads.html#GRWLock" title="struct GRWLock"><span class="type">GRWLock</span></a> instead</p>
|
1169
|
+
</div>
|
1170
|
+
<p>
|
1171
|
+
The <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> struct represents a read-write lock. A read-write
|
1172
|
+
lock can be used for protecting data that some portions of code only
|
1173
|
+
read from, while others also write. In such situations it is
|
1174
|
+
desirable that several readers can read at once, whereas of course
|
1175
|
+
only one writer may write at a time. Take a look at the following
|
1176
|
+
example:
|
1177
|
+
</p>
|
1178
|
+
<p>
|
1179
|
+
</p>
|
1180
|
+
<div class="example">
|
1181
|
+
<a name="idp60113168"></a><p class="title"><b>Example 21. An array with access functions</b></p>
|
1182
|
+
<div class="example-contents">
|
1183
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1184
|
+
<tbody>
|
1185
|
+
<tr>
|
1186
|
+
<td class="listing_lines" align="right"><pre>1
|
1187
|
+
2
|
1188
|
+
3
|
1189
|
+
4
|
1190
|
+
5
|
1191
|
+
6
|
1192
|
+
7
|
1193
|
+
8
|
1194
|
+
9
|
1195
|
+
10
|
1196
|
+
11
|
1197
|
+
12
|
1198
|
+
13
|
1199
|
+
14
|
1200
|
+
15
|
1201
|
+
16
|
1202
|
+
17
|
1203
|
+
18
|
1204
|
+
19
|
1205
|
+
20
|
1206
|
+
21
|
1207
|
+
22
|
1208
|
+
23
|
1209
|
+
24
|
1210
|
+
25
|
1211
|
+
26
|
1212
|
+
27
|
1213
|
+
28
|
1214
|
+
29
|
1215
|
+
30
|
1216
|
+
31
|
1217
|
+
32
|
1218
|
+
33</pre></td>
|
1219
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">GStaticRWLock</span><span class="normal"> rwlock </span><span class="symbol">=</span><span class="normal"> <a href="glib-Deprecated-Thread-APIs.html#G-STATIC-RW-LOCK-INIT:CAPS">G_STATIC_RW_LOCK_INIT</a></span><span class="symbol">;</span>
|
1220
|
+
<span class="usertype">GPtrArray</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">array</span><span class="symbol">;</span>
|
1221
|
+
|
1222
|
+
<span class="normal"><a href="glib-Basic-Types.html#gpointer">gpointer</a></span>
|
1223
|
+
<span class="function">my_array_get</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">guint</span><span class="normal"> index</span><span class="symbol">)</span>
|
1224
|
+
<span class="cbracket">{</span>
|
1225
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> retval </span><span class="symbol">=</span><span class="normal"> <a href="glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
1226
|
+
|
1227
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="normal">array</span><span class="symbol">)</span>
|
1228
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
1229
|
+
|
1230
|
+
<span class="normal"> </span><span class="function"><a href="glib-Deprecated-Thread-APIs.html#g-static-rw-lock-reader-lock">g_static_rw_lock_reader_lock</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">rwlock</span><span class="symbol">);</span>
|
1231
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">index </span><span class="symbol"><</span><span class="normal"> array</span><span class="symbol">-></span><span class="normal">len</span><span class="symbol">)</span>
|
1232
|
+
<span class="normal"> retval </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-Pointer-Arrays.html#g-ptr-array-index">g_ptr_array_index</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">array</span><span class="symbol">,</span><span class="normal"> index</span><span class="symbol">);</span>
|
1233
|
+
<span class="normal"> </span><span class="function"><a href="glib-Deprecated-Thread-APIs.html#g-static-rw-lock-reader-unlock">g_static_rw_lock_reader_unlock</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">rwlock</span><span class="symbol">);</span>
|
1234
|
+
|
1235
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> retval</span><span class="symbol">;</span>
|
1236
|
+
<span class="cbracket">}</span>
|
1237
|
+
|
1238
|
+
<span class="type">void</span>
|
1239
|
+
<span class="function">my_array_set</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">guint</span><span class="normal"> index</span><span class="symbol">,</span><span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
|
1240
|
+
<span class="cbracket">{</span>
|
1241
|
+
<span class="normal"> </span><span class="function"><a href="glib-Deprecated-Thread-APIs.html#g-static-rw-lock-writer-lock">g_static_rw_lock_writer_lock</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">rwlock</span><span class="symbol">);</span>
|
1242
|
+
|
1243
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="normal">array</span><span class="symbol">)</span>
|
1244
|
+
<span class="normal"> array </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-Pointer-Arrays.html#g-ptr-array-new">g_ptr_array_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
1245
|
+
|
1246
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">index </span><span class="symbol">>=</span><span class="normal"> array</span><span class="symbol">-></span><span class="normal">len</span><span class="symbol">)</span>
|
1247
|
+
<span class="normal"> </span><span class="function"><a href="glib-Pointer-Arrays.html#g-ptr-array-set-size">g_ptr_array_set_size</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">array</span><span class="symbol">,</span><span class="normal"> index</span><span class="symbol">+</span><span class="number">1</span><span class="symbol">);</span>
|
1248
|
+
<span class="normal"> </span><span class="function"><a href="glib-Pointer-Arrays.html#g-ptr-array-index">g_ptr_array_index</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">array</span><span class="symbol">,</span><span class="normal"> index</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">=</span><span class="normal"> data</span><span class="symbol">;</span>
|
1249
|
+
|
1250
|
+
<span class="normal"> </span><span class="function"><a href="glib-Deprecated-Thread-APIs.html#g-static-rw-lock-writer-unlock">g_static_rw_lock_writer_unlock</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">rwlock</span><span class="symbol">);</span>
|
1251
|
+
<span class="cbracket">}</span></pre></td>
|
1252
|
+
</tr>
|
1253
|
+
</tbody>
|
1254
|
+
</table>
|
1255
|
+
</div>
|
1256
|
+
|
1257
|
+
</div>
|
1258
|
+
<p><br class="example-break">
|
1259
|
+
</p>
|
1260
|
+
<p>
|
1261
|
+
This example shows an array which can be accessed by many readers
|
1262
|
+
(the <code class="function"><code class="function">my_array_get()</code></code> function) simultaneously,
|
1263
|
+
whereas the writers (the <code class="function"><code class="function">my_array_set()</code></code>
|
1264
|
+
function) will only be allowed once at a time and only if no readers
|
1265
|
+
currently access the array. This is because of the potentially
|
1266
|
+
dangerous resizing of the array. Using these functions is fully
|
1267
|
+
multi-thread safe now.
|
1268
|
+
</p>
|
1269
|
+
<p>
|
1270
|
+
Most of the time, writers should have precedence over readers. That
|
1271
|
+
means, for this implementation, that as soon as a writer wants to
|
1272
|
+
lock the data, no other reader is allowed to lock the data, whereas,
|
1273
|
+
of course, the readers that already have locked the data are allowed
|
1274
|
+
to finish their operation. As soon as the last reader unlocks the
|
1275
|
+
data, the writer will lock it.
|
1276
|
+
</p>
|
1277
|
+
<p>
|
1278
|
+
Even though <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> is not opaque, it should only be used
|
1279
|
+
with the following functions.
|
1280
|
+
</p>
|
1281
|
+
<p>
|
1282
|
+
All of the <code class="function">g_static_rw_lock_*</code> functions can be
|
1283
|
+
used even if <a class="link" href="glib-Deprecated-Thread-APIs.html#g-thread-init" title="g_thread_init ()"><code class="function">g_thread_init()</code></a> has not been called. Then they do
|
1284
|
+
nothing, apart from <code class="function">g_static_rw_lock_*_trylock</code>,
|
1285
|
+
which does nothing but returning <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>.
|
1286
|
+
</p>
|
1287
|
+
<p>
|
1288
|
+
</p>
|
1289
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1290
|
+
<h3 class="title">Note</h3>
|
1291
|
+
<p>A read-write lock has a higher overhead than a mutex. For
|
1292
|
+
example, both <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rw-lock-reader-lock" title="g_static_rw_lock_reader_lock ()"><code class="function">g_static_rw_lock_reader_lock()</code></a> and
|
1293
|
+
<a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rw-lock-reader-unlock" title="g_static_rw_lock_reader_unlock ()"><code class="function">g_static_rw_lock_reader_unlock()</code></a> have to lock and unlock a
|
1294
|
+
<a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a>, so it takes at least twice the time to lock and unlock
|
1295
|
+
a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> that it does to lock and unlock a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a>. So
|
1296
|
+
only data structures that are accessed by multiple readers, and which
|
1297
|
+
keep the lock for a considerable time justify a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a>. The
|
1298
|
+
above example most probably would fare better with a
|
1299
|
+
<a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a>.</p>
|
1300
|
+
</div>
|
1301
|
+
<p>
|
1302
|
+
</p>
|
1303
|
+
</div>
|
1304
|
+
<hr>
|
1305
|
+
<div class="refsect2">
|
1306
|
+
<a name="G-STATIC-RW-LOCK-INIT:CAPS"></a><h3>G_STATIC_RW_LOCK_INIT</h3>
|
1307
|
+
<pre class="programlisting">#define G_STATIC_RW_LOCK_INIT { G_STATIC_MUTEX_INIT, NULL, NULL, 0, FALSE, 0, 0 }
|
1308
|
+
</pre>
|
1309
|
+
<p>
|
1310
|
+
A <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> must be initialized with this macro before it can
|
1311
|
+
be used. This macro can used be to initialize a variable, but it
|
1312
|
+
cannot be assigned to a variable. In that case you have to use
|
1313
|
+
<a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rw-lock-init" title="g_static_rw_lock_init ()"><code class="function">g_static_rw_lock_init()</code></a>.
|
1314
|
+
</p>
|
1315
|
+
<p>
|
1316
|
+
</p>
|
1317
|
+
<div class="informalexample">
|
1318
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1319
|
+
<tbody>
|
1320
|
+
<tr>
|
1321
|
+
<td class="listing_lines" align="right"><pre>1</pre></td>
|
1322
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">GStaticRWLock</span><span class="normal"> my_lock </span><span class="symbol">=</span><span class="normal"> <a href="glib-Deprecated-Thread-APIs.html#G-STATIC-RW-LOCK-INIT:CAPS">G_STATIC_RW_LOCK_INIT</a></span><span class="symbol">;</span></pre></td>
|
1323
|
+
</tr>
|
1324
|
+
</tbody>
|
1325
|
+
</table>
|
1326
|
+
</div>
|
1327
|
+
|
1328
|
+
<p>
|
1329
|
+
</p>
|
1330
|
+
</div>
|
1331
|
+
<hr>
|
1332
|
+
<div class="refsect2">
|
1333
|
+
<a name="g-static-rw-lock-init"></a><h3>g_static_rw_lock_init ()</h3>
|
1334
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_static_rw_lock_init (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> *lock</code></em>);</pre>
|
1335
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1336
|
+
<h3 class="title">Warning</h3>
|
1337
|
+
<p><code class="literal">g_static_rw_lock_init</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a class="link" href="glib-Threads.html#g-rw-lock-init" title="g_rw_lock_init ()"><code class="function">g_rw_lock_init()</code></a> instead</p>
|
1338
|
+
</div>
|
1339
|
+
<p>
|
1340
|
+
A <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> must be initialized with this function before it
|
1341
|
+
can be used. Alternatively you can initialize it with
|
1342
|
+
<a class="link" href="glib-Deprecated-Thread-APIs.html#G-STATIC-RW-LOCK-INIT:CAPS" title="G_STATIC_RW_LOCK_INIT"><span class="type">G_STATIC_RW_LOCK_INIT</span></a>.
|
1343
|
+
</p>
|
1344
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1345
|
+
<colgroup>
|
1346
|
+
<col align="left" valign="top">
|
1347
|
+
<col>
|
1348
|
+
</colgroup>
|
1349
|
+
<tbody><tr>
|
1350
|
+
<td><p><span class="term"><em class="parameter"><code>lock</code></em> :</span></p></td>
|
1351
|
+
<td>a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> to be initialized.</td>
|
1352
|
+
</tr></tbody>
|
1353
|
+
</table></div>
|
1354
|
+
</div>
|
1355
|
+
<hr>
|
1356
|
+
<div class="refsect2">
|
1357
|
+
<a name="g-static-rw-lock-reader-lock"></a><h3>g_static_rw_lock_reader_lock ()</h3>
|
1358
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_static_rw_lock_reader_lock (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> *lock</code></em>);</pre>
|
1359
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1360
|
+
<h3 class="title">Warning</h3>
|
1361
|
+
<p><code class="literal">g_static_rw_lock_reader_lock</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a class="link" href="glib-Threads.html#g-rw-lock-reader-lock" title="g_rw_lock_reader_lock ()"><code class="function">g_rw_lock_reader_lock()</code></a> instead</p>
|
1362
|
+
</div>
|
1363
|
+
<p>
|
1364
|
+
Locks <em class="parameter"><code>lock</code></em> for reading. There may be unlimited concurrent locks for
|
1365
|
+
reading of a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> at the same time. If <em class="parameter"><code>lock</code></em> is already
|
1366
|
+
locked for writing by another thread or if another thread is already
|
1367
|
+
waiting to lock <em class="parameter"><code>lock</code></em> for writing, this function will block until
|
1368
|
+
<em class="parameter"><code>lock</code></em> is unlocked by the other writing thread and no other writing
|
1369
|
+
threads want to lock <em class="parameter"><code>lock</code></em>. This lock has to be unlocked by
|
1370
|
+
<a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rw-lock-reader-unlock" title="g_static_rw_lock_reader_unlock ()"><code class="function">g_static_rw_lock_reader_unlock()</code></a>.
|
1371
|
+
</p>
|
1372
|
+
<p>
|
1373
|
+
<a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> is not recursive. It might seem to be possible to
|
1374
|
+
recursively lock for reading, but that can result in a deadlock, due
|
1375
|
+
to writer preference.
|
1376
|
+
</p>
|
1377
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1378
|
+
<colgroup>
|
1379
|
+
<col align="left" valign="top">
|
1380
|
+
<col>
|
1381
|
+
</colgroup>
|
1382
|
+
<tbody><tr>
|
1383
|
+
<td><p><span class="term"><em class="parameter"><code>lock</code></em> :</span></p></td>
|
1384
|
+
<td>a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> to lock for reading.</td>
|
1385
|
+
</tr></tbody>
|
1386
|
+
</table></div>
|
1387
|
+
</div>
|
1388
|
+
<hr>
|
1389
|
+
<div class="refsect2">
|
1390
|
+
<a name="g-static-rw-lock-reader-trylock"></a><h3>g_static_rw_lock_reader_trylock ()</h3>
|
1391
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_static_rw_lock_reader_trylock (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> *lock</code></em>);</pre>
|
1392
|
+
<p>
|
1393
|
+
Tries to lock <em class="parameter"><code>lock</code></em> for reading. If <em class="parameter"><code>lock</code></em> is already locked for
|
1394
|
+
writing by another thread or if another thread is already waiting to
|
1395
|
+
lock <em class="parameter"><code>lock</code></em> for writing, immediately returns <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>. Otherwise locks
|
1396
|
+
<em class="parameter"><code>lock</code></em> for reading and returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>. This lock has to be unlocked by
|
1397
|
+
<a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rw-lock-reader-unlock" title="g_static_rw_lock_reader_unlock ()"><code class="function">g_static_rw_lock_reader_unlock()</code></a>.
|
1398
|
+
</p>
|
1399
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1400
|
+
<colgroup>
|
1401
|
+
<col align="left" valign="top">
|
1402
|
+
<col>
|
1403
|
+
</colgroup>
|
1404
|
+
<tbody>
|
1405
|
+
<tr>
|
1406
|
+
<td><p><span class="term"><em class="parameter"><code>lock</code></em> :</span></p></td>
|
1407
|
+
<td>a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> to lock for reading.</td>
|
1408
|
+
</tr>
|
1409
|
+
<tr>
|
1410
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1411
|
+
<td>
|
1412
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>, if <em class="parameter"><code>lock</code></em> could be locked for reading.
|
1413
|
+
Deprectated: 2.32: Use <a class="link" href="glib-Threads.html#g-rw-lock-reader-trylock" title="g_rw_lock_reader_trylock ()"><code class="function">g_rw_lock_reader_trylock()</code></a> instead</td>
|
1414
|
+
</tr>
|
1415
|
+
</tbody>
|
1416
|
+
</table></div>
|
1417
|
+
</div>
|
1418
|
+
<hr>
|
1419
|
+
<div class="refsect2">
|
1420
|
+
<a name="g-static-rw-lock-reader-unlock"></a><h3>g_static_rw_lock_reader_unlock ()</h3>
|
1421
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_static_rw_lock_reader_unlock (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> *lock</code></em>);</pre>
|
1422
|
+
<p>
|
1423
|
+
Unlocks <em class="parameter"><code>lock</code></em>. If a thread waits to lock <em class="parameter"><code>lock</code></em> for writing and all
|
1424
|
+
locks for reading have been unlocked, the waiting thread is woken up
|
1425
|
+
and can lock <em class="parameter"><code>lock</code></em> for writing.
|
1426
|
+
</p>
|
1427
|
+
<p>
|
1428
|
+
Deprectated: 2.32: Use <a class="link" href="glib-Threads.html#g-rw-lock-reader-unlock" title="g_rw_lock_reader_unlock ()"><code class="function">g_rw_lock_reader_unlock()</code></a> instead
|
1429
|
+
</p>
|
1430
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1431
|
+
<colgroup>
|
1432
|
+
<col align="left" valign="top">
|
1433
|
+
<col>
|
1434
|
+
</colgroup>
|
1435
|
+
<tbody><tr>
|
1436
|
+
<td><p><span class="term"><em class="parameter"><code>lock</code></em> :</span></p></td>
|
1437
|
+
<td>a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> to unlock after reading.</td>
|
1438
|
+
</tr></tbody>
|
1439
|
+
</table></div>
|
1440
|
+
</div>
|
1441
|
+
<hr>
|
1442
|
+
<div class="refsect2">
|
1443
|
+
<a name="g-static-rw-lock-writer-lock"></a><h3>g_static_rw_lock_writer_lock ()</h3>
|
1444
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_static_rw_lock_writer_lock (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> *lock</code></em>);</pre>
|
1445
|
+
<p>
|
1446
|
+
Locks <em class="parameter"><code>lock</code></em> for writing. If <em class="parameter"><code>lock</code></em> is already locked for writing or
|
1447
|
+
reading by other threads, this function will block until <em class="parameter"><code>lock</code></em> is
|
1448
|
+
completely unlocked and then lock <em class="parameter"><code>lock</code></em> for writing. While this
|
1449
|
+
functions waits to lock <em class="parameter"><code>lock</code></em>, no other thread can lock <em class="parameter"><code>lock</code></em> for
|
1450
|
+
reading. When <em class="parameter"><code>lock</code></em> is locked for writing, no other thread can lock
|
1451
|
+
<em class="parameter"><code>lock</code></em> (neither for reading nor writing). This lock has to be
|
1452
|
+
unlocked by <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rw-lock-writer-unlock" title="g_static_rw_lock_writer_unlock ()"><code class="function">g_static_rw_lock_writer_unlock()</code></a>.
|
1453
|
+
</p>
|
1454
|
+
<p>
|
1455
|
+
Deprectated: 2.32: Use <a class="link" href="glib-Threads.html#g-rw-lock-writer-lock" title="g_rw_lock_writer_lock ()"><code class="function">g_rw_lock_writer_lock()</code></a> instead
|
1456
|
+
</p>
|
1457
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1458
|
+
<colgroup>
|
1459
|
+
<col align="left" valign="top">
|
1460
|
+
<col>
|
1461
|
+
</colgroup>
|
1462
|
+
<tbody><tr>
|
1463
|
+
<td><p><span class="term"><em class="parameter"><code>lock</code></em> :</span></p></td>
|
1464
|
+
<td>a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> to lock for writing.</td>
|
1465
|
+
</tr></tbody>
|
1466
|
+
</table></div>
|
1467
|
+
</div>
|
1468
|
+
<hr>
|
1469
|
+
<div class="refsect2">
|
1470
|
+
<a name="g-static-rw-lock-writer-trylock"></a><h3>g_static_rw_lock_writer_trylock ()</h3>
|
1471
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_static_rw_lock_writer_trylock (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> *lock</code></em>);</pre>
|
1472
|
+
<p>
|
1473
|
+
Tries to lock <em class="parameter"><code>lock</code></em> for writing. If <em class="parameter"><code>lock</code></em> is already locked (for
|
1474
|
+
either reading or writing) by another thread, it immediately returns
|
1475
|
+
<a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>. Otherwise it locks <em class="parameter"><code>lock</code></em> for writing and returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>. This
|
1476
|
+
lock has to be unlocked by <a class="link" href="glib-Deprecated-Thread-APIs.html#g-static-rw-lock-writer-unlock" title="g_static_rw_lock_writer_unlock ()"><code class="function">g_static_rw_lock_writer_unlock()</code></a>.
|
1477
|
+
</p>
|
1478
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1479
|
+
<colgroup>
|
1480
|
+
<col align="left" valign="top">
|
1481
|
+
<col>
|
1482
|
+
</colgroup>
|
1483
|
+
<tbody>
|
1484
|
+
<tr>
|
1485
|
+
<td><p><span class="term"><em class="parameter"><code>lock</code></em> :</span></p></td>
|
1486
|
+
<td>a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> to lock for writing.</td>
|
1487
|
+
</tr>
|
1488
|
+
<tr>
|
1489
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1490
|
+
<td>
|
1491
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>, if <em class="parameter"><code>lock</code></em> could be locked for writing.
|
1492
|
+
Deprectated: 2.32: Use <a class="link" href="glib-Threads.html#g-rw-lock-writer-trylock" title="g_rw_lock_writer_trylock ()"><code class="function">g_rw_lock_writer_trylock()</code></a> instead</td>
|
1493
|
+
</tr>
|
1494
|
+
</tbody>
|
1495
|
+
</table></div>
|
1496
|
+
</div>
|
1497
|
+
<hr>
|
1498
|
+
<div class="refsect2">
|
1499
|
+
<a name="g-static-rw-lock-writer-unlock"></a><h3>g_static_rw_lock_writer_unlock ()</h3>
|
1500
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_static_rw_lock_writer_unlock (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> *lock</code></em>);</pre>
|
1501
|
+
<p>
|
1502
|
+
Unlocks <em class="parameter"><code>lock</code></em>. If a thread is waiting to lock <em class="parameter"><code>lock</code></em> for writing and
|
1503
|
+
all locks for reading have been unlocked, the waiting thread is
|
1504
|
+
woken up and can lock <em class="parameter"><code>lock</code></em> for writing. If no thread is waiting to
|
1505
|
+
lock <em class="parameter"><code>lock</code></em> for writing, and some thread or threads are waiting to
|
1506
|
+
lock <em class="parameter"><code>lock</code></em> for reading, the waiting threads are woken up and can
|
1507
|
+
lock <em class="parameter"><code>lock</code></em> for reading.
|
1508
|
+
</p>
|
1509
|
+
<p>
|
1510
|
+
Deprectated: 2.32: Use <a class="link" href="glib-Threads.html#g-rw-lock-writer-unlock" title="g_rw_lock_writer_unlock ()"><code class="function">g_rw_lock_writer_unlock()</code></a> instead
|
1511
|
+
</p>
|
1512
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1513
|
+
<colgroup>
|
1514
|
+
<col align="left" valign="top">
|
1515
|
+
<col>
|
1516
|
+
</colgroup>
|
1517
|
+
<tbody><tr>
|
1518
|
+
<td><p><span class="term"><em class="parameter"><code>lock</code></em> :</span></p></td>
|
1519
|
+
<td>a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> to unlock after writing.</td>
|
1520
|
+
</tr></tbody>
|
1521
|
+
</table></div>
|
1522
|
+
</div>
|
1523
|
+
<hr>
|
1524
|
+
<div class="refsect2">
|
1525
|
+
<a name="g-static-rw-lock-free"></a><h3>g_static_rw_lock_free ()</h3>
|
1526
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_static_rw_lock_free (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> *lock</code></em>);</pre>
|
1527
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1528
|
+
<h3 class="title">Warning</h3>
|
1529
|
+
<p><code class="literal">g_static_rw_lock_free</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use a <a class="link" href="glib-Threads.html#GRWLock" title="struct GRWLock"><span class="type">GRWLock</span></a> instead</p>
|
1530
|
+
</div>
|
1531
|
+
<p>
|
1532
|
+
Releases all resources allocated to <em class="parameter"><code>lock</code></em>.
|
1533
|
+
</p>
|
1534
|
+
<p>
|
1535
|
+
You don't have to call this functions for a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> with an
|
1536
|
+
unbounded lifetime, i.e. objects declared 'static', but if you have
|
1537
|
+
a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> as a member of a structure, and the structure is
|
1538
|
+
freed, you should also free the <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a>.
|
1539
|
+
</p>
|
1540
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1541
|
+
<colgroup>
|
1542
|
+
<col align="left" valign="top">
|
1543
|
+
<col>
|
1544
|
+
</colgroup>
|
1545
|
+
<tbody><tr>
|
1546
|
+
<td><p><span class="term"><em class="parameter"><code>lock</code></em> :</span></p></td>
|
1547
|
+
<td>a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticRWLock" title="struct GStaticRWLock"><span class="type">GStaticRWLock</span></a> to be freed.</td>
|
1548
|
+
</tr></tbody>
|
1549
|
+
</table></div>
|
1550
|
+
</div>
|
1551
|
+
<hr>
|
1552
|
+
<div class="refsect2">
|
1553
|
+
<a name="GStaticPrivate"></a><h3>struct GStaticPrivate</h3>
|
1554
|
+
<pre class="programlisting">struct GStaticPrivate {
|
1555
|
+
};
|
1556
|
+
</pre>
|
1557
|
+
<p>
|
1558
|
+
A <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticPrivate" title="struct GStaticPrivate"><span class="type">GStaticPrivate</span></a> works almost like a <a class="link" href="glib-Threads.html#GPrivate" title="struct GPrivate"><span class="type">GPrivate</span></a>, but it has one
|
1559
|
+
significant advantage. It doesn't need to be created at run-time
|
1560
|
+
like a <a class="link" href="glib-Threads.html#GPrivate" title="struct GPrivate"><span class="type">GPrivate</span></a>, but can be defined at compile-time. This is
|
1561
|
+
similar to the difference between <a class="link" href="glib-Threads.html#GMutex" title="union GMutex"><span class="type">GMutex</span></a> and <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a>. Now
|
1562
|
+
look at our <code class="function"><code class="function">give_me_next_number()</code></code> example with
|
1563
|
+
<a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticPrivate" title="struct GStaticPrivate"><span class="type">GStaticPrivate</span></a>:
|
1564
|
+
</p>
|
1565
|
+
<p>
|
1566
|
+
</p>
|
1567
|
+
<div class="example">
|
1568
|
+
<a name="idp60292144"></a><p class="title"><b>Example 22. Using GStaticPrivate for per-thread data</b></p>
|
1569
|
+
<div class="example-contents">
|
1570
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1571
|
+
<tbody>
|
1572
|
+
<tr>
|
1573
|
+
<td class="listing_lines" align="right"><pre>1
|
1574
|
+
2
|
1575
|
+
3
|
1576
|
+
4
|
1577
|
+
5
|
1578
|
+
6
|
1579
|
+
7
|
1580
|
+
8
|
1581
|
+
9
|
1582
|
+
10
|
1583
|
+
11
|
1584
|
+
12
|
1585
|
+
13
|
1586
|
+
14
|
1587
|
+
15
|
1588
|
+
16
|
1589
|
+
17</pre></td>
|
1590
|
+
<td class="listing_code"><pre class="programlisting"><span class="type">int</span>
|
1591
|
+
<span class="function">give_me_next_number</span><span class="normal"> </span><span class="symbol">()</span>
|
1592
|
+
<span class="cbracket">{</span>
|
1593
|
+
<span class="normal"> </span><span class="keyword">static</span><span class="normal"> </span><span class="usertype">GStaticPrivate</span><span class="normal"> current_number_key </span><span class="symbol">=</span><span class="normal"> <a href="glib-Deprecated-Thread-APIs.html#G-STATIC-PRIVATE-INIT:CAPS">G_STATIC_PRIVATE_INIT</a></span><span class="symbol">;</span>
|
1594
|
+
<span class="normal"> </span><span class="type">int</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">current_number </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-Deprecated-Thread-APIs.html#g-static-private-get">g_static_private_get</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">current_number_key</span><span class="symbol">);</span>
|
1595
|
+
|
1596
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="normal">current_number</span><span class="symbol">)</span>
|
1597
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
1598
|
+
<span class="normal"> current_number </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-Memory-Allocation.html#g-new">g_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="type">int</span><span class="symbol">,</span><span class="number">1</span><span class="symbol">);</span>
|
1599
|
+
<span class="normal"> </span><span class="symbol">*</span><span class="normal">current_number </span><span class="symbol">=</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
1600
|
+
<span class="normal"> </span><span class="function"><a href="glib-Deprecated-Thread-APIs.html#g-static-private-set">g_static_private_set</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">current_number_key</span><span class="symbol">,</span><span class="normal"> current_number</span><span class="symbol">,</span><span class="normal"> <a href="glib-Memory-Allocation.html#g-free">g_free</a></span><span class="symbol">);</span>
|
1601
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
1602
|
+
|
1603
|
+
<span class="normal"> </span><span class="symbol">*</span><span class="normal">current_number </span><span class="symbol">=</span><span class="normal"> </span><span class="function">calc_next_number</span><span class="normal"> </span><span class="symbol">(*</span><span class="normal">current_number</span><span class="symbol">);</span>
|
1604
|
+
|
1605
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">current_number</span><span class="symbol">;</span>
|
1606
|
+
<span class="cbracket">}</span></pre></td>
|
1607
|
+
</tr>
|
1608
|
+
</tbody>
|
1609
|
+
</table>
|
1610
|
+
</div>
|
1611
|
+
|
1612
|
+
</div>
|
1613
|
+
<p><br class="example-break">
|
1614
|
+
</p>
|
1615
|
+
</div>
|
1616
|
+
<hr>
|
1617
|
+
<div class="refsect2">
|
1618
|
+
<a name="G-STATIC-PRIVATE-INIT:CAPS"></a><h3>G_STATIC_PRIVATE_INIT</h3>
|
1619
|
+
<pre class="programlisting">#define G_STATIC_PRIVATE_INIT
|
1620
|
+
</pre>
|
1621
|
+
<p>
|
1622
|
+
Every <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticPrivate" title="struct GStaticPrivate"><span class="type">GStaticPrivate</span></a> must be initialized with this macro, before it
|
1623
|
+
can be used.
|
1624
|
+
</p>
|
1625
|
+
<p>
|
1626
|
+
</p>
|
1627
|
+
<div class="informalexample">
|
1628
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1629
|
+
<tbody>
|
1630
|
+
<tr>
|
1631
|
+
<td class="listing_lines" align="right"><pre>1</pre></td>
|
1632
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">GStaticPrivate</span><span class="normal"> my_private </span><span class="symbol">=</span><span class="normal"> <a href="glib-Deprecated-Thread-APIs.html#G-STATIC-PRIVATE-INIT:CAPS">G_STATIC_PRIVATE_INIT</a></span><span class="symbol">;</span></pre></td>
|
1633
|
+
</tr>
|
1634
|
+
</tbody>
|
1635
|
+
</table>
|
1636
|
+
</div>
|
1637
|
+
|
1638
|
+
<p>
|
1639
|
+
</p>
|
1640
|
+
</div>
|
1641
|
+
<hr>
|
1642
|
+
<div class="refsect2">
|
1643
|
+
<a name="g-static-private-init"></a><h3>g_static_private_init ()</h3>
|
1644
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_static_private_init (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticPrivate" title="struct GStaticPrivate"><span class="type">GStaticPrivate</span></a> *private_key</code></em>);</pre>
|
1645
|
+
<p>
|
1646
|
+
Initializes <em class="parameter"><code>private_key</code></em>. Alternatively you can initialize it with
|
1647
|
+
<a class="link" href="glib-Deprecated-Thread-APIs.html#G-STATIC-PRIVATE-INIT:CAPS" title="G_STATIC_PRIVATE_INIT"><span class="type">G_STATIC_PRIVATE_INIT</span></a>.
|
1648
|
+
</p>
|
1649
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1650
|
+
<colgroup>
|
1651
|
+
<col align="left" valign="top">
|
1652
|
+
<col>
|
1653
|
+
</colgroup>
|
1654
|
+
<tbody><tr>
|
1655
|
+
<td><p><span class="term"><em class="parameter"><code>private_key</code></em> :</span></p></td>
|
1656
|
+
<td>a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticPrivate" title="struct GStaticPrivate"><span class="type">GStaticPrivate</span></a> to be initialized</td>
|
1657
|
+
</tr></tbody>
|
1658
|
+
</table></div>
|
1659
|
+
</div>
|
1660
|
+
<hr>
|
1661
|
+
<div class="refsect2">
|
1662
|
+
<a name="g-static-private-get"></a><h3>g_static_private_get ()</h3>
|
1663
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_static_private_get (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticPrivate" title="struct GStaticPrivate"><span class="type">GStaticPrivate</span></a> *private_key</code></em>);</pre>
|
1664
|
+
<p>
|
1665
|
+
Works like <a class="link" href="glib-Threads.html#g-private-get" title="g_private_get ()"><code class="function">g_private_get()</code></a> only for a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticPrivate" title="struct GStaticPrivate"><span class="type">GStaticPrivate</span></a>.
|
1666
|
+
</p>
|
1667
|
+
<p>
|
1668
|
+
This function works even if <a class="link" href="glib-Deprecated-Thread-APIs.html#g-thread-init" title="g_thread_init ()"><code class="function">g_thread_init()</code></a> has not yet been called.
|
1669
|
+
</p>
|
1670
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1671
|
+
<colgroup>
|
1672
|
+
<col align="left" valign="top">
|
1673
|
+
<col>
|
1674
|
+
</colgroup>
|
1675
|
+
<tbody>
|
1676
|
+
<tr>
|
1677
|
+
<td><p><span class="term"><em class="parameter"><code>private_key</code></em> :</span></p></td>
|
1678
|
+
<td>a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticPrivate" title="struct GStaticPrivate"><span class="type">GStaticPrivate</span></a>
|
1679
|
+
</td>
|
1680
|
+
</tr>
|
1681
|
+
<tr>
|
1682
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1683
|
+
<td>the corresponding pointer</td>
|
1684
|
+
</tr>
|
1685
|
+
</tbody>
|
1686
|
+
</table></div>
|
1687
|
+
</div>
|
1688
|
+
<hr>
|
1689
|
+
<div class="refsect2">
|
1690
|
+
<a name="g-static-private-set"></a><h3>g_static_private_set ()</h3>
|
1691
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_static_private_set (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticPrivate" title="struct GStaticPrivate"><span class="type">GStaticPrivate</span></a> *private_key</code></em>,
|
1692
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
1693
|
+
<em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre>
|
1694
|
+
<p>
|
1695
|
+
Sets the pointer keyed to <em class="parameter"><code>private_key</code></em> for the current thread and
|
1696
|
+
the function <em class="parameter"><code>notify</code></em> to be called with that pointer (<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> or
|
1697
|
+
non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>), whenever the pointer is set again or whenever the
|
1698
|
+
current thread ends.
|
1699
|
+
</p>
|
1700
|
+
<p>
|
1701
|
+
This function works even if <a class="link" href="glib-Deprecated-Thread-APIs.html#g-thread-init" title="g_thread_init ()"><code class="function">g_thread_init()</code></a> has not yet been called.
|
1702
|
+
If <a class="link" href="glib-Deprecated-Thread-APIs.html#g-thread-init" title="g_thread_init ()"><code class="function">g_thread_init()</code></a> is called later, the <em class="parameter"><code>data</code></em> keyed to <em class="parameter"><code>private_key</code></em>
|
1703
|
+
will be inherited only by the main thread, i.e. the one that called
|
1704
|
+
<a class="link" href="glib-Deprecated-Thread-APIs.html#g-thread-init" title="g_thread_init ()"><code class="function">g_thread_init()</code></a>.
|
1705
|
+
</p>
|
1706
|
+
<p>
|
1707
|
+
</p>
|
1708
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1709
|
+
<h3 class="title">Note</h3>
|
1710
|
+
<p><em class="parameter"><code>notify</code></em> is used quite differently from <em class="parameter"><code>destructor</code></em> in
|
1711
|
+
<a class="link" href="glib-Deprecated-Thread-APIs.html#g-private-new" title="g_private_new ()"><code class="function">g_private_new()</code></a>.</p>
|
1712
|
+
</div>
|
1713
|
+
<p>
|
1714
|
+
</p>
|
1715
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1716
|
+
<colgroup>
|
1717
|
+
<col align="left" valign="top">
|
1718
|
+
<col>
|
1719
|
+
</colgroup>
|
1720
|
+
<tbody>
|
1721
|
+
<tr>
|
1722
|
+
<td><p><span class="term"><em class="parameter"><code>private_key</code></em> :</span></p></td>
|
1723
|
+
<td>a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticPrivate" title="struct GStaticPrivate"><span class="type">GStaticPrivate</span></a>
|
1724
|
+
</td>
|
1725
|
+
</tr>
|
1726
|
+
<tr>
|
1727
|
+
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1728
|
+
<td>the new pointer</td>
|
1729
|
+
</tr>
|
1730
|
+
<tr>
|
1731
|
+
<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td>
|
1732
|
+
<td>a function to be called with the pointer whenever the
|
1733
|
+
current thread ends or sets this pointer again</td>
|
1734
|
+
</tr>
|
1735
|
+
</tbody>
|
1736
|
+
</table></div>
|
1737
|
+
</div>
|
1738
|
+
<hr>
|
1739
|
+
<div class="refsect2">
|
1740
|
+
<a name="g-static-private-free"></a><h3>g_static_private_free ()</h3>
|
1741
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_static_private_free (<em class="parameter"><code><a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticPrivate" title="struct GStaticPrivate"><span class="type">GStaticPrivate</span></a> *private_key</code></em>);</pre>
|
1742
|
+
<p>
|
1743
|
+
Releases all resources allocated to <em class="parameter"><code>private_key</code></em>.
|
1744
|
+
</p>
|
1745
|
+
<p>
|
1746
|
+
You don't have to call this functions for a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticPrivate" title="struct GStaticPrivate"><span class="type">GStaticPrivate</span></a> with an
|
1747
|
+
unbounded lifetime, i.e. objects declared 'static', but if you have
|
1748
|
+
a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticPrivate" title="struct GStaticPrivate"><span class="type">GStaticPrivate</span></a> as a member of a structure and the structure is
|
1749
|
+
freed, you should also free the <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticPrivate" title="struct GStaticPrivate"><span class="type">GStaticPrivate</span></a>.
|
1750
|
+
</p>
|
1751
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1752
|
+
<colgroup>
|
1753
|
+
<col align="left" valign="top">
|
1754
|
+
<col>
|
1755
|
+
</colgroup>
|
1756
|
+
<tbody><tr>
|
1757
|
+
<td><p><span class="term"><em class="parameter"><code>private_key</code></em> :</span></p></td>
|
1758
|
+
<td>a <a class="link" href="glib-Deprecated-Thread-APIs.html#GStaticPrivate" title="struct GStaticPrivate"><span class="type">GStaticPrivate</span></a> to be freed</td>
|
1759
|
+
</tr></tbody>
|
1760
|
+
</table></div>
|
1761
|
+
</div>
|
1762
|
+
</div>
|
1763
|
+
<div class="refsect1">
|
1764
|
+
<a name="glib-Deprecated-Thread-APIs.see-also"></a><h2>See Also</h2>
|
1765
|
+
<a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="type">GThread</span></a>
|
1766
|
+
</div>
|
1767
|
+
</div>
|
1768
|
+
<div class="footer">
|
1769
|
+
<hr>
|
1770
|
+
Generated by GTK-Doc V1.18</div>
|
1771
|
+
</body>
|
1772
|
+
</html>
|