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
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>GTimeZone</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
|
7
7
|
<link rel="home" href="index.html" title="GLib Reference Manual">
|
8
8
|
<link rel="up" href="glib-utilities.html" title="GLib Utilities">
|
9
9
|
<link rel="prev" href="glib-Date-and-Time-Functions.html" title="Date and Time Functions">
|
10
10
|
<link rel="next" href="glib-GDateTime.html" title="GDateTime">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -31,7 +31,7 @@
|
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
33
33
|
<h2><span class="refentrytitle"><a name="glib-GTimeZone.top_of_page"></a>GTimeZone</span></h2>
|
34
|
-
<p>GTimeZone —
|
34
|
+
<p>GTimeZone — a structure representing a time zone</p>
|
35
35
|
</td>
|
36
36
|
<td valign="top" align="right"></td>
|
37
37
|
</tr></table></div>
|
@@ -42,21 +42,21 @@
|
|
42
42
|
|
43
43
|
<a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone">GTimeZone</a>;
|
44
44
|
<span class="returnvalue">void</span> <a class="link" href="glib-GTimeZone.html#g-time-zone-unref" title="g_time_zone_unref ()">g_time_zone_unref</a> (<em class="parameter"><code><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> *tz</code></em>);
|
45
|
-
<a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="returnvalue">GTimeZone</span></a> *
|
45
|
+
<a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="returnvalue">GTimeZone</span></a> * <a class="link" href="glib-GTimeZone.html#g-time-zone-ref" title="g_time_zone_ref ()">g_time_zone_ref</a> (<em class="parameter"><code><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> *tz</code></em>);
|
46
46
|
|
47
|
-
<a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="returnvalue">GTimeZone</span></a> *
|
48
|
-
<a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="returnvalue">GTimeZone</span></a> *
|
49
|
-
<a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="returnvalue">GTimeZone</span></a> *
|
47
|
+
<a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="returnvalue">GTimeZone</span></a> * <a class="link" href="glib-GTimeZone.html#g-time-zone-new" title="g_time_zone_new ()">g_time_zone_new</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *identifier</code></em>);
|
48
|
+
<a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="returnvalue">GTimeZone</span></a> * <a class="link" href="glib-GTimeZone.html#g-time-zone-new-local" title="g_time_zone_new_local ()">g_time_zone_new_local</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
49
|
+
<a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="returnvalue">GTimeZone</span></a> * <a class="link" href="glib-GTimeZone.html#g-time-zone-new-utc" title="g_time_zone_new_utc ()">g_time_zone_new_utc</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
50
50
|
|
51
51
|
enum <a class="link" href="glib-GTimeZone.html#GTimeType" title="enum GTimeType">GTimeType</a>;
|
52
52
|
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-GTimeZone.html#g-time-zone-find-interval" title="g_time_zone_find_interval ()">g_time_zone_find_interval</a> (<em class="parameter"><code><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> *tz</code></em>,
|
53
53
|
<em class="parameter"><code><a class="link" href="glib-GTimeZone.html#GTimeType" title="enum GTimeType"><span class="type">GTimeType</span></a> type</code></em>,
|
54
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a>
|
54
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> time_</code></em>);
|
55
55
|
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-GTimeZone.html#g-time-zone-adjust-time" title="g_time_zone_adjust_time ()">g_time_zone_adjust_time</a> (<em class="parameter"><code><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> *tz</code></em>,
|
56
56
|
<em class="parameter"><code><a class="link" href="glib-GTimeZone.html#GTimeType" title="enum GTimeType"><span class="type">GTimeType</span></a> type</code></em>,
|
57
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> *
|
57
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> *time_</code></em>);
|
58
58
|
|
59
|
-
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
59
|
+
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-GTimeZone.html#g-time-zone-get-abbreviation" title="g_time_zone_get_abbreviation ()">g_time_zone_get_abbreviation</a> (<em class="parameter"><code><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> *tz</code></em>,
|
60
60
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> interval</code></em>);
|
61
61
|
<a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="glib-GTimeZone.html#g-time-zone-get-offset" title="g_time_zone_get_offset ()">g_time_zone_get_offset</a> (<em class="parameter"><code><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> *tz</code></em>,
|
62
62
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> interval</code></em>);
|
@@ -111,8 +111,11 @@ directly.
|
|
111
111
|
<p>
|
112
112
|
Decreases the reference count on <em class="parameter"><code>tz</code></em>.
|
113
113
|
</p>
|
114
|
-
<div class="variablelist"><table border="0">
|
114
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
115
|
+
<colgroup>
|
115
116
|
<col align="left" valign="top">
|
117
|
+
<col>
|
118
|
+
</colgroup>
|
116
119
|
<tbody><tr>
|
117
120
|
<td><p><span class="term"><em class="parameter"><code>tz</code></em> :</span></p></td>
|
118
121
|
<td>a <a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a>
|
@@ -124,12 +127,15 @@ Decreases the reference count on <em class="parameter"><code>tz</code></em>.
|
|
124
127
|
<hr>
|
125
128
|
<div class="refsect2">
|
126
129
|
<a name="g-time-zone-ref"></a><h3>g_time_zone_ref ()</h3>
|
127
|
-
<pre class="programlisting"><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="returnvalue">GTimeZone</span></a> *
|
130
|
+
<pre class="programlisting"><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="returnvalue">GTimeZone</span></a> * g_time_zone_ref (<em class="parameter"><code><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> *tz</code></em>);</pre>
|
128
131
|
<p>
|
129
132
|
Increases the reference count on <em class="parameter"><code>tz</code></em>.
|
130
133
|
</p>
|
131
|
-
<div class="variablelist"><table border="0">
|
134
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
135
|
+
<colgroup>
|
132
136
|
<col align="left" valign="top">
|
137
|
+
<col>
|
138
|
+
</colgroup>
|
133
139
|
<tbody>
|
134
140
|
<tr>
|
135
141
|
<td><p><span class="term"><em class="parameter"><code>tz</code></em> :</span></p></td>
|
@@ -147,7 +153,7 @@ Increases the reference count on <em class="parameter"><code>tz</code></em>.
|
|
147
153
|
<hr>
|
148
154
|
<div class="refsect2">
|
149
155
|
<a name="g-time-zone-new"></a><h3>g_time_zone_new ()</h3>
|
150
|
-
<pre class="programlisting"><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="returnvalue">GTimeZone</span></a> *
|
156
|
+
<pre class="programlisting"><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="returnvalue">GTimeZone</span></a> * g_time_zone_new (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *identifier</code></em>);</pre>
|
151
157
|
<p>
|
152
158
|
Creates a <a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> corresponding to <em class="parameter"><code>identifier</code></em>.
|
153
159
|
</p>
|
@@ -186,8 +192,11 @@ values of the <code class="varname">TZ</code> environment variable.
|
|
186
192
|
You should release the return value by calling <a class="link" href="glib-GTimeZone.html#g-time-zone-unref" title="g_time_zone_unref ()"><code class="function">g_time_zone_unref()</code></a>
|
187
193
|
when you are done with it.
|
188
194
|
</p>
|
189
|
-
<div class="variablelist"><table border="0">
|
195
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
196
|
+
<colgroup>
|
190
197
|
<col align="left" valign="top">
|
198
|
+
<col>
|
199
|
+
</colgroup>
|
191
200
|
<tbody>
|
192
201
|
<tr>
|
193
202
|
<td><p><span class="term"><em class="parameter"><code>identifier</code></em> :</span></p></td>
|
@@ -205,22 +214,26 @@ when you are done with it.
|
|
205
214
|
<hr>
|
206
215
|
<div class="refsect2">
|
207
216
|
<a name="g-time-zone-new-local"></a><h3>g_time_zone_new_local ()</h3>
|
208
|
-
<pre class="programlisting"><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="returnvalue">GTimeZone</span></a> *
|
217
|
+
<pre class="programlisting"><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="returnvalue">GTimeZone</span></a> * g_time_zone_new_local (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
209
218
|
<p>
|
210
|
-
Creates a <a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> corresponding to local time.
|
219
|
+
Creates a <a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> corresponding to local time. The local time
|
220
|
+
zone may change between invocations to this function; for example,
|
221
|
+
if the system administrator changes it.
|
211
222
|
</p>
|
212
223
|
<p>
|
213
224
|
This is equivalent to calling <a class="link" href="glib-GTimeZone.html#g-time-zone-new" title="g_time_zone_new ()"><code class="function">g_time_zone_new()</code></a> with the value of the
|
214
225
|
<code class="varname">TZ</code> environment variable (including the possibility
|
215
|
-
of <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>).
|
216
|
-
call to this function may or may not be noticed by future calls.
|
226
|
+
of <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>).
|
217
227
|
</p>
|
218
228
|
<p>
|
219
229
|
You should release the return value by calling <a class="link" href="glib-GTimeZone.html#g-time-zone-unref" title="g_time_zone_unref ()"><code class="function">g_time_zone_unref()</code></a>
|
220
230
|
when you are done with it.
|
221
231
|
</p>
|
222
|
-
<div class="variablelist"><table border="0">
|
232
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
233
|
+
<colgroup>
|
223
234
|
<col align="left" valign="top">
|
235
|
+
<col>
|
236
|
+
</colgroup>
|
224
237
|
<tbody><tr>
|
225
238
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
226
239
|
<td>the local timezone</td>
|
@@ -231,7 +244,7 @@ when you are done with it.
|
|
231
244
|
<hr>
|
232
245
|
<div class="refsect2">
|
233
246
|
<a name="g-time-zone-new-utc"></a><h3>g_time_zone_new_utc ()</h3>
|
234
|
-
<pre class="programlisting"><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="returnvalue">GTimeZone</span></a> *
|
247
|
+
<pre class="programlisting"><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="returnvalue">GTimeZone</span></a> * g_time_zone_new_utc (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
235
248
|
<p>
|
236
249
|
Creates a <a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> corresponding to UTC.
|
237
250
|
</p>
|
@@ -243,8 +256,11 @@ This is equivalent to calling <a class="link" href="glib-GTimeZone.html#g-time-z
|
|
243
256
|
You should release the return value by calling <a class="link" href="glib-GTimeZone.html#g-time-zone-unref" title="g_time_zone_unref ()"><code class="function">g_time_zone_unref()</code></a>
|
244
257
|
when you are done with it.
|
245
258
|
</p>
|
246
|
-
<div class="variablelist"><table border="0">
|
259
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
260
|
+
<colgroup>
|
247
261
|
<col align="left" valign="top">
|
262
|
+
<col>
|
263
|
+
</colgroup>
|
248
264
|
<tbody><tr>
|
249
265
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
250
266
|
<td>the universal timezone</td>
|
@@ -255,8 +271,7 @@ when you are done with it.
|
|
255
271
|
<hr>
|
256
272
|
<div class="refsect2">
|
257
273
|
<a name="GTimeType"></a><h3>enum GTimeType</h3>
|
258
|
-
<pre class="programlisting">typedef enum
|
259
|
-
{
|
274
|
+
<pre class="programlisting">typedef enum {
|
260
275
|
G_TIME_TYPE_STANDARD,
|
261
276
|
G_TIME_TYPE_DAYLIGHT,
|
262
277
|
G_TIME_TYPE_UNIVERSAL
|
@@ -274,8 +289,11 @@ standard time or local daylight time. This is important for the case
|
|
274
289
|
where the same local time occurs twice (during daylight savings time
|
275
290
|
transitions, for example).
|
276
291
|
</p>
|
277
|
-
<div class="variablelist"><table border="0">
|
292
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
293
|
+
<colgroup>
|
278
294
|
<col align="left" valign="top">
|
295
|
+
<col>
|
296
|
+
</colgroup>
|
279
297
|
<tbody>
|
280
298
|
<tr>
|
281
299
|
<td><p><a name="G-TIME-TYPE-STANDARD:CAPS"></a><span class="term"><code class="literal">G_TIME_TYPE_STANDARD</code></span></p></td>
|
@@ -300,20 +318,20 @@ transitions, for example).
|
|
300
318
|
<a name="g-time-zone-find-interval"></a><h3>g_time_zone_find_interval ()</h3>
|
301
319
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_time_zone_find_interval (<em class="parameter"><code><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> *tz</code></em>,
|
302
320
|
<em class="parameter"><code><a class="link" href="glib-GTimeZone.html#GTimeType" title="enum GTimeType"><span class="type">GTimeType</span></a> type</code></em>,
|
303
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a>
|
321
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> time_</code></em>);</pre>
|
304
322
|
<p>
|
305
|
-
Finds an the interval within <em class="parameter"><code>tz</code></em> that corresponds to the given <em class="parameter"><code>
|
306
|
-
The meaning of <em class="parameter"><code>
|
323
|
+
Finds an the interval within <em class="parameter"><code>tz</code></em> that corresponds to the given <em class="parameter"><code>time_</code></em>.
|
324
|
+
The meaning of <em class="parameter"><code>time_</code></em> depends on <em class="parameter"><code>type</code></em>.
|
307
325
|
</p>
|
308
326
|
<p>
|
309
327
|
If <em class="parameter"><code>type</code></em> is <a class="link" href="glib-GTimeZone.html#G-TIME-TYPE-UNIVERSAL:CAPS"><code class="literal">G_TIME_TYPE_UNIVERSAL</code></a> then this function will always
|
310
328
|
succeed (since universal time is monotonic and continuous).
|
311
329
|
</p>
|
312
330
|
<p>
|
313
|
-
Otherwise <em class="parameter"><code>
|
331
|
+
Otherwise <em class="parameter"><code>time_</code></em> is treated is local time. The distinction between
|
314
332
|
<a class="link" href="glib-GTimeZone.html#G-TIME-TYPE-STANDARD:CAPS"><code class="literal">G_TIME_TYPE_STANDARD</code></a> and <a class="link" href="glib-GTimeZone.html#G-TIME-TYPE-DAYLIGHT:CAPS"><code class="literal">G_TIME_TYPE_DAYLIGHT</code></a> is ignored except in
|
315
|
-
the case that the given <em class="parameter"><code>
|
316
|
-
01:30 on November 7th 2010
|
333
|
+
the case that the given <em class="parameter"><code>time_</code></em> is ambiguous. In Toronto, for example,
|
334
|
+
01:30 on November 7th 2010 occurred twice (once inside of daylight
|
317
335
|
savings time and the next, an hour later, outside of daylight savings
|
318
336
|
time). In this case, the different value of <em class="parameter"><code>type</code></em> would result in a
|
319
337
|
different interval being returned.
|
@@ -324,8 +342,11 @@ example, 02:00 on March 14th 2010 does not exist (due to the leap
|
|
324
342
|
forward to begin daylight savings time). -1 is returned in that
|
325
343
|
case.
|
326
344
|
</p>
|
327
|
-
<div class="variablelist"><table border="0">
|
345
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
346
|
+
<colgroup>
|
328
347
|
<col align="left" valign="top">
|
348
|
+
<col>
|
349
|
+
</colgroup>
|
329
350
|
<tbody>
|
330
351
|
<tr>
|
331
352
|
<td><p><span class="term"><em class="parameter"><code>tz</code></em> :</span></p></td>
|
@@ -334,16 +355,16 @@ case.
|
|
334
355
|
</tr>
|
335
356
|
<tr>
|
336
357
|
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
337
|
-
<td>the <a class="link" href="glib-GTimeZone.html#GTimeType" title="enum GTimeType"><span class="type">GTimeType</span></a> of <em class="parameter"><code>
|
358
|
+
<td>the <a class="link" href="glib-GTimeZone.html#GTimeType" title="enum GTimeType"><span class="type">GTimeType</span></a> of <em class="parameter"><code>time_</code></em>
|
338
359
|
</td>
|
339
360
|
</tr>
|
340
361
|
<tr>
|
341
|
-
<td><p><span class="term"><em class="parameter"><code>
|
362
|
+
<td><p><span class="term"><em class="parameter"><code>time_</code></em> :</span></p></td>
|
342
363
|
<td>a number of seconds since January 1, 1970</td>
|
343
364
|
</tr>
|
344
365
|
<tr>
|
345
366
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
346
|
-
<td>the interval containing <em class="parameter"><code>
|
367
|
+
<td>the interval containing <em class="parameter"><code>time_</code></em>, or -1 in case of failure</td>
|
347
368
|
</tr>
|
348
369
|
</tbody>
|
349
370
|
</table></div>
|
@@ -354,11 +375,11 @@ case.
|
|
354
375
|
<a name="g-time-zone-adjust-time"></a><h3>g_time_zone_adjust_time ()</h3>
|
355
376
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_time_zone_adjust_time (<em class="parameter"><code><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> *tz</code></em>,
|
356
377
|
<em class="parameter"><code><a class="link" href="glib-GTimeZone.html#GTimeType" title="enum GTimeType"><span class="type">GTimeType</span></a> type</code></em>,
|
357
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> *
|
378
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> *time_</code></em>);</pre>
|
358
379
|
<p>
|
359
|
-
Finds an interval within <em class="parameter"><code>tz</code></em> that corresponds to the given <em class="parameter"><code>
|
360
|
-
possibly adjusting <em class="parameter"><code>
|
361
|
-
The meaning of <em class="parameter"><code>
|
380
|
+
Finds an interval within <em class="parameter"><code>tz</code></em> that corresponds to the given <em class="parameter"><code>time_</code></em>,
|
381
|
+
possibly adjusting <em class="parameter"><code>time_</code></em> if required to fit into an interval.
|
382
|
+
The meaning of <em class="parameter"><code>time_</code></em> depends on <em class="parameter"><code>type</code></em>.
|
362
383
|
</p>
|
363
384
|
<p>
|
364
385
|
This function is similar to <a class="link" href="glib-GTimeZone.html#g-time-zone-find-interval" title="g_time_zone_find_interval ()"><code class="function">g_time_zone_find_interval()</code></a>, with the
|
@@ -367,17 +388,20 @@ described below).
|
|
367
388
|
</p>
|
368
389
|
<p>
|
369
390
|
In any of the cases where <a class="link" href="glib-GTimeZone.html#g-time-zone-find-interval" title="g_time_zone_find_interval ()"><code class="function">g_time_zone_find_interval()</code></a> succeeds then
|
370
|
-
this function returns the same value, without modifying <em class="parameter"><code>
|
391
|
+
this function returns the same value, without modifying <em class="parameter"><code>time_</code></em>.
|
371
392
|
</p>
|
372
393
|
<p>
|
373
|
-
This function may, however, modify <em class="parameter"><code>
|
374
|
-
non-existent times. If the non-existent local <em class="parameter"><code>
|
375
|
-
requested on March
|
376
|
-
adjust <em class="parameter"><code>
|
394
|
+
This function may, however, modify <em class="parameter"><code>time_</code></em> in order to deal with
|
395
|
+
non-existent times. If the non-existent local <em class="parameter"><code>time_</code></em> of 02:30 were
|
396
|
+
requested on March 14th 2010 in Toronto then this function would
|
397
|
+
adjust <em class="parameter"><code>time_</code></em> to be 03:00 and return the interval containing the
|
377
398
|
adjusted time.
|
378
399
|
</p>
|
379
|
-
<div class="variablelist"><table border="0">
|
400
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
401
|
+
<colgroup>
|
380
402
|
<col align="left" valign="top">
|
403
|
+
<col>
|
404
|
+
</colgroup>
|
381
405
|
<tbody>
|
382
406
|
<tr>
|
383
407
|
<td><p><span class="term"><em class="parameter"><code>tz</code></em> :</span></p></td>
|
@@ -386,16 +410,16 @@ adjusted time.
|
|
386
410
|
</tr>
|
387
411
|
<tr>
|
388
412
|
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
389
|
-
<td>the <a class="link" href="glib-GTimeZone.html#GTimeType" title="enum GTimeType"><span class="type">GTimeType</span></a> of <em class="parameter"><code>
|
413
|
+
<td>the <a class="link" href="glib-GTimeZone.html#GTimeType" title="enum GTimeType"><span class="type">GTimeType</span></a> of <em class="parameter"><code>time_</code></em>
|
390
414
|
</td>
|
391
415
|
</tr>
|
392
416
|
<tr>
|
393
|
-
<td><p><span class="term"><em class="parameter"><code>
|
417
|
+
<td><p><span class="term"><em class="parameter"><code>time_</code></em> :</span></p></td>
|
394
418
|
<td>a pointer to a number of seconds since January 1, 1970</td>
|
395
419
|
</tr>
|
396
420
|
<tr>
|
397
421
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
398
|
-
<td>the interval containing <em class="parameter"><code>
|
422
|
+
<td>the interval containing <em class="parameter"><code>time_</code></em>, never -1</td>
|
399
423
|
</tr>
|
400
424
|
</tbody>
|
401
425
|
</table></div>
|
@@ -404,7 +428,7 @@ adjusted time.
|
|
404
428
|
<hr>
|
405
429
|
<div class="refsect2">
|
406
430
|
<a name="g-time-zone-get-abbreviation"></a><h3>g_time_zone_get_abbreviation ()</h3>
|
407
|
-
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
431
|
+
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_time_zone_get_abbreviation (<em class="parameter"><code><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> *tz</code></em>,
|
408
432
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> interval</code></em>);</pre>
|
409
433
|
<p>
|
410
434
|
Determines the time zone abbreviation to be used during a particular
|
@@ -415,8 +439,11 @@ For example, in Toronto this is currently "EST" during the winter
|
|
415
439
|
months and "EDT" during the summer months when daylight savings time
|
416
440
|
is in effect.
|
417
441
|
</p>
|
418
|
-
<div class="variablelist"><table border="0">
|
442
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
443
|
+
<colgroup>
|
419
444
|
<col align="left" valign="top">
|
445
|
+
<col>
|
446
|
+
</colgroup>
|
420
447
|
<tbody>
|
421
448
|
<tr>
|
422
449
|
<td><p><span class="term"><em class="parameter"><code>tz</code></em> :</span></p></td>
|
@@ -450,8 +477,11 @@ The offset is the number of seconds that you add to UTC time to
|
|
450
477
|
arrive at local time for <em class="parameter"><code>tz</code></em> (ie: negative numbers for time zones
|
451
478
|
west of GMT, positive numbers for east).
|
452
479
|
</p>
|
453
|
-
<div class="variablelist"><table border="0">
|
480
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
481
|
+
<colgroup>
|
454
482
|
<col align="left" valign="top">
|
483
|
+
<col>
|
484
|
+
</colgroup>
|
455
485
|
<tbody>
|
456
486
|
<tr>
|
457
487
|
<td><p><span class="term"><em class="parameter"><code>tz</code></em> :</span></p></td>
|
@@ -481,8 +511,11 @@ local time in <em class="parameter"><code>tz</code></em>
|
|
481
511
|
Determines if daylight savings time is in effect during a particular
|
482
512
|
<em class="parameter"><code>interval</code></em> of time in the time zone <em class="parameter"><code>tz</code></em>.
|
483
513
|
</p>
|
484
|
-
<div class="variablelist"><table border="0">
|
514
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
515
|
+
<colgroup>
|
485
516
|
<col align="left" valign="top">
|
517
|
+
<col>
|
518
|
+
</colgroup>
|
486
519
|
<tbody>
|
487
520
|
<tr>
|
488
521
|
<td><p><span class="term"><em class="parameter"><code>tz</code></em> :</span></p></td>
|
@@ -510,6 +543,6 @@ Determines if daylight savings time is in effect during a particular
|
|
510
543
|
</div>
|
511
544
|
<div class="footer">
|
512
545
|
<hr>
|
513
|
-
Generated by GTK-Doc V1.
|
546
|
+
Generated by GTK-Doc V1.18</div>
|
514
547
|
</body>
|
515
548
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>GVariant</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
|
7
7
|
<link rel="home" href="index.html" title="GLib Reference Manual">
|
8
8
|
<link rel="up" href="glib-data-types.html" title="GLib Data Types">
|
9
9
|
<link rel="prev" href="glib-GVariantType.html" title="GVariantType">
|
10
10
|
<link rel="next" href="gvariant-format-strings.html" title="GVariant Format Strings">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -42,12 +42,12 @@
|
|
42
42
|
|
43
43
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant">GVariant</a>;
|
44
44
|
<span class="returnvalue">void</span> <a class="link" href="glib-GVariant.html#g-variant-unref" title="g_variant_unref ()">g_variant_unref</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
45
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
46
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
45
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-ref" title="g_variant_ref ()">g_variant_ref</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
46
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-ref-sink" title="g_variant_ref_sink ()">g_variant_ref_sink</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
47
47
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariant.html#g-variant-is-floating" title="g_variant_is_floating ()">g_variant_is_floating</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
48
|
-
|
49
|
-
const <a class="link" href="glib-
|
50
|
-
|
48
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-take-ref" title="g_variant_take_ref ()">g_variant_take_ref</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
49
|
+
const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * <a class="link" href="glib-GVariant.html#g-variant-get-type" title="g_variant_get_type ()">g_variant_get_type</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
50
|
+
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-GVariant.html#g-variant-get-type-string" title="g_variant_get_type_string ()">g_variant_get_type_string</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
51
51
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariant.html#g-variant-is-of-type" title="g_variant_is_of_type ()">g_variant_is_of_type</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
52
52
|
<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
53
53
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariant.html#g-variant-is-container" title="g_variant_is_container ()">g_variant_is_container</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
@@ -57,6 +57,9 @@ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span cla
|
|
57
57
|
<a class="link" href="glib-GVariant.html#GVariantClass" title="enum GVariantClass"><span class="returnvalue">GVariantClass</span></a> <a class="link" href="glib-GVariant.html#g-variant-classify" title="g_variant_classify ()">g_variant_classify</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
58
58
|
enum <a class="link" href="glib-GVariant.html#GVariantClass" title="enum GVariantClass">GVariantClass</a>;
|
59
59
|
|
60
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariant.html#g-variant-check-format-string" title="g_variant_check_format_string ()">g_variant_check_format_string</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
61
|
+
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format_string</code></em>,
|
62
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> copy_only</code></em>);
|
60
63
|
<span class="returnvalue">void</span> <a class="link" href="glib-GVariant.html#g-variant-get" title="g_variant_get ()">g_variant_get</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
61
64
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format_string</code></em>,
|
62
65
|
<em class="parameter"><code>...</code></em>);
|
@@ -64,36 +67,34 @@ enum <a class="link" href="glib-GVariant.html#GVariantClass" titl
|
|
64
67
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format_string</code></em>,
|
65
68
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>,
|
66
69
|
<em class="parameter"><code><span class="type">va_list</span> *app</code></em>);
|
67
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
70
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new" title="g_variant_new ()">g_variant_new</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format_string</code></em>,
|
68
71
|
<em class="parameter"><code>...</code></em>);
|
69
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
72
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-va" title="g_variant_new_va ()">g_variant_new_va</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format_string</code></em>,
|
70
73
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>,
|
71
74
|
<em class="parameter"><code><span class="type">va_list</span> *app</code></em>);
|
72
75
|
|
73
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
74
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
75
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
76
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
77
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
78
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
79
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
80
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
81
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
82
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
83
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
84
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
85
|
-
(<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *object_path</code></em>);
|
76
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-boolean" title="g_variant_new_boolean ()">g_variant_new_boolean</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> value</code></em>);
|
77
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-byte" title="g_variant_new_byte ()">g_variant_new_byte</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guchar" title="guchar"><span class="type">guchar</span></a> value</code></em>);
|
78
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-int16" title="g_variant_new_int16 ()">g_variant_new_int16</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint16" title="gint16"><span class="type">gint16</span></a> value</code></em>);
|
79
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-uint16" title="g_variant_new_uint16 ()">g_variant_new_uint16</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint16" title="guint16"><span class="type">guint16</span></a> value</code></em>);
|
80
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-int32" title="g_variant_new_int32 ()">g_variant_new_int32</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a> value</code></em>);
|
81
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-uint32" title="g_variant_new_uint32 ()">g_variant_new_uint32</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="type">guint32</span></a> value</code></em>);
|
82
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-int64" title="g_variant_new_int64 ()">g_variant_new_int64</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> value</code></em>);
|
83
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-uint64" title="g_variant_new_uint64 ()">g_variant_new_uint64</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint64" title="guint64"><span class="type">guint64</span></a> value</code></em>);
|
84
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-handle" title="g_variant_new_handle ()">g_variant_new_handle</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a> value</code></em>);
|
85
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-double" title="g_variant_new_double ()">g_variant_new_double</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> value</code></em>);
|
86
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-string" title="g_variant_new_string ()">g_variant_new_string</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);
|
87
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-object-path" title="g_variant_new_object_path ()">g_variant_new_object_path</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *object_path</code></em>);
|
86
88
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariant.html#g-variant-is-object-path" title="g_variant_is_object_path ()">g_variant_is_object_path</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);
|
87
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
88
|
-
(<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *signature</code></em>);
|
89
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-signature" title="g_variant_new_signature ()">g_variant_new_signature</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *signature</code></em>);
|
89
90
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariant.html#g-variant-is-signature" title="g_variant_is_signature ()">g_variant_is_signature</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);
|
90
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
91
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
91
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-variant" title="g_variant_new_variant ()">g_variant_new_variant</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
92
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-strv" title="g_variant_new_strv ()">g_variant_new_strv</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> * const *strv</code></em>,
|
93
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> length</code></em>);
|
94
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-objv" title="g_variant_new_objv ()">g_variant_new_objv</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> * const *strv</code></em>,
|
92
95
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> length</code></em>);
|
93
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
94
|
-
|
95
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-bytestring-array" title="g_variant_new_bytestring_array ()">g_variant_new_bytestring_array</a>
|
96
|
-
(<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> * const *strv</code></em>,
|
96
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-bytestring" title="g_variant_new_bytestring ()">g_variant_new_bytestring</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);
|
97
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-bytestring-array" title="g_variant_new_bytestring_array ()">g_variant_new_bytestring_array</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> * const *strv</code></em>,
|
97
98
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> length</code></em>);
|
98
99
|
|
99
100
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariant.html#g-variant-get-boolean" title="g_variant_get_boolean ()">g_variant_get_boolean</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
@@ -106,48 +107,50 @@ enum <a class="link" href="glib-GVariant.html#GVariantClass" titl
|
|
106
107
|
<a class="link" href="glib-Basic-Types.html#guint64" title="guint64"><span class="returnvalue">guint64</span></a> <a class="link" href="glib-GVariant.html#g-variant-get-uint64" title="g_variant_get_uint64 ()">g_variant_get_uint64</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
107
108
|
<a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="glib-GVariant.html#g-variant-get-handle" title="g_variant_get_handle ()">g_variant_get_handle</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
108
109
|
<a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="glib-GVariant.html#g-variant-get-double" title="g_variant_get_double ()">g_variant_get_double</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
109
|
-
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
110
|
+
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-GVariant.html#g-variant-get-string" title="g_variant_get_string ()">g_variant_get_string</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
111
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);
|
112
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-GVariant.html#g-variant-dup-string" title="g_variant_dup_string ()">g_variant_dup_string</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
110
113
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);
|
111
|
-
<a class="link" href="glib-
|
114
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-get-variant" title="g_variant_get_variant ()">g_variant_get_variant</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
115
|
+
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-GVariant.html#g-variant-get-strv" title="g_variant_get_strv ()">g_variant_get_strv</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
112
116
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);
|
113
|
-
<a class="link" href="glib-
|
114
|
-
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-GVariant.html#g-variant-get-strv" title="g_variant_get_strv ()">g_variant_get_strv</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
117
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-GVariant.html#g-variant-dup-strv" title="g_variant_dup_strv ()">g_variant_dup_strv</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
115
118
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);
|
116
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **
|
119
|
+
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-GVariant.html#g-variant-get-objv" title="g_variant_get_objv ()">g_variant_get_objv</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
117
120
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);
|
118
|
-
|
119
|
-
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
120
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-GVariant.html#g-variant-dup-bytestring" title="g_variant_dup_bytestring ()">g_variant_dup_bytestring</a>
|
121
|
-
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
121
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-GVariant.html#g-variant-dup-objv" title="g_variant_dup_objv ()">g_variant_dup_objv</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
122
122
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);
|
123
|
-
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>
|
124
|
-
|
123
|
+
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-GVariant.html#g-variant-get-bytestring" title="g_variant_get_bytestring ()">g_variant_get_bytestring</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
124
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-GVariant.html#g-variant-dup-bytestring" title="g_variant_dup_bytestring ()">g_variant_dup_bytestring</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
125
125
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);
|
126
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **
|
127
|
-
|
126
|
+
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-GVariant.html#g-variant-get-bytestring-array" title="g_variant_get_bytestring_array ()">g_variant_get_bytestring_array</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
127
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);
|
128
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-GVariant.html#g-variant-dup-bytestring-array" title="g_variant_dup_bytestring_array ()">g_variant_dup_bytestring_array</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
128
129
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);
|
129
130
|
|
130
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
131
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-maybe" title="g_variant_new_maybe ()">g_variant_new_maybe</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *child_type</code></em>,
|
131
132
|
<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *child</code></em>);
|
132
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
133
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-array" title="g_variant_new_array ()">g_variant_new_array</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *child_type</code></em>,
|
133
134
|
<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> * const *children</code></em>,
|
134
135
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n_children</code></em>);
|
135
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
136
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-tuple" title="g_variant_new_tuple ()">g_variant_new_tuple</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> * const *children</code></em>,
|
136
137
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n_children</code></em>);
|
137
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
138
|
-
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *key</code></em>,
|
138
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-dict-entry" title="g_variant_new_dict_entry ()">g_variant_new_dict_entry</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *key</code></em>,
|
139
139
|
<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
140
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-fixed-array" title="g_variant_new_fixed_array ()">g_variant_new_fixed_array</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *element_type</code></em>,
|
141
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> elements</code></em>,
|
142
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n_elements</code></em>,
|
143
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> element_size</code></em>);
|
140
144
|
|
141
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
145
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-get-maybe" title="g_variant_get_maybe ()">g_variant_get_maybe</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
142
146
|
<a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> <a class="link" href="glib-GVariant.html#g-variant-n-children" title="g_variant_n_children ()">g_variant_n_children</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
143
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
144
|
-
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
147
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-get-child-value" title="g_variant_get_child_value ()">g_variant_get_child_value</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
145
148
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> index_</code></em>);
|
146
149
|
<span class="returnvalue">void</span> <a class="link" href="glib-GVariant.html#g-variant-get-child" title="g_variant_get_child ()">g_variant_get_child</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
147
150
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> index_</code></em>,
|
148
151
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format_string</code></em>,
|
149
152
|
<em class="parameter"><code>...</code></em>);
|
150
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
153
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-lookup-value" title="g_variant_lookup_value ()">g_variant_lookup_value</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *dictionary</code></em>,
|
151
154
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
152
155
|
<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *expected_type</code></em>);
|
153
156
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariant.html#g-variant-lookup" title="g_variant_lookup ()">g_variant_lookup</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *dictionary</code></em>,
|
@@ -160,39 +163,40 @@ const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span cla
|
|
160
163
|
|
161
164
|
<a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> <a class="link" href="glib-GVariant.html#g-variant-get-size" title="g_variant_get_size ()">g_variant_get_size</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
162
165
|
<a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="returnvalue">gconstpointer</span></a> <a class="link" href="glib-GVariant.html#g-variant-get-data" title="g_variant_get_data ()">g_variant_get_data</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
166
|
+
<a class="link" href="glib-Byte-Arrays.html#GBytes" title="GBytes"><span class="returnvalue">GBytes</span></a> * <a class="link" href="glib-GVariant.html#g-variant-get-data-as-bytes" title="g_variant_get_data_as_bytes ()">g_variant_get_data_as_bytes</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
163
167
|
<span class="returnvalue">void</span> <a class="link" href="glib-GVariant.html#g-variant-store" title="g_variant_store ()">g_variant_store</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
164
168
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
165
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
166
|
-
(<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>,
|
169
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-from-data" title="g_variant_new_from_data ()">g_variant_new_from_data</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>,
|
167
170
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>,
|
168
171
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> size</code></em>,
|
169
172
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> trusted</code></em>,
|
170
173
|
<em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> notify</code></em>,
|
171
174
|
<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>);
|
172
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
173
|
-
<a class="link" href="glib-
|
174
|
-
|
175
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-from-bytes" title="g_variant_new_from_bytes ()">g_variant_new_from_bytes</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>,
|
176
|
+
<em class="parameter"><code><a class="link" href="glib-Byte-Arrays.html#GBytes" title="GBytes"><span class="type">GBytes</span></a> *bytes</code></em>,
|
177
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> trusted</code></em>);
|
178
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-byteswap" title="g_variant_byteswap ()">g_variant_byteswap</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
179
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-get-normal-form" title="g_variant_get_normal_form ()">g_variant_get_normal_form</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
175
180
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariant.html#g-variant-is-normal-form" title="g_variant_is_normal_form ()">g_variant_is_normal_form</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
176
181
|
|
177
182
|
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-GVariant.html#g-variant-hash" title="g_variant_hash ()">g_variant_hash</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> value</code></em>);
|
178
183
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariant.html#g-variant-equal" title="g_variant_equal ()">g_variant_equal</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> one</code></em>,
|
179
184
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> two</code></em>);
|
180
185
|
|
181
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
186
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-GVariant.html#g-variant-print" title="g_variant_print ()">g_variant_print</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
182
187
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> type_annotate</code></em>);
|
183
|
-
<a class="link" href="glib-Strings.html#GString" title="struct GString"><span class="returnvalue">GString</span></a> *
|
188
|
+
<a class="link" href="glib-Strings.html#GString" title="struct GString"><span class="returnvalue">GString</span></a> * <a class="link" href="glib-GVariant.html#g-variant-print-string" title="g_variant_print_string ()">g_variant_print_string</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
184
189
|
<em class="parameter"><code><a class="link" href="glib-Strings.html#GString" title="struct GString"><span class="type">GString</span></a> *string</code></em>,
|
185
190
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> type_annotate</code></em>);
|
186
191
|
|
187
192
|
struct <a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter">GVariantIter</a>;
|
188
|
-
<a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="returnvalue">GVariantIter</span></a> *
|
193
|
+
<a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="returnvalue">GVariantIter</span></a> * <a class="link" href="glib-GVariant.html#g-variant-iter-copy" title="g_variant_iter_copy ()">g_variant_iter_copy</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>);
|
189
194
|
<span class="returnvalue">void</span> <a class="link" href="glib-GVariant.html#g-variant-iter-free" title="g_variant_iter_free ()">g_variant_iter_free</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>);
|
190
195
|
<a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> <a class="link" href="glib-GVariant.html#g-variant-iter-init" title="g_variant_iter_init ()">g_variant_iter_init</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>,
|
191
196
|
<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
192
197
|
<a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> <a class="link" href="glib-GVariant.html#g-variant-iter-n-children" title="g_variant_iter_n_children ()">g_variant_iter_n_children</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>);
|
193
|
-
<a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="returnvalue">GVariantIter</span></a> *
|
194
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
195
|
-
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>);
|
198
|
+
<a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="returnvalue">GVariantIter</span></a> * <a class="link" href="glib-GVariant.html#g-variant-iter-new" title="g_variant_iter_new ()">g_variant_iter_new</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
199
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-iter-next-value" title="g_variant_iter_next_value ()">g_variant_iter_next_value</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>);
|
196
200
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariant.html#g-variant-iter-next" title="g_variant_iter_next ()">g_variant_iter_next</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>,
|
197
201
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format_string</code></em>,
|
198
202
|
<em class="parameter"><code>...</code></em>);
|
@@ -202,8 +206,8 @@ struct <a class="link" href="glib-GVariant.html#GVariantIter" title
|
|
202
206
|
|
203
207
|
struct <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder">GVariantBuilder</a>;
|
204
208
|
<span class="returnvalue">void</span> <a class="link" href="glib-GVariant.html#g-variant-builder-unref" title="g_variant_builder_unref ()">g_variant_builder_unref</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);
|
205
|
-
<a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="returnvalue">GVariantBuilder</span></a> *
|
206
|
-
<a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="returnvalue">GVariantBuilder</span></a> *
|
209
|
+
<a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="returnvalue">GVariantBuilder</span></a> * <a class="link" href="glib-GVariant.html#g-variant-builder-ref" title="g_variant_builder_ref ()">g_variant_builder_ref</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);
|
210
|
+
<a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="returnvalue">GVariantBuilder</span></a> * <a class="link" href="glib-GVariant.html#g-variant-builder-new" title="g_variant_builder_new ()">g_variant_builder_new</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
207
211
|
<span class="returnvalue">void</span> <a class="link" href="glib-GVariant.html#g-variant-builder-init" title="g_variant_builder_init ()">g_variant_builder_init</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>,
|
208
212
|
<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
209
213
|
<span class="returnvalue">void</span> <a class="link" href="glib-GVariant.html#g-variant-builder-clear" title="g_variant_builder_clear ()">g_variant_builder_clear</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);
|
@@ -215,22 +219,21 @@ struct <a class="link" href="glib-GVariant.html#GVariantBuilder" ti
|
|
215
219
|
<span class="returnvalue">void</span> <a class="link" href="glib-GVariant.html#g-variant-builder-add-parsed" title="g_variant_builder_add_parsed ()">g_variant_builder_add_parsed</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>,
|
216
220
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
217
221
|
<em class="parameter"><code>...</code></em>);
|
218
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
222
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-builder-end" title="g_variant_builder_end ()">g_variant_builder_end</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);
|
219
223
|
<span class="returnvalue">void</span> <a class="link" href="glib-GVariant.html#g-variant-builder-open" title="g_variant_builder_open ()">g_variant_builder_open</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>,
|
220
224
|
<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
221
225
|
<span class="returnvalue">void</span> <a class="link" href="glib-GVariant.html#g-variant-builder-close" title="g_variant_builder_close ()">g_variant_builder_close</a> (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);
|
222
226
|
|
223
227
|
enum <a class="link" href="glib-GVariant.html#GVariantParseError" title="enum GVariantParseError">GVariantParseError</a>;
|
224
228
|
#define <a class="link" href="glib-GVariant.html#G-VARIANT-PARSE-ERROR:CAPS" title="G_VARIANT_PARSE_ERROR">G_VARIANT_PARSE_ERROR</a>
|
225
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
229
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-parse" title="g_variant_parse ()">g_variant_parse</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>,
|
226
230
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *text</code></em>,
|
227
231
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *limit</code></em>,
|
228
232
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>,
|
229
233
|
<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>);
|
230
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
231
|
-
(<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
234
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-parsed-va" title="g_variant_new_parsed_va ()">g_variant_new_parsed_va</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
232
235
|
<em class="parameter"><code><span class="type">va_list</span> *app</code></em>);
|
233
|
-
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
236
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="glib-GVariant.html#g-variant-new-parsed" title="g_variant_new_parsed ()">g_variant_new_parsed</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
234
237
|
<em class="parameter"><code>...</code></em>);
|
235
238
|
</pre>
|
236
239
|
</div>
|
@@ -246,7 +249,7 @@ is <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantTyp
|
|
246
249
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instances always have a type and a value (which are given
|
247
250
|
at construction time). The type and value of a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
248
251
|
can never change other than by the <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> itself being
|
249
|
-
destroyed. A <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>
|
252
|
+
destroyed. A <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> cannot contain a pointer.
|
250
253
|
</p>
|
251
254
|
<p>
|
252
255
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> is reference counted using <a class="link" href="glib-GVariant.html#g-variant-ref" title="g_variant_ref ()"><code class="function">g_variant_ref()</code></a> and
|
@@ -268,7 +271,24 @@ Serialised <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><
|
|
268
271
|
<p>
|
269
272
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> is largely compatible with D-Bus. Almost all types of
|
270
273
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instances can be sent over D-Bus. See <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> for
|
271
|
-
exceptions.
|
274
|
+
exceptions. (However, <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>'s serialisation format is not the same
|
275
|
+
as the serialisation format of a D-Bus message body: use <span class="type">GDBusMessage</span>,
|
276
|
+
in the gio library, for those.)
|
277
|
+
</p>
|
278
|
+
<p>
|
279
|
+
For space-efficiency, the <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> serialisation format does not
|
280
|
+
automatically include the variant's type or endianness, which must
|
281
|
+
either be implied from context (such as knowledge that a particular
|
282
|
+
file format always contains a little-endian <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-VARIANT:CAPS" title="G_VARIANT_TYPE_VARIANT"><code class="literal">G_VARIANT_TYPE_VARIANT</code></a>)
|
283
|
+
or supplied out-of-band (for instance, a type and/or endianness
|
284
|
+
indicator could be placed at the beginning of a file, network message
|
285
|
+
or network stream).
|
286
|
+
</p>
|
287
|
+
<p>
|
288
|
+
A <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>'s size is limited mainly by any lower level operating
|
289
|
+
system constraints, such as the number of bits in <a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a>. For
|
290
|
+
example, it is reasonable to have a 2GB file mapped into memory
|
291
|
+
with <a class="link" href="glib-File-Utilities.html#GMappedFile" title="GMappedFile"><span class="type">GMappedFile</span></a>, and call <a class="link" href="glib-GVariant.html#g-variant-new-from-data" title="g_variant_new_from_data ()"><code class="function">g_variant_new_from_data()</code></a> on it.
|
272
292
|
</p>
|
273
293
|
<p>
|
274
294
|
For convenience to C programmers, <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> features powerful
|
@@ -283,7 +303,7 @@ with type inferencing.
|
|
283
303
|
<p>
|
284
304
|
</p>
|
285
305
|
<div class="refsect2">
|
286
|
-
<a name="
|
306
|
+
<a name="idp61943728"></a><h3>Memory Use</h3>
|
287
307
|
<p>
|
288
308
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> tries to be quite efficient with respect to memory use.
|
289
309
|
This section gives a rough idea of how much memory is used by the
|
@@ -297,7 +317,7 @@ with type inferencing.
|
|
297
317
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> structure itself.
|
298
318
|
</p>
|
299
319
|
<div class="refsect3">
|
300
|
-
<a name="
|
320
|
+
<a name="gvariant-serialised-data-memory"></a><h4>Serialised Data Memory</h4>
|
301
321
|
<p>
|
302
322
|
This is the memory that is used for storing GVariant data in
|
303
323
|
serialised form. This is what would be sent over the network or
|
@@ -365,7 +385,7 @@ with type inferencing.
|
|
365
385
|
</p>
|
366
386
|
</div>
|
367
387
|
<div class="refsect3">
|
368
|
-
<a name="
|
388
|
+
<a name="idp61955680"></a><h4>Type Information Cache</h4>
|
369
389
|
<p>
|
370
390
|
For each GVariant type that currently exists in the program a type
|
371
391
|
information structure is kept in the type information cache. The
|
@@ -420,7 +440,7 @@ with type inferencing.
|
|
420
440
|
</p>
|
421
441
|
</div>
|
422
442
|
<div class="refsect3">
|
423
|
-
<a name="
|
443
|
+
<a name="idp61964064"></a><h4>Buffer Management Memory</h4>
|
424
444
|
<p>
|
425
445
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> uses an internal buffer management structure to deal
|
426
446
|
with the various different possible sources of serialised data
|
@@ -436,7 +456,7 @@ with type inferencing.
|
|
436
456
|
</p>
|
437
457
|
</div>
|
438
458
|
<div class="refsect3">
|
439
|
-
<a name="
|
459
|
+
<a name="idp61970560"></a><h4>GVariant structure</h4>
|
440
460
|
<p>
|
441
461
|
The size of a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> structure is 6 * (void *). On 32 bit
|
442
462
|
systems, that's 24 bytes.
|
@@ -448,7 +468,7 @@ with type inferencing.
|
|
448
468
|
then although there are 9 individual values that comprise the
|
449
469
|
entire dictionary (two keys, two values, two variants containing
|
450
470
|
the values, two dictionary entries, plus the dictionary itself),
|
451
|
-
only 1 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance exists -- the one
|
471
|
+
only 1 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance exists -- the one referring to the
|
452
472
|
dictionary.
|
453
473
|
</p>
|
454
474
|
<p>
|
@@ -461,7 +481,7 @@ with type inferencing.
|
|
461
481
|
</p>
|
462
482
|
</div>
|
463
483
|
<div class="refsect3">
|
464
|
-
<a name="
|
484
|
+
<a name="idp61977952"></a><h4>Summary</h4>
|
465
485
|
<p>
|
466
486
|
To put the entire example together, for our dictionary mapping
|
467
487
|
strings to variants (with two entries, as given above), we are
|
@@ -499,8 +519,11 @@ using the following functions.
|
|
499
519
|
Decreases the reference count of <em class="parameter"><code>value</code></em>. When its reference count
|
500
520
|
drops to 0, the memory used by the variant is freed.
|
501
521
|
</p>
|
502
|
-
<div class="variablelist"><table border="0">
|
522
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
523
|
+
<colgroup>
|
503
524
|
<col align="left" valign="top">
|
525
|
+
<col>
|
526
|
+
</colgroup>
|
504
527
|
<tbody><tr>
|
505
528
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
506
529
|
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>
|
@@ -512,12 +535,15 @@ drops to 0, the memory used by the variant is freed.
|
|
512
535
|
<hr>
|
513
536
|
<div class="refsect2">
|
514
537
|
<a name="g-variant-ref"></a><h3>g_variant_ref ()</h3>
|
515
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
538
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_ref (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
516
539
|
<p>
|
517
540
|
Increases the reference count of <em class="parameter"><code>value</code></em>.
|
518
541
|
</p>
|
519
|
-
<div class="variablelist"><table border="0">
|
542
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
543
|
+
<colgroup>
|
520
544
|
<col align="left" valign="top">
|
545
|
+
<col>
|
546
|
+
</colgroup>
|
521
547
|
<tbody>
|
522
548
|
<tr>
|
523
549
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -536,7 +562,7 @@ Increases the reference count of <em class="parameter"><code>value</code></em>.
|
|
536
562
|
<hr>
|
537
563
|
<div class="refsect2">
|
538
564
|
<a name="g-variant-ref-sink"></a><h3>g_variant_ref_sink ()</h3>
|
539
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
565
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_ref_sink (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
540
566
|
<p>
|
541
567
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> uses a floating reference count system. All functions with
|
542
568
|
names starting with <code class="literal">g_variant_new_</code> return floating
|
@@ -564,8 +590,11 @@ makes certain common styles of programming much easier while still
|
|
564
590
|
maintaining normal refcounting semantics in situations where values
|
565
591
|
are not floating.
|
566
592
|
</p>
|
567
|
-
<div class="variablelist"><table border="0">
|
593
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
594
|
+
<colgroup>
|
568
595
|
<col align="left" valign="top">
|
596
|
+
<col>
|
597
|
+
</colgroup>
|
569
598
|
<tbody>
|
570
599
|
<tr>
|
571
600
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -591,14 +620,18 @@ Checks whether <em class="parameter"><code>value</code></em> has a floating refe
|
|
591
620
|
<p>
|
592
621
|
This function should only ever be used to assert that a given variant
|
593
622
|
is or is not floating, or for debug purposes. To acquire a reference
|
594
|
-
to a variant that might be floating, always use <a class="link" href="glib-GVariant.html#g-variant-ref-sink" title="g_variant_ref_sink ()"><code class="function">g_variant_ref_sink()</code></a
|
623
|
+
to a variant that might be floating, always use <a class="link" href="glib-GVariant.html#g-variant-ref-sink" title="g_variant_ref_sink ()"><code class="function">g_variant_ref_sink()</code></a>
|
624
|
+
or <a class="link" href="glib-GVariant.html#g-variant-take-ref" title="g_variant_take_ref ()"><code class="function">g_variant_take_ref()</code></a>.
|
595
625
|
</p>
|
596
626
|
<p>
|
597
627
|
See <a class="link" href="glib-GVariant.html#g-variant-ref-sink" title="g_variant_ref_sink ()"><code class="function">g_variant_ref_sink()</code></a> for more information about floating reference
|
598
628
|
counts.
|
599
629
|
</p>
|
600
|
-
<div class="variablelist"><table border="0">
|
630
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
631
|
+
<colgroup>
|
601
632
|
<col align="left" valign="top">
|
633
|
+
<col>
|
634
|
+
</colgroup>
|
602
635
|
<tbody>
|
603
636
|
<tr>
|
604
637
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -615,8 +648,70 @@ counts.
|
|
615
648
|
</div>
|
616
649
|
<hr>
|
617
650
|
<div class="refsect2">
|
651
|
+
<a name="g-variant-take-ref"></a><h3>g_variant_take_ref ()</h3>
|
652
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_take_ref (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
653
|
+
<p>
|
654
|
+
If <em class="parameter"><code>value</code></em> is floating, sink it. Otherwise, do nothing.
|
655
|
+
</p>
|
656
|
+
<p>
|
657
|
+
Typically you want to use <a class="link" href="glib-GVariant.html#g-variant-ref-sink" title="g_variant_ref_sink ()"><code class="function">g_variant_ref_sink()</code></a> in order to
|
658
|
+
automatically do the correct thing with respect to floating or
|
659
|
+
non-floating references, but there is one specific scenario where
|
660
|
+
this function is helpful.
|
661
|
+
</p>
|
662
|
+
<p>
|
663
|
+
The situation where this function is helpful is when creating an API
|
664
|
+
that allows the user to provide a callback function that returns a
|
665
|
+
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>. We certainly want to allow the user the flexibility to
|
666
|
+
return a non-floating reference from this callback (for the case
|
667
|
+
where the value that is being returned already exists).
|
668
|
+
</p>
|
669
|
+
<p>
|
670
|
+
At the same time, the style of the <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> API makes it likely that
|
671
|
+
for newly-created <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instances, the user can be saved some
|
672
|
+
typing if they are allowed to return a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> with a floating
|
673
|
+
reference.
|
674
|
+
</p>
|
675
|
+
<p>
|
676
|
+
Using this function on the return value of the user's callback allows
|
677
|
+
the user to do whichever is more convenient for them. The caller
|
678
|
+
will alway receives exactly one full reference to the value: either
|
679
|
+
the one that was returned in the first place, or a floating reference
|
680
|
+
that has been converted to a full reference.
|
681
|
+
</p>
|
682
|
+
<p>
|
683
|
+
This function has an odd interaction when combined with
|
684
|
+
<a class="link" href="glib-GVariant.html#g-variant-ref-sink" title="g_variant_ref_sink ()"><code class="function">g_variant_ref_sink()</code></a> running at the same time in another thread on
|
685
|
+
the same <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. If <a class="link" href="glib-GVariant.html#g-variant-ref-sink" title="g_variant_ref_sink ()"><code class="function">g_variant_ref_sink()</code></a> runs first then
|
686
|
+
the result will be that the floating reference is converted to a hard
|
687
|
+
reference. If <a class="link" href="glib-GVariant.html#g-variant-take-ref" title="g_variant_take_ref ()"><code class="function">g_variant_take_ref()</code></a> runs first then the result will
|
688
|
+
be that the floating reference is converted to a hard reference and
|
689
|
+
an additional reference on top of that one is added. It is best to
|
690
|
+
avoid this situation.
|
691
|
+
</p>
|
692
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
693
|
+
<colgroup>
|
694
|
+
<col align="left" valign="top">
|
695
|
+
<col>
|
696
|
+
</colgroup>
|
697
|
+
<tbody>
|
698
|
+
<tr>
|
699
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
700
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>
|
701
|
+
</td>
|
702
|
+
</tr>
|
703
|
+
<tr>
|
704
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
705
|
+
<td>the same <em class="parameter"><code>value</code></em>
|
706
|
+
</td>
|
707
|
+
</tr>
|
708
|
+
</tbody>
|
709
|
+
</table></div>
|
710
|
+
</div>
|
711
|
+
<hr>
|
712
|
+
<div class="refsect2">
|
618
713
|
<a name="g-variant-get-type"></a><h3>g_variant_get_type ()</h3>
|
619
|
-
<pre class="programlisting">const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> *
|
714
|
+
<pre class="programlisting">const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * g_variant_get_type (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
620
715
|
<p>
|
621
716
|
Determines the type of <em class="parameter"><code>value</code></em>.
|
622
717
|
</p>
|
@@ -624,8 +719,11 @@ Determines the type of <em class="parameter"><code>value</code></em>.
|
|
624
719
|
The return value is valid for the lifetime of <em class="parameter"><code>value</code></em> and must not
|
625
720
|
be freed.
|
626
721
|
</p>
|
627
|
-
<div class="variablelist"><table border="0">
|
722
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
723
|
+
<colgroup>
|
628
724
|
<col align="left" valign="top">
|
725
|
+
<col>
|
726
|
+
</colgroup>
|
629
727
|
<tbody>
|
630
728
|
<tr>
|
631
729
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -644,15 +742,17 @@ be freed.
|
|
644
742
|
<hr>
|
645
743
|
<div class="refsect2">
|
646
744
|
<a name="g-variant-get-type-string"></a><h3>g_variant_get_type_string ()</h3>
|
647
|
-
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
648
|
-
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
745
|
+
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_variant_get_type_string (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
649
746
|
<p>
|
650
747
|
Returns the type string of <em class="parameter"><code>value</code></em>. Unlike the result of calling
|
651
748
|
<a class="link" href="glib-GVariantType.html#g-variant-type-peek-string" title="g_variant_type_peek_string ()"><code class="function">g_variant_type_peek_string()</code></a>, this string is nul-terminated. This
|
652
749
|
string belongs to <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> and must not be freed.
|
653
750
|
</p>
|
654
|
-
<div class="variablelist"><table border="0">
|
751
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
752
|
+
<colgroup>
|
655
753
|
<col align="left" valign="top">
|
754
|
+
<col>
|
755
|
+
</colgroup>
|
656
756
|
<tbody>
|
657
757
|
<tr>
|
658
758
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -676,8 +776,11 @@ string belongs to <a class="link" href="glib-GVariant.html#GVariant" title="GVar
|
|
676
776
|
<p>
|
677
777
|
Checks if a value has a type matching the provided type.
|
678
778
|
</p>
|
679
|
-
<div class="variablelist"><table border="0">
|
779
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
780
|
+
<colgroup>
|
680
781
|
<col align="left" valign="top">
|
782
|
+
<col>
|
783
|
+
</colgroup>
|
681
784
|
<tbody>
|
682
785
|
<tr>
|
683
786
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -705,8 +808,11 @@ Checks if a value has a type matching the provided type.
|
|
705
808
|
<p>
|
706
809
|
Checks if <em class="parameter"><code>value</code></em> is a container.
|
707
810
|
</p>
|
708
|
-
<div class="variablelist"><table border="0">
|
811
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
812
|
+
<colgroup>
|
709
813
|
<col align="left" valign="top">
|
814
|
+
<col>
|
815
|
+
</colgroup>
|
710
816
|
<tbody>
|
711
817
|
<tr>
|
712
818
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -719,6 +825,7 @@ Checks if <em class="parameter"><code>value</code></em> is a container.
|
|
719
825
|
</tr>
|
720
826
|
</tbody>
|
721
827
|
</table></div>
|
828
|
+
<p class="since">Since 2.24</p>
|
722
829
|
</div>
|
723
830
|
<hr>
|
724
831
|
<div class="refsect2">
|
@@ -741,7 +848,7 @@ ordered in the usual way. Strings are in ASCII lexographical order.
|
|
741
848
|
<p>
|
742
849
|
It is a programmer error to attempt to compare container values or
|
743
850
|
two values that have types that are not exactly equal. For example,
|
744
|
-
you
|
851
|
+
you cannot compare a 32-bit signed integer with a 32-bit unsigned
|
745
852
|
integer. Also note that this function is not particularly
|
746
853
|
well-behaved when it comes to comparison of doubles; in particular,
|
747
854
|
the handling of incomparable values (ie: NaN) is undefined.
|
@@ -750,8 +857,11 @@ the handling of incomparable values (ie: NaN) is undefined.
|
|
750
857
|
If you only require an equality comparison, <a class="link" href="glib-GVariant.html#g-variant-equal" title="g_variant_equal ()"><code class="function">g_variant_equal()</code></a> is more
|
751
858
|
general.
|
752
859
|
</p>
|
753
|
-
<div class="variablelist"><table border="0">
|
860
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
861
|
+
<colgroup>
|
754
862
|
<col align="left" valign="top">
|
863
|
+
<col>
|
864
|
+
</colgroup>
|
755
865
|
<tbody>
|
756
866
|
<tr>
|
757
867
|
<td><p><span class="term"><em class="parameter"><code>one</code></em> :</span></p></td>
|
@@ -780,8 +890,11 @@ positive value if a > b.</td>
|
|
780
890
|
<p>
|
781
891
|
Classifies <em class="parameter"><code>value</code></em> according to its top-level type.
|
782
892
|
</p>
|
783
|
-
<div class="variablelist"><table border="0">
|
893
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
894
|
+
<colgroup>
|
784
895
|
<col align="left" valign="top">
|
896
|
+
<col>
|
897
|
+
</colgroup>
|
785
898
|
<tbody>
|
786
899
|
<tr>
|
787
900
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -800,8 +913,7 @@ Classifies <em class="parameter"><code>value</code></em> according to its top-le
|
|
800
913
|
<hr>
|
801
914
|
<div class="refsect2">
|
802
915
|
<a name="GVariantClass"></a><h3>enum GVariantClass</h3>
|
803
|
-
<pre class="programlisting">typedef enum
|
804
|
-
{
|
916
|
+
<pre class="programlisting">typedef enum {
|
805
917
|
G_VARIANT_CLASS_BOOLEAN = 'b',
|
806
918
|
G_VARIANT_CLASS_BYTE = 'y',
|
807
919
|
G_VARIANT_CLASS_INT16 = 'n',
|
@@ -825,8 +937,11 @@ Classifies <em class="parameter"><code>value</code></em> according to its top-le
|
|
825
937
|
<p>
|
826
938
|
The range of possible top-level types of <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instances.
|
827
939
|
</p>
|
828
|
-
<div class="variablelist"><table border="0">
|
940
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
941
|
+
<colgroup>
|
829
942
|
<col align="left" valign="top">
|
943
|
+
<col>
|
944
|
+
</colgroup>
|
830
945
|
<tbody>
|
831
946
|
<tr>
|
832
947
|
<td><p><a name="G-VARIANT-CLASS-BOOLEAN:CAPS"></a><span class="term"><code class="literal">G_VARIANT_CLASS_BOOLEAN</code></span></p></td>
|
@@ -926,6 +1041,59 @@ The range of possible top-level types of <a class="link" href="glib-GVariant.htm
|
|
926
1041
|
</div>
|
927
1042
|
<hr>
|
928
1043
|
<div class="refsect2">
|
1044
|
+
<a name="g-variant-check-format-string"></a><h3>g_variant_check_format_string ()</h3>
|
1045
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_check_format_string (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
1046
|
+
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format_string</code></em>,
|
1047
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> copy_only</code></em>);</pre>
|
1048
|
+
<p>
|
1049
|
+
Checks if calling <a class="link" href="glib-GVariant.html#g-variant-get" title="g_variant_get ()"><code class="function">g_variant_get()</code></a> with <em class="parameter"><code>format_string</code></em> on <em class="parameter"><code>value</code></em> would
|
1050
|
+
be valid from a type-compatibility standpoint. <em class="parameter"><code>format_string</code></em> is
|
1051
|
+
assumed to be a valid format string (from a syntactic standpoint).
|
1052
|
+
</p>
|
1053
|
+
<p>
|
1054
|
+
If <em class="parameter"><code>copy_only</code></em> is <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> then this function additionally checks that it
|
1055
|
+
would be safe to call <a class="link" href="glib-GVariant.html#g-variant-unref" title="g_variant_unref ()"><code class="function">g_variant_unref()</code></a> on <em class="parameter"><code>value</code></em> immediately after
|
1056
|
+
the call to <a class="link" href="glib-GVariant.html#g-variant-get" title="g_variant_get ()"><code class="function">g_variant_get()</code></a> without invalidating the result. This is
|
1057
|
+
only possible if deep copies are made (ie: there are no pointers to
|
1058
|
+
the data inside of the soon-to-be-freed <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance). If this
|
1059
|
+
check fails then a <a class="link" href="glib-Message-Logging.html#g-critical" title="g_critical()"><code class="function">g_critical()</code></a> is printed and <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned.
|
1060
|
+
</p>
|
1061
|
+
<p>
|
1062
|
+
This function is meant to be used by functions that wish to provide
|
1063
|
+
varargs accessors to <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> values of uncertain values (eg:
|
1064
|
+
<a class="link" href="glib-GVariant.html#g-variant-lookup" title="g_variant_lookup ()"><code class="function">g_variant_lookup()</code></a> or <code class="function">g_menu_model_get_item_attribute()</code>).
|
1065
|
+
</p>
|
1066
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1067
|
+
<colgroup>
|
1068
|
+
<col align="left" valign="top">
|
1069
|
+
<col>
|
1070
|
+
</colgroup>
|
1071
|
+
<tbody>
|
1072
|
+
<tr>
|
1073
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1074
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>
|
1075
|
+
</td>
|
1076
|
+
</tr>
|
1077
|
+
<tr>
|
1078
|
+
<td><p><span class="term"><em class="parameter"><code>format_string</code></em> :</span></p></td>
|
1079
|
+
<td>a valid <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> format string</td>
|
1080
|
+
</tr>
|
1081
|
+
<tr>
|
1082
|
+
<td><p><span class="term"><em class="parameter"><code>copy_only</code></em> :</span></p></td>
|
1083
|
+
<td>
|
1084
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> to ensure the format string makes deep copies</td>
|
1085
|
+
</tr>
|
1086
|
+
<tr>
|
1087
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1088
|
+
<td>
|
1089
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>format_string</code></em> is safe to use</td>
|
1090
|
+
</tr>
|
1091
|
+
</tbody>
|
1092
|
+
</table></div>
|
1093
|
+
<p class="since">Since 2.34</p>
|
1094
|
+
</div>
|
1095
|
+
<hr>
|
1096
|
+
<div class="refsect2">
|
929
1097
|
<a name="g-variant-get"></a><h3>g_variant_get ()</h3>
|
930
1098
|
<pre class="programlisting"><span class="returnvalue">void</span> g_variant_get (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
931
1099
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format_string</code></em>,
|
@@ -944,8 +1112,17 @@ an incompatible type. See the section on <a href="gvariant-format-strings.html"
|
|
944
1112
|
Please note that the syntax of the format string is very likely to be
|
945
1113
|
extended in the future.
|
946
1114
|
</p>
|
947
|
-
<
|
1115
|
+
<p>
|
1116
|
+
<em class="parameter"><code>format_string</code></em> determines the C types that are used for unpacking
|
1117
|
+
the values and also determines if the values are copied or borrowed,
|
1118
|
+
see the section on
|
1119
|
+
<a href="gvariant-format-strings.html#gvariant-format-strings-pointers">GVariant Format Strings</a>.
|
1120
|
+
</p>
|
1121
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1122
|
+
<colgroup>
|
948
1123
|
<col align="left" valign="top">
|
1124
|
+
<col>
|
1125
|
+
</colgroup>
|
949
1126
|
<tbody>
|
950
1127
|
<tr>
|
951
1128
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -996,8 +1173,17 @@ These two generalisations allow mixing of multiple calls to
|
|
996
1173
|
<a class="link" href="glib-GVariant.html#g-variant-new-va" title="g_variant_new_va ()"><code class="function">g_variant_new_va()</code></a> and <a class="link" href="glib-GVariant.html#g-variant-get-va" title="g_variant_get_va ()"><code class="function">g_variant_get_va()</code></a> within a single actual
|
997
1174
|
varargs call by the user.
|
998
1175
|
</p>
|
999
|
-
<
|
1176
|
+
<p>
|
1177
|
+
<em class="parameter"><code>format_string</code></em> determines the C types that are used for unpacking
|
1178
|
+
the values and also determines if the values are copied or borrowed,
|
1179
|
+
see the section on
|
1180
|
+
<a href="gvariant-format-strings.html#gvariant-format-strings-pointers">GVariant Format Strings</a>.
|
1181
|
+
</p>
|
1182
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1183
|
+
<colgroup>
|
1000
1184
|
<col align="left" valign="top">
|
1185
|
+
<col>
|
1186
|
+
</colgroup>
|
1001
1187
|
<tbody>
|
1002
1188
|
<tr>
|
1003
1189
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -1026,7 +1212,7 @@ or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code
|
|
1026
1212
|
<hr>
|
1027
1213
|
<div class="refsect2">
|
1028
1214
|
<a name="g-variant-new"></a><h3>g_variant_new ()</h3>
|
1029
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1215
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format_string</code></em>,
|
1030
1216
|
<em class="parameter"><code>...</code></em>);</pre>
|
1031
1217
|
<p>
|
1032
1218
|
Creates a new <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
@@ -1046,8 +1232,11 @@ The first character of the format string must not be '*' '?' '@' or
|
|
1046
1232
|
'r'; in essence, a new <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> must always be constructed by this
|
1047
1233
|
function (and not merely passed through it unmodified).
|
1048
1234
|
</p>
|
1049
|
-
<div class="variablelist"><table border="0">
|
1235
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1236
|
+
<colgroup>
|
1050
1237
|
<col align="left" valign="top">
|
1238
|
+
<col>
|
1239
|
+
</colgroup>
|
1051
1240
|
<tbody>
|
1052
1241
|
<tr>
|
1053
1242
|
<td><p><span class="term"><em class="parameter"><code>format_string</code></em> :</span></p></td>
|
@@ -1069,7 +1258,7 @@ function (and not merely passed through it unmodified).
|
|
1069
1258
|
<hr>
|
1070
1259
|
<div class="refsect2">
|
1071
1260
|
<a name="g-variant-new-va"></a><h3>g_variant_new_va ()</h3>
|
1072
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1261
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_va (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format_string</code></em>,
|
1073
1262
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>,
|
1074
1263
|
<em class="parameter"><code><span class="type">va_list</span> *app</code></em>);</pre>
|
1075
1264
|
<p>
|
@@ -1112,8 +1301,11 @@ At this point, the caller will have their own full reference to the
|
|
1112
1301
|
result. This can also be done by adding the result to a container,
|
1113
1302
|
or by passing it to another <a class="link" href="glib-GVariant.html#g-variant-new" title="g_variant_new ()"><code class="function">g_variant_new()</code></a> call.
|
1114
1303
|
</p>
|
1115
|
-
<div class="variablelist"><table border="0">
|
1304
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1305
|
+
<colgroup>
|
1116
1306
|
<col align="left" valign="top">
|
1307
|
+
<col>
|
1308
|
+
</colgroup>
|
1117
1309
|
<tbody>
|
1118
1310
|
<tr>
|
1119
1311
|
<td><p><span class="term"><em class="parameter"><code>format_string</code></em> :</span></p></td>
|
@@ -1142,12 +1334,15 @@ or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code
|
|
1142
1334
|
<hr>
|
1143
1335
|
<div class="refsect2">
|
1144
1336
|
<a name="g-variant-new-boolean"></a><h3>g_variant_new_boolean ()</h3>
|
1145
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1337
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_boolean (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> value</code></em>);</pre>
|
1146
1338
|
<p>
|
1147
1339
|
Creates a new boolean <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance -- either <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> or <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>.
|
1148
1340
|
</p>
|
1149
|
-
<div class="variablelist"><table border="0">
|
1341
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1342
|
+
<colgroup>
|
1150
1343
|
<col align="left" valign="top">
|
1344
|
+
<col>
|
1345
|
+
</colgroup>
|
1151
1346
|
<tbody>
|
1152
1347
|
<tr>
|
1153
1348
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -1165,12 +1360,15 @@ Creates a new boolean <a class="link" href="glib-GVariant.html#GVariant" title="
|
|
1165
1360
|
<hr>
|
1166
1361
|
<div class="refsect2">
|
1167
1362
|
<a name="g-variant-new-byte"></a><h3>g_variant_new_byte ()</h3>
|
1168
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1363
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_byte (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guchar" title="guchar"><span class="type">guchar</span></a> value</code></em>);</pre>
|
1169
1364
|
<p>
|
1170
1365
|
Creates a new byte <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1171
1366
|
</p>
|
1172
|
-
<div class="variablelist"><table border="0">
|
1367
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1368
|
+
<colgroup>
|
1173
1369
|
<col align="left" valign="top">
|
1370
|
+
<col>
|
1371
|
+
</colgroup>
|
1174
1372
|
<tbody>
|
1175
1373
|
<tr>
|
1176
1374
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -1188,12 +1386,15 @@ Creates a new byte <a class="link" href="glib-GVariant.html#GVariant" title="GVa
|
|
1188
1386
|
<hr>
|
1189
1387
|
<div class="refsect2">
|
1190
1388
|
<a name="g-variant-new-int16"></a><h3>g_variant_new_int16 ()</h3>
|
1191
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1389
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_int16 (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint16" title="gint16"><span class="type">gint16</span></a> value</code></em>);</pre>
|
1192
1390
|
<p>
|
1193
1391
|
Creates a new int16 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1194
1392
|
</p>
|
1195
|
-
<div class="variablelist"><table border="0">
|
1393
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1394
|
+
<colgroup>
|
1196
1395
|
<col align="left" valign="top">
|
1396
|
+
<col>
|
1397
|
+
</colgroup>
|
1197
1398
|
<tbody>
|
1198
1399
|
<tr>
|
1199
1400
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -1211,12 +1412,15 @@ Creates a new int16 <a class="link" href="glib-GVariant.html#GVariant" title="GV
|
|
1211
1412
|
<hr>
|
1212
1413
|
<div class="refsect2">
|
1213
1414
|
<a name="g-variant-new-uint16"></a><h3>g_variant_new_uint16 ()</h3>
|
1214
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1415
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_uint16 (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint16" title="guint16"><span class="type">guint16</span></a> value</code></em>);</pre>
|
1215
1416
|
<p>
|
1216
1417
|
Creates a new uint16 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1217
1418
|
</p>
|
1218
|
-
<div class="variablelist"><table border="0">
|
1419
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1420
|
+
<colgroup>
|
1219
1421
|
<col align="left" valign="top">
|
1422
|
+
<col>
|
1423
|
+
</colgroup>
|
1220
1424
|
<tbody>
|
1221
1425
|
<tr>
|
1222
1426
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -1234,12 +1438,15 @@ Creates a new uint16 <a class="link" href="glib-GVariant.html#GVariant" title="G
|
|
1234
1438
|
<hr>
|
1235
1439
|
<div class="refsect2">
|
1236
1440
|
<a name="g-variant-new-int32"></a><h3>g_variant_new_int32 ()</h3>
|
1237
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1441
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_int32 (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a> value</code></em>);</pre>
|
1238
1442
|
<p>
|
1239
1443
|
Creates a new int32 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1240
1444
|
</p>
|
1241
|
-
<div class="variablelist"><table border="0">
|
1445
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1446
|
+
<colgroup>
|
1242
1447
|
<col align="left" valign="top">
|
1448
|
+
<col>
|
1449
|
+
</colgroup>
|
1243
1450
|
<tbody>
|
1244
1451
|
<tr>
|
1245
1452
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -1257,12 +1464,15 @@ Creates a new int32 <a class="link" href="glib-GVariant.html#GVariant" title="GV
|
|
1257
1464
|
<hr>
|
1258
1465
|
<div class="refsect2">
|
1259
1466
|
<a name="g-variant-new-uint32"></a><h3>g_variant_new_uint32 ()</h3>
|
1260
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1467
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_uint32 (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="type">guint32</span></a> value</code></em>);</pre>
|
1261
1468
|
<p>
|
1262
1469
|
Creates a new uint32 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1263
1470
|
</p>
|
1264
|
-
<div class="variablelist"><table border="0">
|
1471
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1472
|
+
<colgroup>
|
1265
1473
|
<col align="left" valign="top">
|
1474
|
+
<col>
|
1475
|
+
</colgroup>
|
1266
1476
|
<tbody>
|
1267
1477
|
<tr>
|
1268
1478
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -1280,12 +1490,15 @@ Creates a new uint32 <a class="link" href="glib-GVariant.html#GVariant" title="G
|
|
1280
1490
|
<hr>
|
1281
1491
|
<div class="refsect2">
|
1282
1492
|
<a name="g-variant-new-int64"></a><h3>g_variant_new_int64 ()</h3>
|
1283
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1493
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_int64 (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> value</code></em>);</pre>
|
1284
1494
|
<p>
|
1285
1495
|
Creates a new int64 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1286
1496
|
</p>
|
1287
|
-
<div class="variablelist"><table border="0">
|
1497
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1498
|
+
<colgroup>
|
1288
1499
|
<col align="left" valign="top">
|
1500
|
+
<col>
|
1501
|
+
</colgroup>
|
1289
1502
|
<tbody>
|
1290
1503
|
<tr>
|
1291
1504
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -1303,12 +1516,15 @@ Creates a new int64 <a class="link" href="glib-GVariant.html#GVariant" title="GV
|
|
1303
1516
|
<hr>
|
1304
1517
|
<div class="refsect2">
|
1305
1518
|
<a name="g-variant-new-uint64"></a><h3>g_variant_new_uint64 ()</h3>
|
1306
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1519
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_uint64 (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint64" title="guint64"><span class="type">guint64</span></a> value</code></em>);</pre>
|
1307
1520
|
<p>
|
1308
1521
|
Creates a new uint64 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1309
1522
|
</p>
|
1310
|
-
<div class="variablelist"><table border="0">
|
1523
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1524
|
+
<colgroup>
|
1311
1525
|
<col align="left" valign="top">
|
1526
|
+
<col>
|
1527
|
+
</colgroup>
|
1312
1528
|
<tbody>
|
1313
1529
|
<tr>
|
1314
1530
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -1326,7 +1542,7 @@ Creates a new uint64 <a class="link" href="glib-GVariant.html#GVariant" title="G
|
|
1326
1542
|
<hr>
|
1327
1543
|
<div class="refsect2">
|
1328
1544
|
<a name="g-variant-new-handle"></a><h3>g_variant_new_handle ()</h3>
|
1329
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1545
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_handle (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a> value</code></em>);</pre>
|
1330
1546
|
<p>
|
1331
1547
|
Creates a new handle <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1332
1548
|
</p>
|
@@ -1335,8 +1551,11 @@ By convention, handles are indexes into an array of file descriptors
|
|
1335
1551
|
that are sent alongside a D-Bus message. If you're not interacting
|
1336
1552
|
with D-Bus, you probably don't need them.
|
1337
1553
|
</p>
|
1338
|
-
<div class="variablelist"><table border="0">
|
1554
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1555
|
+
<colgroup>
|
1339
1556
|
<col align="left" valign="top">
|
1557
|
+
<col>
|
1558
|
+
</colgroup>
|
1340
1559
|
<tbody>
|
1341
1560
|
<tr>
|
1342
1561
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -1354,12 +1573,15 @@ with D-Bus, you probably don't need them.
|
|
1354
1573
|
<hr>
|
1355
1574
|
<div class="refsect2">
|
1356
1575
|
<a name="g-variant-new-double"></a><h3>g_variant_new_double ()</h3>
|
1357
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1576
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_double (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> value</code></em>);</pre>
|
1358
1577
|
<p>
|
1359
1578
|
Creates a new double <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
1360
1579
|
</p>
|
1361
|
-
<div class="variablelist"><table border="0">
|
1580
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1581
|
+
<colgroup>
|
1362
1582
|
<col align="left" valign="top">
|
1583
|
+
<col>
|
1584
|
+
</colgroup>
|
1363
1585
|
<tbody>
|
1364
1586
|
<tr>
|
1365
1587
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -1377,15 +1599,18 @@ Creates a new double <a class="link" href="glib-GVariant.html#GVariant" title="G
|
|
1377
1599
|
<hr>
|
1378
1600
|
<div class="refsect2">
|
1379
1601
|
<a name="g-variant-new-string"></a><h3>g_variant_new_string ()</h3>
|
1380
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1602
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_string (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
1381
1603
|
<p>
|
1382
1604
|
Creates a string <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> with the contents of <em class="parameter"><code>string</code></em>.
|
1383
1605
|
</p>
|
1384
1606
|
<p>
|
1385
1607
|
<em class="parameter"><code>string</code></em> must be valid utf8.
|
1386
1608
|
</p>
|
1387
|
-
<div class="variablelist"><table border="0">
|
1609
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1610
|
+
<colgroup>
|
1388
1611
|
<col align="left" valign="top">
|
1612
|
+
<col>
|
1613
|
+
</colgroup>
|
1389
1614
|
<tbody>
|
1390
1615
|
<tr>
|
1391
1616
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
@@ -1403,15 +1628,17 @@ Creates a string <a class="link" href="glib-GVariant.html#GVariant" title="GVari
|
|
1403
1628
|
<hr>
|
1404
1629
|
<div class="refsect2">
|
1405
1630
|
<a name="g-variant-new-object-path"></a><h3>g_variant_new_object_path ()</h3>
|
1406
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1407
|
-
(<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *object_path</code></em>);</pre>
|
1631
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_object_path (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *object_path</code></em>);</pre>
|
1408
1632
|
<p>
|
1409
1633
|
Creates a D-Bus object path <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> with the contents of <em class="parameter"><code>string</code></em>.
|
1410
1634
|
<em class="parameter"><code>string</code></em> must be a valid D-Bus object path. Use
|
1411
1635
|
<a class="link" href="glib-GVariant.html#g-variant-is-object-path" title="g_variant_is_object_path ()"><code class="function">g_variant_is_object_path()</code></a> if you're not sure.
|
1412
1636
|
</p>
|
1413
|
-
<div class="variablelist"><table border="0">
|
1637
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1638
|
+
<colgroup>
|
1414
1639
|
<col align="left" valign="top">
|
1640
|
+
<col>
|
1641
|
+
</colgroup>
|
1415
1642
|
<tbody>
|
1416
1643
|
<tr>
|
1417
1644
|
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
|
@@ -1441,8 +1668,11 @@ sequences of characters separated by '/' characters. Each sequence
|
|
1441
1668
|
must contain only the characters "[A-Z][a-z][0-9]_". No sequence
|
1442
1669
|
(including the one following the final '/' character) may be empty.
|
1443
1670
|
</p>
|
1444
|
-
<div class="variablelist"><table border="0">
|
1671
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1672
|
+
<colgroup>
|
1445
1673
|
<col align="left" valign="top">
|
1674
|
+
<col>
|
1675
|
+
</colgroup>
|
1446
1676
|
<tbody>
|
1447
1677
|
<tr>
|
1448
1678
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
@@ -1460,15 +1690,17 @@ must contain only the characters "[A-Z][a-z][0-9]_". No sequence
|
|
1460
1690
|
<hr>
|
1461
1691
|
<div class="refsect2">
|
1462
1692
|
<a name="g-variant-new-signature"></a><h3>g_variant_new_signature ()</h3>
|
1463
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1464
|
-
(<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *signature</code></em>);</pre>
|
1693
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_signature (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *signature</code></em>);</pre>
|
1465
1694
|
<p>
|
1466
1695
|
Creates a D-Bus type signature <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> with the contents of
|
1467
1696
|
<em class="parameter"><code>string</code></em>. <em class="parameter"><code>string</code></em> must be a valid D-Bus type signature. Use
|
1468
1697
|
<a class="link" href="glib-GVariant.html#g-variant-is-signature" title="g_variant_is_signature ()"><code class="function">g_variant_is_signature()</code></a> if you're not sure.
|
1469
1698
|
</p>
|
1470
|
-
<div class="variablelist"><table border="0">
|
1699
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1700
|
+
<colgroup>
|
1471
1701
|
<col align="left" valign="top">
|
1702
|
+
<col>
|
1703
|
+
</colgroup>
|
1472
1704
|
<tbody>
|
1473
1705
|
<tr>
|
1474
1706
|
<td><p><span class="term"><em class="parameter"><code>signature</code></em> :</span></p></td>
|
@@ -1496,8 +1728,11 @@ passing it to <a class="link" href="glib-GVariant.html#g-variant-new-signature"
|
|
1496
1728
|
D-Bus type signatures consist of zero or more definite <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1497
1729
|
strings in sequence.
|
1498
1730
|
</p>
|
1499
|
-
<div class="variablelist"><table border="0">
|
1731
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1732
|
+
<colgroup>
|
1500
1733
|
<col align="left" valign="top">
|
1734
|
+
<col>
|
1735
|
+
</colgroup>
|
1501
1736
|
<tbody>
|
1502
1737
|
<tr>
|
1503
1738
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
@@ -1515,7 +1750,7 @@ strings in sequence.
|
|
1515
1750
|
<hr>
|
1516
1751
|
<div class="refsect2">
|
1517
1752
|
<a name="g-variant-new-variant"></a><h3>g_variant_new_variant ()</h3>
|
1518
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1753
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_variant (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
1519
1754
|
<p>
|
1520
1755
|
Boxes <em class="parameter"><code>value</code></em>. The result is a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance representing a
|
1521
1756
|
variant containing the original value.
|
@@ -1524,8 +1759,11 @@ variant containing the original value.
|
|
1524
1759
|
If <em class="parameter"><code>child</code></em> is a floating reference (see <a class="link" href="glib-GVariant.html#g-variant-ref-sink" title="g_variant_ref_sink ()"><code class="function">g_variant_ref_sink()</code></a>), the new
|
1525
1760
|
instance takes ownership of <em class="parameter"><code>child</code></em>.
|
1526
1761
|
</p>
|
1527
|
-
<div class="variablelist"><table border="0">
|
1762
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1763
|
+
<colgroup>
|
1528
1764
|
<col align="left" valign="top">
|
1765
|
+
<col>
|
1766
|
+
</colgroup>
|
1529
1767
|
<tbody>
|
1530
1768
|
<tr>
|
1531
1769
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -1543,7 +1781,7 @@ instance takes ownership of <em class="parameter"><code>child</code></em>.
|
|
1543
1781
|
<hr>
|
1544
1782
|
<div class="refsect2">
|
1545
1783
|
<a name="g-variant-new-strv"></a><h3>g_variant_new_strv ()</h3>
|
1546
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1784
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_strv (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> * const *strv</code></em>,
|
1547
1785
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> length</code></em>);</pre>
|
1548
1786
|
<p>
|
1549
1787
|
Constructs an array of strings <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> from the given array of
|
@@ -1552,8 +1790,11 @@ strings.
|
|
1552
1790
|
<p>
|
1553
1791
|
If <em class="parameter"><code>length</code></em> is -1 then <em class="parameter"><code>strv</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated.
|
1554
1792
|
</p>
|
1555
|
-
<div class="variablelist"><table border="0">
|
1793
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1794
|
+
<colgroup>
|
1556
1795
|
<col align="left" valign="top">
|
1796
|
+
<col>
|
1797
|
+
</colgroup>
|
1557
1798
|
<tbody>
|
1558
1799
|
<tr>
|
1559
1800
|
<td><p><span class="term"><em class="parameter"><code>strv</code></em> :</span></p></td>
|
@@ -1575,9 +1816,48 @@ If <em class="parameter"><code>length</code></em> is -1 then <em class="paramete
|
|
1575
1816
|
</div>
|
1576
1817
|
<hr>
|
1577
1818
|
<div class="refsect2">
|
1819
|
+
<a name="g-variant-new-objv"></a><h3>g_variant_new_objv ()</h3>
|
1820
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_objv (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> * const *strv</code></em>,
|
1821
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> length</code></em>);</pre>
|
1822
|
+
<p>
|
1823
|
+
Constructs an array of object paths <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> from the given array of
|
1824
|
+
strings.
|
1825
|
+
</p>
|
1826
|
+
<p>
|
1827
|
+
Each string must be a valid <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> object path; see
|
1828
|
+
<a class="link" href="glib-GVariant.html#g-variant-is-object-path" title="g_variant_is_object_path ()"><code class="function">g_variant_is_object_path()</code></a>.
|
1829
|
+
</p>
|
1830
|
+
<p>
|
1831
|
+
If <em class="parameter"><code>length</code></em> is -1 then <em class="parameter"><code>strv</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated.
|
1832
|
+
</p>
|
1833
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1834
|
+
<colgroup>
|
1835
|
+
<col align="left" valign="top">
|
1836
|
+
<col>
|
1837
|
+
</colgroup>
|
1838
|
+
<tbody>
|
1839
|
+
<tr>
|
1840
|
+
<td><p><span class="term"><em class="parameter"><code>strv</code></em> :</span></p></td>
|
1841
|
+
<td>an array of strings. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8]</span>
|
1842
|
+
</td>
|
1843
|
+
</tr>
|
1844
|
+
<tr>
|
1845
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1846
|
+
<td>the length of <em class="parameter"><code>strv</code></em>, or -1</td>
|
1847
|
+
</tr>
|
1848
|
+
<tr>
|
1849
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1850
|
+
<td>a new floating <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1851
|
+
</td>
|
1852
|
+
</tr>
|
1853
|
+
</tbody>
|
1854
|
+
</table></div>
|
1855
|
+
<p class="since">Since 2.30</p>
|
1856
|
+
</div>
|
1857
|
+
<hr>
|
1858
|
+
<div class="refsect2">
|
1578
1859
|
<a name="g-variant-new-bytestring"></a><h3>g_variant_new_bytestring ()</h3>
|
1579
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1580
|
-
(<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
1860
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_bytestring (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
1581
1861
|
<p>
|
1582
1862
|
Creates an array-of-bytes <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> with the contents of <em class="parameter"><code>string</code></em>.
|
1583
1863
|
This function is just like <a class="link" href="glib-GVariant.html#g-variant-new-string" title="g_variant_new_string ()"><code class="function">g_variant_new_string()</code></a> except that the
|
@@ -1587,12 +1867,16 @@ string need not be valid utf8.
|
|
1587
1867
|
The nul terminator character at the end of the string is stored in
|
1588
1868
|
the array.
|
1589
1869
|
</p>
|
1590
|
-
<div class="variablelist"><table border="0">
|
1870
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1871
|
+
<colgroup>
|
1591
1872
|
<col align="left" valign="top">
|
1873
|
+
<col>
|
1874
|
+
</colgroup>
|
1592
1875
|
<tbody>
|
1593
1876
|
<tr>
|
1594
1877
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1595
|
-
<td>a normal
|
1878
|
+
<td>a normal
|
1879
|
+
nul-terminated string in no particular encoding. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> guint8]</span>
|
1596
1880
|
</td>
|
1597
1881
|
</tr>
|
1598
1882
|
<tr>
|
@@ -1607,8 +1891,7 @@ the array.
|
|
1607
1891
|
<hr>
|
1608
1892
|
<div class="refsect2">
|
1609
1893
|
<a name="g-variant-new-bytestring-array"></a><h3>g_variant_new_bytestring_array ()</h3>
|
1610
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
1611
|
-
(<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> * const *strv</code></em>,
|
1894
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_bytestring_array (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> * const *strv</code></em>,
|
1612
1895
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> length</code></em>);</pre>
|
1613
1896
|
<p>
|
1614
1897
|
Constructs an array of bytestring <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> from the given array of
|
@@ -1617,8 +1900,11 @@ strings.
|
|
1617
1900
|
<p>
|
1618
1901
|
If <em class="parameter"><code>length</code></em> is -1 then <em class="parameter"><code>strv</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated.
|
1619
1902
|
</p>
|
1620
|
-
<div class="variablelist"><table border="0">
|
1903
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1904
|
+
<colgroup>
|
1621
1905
|
<col align="left" valign="top">
|
1906
|
+
<col>
|
1907
|
+
</colgroup>
|
1622
1908
|
<tbody>
|
1623
1909
|
<tr>
|
1624
1910
|
<td><p><span class="term"><em class="parameter"><code>strv</code></em> :</span></p></td>
|
@@ -1649,8 +1935,11 @@ Returns the boolean value of <em class="parameter"><code>value</code></em>.
|
|
1649
1935
|
It is an error to call this function with a <em class="parameter"><code>value</code></em> of any type
|
1650
1936
|
other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BOOLEAN:CAPS" title="G_VARIANT_TYPE_BOOLEAN"><code class="literal">G_VARIANT_TYPE_BOOLEAN</code></a>.
|
1651
1937
|
</p>
|
1652
|
-
<div class="variablelist"><table border="0">
|
1938
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1939
|
+
<colgroup>
|
1653
1940
|
<col align="left" valign="top">
|
1941
|
+
<col>
|
1942
|
+
</colgroup>
|
1654
1943
|
<tbody>
|
1655
1944
|
<tr>
|
1656
1945
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -1677,8 +1966,11 @@ Returns the byte value of <em class="parameter"><code>value</code></em>.
|
|
1677
1966
|
It is an error to call this function with a <em class="parameter"><code>value</code></em> of any type
|
1678
1967
|
other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BYTE:CAPS" title="G_VARIANT_TYPE_BYTE"><code class="literal">G_VARIANT_TYPE_BYTE</code></a>.
|
1679
1968
|
</p>
|
1680
|
-
<div class="variablelist"><table border="0">
|
1969
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1970
|
+
<colgroup>
|
1681
1971
|
<col align="left" valign="top">
|
1972
|
+
<col>
|
1973
|
+
</colgroup>
|
1682
1974
|
<tbody>
|
1683
1975
|
<tr>
|
1684
1976
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -1704,8 +1996,11 @@ Returns the 16-bit signed integer value of <em class="parameter"><code>value</co
|
|
1704
1996
|
It is an error to call this function with a <em class="parameter"><code>value</code></em> of any type
|
1705
1997
|
other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT16:CAPS" title="G_VARIANT_TYPE_INT16"><code class="literal">G_VARIANT_TYPE_INT16</code></a>.
|
1706
1998
|
</p>
|
1707
|
-
<div class="variablelist"><table border="0">
|
1999
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2000
|
+
<colgroup>
|
1708
2001
|
<col align="left" valign="top">
|
2002
|
+
<col>
|
2003
|
+
</colgroup>
|
1709
2004
|
<tbody>
|
1710
2005
|
<tr>
|
1711
2006
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -1731,8 +2026,11 @@ Returns the 16-bit unsigned integer value of <em class="parameter"><code>value</
|
|
1731
2026
|
It is an error to call this function with a <em class="parameter"><code>value</code></em> of any type
|
1732
2027
|
other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT16:CAPS" title="G_VARIANT_TYPE_UINT16"><code class="literal">G_VARIANT_TYPE_UINT16</code></a>.
|
1733
2028
|
</p>
|
1734
|
-
<div class="variablelist"><table border="0">
|
2029
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2030
|
+
<colgroup>
|
1735
2031
|
<col align="left" valign="top">
|
2032
|
+
<col>
|
2033
|
+
</colgroup>
|
1736
2034
|
<tbody>
|
1737
2035
|
<tr>
|
1738
2036
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -1758,8 +2056,11 @@ Returns the 32-bit signed integer value of <em class="parameter"><code>value</co
|
|
1758
2056
|
It is an error to call this function with a <em class="parameter"><code>value</code></em> of any type
|
1759
2057
|
other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT32:CAPS" title="G_VARIANT_TYPE_INT32"><code class="literal">G_VARIANT_TYPE_INT32</code></a>.
|
1760
2058
|
</p>
|
1761
|
-
<div class="variablelist"><table border="0">
|
2059
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2060
|
+
<colgroup>
|
1762
2061
|
<col align="left" valign="top">
|
2062
|
+
<col>
|
2063
|
+
</colgroup>
|
1763
2064
|
<tbody>
|
1764
2065
|
<tr>
|
1765
2066
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -1785,8 +2086,11 @@ Returns the 32-bit unsigned integer value of <em class="parameter"><code>value</
|
|
1785
2086
|
It is an error to call this function with a <em class="parameter"><code>value</code></em> of any type
|
1786
2087
|
other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT32:CAPS" title="G_VARIANT_TYPE_UINT32"><code class="literal">G_VARIANT_TYPE_UINT32</code></a>.
|
1787
2088
|
</p>
|
1788
|
-
<div class="variablelist"><table border="0">
|
2089
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2090
|
+
<colgroup>
|
1789
2091
|
<col align="left" valign="top">
|
2092
|
+
<col>
|
2093
|
+
</colgroup>
|
1790
2094
|
<tbody>
|
1791
2095
|
<tr>
|
1792
2096
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -1812,8 +2116,11 @@ Returns the 64-bit signed integer value of <em class="parameter"><code>value</co
|
|
1812
2116
|
It is an error to call this function with a <em class="parameter"><code>value</code></em> of any type
|
1813
2117
|
other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT64:CAPS" title="G_VARIANT_TYPE_INT64"><code class="literal">G_VARIANT_TYPE_INT64</code></a>.
|
1814
2118
|
</p>
|
1815
|
-
<div class="variablelist"><table border="0">
|
2119
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2120
|
+
<colgroup>
|
1816
2121
|
<col align="left" valign="top">
|
2122
|
+
<col>
|
2123
|
+
</colgroup>
|
1817
2124
|
<tbody>
|
1818
2125
|
<tr>
|
1819
2126
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -1839,8 +2146,11 @@ Returns the 64-bit unsigned integer value of <em class="parameter"><code>value</
|
|
1839
2146
|
It is an error to call this function with a <em class="parameter"><code>value</code></em> of any type
|
1840
2147
|
other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT64:CAPS" title="G_VARIANT_TYPE_UINT64"><code class="literal">G_VARIANT_TYPE_UINT64</code></a>.
|
1841
2148
|
</p>
|
1842
|
-
<div class="variablelist"><table border="0">
|
2149
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2150
|
+
<colgroup>
|
1843
2151
|
<col align="left" valign="top">
|
2152
|
+
<col>
|
2153
|
+
</colgroup>
|
1844
2154
|
<tbody>
|
1845
2155
|
<tr>
|
1846
2156
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -1871,8 +2181,11 @@ By convention, handles are indexes into an array of file descriptors
|
|
1871
2181
|
that are sent alongside a D-Bus message. If you're not interacting
|
1872
2182
|
with D-Bus, you probably don't need them.
|
1873
2183
|
</p>
|
1874
|
-
<div class="variablelist"><table border="0">
|
2184
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2185
|
+
<colgroup>
|
1875
2186
|
<col align="left" valign="top">
|
2187
|
+
<col>
|
2188
|
+
</colgroup>
|
1876
2189
|
<tbody>
|
1877
2190
|
<tr>
|
1878
2191
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -1898,8 +2211,11 @@ Returns the double precision floating point value of <em class="parameter"><code
|
|
1898
2211
|
It is an error to call this function with a <em class="parameter"><code>value</code></em> of any type
|
1899
2212
|
other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-DOUBLE:CAPS" title="G_VARIANT_TYPE_DOUBLE"><code class="literal">G_VARIANT_TYPE_DOUBLE</code></a>.
|
1900
2213
|
</p>
|
1901
|
-
<div class="variablelist"><table border="0">
|
2214
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2215
|
+
<colgroup>
|
1902
2216
|
<col align="left" valign="top">
|
2217
|
+
<col>
|
2218
|
+
</colgroup>
|
1903
2219
|
<tbody>
|
1904
2220
|
<tr>
|
1905
2221
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -1917,7 +2233,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-DOUBLE:CA
|
|
1917
2233
|
<hr>
|
1918
2234
|
<div class="refsect2">
|
1919
2235
|
<a name="g-variant-get-string"></a><h3>g_variant_get_string ()</h3>
|
1920
|
-
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
2236
|
+
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_variant_get_string (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
1921
2237
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);</pre>
|
1922
2238
|
<p>
|
1923
2239
|
Returns the string value of a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance with a string
|
@@ -1939,8 +2255,11 @@ other than those three.
|
|
1939
2255
|
<p>
|
1940
2256
|
The return value remains valid as long as <em class="parameter"><code>value</code></em> exists.
|
1941
2257
|
</p>
|
1942
|
-
<div class="variablelist"><table border="0">
|
2258
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2259
|
+
<colgroup>
|
1943
2260
|
<col align="left" valign="top">
|
2261
|
+
<col>
|
2262
|
+
</colgroup>
|
1944
2263
|
<tbody>
|
1945
2264
|
<tr>
|
1946
2265
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -1964,7 +2283,7 @@ to store the length. <span class="annotation">[<acronym title="NULL is ok, both
|
|
1964
2283
|
<hr>
|
1965
2284
|
<div class="refsect2">
|
1966
2285
|
<a name="g-variant-dup-string"></a><h3>g_variant_dup_string ()</h3>
|
1967
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
2286
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_variant_dup_string (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
1968
2287
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);</pre>
|
1969
2288
|
<p>
|
1970
2289
|
Similar to <a class="link" href="glib-GVariant.html#g-variant-get-string" title="g_variant_get_string ()"><code class="function">g_variant_get_string()</code></a> except that instead of returning
|
@@ -1976,8 +2295,11 @@ The string will always be utf8 encoded.
|
|
1976
2295
|
<p>
|
1977
2296
|
The return value must be freed using <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>.
|
1978
2297
|
</p>
|
1979
|
-
<div class="variablelist"><table border="0">
|
2298
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2299
|
+
<colgroup>
|
1980
2300
|
<col align="left" valign="top">
|
2301
|
+
<col>
|
2302
|
+
</colgroup>
|
1981
2303
|
<tbody>
|
1982
2304
|
<tr>
|
1983
2305
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -2000,13 +2322,16 @@ The return value must be freed using <a class="link" href="glib-Memory-Allocatio
|
|
2000
2322
|
<hr>
|
2001
2323
|
<div class="refsect2">
|
2002
2324
|
<a name="g-variant-get-variant"></a><h3>g_variant_get_variant ()</h3>
|
2003
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2325
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_get_variant (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
2004
2326
|
<p>
|
2005
2327
|
Unboxes <em class="parameter"><code>value</code></em>. The result is the <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance that was
|
2006
2328
|
contained in <em class="parameter"><code>value</code></em>.
|
2007
2329
|
</p>
|
2008
|
-
<div class="variablelist"><table border="0">
|
2330
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2331
|
+
<colgroup>
|
2009
2332
|
<col align="left" valign="top">
|
2333
|
+
<col>
|
2334
|
+
</colgroup>
|
2010
2335
|
<tbody>
|
2011
2336
|
<tr>
|
2012
2337
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -2024,7 +2349,7 @@ contained in <em class="parameter"><code>value</code></em>.
|
|
2024
2349
|
<hr>
|
2025
2350
|
<div class="refsect2">
|
2026
2351
|
<a name="g-variant-get-strv"></a><h3>g_variant_get_strv ()</h3>
|
2027
|
-
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **
|
2352
|
+
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_variant_get_strv (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
2028
2353
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);</pre>
|
2029
2354
|
<p>
|
2030
2355
|
Gets the contents of an array of strings <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>. This call
|
@@ -2040,8 +2365,11 @@ is stored there. In any case, the resulting array will be
|
|
2040
2365
|
For an empty array, <em class="parameter"><code>length</code></em> will be set to 0 and a pointer to a
|
2041
2366
|
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> pointer will be returned.
|
2042
2367
|
</p>
|
2043
|
-
<div class="variablelist"><table border="0">
|
2368
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2369
|
+
<colgroup>
|
2044
2370
|
<col align="left" valign="top">
|
2371
|
+
<col>
|
2372
|
+
</colgroup>
|
2045
2373
|
<tbody>
|
2046
2374
|
<tr>
|
2047
2375
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -2055,8 +2383,7 @@ For an empty array, <em class="parameter"><code>length</code></em> will be set t
|
|
2055
2383
|
</tr>
|
2056
2384
|
<tr>
|
2057
2385
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2058
|
-
<td>an array of constant
|
2059
|
-
strings. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length zero-terminated=1][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span>
|
2386
|
+
<td>an array of constant strings. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length zero-terminated=1][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span>
|
2060
2387
|
</td>
|
2061
2388
|
</tr>
|
2062
2389
|
</tbody>
|
@@ -2066,7 +2393,7 @@ strings. <span class="annotation">[<acronym title="Parameter points to an array
|
|
2066
2393
|
<hr>
|
2067
2394
|
<div class="refsect2">
|
2068
2395
|
<a name="g-variant-dup-strv"></a><h3>g_variant_dup_strv ()</h3>
|
2069
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **
|
2396
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_variant_dup_strv (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
2070
2397
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);</pre>
|
2071
2398
|
<p>
|
2072
2399
|
Gets the contents of an array of strings <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>. This call
|
@@ -2082,8 +2409,11 @@ is stored there. In any case, the resulting array will be
|
|
2082
2409
|
For an empty array, <em class="parameter"><code>length</code></em> will be set to 0 and a pointer to a
|
2083
2410
|
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> pointer will be returned.
|
2084
2411
|
</p>
|
2085
|
-
<div class="variablelist"><table border="0">
|
2412
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2413
|
+
<colgroup>
|
2086
2414
|
<col align="left" valign="top">
|
2415
|
+
<col>
|
2416
|
+
</colgroup>
|
2087
2417
|
<tbody>
|
2088
2418
|
<tr>
|
2089
2419
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -2106,9 +2436,96 @@ For an empty array, <em class="parameter"><code>length</code></em> will be set t
|
|
2106
2436
|
</div>
|
2107
2437
|
<hr>
|
2108
2438
|
<div class="refsect2">
|
2439
|
+
<a name="g-variant-get-objv"></a><h3>g_variant_get_objv ()</h3>
|
2440
|
+
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_variant_get_objv (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
2441
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);</pre>
|
2442
|
+
<p>
|
2443
|
+
Gets the contents of an array of object paths <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>. This call
|
2444
|
+
makes a shallow copy; the return result should be released with
|
2445
|
+
<a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>, but the individual strings must not be modified.
|
2446
|
+
</p>
|
2447
|
+
<p>
|
2448
|
+
If <em class="parameter"><code>length</code></em> is non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then the number of elements in the result
|
2449
|
+
is stored there. In any case, the resulting array will be
|
2450
|
+
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated.
|
2451
|
+
</p>
|
2452
|
+
<p>
|
2453
|
+
For an empty array, <em class="parameter"><code>length</code></em> will be set to 0 and a pointer to a
|
2454
|
+
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> pointer will be returned.
|
2455
|
+
</p>
|
2456
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2457
|
+
<colgroup>
|
2458
|
+
<col align="left" valign="top">
|
2459
|
+
<col>
|
2460
|
+
</colgroup>
|
2461
|
+
<tbody>
|
2462
|
+
<tr>
|
2463
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2464
|
+
<td>an array of object paths <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>
|
2465
|
+
</td>
|
2466
|
+
</tr>
|
2467
|
+
<tr>
|
2468
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
2469
|
+
<td>the length of the result, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2470
|
+
</td>
|
2471
|
+
</tr>
|
2472
|
+
<tr>
|
2473
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2474
|
+
<td>an array of constant strings. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length zero-terminated=1][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span>
|
2475
|
+
</td>
|
2476
|
+
</tr>
|
2477
|
+
</tbody>
|
2478
|
+
</table></div>
|
2479
|
+
<p class="since">Since 2.30</p>
|
2480
|
+
</div>
|
2481
|
+
<hr>
|
2482
|
+
<div class="refsect2">
|
2483
|
+
<a name="g-variant-dup-objv"></a><h3>g_variant_dup_objv ()</h3>
|
2484
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_variant_dup_objv (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
2485
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);</pre>
|
2486
|
+
<p>
|
2487
|
+
Gets the contents of an array of object paths <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>. This call
|
2488
|
+
makes a deep copy; the return result should be released with
|
2489
|
+
<a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()"><code class="function">g_strfreev()</code></a>.
|
2490
|
+
</p>
|
2491
|
+
<p>
|
2492
|
+
If <em class="parameter"><code>length</code></em> is non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then the number of elements in the result
|
2493
|
+
is stored there. In any case, the resulting array will be
|
2494
|
+
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated.
|
2495
|
+
</p>
|
2496
|
+
<p>
|
2497
|
+
For an empty array, <em class="parameter"><code>length</code></em> will be set to 0 and a pointer to a
|
2498
|
+
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> pointer will be returned.
|
2499
|
+
</p>
|
2500
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2501
|
+
<colgroup>
|
2502
|
+
<col align="left" valign="top">
|
2503
|
+
<col>
|
2504
|
+
</colgroup>
|
2505
|
+
<tbody>
|
2506
|
+
<tr>
|
2507
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2508
|
+
<td>an array of object paths <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>
|
2509
|
+
</td>
|
2510
|
+
</tr>
|
2511
|
+
<tr>
|
2512
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
2513
|
+
<td>the length of the result, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2514
|
+
</td>
|
2515
|
+
</tr>
|
2516
|
+
<tr>
|
2517
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2518
|
+
<td>an array of strings. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length zero-terminated=1][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2519
|
+
</td>
|
2520
|
+
</tr>
|
2521
|
+
</tbody>
|
2522
|
+
</table></div>
|
2523
|
+
<p class="since">Since 2.30</p>
|
2524
|
+
</div>
|
2525
|
+
<hr>
|
2526
|
+
<div class="refsect2">
|
2109
2527
|
<a name="g-variant-get-bytestring"></a><h3>g_variant_get_bytestring ()</h3>
|
2110
|
-
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
2111
|
-
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
2528
|
+
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_variant_get_bytestring (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
2112
2529
|
<p>
|
2113
2530
|
Returns the string value of a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance with an
|
2114
2531
|
array-of-bytes type. The string has no particular encoding.
|
@@ -2130,8 +2547,11 @@ array of bytes.
|
|
2130
2547
|
<p>
|
2131
2548
|
The return value remains valid as long as <em class="parameter"><code>value</code></em> exists.
|
2132
2549
|
</p>
|
2133
|
-
<div class="variablelist"><table border="0">
|
2550
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2551
|
+
<colgroup>
|
2134
2552
|
<col align="left" valign="top">
|
2553
|
+
<col>
|
2554
|
+
</colgroup>
|
2135
2555
|
<tbody>
|
2136
2556
|
<tr>
|
2137
2557
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -2139,7 +2559,7 @@ The return value remains valid as long as <em class="parameter"><code>value</cod
|
|
2139
2559
|
</tr>
|
2140
2560
|
<tr>
|
2141
2561
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2142
|
-
<td>the constant string. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span>
|
2562
|
+
<td>the constant string. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> guint8]</span>
|
2143
2563
|
</td>
|
2144
2564
|
</tr>
|
2145
2565
|
</tbody>
|
@@ -2149,8 +2569,7 @@ The return value remains valid as long as <em class="parameter"><code>value</cod
|
|
2149
2569
|
<hr>
|
2150
2570
|
<div class="refsect2">
|
2151
2571
|
<a name="g-variant-dup-bytestring"></a><h3>g_variant_dup_bytestring ()</h3>
|
2152
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
2153
|
-
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
2572
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_variant_dup_bytestring (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
2154
2573
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);</pre>
|
2155
2574
|
<p>
|
2156
2575
|
Similar to <a class="link" href="glib-GVariant.html#g-variant-get-bytestring" title="g_variant_get_bytestring ()"><code class="function">g_variant_get_bytestring()</code></a> except that instead of
|
@@ -2159,8 +2578,11 @@ returning a constant string, the string is duplicated.
|
|
2159
2578
|
<p>
|
2160
2579
|
The return value must be freed using <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>.
|
2161
2580
|
</p>
|
2162
|
-
<div class="variablelist"><table border="0">
|
2581
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2582
|
+
<colgroup>
|
2163
2583
|
<col align="left" valign="top">
|
2584
|
+
<col>
|
2585
|
+
</colgroup>
|
2164
2586
|
<tbody>
|
2165
2587
|
<tr>
|
2166
2588
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -2174,7 +2596,7 @@ the length (not including the nul terminator). <span class="annotation">[<acrony
|
|
2174
2596
|
</tr>
|
2175
2597
|
<tr>
|
2176
2598
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2177
|
-
<td>a newly allocated string. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span>
|
2599
|
+
<td>a newly allocated string. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1 length=length][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> guint8]</span>
|
2178
2600
|
</td>
|
2179
2601
|
</tr>
|
2180
2602
|
</tbody>
|
@@ -2184,8 +2606,7 @@ the length (not including the nul terminator). <span class="annotation">[<acrony
|
|
2184
2606
|
<hr>
|
2185
2607
|
<div class="refsect2">
|
2186
2608
|
<a name="g-variant-get-bytestring-array"></a><h3>g_variant_get_bytestring_array ()</h3>
|
2187
|
-
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **
|
2188
|
-
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
2609
|
+
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_variant_get_bytestring_array (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
2189
2610
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);</pre>
|
2190
2611
|
<p>
|
2191
2612
|
Gets the contents of an array of array of bytes <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>. This call
|
@@ -2201,8 +2622,11 @@ stored there. In any case, the resulting array will be
|
|
2201
2622
|
For an empty array, <em class="parameter"><code>length</code></em> will be set to 0 and a pointer to a
|
2202
2623
|
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> pointer will be returned.
|
2203
2624
|
</p>
|
2204
|
-
<div class="variablelist"><table border="0">
|
2625
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2626
|
+
<colgroup>
|
2205
2627
|
<col align="left" valign="top">
|
2628
|
+
<col>
|
2629
|
+
</colgroup>
|
2206
2630
|
<tbody>
|
2207
2631
|
<tr>
|
2208
2632
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -2225,8 +2649,7 @@ For an empty array, <em class="parameter"><code>length</code></em> will be set t
|
|
2225
2649
|
<hr>
|
2226
2650
|
<div class="refsect2">
|
2227
2651
|
<a name="g-variant-dup-bytestring-array"></a><h3>g_variant_dup_bytestring_array ()</h3>
|
2228
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **
|
2229
|
-
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
2652
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_variant_dup_bytestring_array (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
2230
2653
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);</pre>
|
2231
2654
|
<p>
|
2232
2655
|
Gets the contents of an array of array of bytes <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>. This call
|
@@ -2242,8 +2665,11 @@ stored there. In any case, the resulting array will be
|
|
2242
2665
|
For an empty array, <em class="parameter"><code>length</code></em> will be set to 0 and a pointer to a
|
2243
2666
|
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> pointer will be returned.
|
2244
2667
|
</p>
|
2245
|
-
<div class="variablelist"><table border="0">
|
2668
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2669
|
+
<colgroup>
|
2246
2670
|
<col align="left" valign="top">
|
2671
|
+
<col>
|
2672
|
+
</colgroup>
|
2247
2673
|
<tbody>
|
2248
2674
|
<tr>
|
2249
2675
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -2266,7 +2692,7 @@ For an empty array, <em class="parameter"><code>length</code></em> will be set t
|
|
2266
2692
|
<hr>
|
2267
2693
|
<div class="refsect2">
|
2268
2694
|
<a name="g-variant-new-maybe"></a><h3>g_variant_new_maybe ()</h3>
|
2269
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2695
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_maybe (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *child_type</code></em>,
|
2270
2696
|
<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *child</code></em>);</pre>
|
2271
2697
|
<p>
|
2272
2698
|
Depending on if <em class="parameter"><code>child</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, either wraps <em class="parameter"><code>child</code></em> inside of a
|
@@ -2282,8 +2708,11 @@ of <em class="parameter"><code>child</code></em>.
|
|
2282
2708
|
If <em class="parameter"><code>child</code></em> is a floating reference (see <a class="link" href="glib-GVariant.html#g-variant-ref-sink" title="g_variant_ref_sink ()"><code class="function">g_variant_ref_sink()</code></a>), the new
|
2283
2709
|
instance takes ownership of <em class="parameter"><code>child</code></em>.
|
2284
2710
|
</p>
|
2285
|
-
<div class="variablelist"><table border="0">
|
2711
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2712
|
+
<colgroup>
|
2286
2713
|
<col align="left" valign="top">
|
2714
|
+
<col>
|
2715
|
+
</colgroup>
|
2287
2716
|
<tbody>
|
2288
2717
|
<tr>
|
2289
2718
|
<td><p><span class="term"><em class="parameter"><code>child_type</code></em> :</span></p></td>
|
@@ -2307,7 +2736,7 @@ instance takes ownership of <em class="parameter"><code>child</code></em>.
|
|
2307
2736
|
<hr>
|
2308
2737
|
<div class="refsect2">
|
2309
2738
|
<a name="g-variant-new-array"></a><h3>g_variant_new_array ()</h3>
|
2310
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2739
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_array (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *child_type</code></em>,
|
2311
2740
|
<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> * const *children</code></em>,
|
2312
2741
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n_children</code></em>);</pre>
|
2313
2742
|
<p>
|
@@ -2331,8 +2760,11 @@ same as <em class="parameter"><code>child_type</code></em>, if given.
|
|
2331
2760
|
If the <em class="parameter"><code>children</code></em> are floating references (see <a class="link" href="glib-GVariant.html#g-variant-ref-sink" title="g_variant_ref_sink ()"><code class="function">g_variant_ref_sink()</code></a>), the
|
2332
2761
|
new instance takes ownership of them as if via <a class="link" href="glib-GVariant.html#g-variant-ref-sink" title="g_variant_ref_sink ()"><code class="function">g_variant_ref_sink()</code></a>.
|
2333
2762
|
</p>
|
2334
|
-
<div class="variablelist"><table border="0">
|
2763
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2764
|
+
<colgroup>
|
2335
2765
|
<col align="left" valign="top">
|
2766
|
+
<col>
|
2767
|
+
</colgroup>
|
2336
2768
|
<tbody>
|
2337
2769
|
<tr>
|
2338
2770
|
<td><p><span class="term"><em class="parameter"><code>child_type</code></em> :</span></p></td>
|
@@ -2362,7 +2794,7 @@ new instance takes ownership of them as if via <a class="link" href="glib-GVaria
|
|
2362
2794
|
<hr>
|
2363
2795
|
<div class="refsect2">
|
2364
2796
|
<a name="g-variant-new-tuple"></a><h3>g_variant_new_tuple ()</h3>
|
2365
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2797
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_tuple (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> * const *children</code></em>,
|
2366
2798
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n_children</code></em>);</pre>
|
2367
2799
|
<p>
|
2368
2800
|
Creates a new tuple <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> out of the items in <em class="parameter"><code>children</code></em>. The
|
@@ -2376,8 +2808,11 @@ If <em class="parameter"><code>n_children</code></em> is 0 then the unit tuple i
|
|
2376
2808
|
If the <em class="parameter"><code>children</code></em> are floating references (see <a class="link" href="glib-GVariant.html#g-variant-ref-sink" title="g_variant_ref_sink ()"><code class="function">g_variant_ref_sink()</code></a>), the
|
2377
2809
|
new instance takes ownership of them as if via <a class="link" href="glib-GVariant.html#g-variant-ref-sink" title="g_variant_ref_sink ()"><code class="function">g_variant_ref_sink()</code></a>.
|
2378
2810
|
</p>
|
2379
|
-
<div class="variablelist"><table border="0">
|
2811
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2812
|
+
<colgroup>
|
2380
2813
|
<col align="left" valign="top">
|
2814
|
+
<col>
|
2815
|
+
</colgroup>
|
2381
2816
|
<tbody>
|
2382
2817
|
<tr>
|
2383
2818
|
<td><p><span class="term"><em class="parameter"><code>children</code></em> :</span></p></td>
|
@@ -2401,8 +2836,7 @@ new instance takes ownership of them as if via <a class="link" href="glib-GVaria
|
|
2401
2836
|
<hr>
|
2402
2837
|
<div class="refsect2">
|
2403
2838
|
<a name="g-variant-new-dict-entry"></a><h3>g_variant_new_dict_entry ()</h3>
|
2404
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2405
|
-
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *key</code></em>,
|
2839
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_dict_entry (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *key</code></em>,
|
2406
2840
|
<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
2407
2841
|
<p>
|
2408
2842
|
Creates a new dictionary entry <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>. <em class="parameter"><code>key</code></em> and <em class="parameter"><code>value</code></em> must be
|
@@ -2412,8 +2846,11 @@ non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><cod
|
|
2412
2846
|
If the <em class="parameter"><code>key</code></em> or <em class="parameter"><code>value</code></em> are floating references (see <a class="link" href="glib-GVariant.html#g-variant-ref-sink" title="g_variant_ref_sink ()"><code class="function">g_variant_ref_sink()</code></a>),
|
2413
2847
|
the new instance takes ownership of them as if via <a class="link" href="glib-GVariant.html#g-variant-ref-sink" title="g_variant_ref_sink ()"><code class="function">g_variant_ref_sink()</code></a>.
|
2414
2848
|
</p>
|
2415
|
-
<div class="variablelist"><table border="0">
|
2849
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2850
|
+
<colgroup>
|
2416
2851
|
<col align="left" valign="top">
|
2852
|
+
<col>
|
2853
|
+
</colgroup>
|
2417
2854
|
<tbody>
|
2418
2855
|
<tr>
|
2419
2856
|
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
@@ -2434,14 +2871,74 @@ the new instance takes ownership of them as if via <a class="link" href="glib-GV
|
|
2434
2871
|
</div>
|
2435
2872
|
<hr>
|
2436
2873
|
<div class="refsect2">
|
2874
|
+
<a name="g-variant-new-fixed-array"></a><h3>g_variant_new_fixed_array ()</h3>
|
2875
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_fixed_array (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *element_type</code></em>,
|
2876
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> elements</code></em>,
|
2877
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n_elements</code></em>,
|
2878
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> element_size</code></em>);</pre>
|
2879
|
+
<p>
|
2880
|
+
Provides access to the serialised data for an array of fixed-sized
|
2881
|
+
items.
|
2882
|
+
</p>
|
2883
|
+
<p>
|
2884
|
+
<em class="parameter"><code>value</code></em> must be an array with fixed-sized elements. Numeric types are
|
2885
|
+
fixed-size as are tuples containing only other fixed-sized types.
|
2886
|
+
</p>
|
2887
|
+
<p>
|
2888
|
+
<em class="parameter"><code>element_size</code></em> must be the size of a single element in the array. For
|
2889
|
+
example, if calling this function for an array of 32 bit integers,
|
2890
|
+
you might say <code class="code">sizeof (gint32)</code>. This value isn't used
|
2891
|
+
except for the purpose of a double-check that the form of the
|
2892
|
+
serialised data matches the caller's expectation.
|
2893
|
+
</p>
|
2894
|
+
<p>
|
2895
|
+
<em class="parameter"><code>n_elements</code></em>, which must be non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is set equal to the number of
|
2896
|
+
items in the array.
|
2897
|
+
</p>
|
2898
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2899
|
+
<colgroup>
|
2900
|
+
<col align="left" valign="top">
|
2901
|
+
<col>
|
2902
|
+
</colgroup>
|
2903
|
+
<tbody>
|
2904
|
+
<tr>
|
2905
|
+
<td><p><span class="term"><em class="parameter"><code>element_type</code></em> :</span></p></td>
|
2906
|
+
<td>the <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> of each element</td>
|
2907
|
+
</tr>
|
2908
|
+
<tr>
|
2909
|
+
<td><p><span class="term"><em class="parameter"><code>elements</code></em> :</span></p></td>
|
2910
|
+
<td>a pointer to the fixed array of contiguous elements</td>
|
2911
|
+
</tr>
|
2912
|
+
<tr>
|
2913
|
+
<td><p><span class="term"><em class="parameter"><code>n_elements</code></em> :</span></p></td>
|
2914
|
+
<td>the number of elements</td>
|
2915
|
+
</tr>
|
2916
|
+
<tr>
|
2917
|
+
<td><p><span class="term"><em class="parameter"><code>element_size</code></em> :</span></p></td>
|
2918
|
+
<td>the size of each element</td>
|
2919
|
+
</tr>
|
2920
|
+
<tr>
|
2921
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2922
|
+
<td>a floating reference to a new array <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
2923
|
+
</td>
|
2924
|
+
</tr>
|
2925
|
+
</tbody>
|
2926
|
+
</table></div>
|
2927
|
+
<p class="since">Since 2.32</p>
|
2928
|
+
</div>
|
2929
|
+
<hr>
|
2930
|
+
<div class="refsect2">
|
2437
2931
|
<a name="g-variant-get-maybe"></a><h3>g_variant_get_maybe ()</h3>
|
2438
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2932
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_get_maybe (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
2439
2933
|
<p>
|
2440
2934
|
Given a maybe-typed <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance, extract its value. If the
|
2441
2935
|
value is Nothing, then this function returns <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
2442
2936
|
</p>
|
2443
|
-
<div class="variablelist"><table border="0">
|
2937
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2938
|
+
<colgroup>
|
2444
2939
|
<col align="left" valign="top">
|
2940
|
+
<col>
|
2941
|
+
</colgroup>
|
2445
2942
|
<tbody>
|
2446
2943
|
<tr>
|
2447
2944
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -2475,8 +2972,11 @@ only on the type). For dictionary entries, it is always 2
|
|
2475
2972
|
<p>
|
2476
2973
|
This function is O(1).
|
2477
2974
|
</p>
|
2478
|
-
<div class="variablelist"><table border="0">
|
2975
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2976
|
+
<colgroup>
|
2479
2977
|
<col align="left" valign="top">
|
2978
|
+
<col>
|
2979
|
+
</colgroup>
|
2480
2980
|
<tbody>
|
2481
2981
|
<tr>
|
2482
2982
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -2494,8 +2994,7 @@ This function is O(1).
|
|
2494
2994
|
<hr>
|
2495
2995
|
<div class="refsect2">
|
2496
2996
|
<a name="g-variant-get-child-value"></a><h3>g_variant_get_child_value ()</h3>
|
2497
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2498
|
-
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
2997
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_get_child_value (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
2499
2998
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> index_</code></em>);</pre>
|
2500
2999
|
<p>
|
2501
3000
|
Reads a child item out of a container <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. This
|
@@ -2508,10 +3007,17 @@ It is an error if <em class="parameter"><code>index_</code></em> is greater than
|
|
2508
3007
|
in the container. See <a class="link" href="glib-GVariant.html#g-variant-n-children" title="g_variant_n_children ()"><code class="function">g_variant_n_children()</code></a>.
|
2509
3008
|
</p>
|
2510
3009
|
<p>
|
3010
|
+
The returned value is never floating. You should free it with
|
3011
|
+
<a class="link" href="glib-GVariant.html#g-variant-unref" title="g_variant_unref ()"><code class="function">g_variant_unref()</code></a> when you're done with it.
|
3012
|
+
</p>
|
3013
|
+
<p>
|
2511
3014
|
This function is O(1).
|
2512
3015
|
</p>
|
2513
|
-
<div class="variablelist"><table border="0">
|
3016
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3017
|
+
<colgroup>
|
2514
3018
|
<col align="left" valign="top">
|
3019
|
+
<col>
|
3020
|
+
</colgroup>
|
2515
3021
|
<tbody>
|
2516
3022
|
<tr>
|
2517
3023
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -2544,8 +3050,17 @@ deconstructs it according to <em class="parameter"><code>format_string</code></e
|
|
2544
3050
|
essentially a combination of <a class="link" href="glib-GVariant.html#g-variant-get-child-value" title="g_variant_get_child_value ()"><code class="function">g_variant_get_child_value()</code></a> and
|
2545
3051
|
<a class="link" href="glib-GVariant.html#g-variant-get" title="g_variant_get ()"><code class="function">g_variant_get()</code></a>.
|
2546
3052
|
</p>
|
2547
|
-
<
|
3053
|
+
<p>
|
3054
|
+
<em class="parameter"><code>format_string</code></em> determines the C types that are used for unpacking
|
3055
|
+
the values and also determines if the values are copied or borrowed,
|
3056
|
+
see the section on
|
3057
|
+
<a href="gvariant-format-strings.html#gvariant-format-strings-pointers">GVariant Format Strings</a>.
|
3058
|
+
</p>
|
3059
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3060
|
+
<colgroup>
|
2548
3061
|
<col align="left" valign="top">
|
3062
|
+
<col>
|
3063
|
+
</colgroup>
|
2549
3064
|
<tbody>
|
2550
3065
|
<tr>
|
2551
3066
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -2572,7 +3087,7 @@ essentially a combination of <a class="link" href="glib-GVariant.html#g-variant-
|
|
2572
3087
|
<hr>
|
2573
3088
|
<div class="refsect2">
|
2574
3089
|
<a name="g-variant-lookup-value"></a><h3>g_variant_lookup_value ()</h3>
|
2575
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
3090
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_lookup_value (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *dictionary</code></em>,
|
2576
3091
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>,
|
2577
3092
|
<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *expected_type</code></em>);</pre>
|
2578
3093
|
<p>
|
@@ -2602,8 +3117,11 @@ If the key is found and the value has the correct type, it is
|
|
2602
3117
|
returned. If <em class="parameter"><code>expected_type</code></em> was specified then any non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> return
|
2603
3118
|
value will have this type.
|
2604
3119
|
</p>
|
2605
|
-
<div class="variablelist"><table border="0">
|
3120
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3121
|
+
<colgroup>
|
2606
3122
|
<col align="left" valign="top">
|
3123
|
+
<col>
|
3124
|
+
</colgroup>
|
2607
3125
|
<tbody>
|
2608
3126
|
<tr>
|
2609
3127
|
<td><p><span class="term"><em class="parameter"><code>dictionary</code></em> :</span></p></td>
|
@@ -2645,10 +3163,16 @@ this function returns <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS
|
|
2645
3163
|
value and returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>.
|
2646
3164
|
</p>
|
2647
3165
|
<p>
|
2648
|
-
|
3166
|
+
<em class="parameter"><code>format_string</code></em> determines the C types that are used for unpacking
|
3167
|
+
the values and also determines if the values are copied or borrowed,
|
3168
|
+
see the section on
|
3169
|
+
<a href="gvariant-format-strings.html#gvariant-format-strings-pointers">GVariant Format Strings</a>.
|
2649
3170
|
</p>
|
2650
|
-
<div class="variablelist"><table border="0">
|
3171
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3172
|
+
<colgroup>
|
2651
3173
|
<col align="left" valign="top">
|
3174
|
+
<col>
|
3175
|
+
</colgroup>
|
2652
3176
|
<tbody>
|
2653
3177
|
<tr>
|
2654
3178
|
<td><p><span class="term"><em class="parameter"><code>dictionary</code></em> :</span></p></td>
|
@@ -2688,21 +3212,73 @@ items.
|
|
2688
3212
|
</p>
|
2689
3213
|
<p>
|
2690
3214
|
<em class="parameter"><code>value</code></em> must be an array with fixed-sized elements. Numeric types are
|
2691
|
-
fixed-size as are tuples containing only other fixed-sized types.
|
3215
|
+
fixed-size, as are tuples containing only other fixed-sized types.
|
2692
3216
|
</p>
|
2693
3217
|
<p>
|
2694
|
-
<em class="parameter"><code>element_size</code></em> must be the size of a single element in the array
|
2695
|
-
|
3218
|
+
<em class="parameter"><code>element_size</code></em> must be the size of a single element in the array,
|
3219
|
+
as given by the section on
|
3220
|
+
<a class="link" href="glib-GVariant.html#gvariant-serialised-data-memory" title="Serialised Data Memory">Serialised Data
|
3221
|
+
Memory</a>.
|
3222
|
+
</p>
|
3223
|
+
<p>
|
3224
|
+
In particular, arrays of these fixed-sized types can be interpreted
|
3225
|
+
as an array of the given C type, with <em class="parameter"><code>element_size</code></em> set to
|
3226
|
+
<code class="code">sizeof</code> the appropriate type:
|
3227
|
+
</p>
|
3228
|
+
<p>
|
3229
|
+
</p>
|
3230
|
+
<div class="informaltable"><table border="1">
|
3231
|
+
<colgroup>
|
3232
|
+
<col>
|
3233
|
+
<col>
|
3234
|
+
</colgroup>
|
3235
|
+
<thead><tr>
|
3236
|
+
<th>element type</th>
|
3237
|
+
<th>C type</th>
|
3238
|
+
</tr></thead>
|
3239
|
+
<tbody>
|
3240
|
+
<tr>
|
3241
|
+
<td>
|
3242
|
+
<a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT16:CAPS" title="G_VARIANT_TYPE_INT16"><code class="literal">G_VARIANT_TYPE_INT16</code></a> (etc.)</td>
|
3243
|
+
<td>
|
3244
|
+
<a class="link" href="glib-Basic-Types.html#gint16" title="gint16"><span class="type">gint16</span></a> (etc.)</td>
|
3245
|
+
</tr>
|
3246
|
+
<tr>
|
3247
|
+
<td><a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BOOLEAN:CAPS" title="G_VARIANT_TYPE_BOOLEAN"><code class="literal">G_VARIANT_TYPE_BOOLEAN</code></a></td>
|
3248
|
+
<td>
|
3249
|
+
<a class="link" href="glib-Basic-Types.html#guchar" title="guchar"><span class="type">guchar</span></a> (not <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a>!)</td>
|
3250
|
+
</tr>
|
3251
|
+
<tr>
|
3252
|
+
<td><a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BYTE:CAPS" title="G_VARIANT_TYPE_BYTE"><code class="literal">G_VARIANT_TYPE_BYTE</code></a></td>
|
3253
|
+
<td><a class="link" href="glib-Basic-Types.html#guchar" title="guchar"><span class="type">guchar</span></a></td>
|
3254
|
+
</tr>
|
3255
|
+
<tr>
|
3256
|
+
<td><a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-HANDLE:CAPS" title="G_VARIANT_TYPE_HANDLE"><code class="literal">G_VARIANT_TYPE_HANDLE</code></a></td>
|
3257
|
+
<td><a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="type">guint32</span></a></td>
|
3258
|
+
</tr>
|
3259
|
+
<tr>
|
3260
|
+
<td><a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-DOUBLE:CAPS" title="G_VARIANT_TYPE_DOUBLE"><code class="literal">G_VARIANT_TYPE_DOUBLE</code></a></td>
|
3261
|
+
<td><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a></td>
|
3262
|
+
</tr>
|
3263
|
+
</tbody>
|
3264
|
+
</table></div>
|
3265
|
+
<p>
|
3266
|
+
</p>
|
3267
|
+
<p>
|
3268
|
+
For example, if calling this function for an array of 32 bit integers,
|
2696
3269
|
you might say <code class="code">sizeof (gint32)</code>. This value isn't used
|
2697
3270
|
except for the purpose of a double-check that the form of the
|
2698
|
-
|
3271
|
+
serialised data matches the caller's expectation.
|
2699
3272
|
</p>
|
2700
3273
|
<p>
|
2701
3274
|
<em class="parameter"><code>n_elements</code></em>, which must be non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is set equal to the number of
|
2702
3275
|
items in the array.
|
2703
3276
|
</p>
|
2704
|
-
<div class="variablelist"><table border="0">
|
3277
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3278
|
+
<colgroup>
|
2705
3279
|
<col align="left" valign="top">
|
3280
|
+
<col>
|
3281
|
+
</colgroup>
|
2706
3282
|
<tbody>
|
2707
3283
|
<tr>
|
2708
3284
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -2719,7 +3295,8 @@ items in the array.
|
|
2719
3295
|
</tr>
|
2720
3296
|
<tr>
|
2721
3297
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2722
|
-
<td>a pointer to
|
3298
|
+
<td>a pointer to
|
3299
|
+
the fixed array. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_elements][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
2723
3300
|
</td>
|
2724
3301
|
</tr>
|
2725
3302
|
</tbody>
|
@@ -2745,8 +3322,11 @@ then this function is O(1). Otherwise, the size is calculated, an
|
|
2745
3322
|
operation which is approximately O(n) in the number of values
|
2746
3323
|
involved.
|
2747
3324
|
</p>
|
2748
|
-
<div class="variablelist"><table border="0">
|
3325
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3326
|
+
<colgroup>
|
2749
3327
|
<col align="left" valign="top">
|
3328
|
+
<col>
|
3329
|
+
</colgroup>
|
2750
3330
|
<tbody>
|
2751
3331
|
<tr>
|
2752
3332
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -2784,8 +3364,22 @@ is O(1). If the value is not already in serialised form,
|
|
2784
3364
|
serialisation occurs implicitly and is approximately O(n) in the size
|
2785
3365
|
of the result.
|
2786
3366
|
</p>
|
2787
|
-
<
|
3367
|
+
<p>
|
3368
|
+
To deserialise the data returned by this function, in addition to the
|
3369
|
+
serialised data, you must know the type of the <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>, and (if the
|
3370
|
+
machine might be different) the endianness of the machine that stored
|
3371
|
+
it. As a result, file formats or network messages that incorporate
|
3372
|
+
serialised <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>s must include this information either
|
3373
|
+
implicitly (for instance "the file always contains a
|
3374
|
+
<a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-VARIANT:CAPS" title="G_VARIANT_TYPE_VARIANT"><code class="literal">G_VARIANT_TYPE_VARIANT</code></a> and it is always in little-endian order") or
|
3375
|
+
explicitly (by storing the type and/or endianness in addition to the
|
3376
|
+
serialised data).
|
3377
|
+
</p>
|
3378
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3379
|
+
<colgroup>
|
2788
3380
|
<col align="left" valign="top">
|
3381
|
+
<col>
|
3382
|
+
</colgroup>
|
2789
3383
|
<tbody>
|
2790
3384
|
<tr>
|
2791
3385
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -2793,7 +3387,7 @@ of the result.
|
|
2793
3387
|
</tr>
|
2794
3388
|
<tr>
|
2795
3389
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2796
|
-
<td>the serialised form of <em class="parameter"><code>value</code></em>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
3390
|
+
<td>the serialised form of <em class="parameter"><code>value</code></em>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
2797
3391
|
</td>
|
2798
3392
|
</tr>
|
2799
3393
|
</tbody>
|
@@ -2802,6 +3396,36 @@ of the result.
|
|
2802
3396
|
</div>
|
2803
3397
|
<hr>
|
2804
3398
|
<div class="refsect2">
|
3399
|
+
<a name="g-variant-get-data-as-bytes"></a><h3>g_variant_get_data_as_bytes ()</h3>
|
3400
|
+
<pre class="programlisting"><a class="link" href="glib-Byte-Arrays.html#GBytes" title="GBytes"><span class="returnvalue">GBytes</span></a> * g_variant_get_data_as_bytes (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
3401
|
+
<p>
|
3402
|
+
Returns a pointer to the serialised form of a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.
|
3403
|
+
The semantics of this function are exactly the same as
|
3404
|
+
<a class="link" href="glib-GVariant.html#g-variant-get-data" title="g_variant_get_data ()"><code class="function">g_variant_get_data()</code></a>, except that the returned <a class="link" href="glib-Byte-Arrays.html#GBytes" title="GBytes"><span class="type">GBytes</span></a> holds
|
3405
|
+
a reference to the variant data.
|
3406
|
+
</p>
|
3407
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3408
|
+
<colgroup>
|
3409
|
+
<col align="left" valign="top">
|
3410
|
+
<col>
|
3411
|
+
</colgroup>
|
3412
|
+
<tbody>
|
3413
|
+
<tr>
|
3414
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
3415
|
+
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>
|
3416
|
+
</td>
|
3417
|
+
</tr>
|
3418
|
+
<tr>
|
3419
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
3420
|
+
<td>A new <a class="link" href="glib-Byte-Arrays.html#GBytes" title="GBytes"><span class="type">GBytes</span></a> representing the variant data. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
3421
|
+
</td>
|
3422
|
+
</tr>
|
3423
|
+
</tbody>
|
3424
|
+
</table></div>
|
3425
|
+
<p class="since">Since 2.36</p>
|
3426
|
+
</div>
|
3427
|
+
<hr>
|
3428
|
+
<div class="refsect2">
|
2805
3429
|
<a name="g-variant-store"></a><h3>g_variant_store ()</h3>
|
2806
3430
|
<pre class="programlisting"><span class="returnvalue">void</span> g_variant_store (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
2807
3431
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
@@ -2815,10 +3439,18 @@ fully-normalised form if read from an untrusted source. See
|
|
2815
3439
|
<a class="link" href="glib-GVariant.html#g-variant-get-normal-form" title="g_variant_get_normal_form ()"><code class="function">g_variant_get_normal_form()</code></a> for a solution.
|
2816
3440
|
</p>
|
2817
3441
|
<p>
|
3442
|
+
As with <a class="link" href="glib-GVariant.html#g-variant-get-data" title="g_variant_get_data ()"><code class="function">g_variant_get_data()</code></a>, to be able to deserialise the
|
3443
|
+
serialised variant successfully, its type and (if the destination
|
3444
|
+
machine might be different) its endianness must also be available.
|
3445
|
+
</p>
|
3446
|
+
<p>
|
2818
3447
|
This function is approximately O(n) in the size of <em class="parameter"><code>data</code></em>.
|
2819
3448
|
</p>
|
2820
|
-
<div class="variablelist"><table border="0">
|
3449
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3450
|
+
<colgroup>
|
2821
3451
|
<col align="left" valign="top">
|
3452
|
+
<col>
|
3453
|
+
</colgroup>
|
2822
3454
|
<tbody>
|
2823
3455
|
<tr>
|
2824
3456
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -2835,8 +3467,7 @@ This function is approximately O(n) in the size of <em class="parameter"><code>d
|
|
2835
3467
|
<hr>
|
2836
3468
|
<div class="refsect2">
|
2837
3469
|
<a name="g-variant-new-from-data"></a><h3>g_variant_new_from_data ()</h3>
|
2838
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2839
|
-
(<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>,
|
3470
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_from_data (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>,
|
2840
3471
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>,
|
2841
3472
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> size</code></em>,
|
2842
3473
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> trusted</code></em>,
|
@@ -2864,12 +3495,20 @@ should set trusted to <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS
|
|
2864
3495
|
file in the user's home directory, etc.
|
2865
3496
|
</p>
|
2866
3497
|
<p>
|
3498
|
+
If <em class="parameter"><code>data</code></em> was not stored in this machine's native endianness, any multi-byte
|
3499
|
+
numeric values in the returned variant will also be in non-native
|
3500
|
+
endianness. <a class="link" href="glib-GVariant.html#g-variant-byteswap" title="g_variant_byteswap ()"><code class="function">g_variant_byteswap()</code></a> can be used to recover the original values.
|
3501
|
+
</p>
|
3502
|
+
<p>
|
2867
3503
|
<em class="parameter"><code>notify</code></em> will be called with <em class="parameter"><code>user_data</code></em> when <em class="parameter"><code>data</code></em> is no longer
|
2868
3504
|
needed. The exact time of this call is unspecified and might even be
|
2869
3505
|
before this function returns.
|
2870
3506
|
</p>
|
2871
|
-
<div class="variablelist"><table border="0">
|
3507
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3508
|
+
<colgroup>
|
2872
3509
|
<col align="left" valign="top">
|
3510
|
+
<col>
|
3511
|
+
</colgroup>
|
2873
3512
|
<tbody>
|
2874
3513
|
<tr>
|
2875
3514
|
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
@@ -2912,8 +3551,50 @@ before this function returns.
|
|
2912
3551
|
</div>
|
2913
3552
|
<hr>
|
2914
3553
|
<div class="refsect2">
|
3554
|
+
<a name="g-variant-new-from-bytes"></a><h3>g_variant_new_from_bytes ()</h3>
|
3555
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_from_bytes (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>,
|
3556
|
+
<em class="parameter"><code><a class="link" href="glib-Byte-Arrays.html#GBytes" title="GBytes"><span class="type">GBytes</span></a> *bytes</code></em>,
|
3557
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> trusted</code></em>);</pre>
|
3558
|
+
<p>
|
3559
|
+
Constructs a new serialised-mode <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. This is the
|
3560
|
+
inner interface for creation of new serialised values that gets
|
3561
|
+
called from various functions in gvariant.c.
|
3562
|
+
</p>
|
3563
|
+
<p>
|
3564
|
+
A reference is taken on <em class="parameter"><code>bytes</code></em>.
|
3565
|
+
</p>
|
3566
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3567
|
+
<colgroup>
|
3568
|
+
<col align="left" valign="top">
|
3569
|
+
<col>
|
3570
|
+
</colgroup>
|
3571
|
+
<tbody>
|
3572
|
+
<tr>
|
3573
|
+
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
3574
|
+
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
3575
|
+
</td>
|
3576
|
+
</tr>
|
3577
|
+
<tr>
|
3578
|
+
<td><p><span class="term"><em class="parameter"><code>bytes</code></em> :</span></p></td>
|
3579
|
+
<td>a <a class="link" href="glib-Byte-Arrays.html#GBytes" title="GBytes"><span class="type">GBytes</span></a>
|
3580
|
+
</td>
|
3581
|
+
</tr>
|
3582
|
+
<tr>
|
3583
|
+
<td><p><span class="term"><em class="parameter"><code>trusted</code></em> :</span></p></td>
|
3584
|
+
<td>if the contents of <em class="parameter"><code>bytes</code></em> are trusted</td>
|
3585
|
+
</tr>
|
3586
|
+
<tr>
|
3587
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
3588
|
+
<td>a new <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> with a floating reference</td>
|
3589
|
+
</tr>
|
3590
|
+
</tbody>
|
3591
|
+
</table></div>
|
3592
|
+
<p class="since">Since 2.36</p>
|
3593
|
+
</div>
|
3594
|
+
<hr>
|
3595
|
+
<div class="refsect2">
|
2915
3596
|
<a name="g-variant-byteswap"></a><h3>g_variant_byteswap ()</h3>
|
2916
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
3597
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_byteswap (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
2917
3598
|
<p>
|
2918
3599
|
Performs a byteswapping operation on the contents of <em class="parameter"><code>value</code></em>. The
|
2919
3600
|
result is that all multi-byte numeric data contained in <em class="parameter"><code>value</code></em> is
|
@@ -2929,8 +3610,11 @@ bytes and containers containing only these things (recursively).
|
|
2929
3610
|
<p>
|
2930
3611
|
The returned value is always in normal form and is marked as trusted.
|
2931
3612
|
</p>
|
2932
|
-
<div class="variablelist"><table border="0">
|
3613
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3614
|
+
<colgroup>
|
2933
3615
|
<col align="left" valign="top">
|
3616
|
+
<col>
|
3617
|
+
</colgroup>
|
2934
3618
|
<tbody>
|
2935
3619
|
<tr>
|
2936
3620
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -2949,8 +3633,7 @@ The returned value is always in normal form and is marked as trusted.
|
|
2949
3633
|
<hr>
|
2950
3634
|
<div class="refsect2">
|
2951
3635
|
<a name="g-variant-get-normal-form"></a><h3>g_variant_get_normal_form ()</h3>
|
2952
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
2953
|
-
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
3636
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_get_normal_form (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
2954
3637
|
<p>
|
2955
3638
|
Gets a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance that has the same value as <em class="parameter"><code>value</code></em> and is
|
2956
3639
|
trusted to be in normal form.
|
@@ -2973,8 +3656,11 @@ It makes sense to call this function if you've received <a class="link" href="gl
|
|
2973
3656
|
data from untrusted sources and you want to ensure your serialised
|
2974
3657
|
output is definitely in normal form.
|
2975
3658
|
</p>
|
2976
|
-
<div class="variablelist"><table border="0">
|
3659
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3660
|
+
<colgroup>
|
2977
3661
|
<col align="left" valign="top">
|
3662
|
+
<col>
|
3663
|
+
</colgroup>
|
2978
3664
|
<tbody>
|
2979
3665
|
<tr>
|
2980
3666
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -3008,8 +3694,11 @@ If <em class="parameter"><code>value</code></em> is found to be in normal form t
|
|
3008
3694
|
being trusted. If the value was already marked as being trusted then
|
3009
3695
|
this function will immediately return <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>.
|
3010
3696
|
</p>
|
3011
|
-
<div class="variablelist"><table border="0">
|
3697
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3698
|
+
<colgroup>
|
3012
3699
|
<col align="left" valign="top">
|
3700
|
+
<col>
|
3701
|
+
</colgroup>
|
3013
3702
|
<tbody>
|
3014
3703
|
<tr>
|
3015
3704
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -3041,8 +3730,11 @@ function as a basis for building protocols or file formats.
|
|
3041
3730
|
The type of <em class="parameter"><code>value</code></em> is <a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> only to allow use of this
|
3042
3731
|
function with <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>. <em class="parameter"><code>value</code></em> must be a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>.
|
3043
3732
|
</p>
|
3044
|
-
<div class="variablelist"><table border="0">
|
3733
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3734
|
+
<colgroup>
|
3045
3735
|
<col align="left" valign="top">
|
3736
|
+
<col>
|
3737
|
+
</colgroup>
|
3046
3738
|
<tbody>
|
3047
3739
|
<tr>
|
3048
3740
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -3070,8 +3762,11 @@ Checks if <em class="parameter"><code>one</code></em> and <em class="parameter">
|
|
3070
3762
|
The types of <em class="parameter"><code>one</code></em> and <em class="parameter"><code>two</code></em> are <a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> only to allow use of
|
3071
3763
|
this function with <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>. They must each be a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>.
|
3072
3764
|
</p>
|
3073
|
-
<div class="variablelist"><table border="0">
|
3765
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3766
|
+
<colgroup>
|
3074
3767
|
<col align="left" valign="top">
|
3768
|
+
<col>
|
3769
|
+
</colgroup>
|
3075
3770
|
<tbody>
|
3076
3771
|
<tr>
|
3077
3772
|
<td><p><span class="term"><em class="parameter"><code>one</code></em> :</span></p></td>
|
@@ -3095,7 +3790,7 @@ this function with <a class="link" href="glib-Hash-Tables.html#GHashTable" title
|
|
3095
3790
|
<hr>
|
3096
3791
|
<div class="refsect2">
|
3097
3792
|
<a name="g-variant-print"></a><h3>g_variant_print ()</h3>
|
3098
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
3793
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_variant_print (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
3099
3794
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> type_annotate</code></em>);</pre>
|
3100
3795
|
<p>
|
3101
3796
|
Pretty-prints <em class="parameter"><code>value</code></em> in the format understood by <a class="link" href="glib-GVariant.html#g-variant-parse" title="g_variant_parse ()"><code class="function">g_variant_parse()</code></a>.
|
@@ -3107,8 +3802,11 @@ The format is described <a href="gvariant-text.html">here</a>.
|
|
3107
3802
|
If <em class="parameter"><code>type_annotate</code></em> is <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>, then type information is included in
|
3108
3803
|
the output.
|
3109
3804
|
</p>
|
3110
|
-
<div class="variablelist"><table border="0">
|
3805
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3806
|
+
<colgroup>
|
3111
3807
|
<col align="left" valign="top">
|
3808
|
+
<col>
|
3809
|
+
</colgroup>
|
3112
3810
|
<tbody>
|
3113
3811
|
<tr>
|
3114
3812
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -3128,11 +3826,12 @@ the output</td>
|
|
3128
3826
|
</tr>
|
3129
3827
|
</tbody>
|
3130
3828
|
</table></div>
|
3829
|
+
<p class="since">Since 2.24</p>
|
3131
3830
|
</div>
|
3132
3831
|
<hr>
|
3133
3832
|
<div class="refsect2">
|
3134
3833
|
<a name="g-variant-print-string"></a><h3>g_variant_print_string ()</h3>
|
3135
|
-
<pre class="programlisting"><a class="link" href="glib-Strings.html#GString" title="struct GString"><span class="returnvalue">GString</span></a> *
|
3834
|
+
<pre class="programlisting"><a class="link" href="glib-Strings.html#GString" title="struct GString"><span class="returnvalue">GString</span></a> * g_variant_print_string (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
3136
3835
|
<em class="parameter"><code><a class="link" href="glib-Strings.html#GString" title="struct GString"><span class="type">GString</span></a> *string</code></em>,
|
3137
3836
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> type_annotate</code></em>);</pre>
|
3138
3837
|
<p>
|
@@ -3142,8 +3841,11 @@ Behaves as <a class="link" href="glib-GVariant.html#g-variant-print" title="g_va
|
|
3142
3841
|
If <em class="parameter"><code>string</code></em> is non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> then it is appended to and returned. Else,
|
3143
3842
|
a new empty <a class="link" href="glib-Strings.html#GString" title="struct GString"><span class="type">GString</span></a> is allocated and it is returned.
|
3144
3843
|
</p>
|
3145
|
-
<div class="variablelist"><table border="0">
|
3844
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3845
|
+
<colgroup>
|
3146
3846
|
<col align="left" valign="top">
|
3847
|
+
<col>
|
3848
|
+
</colgroup>
|
3147
3849
|
<tbody>
|
3148
3850
|
<tr>
|
3149
3851
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -3183,7 +3885,7 @@ using the following functions.
|
|
3183
3885
|
<hr>
|
3184
3886
|
<div class="refsect2">
|
3185
3887
|
<a name="g-variant-iter-copy"></a><h3>g_variant_iter_copy ()</h3>
|
3186
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="returnvalue">GVariantIter</span></a> *
|
3888
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="returnvalue">GVariantIter</span></a> * g_variant_iter_copy (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>);</pre>
|
3187
3889
|
<p>
|
3188
3890
|
Creates a new heap-allocated <a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a> to iterate over the
|
3189
3891
|
container that was being iterated over by <em class="parameter"><code>iter</code></em>. Iteration begins on
|
@@ -3198,8 +3900,11 @@ need it.
|
|
3198
3900
|
A reference is taken to the container that <em class="parameter"><code>iter</code></em> is iterating over
|
3199
3901
|
and will be releated only when <a class="link" href="glib-GVariant.html#g-variant-iter-free" title="g_variant_iter_free ()"><code class="function">g_variant_iter_free()</code></a> is called.
|
3200
3902
|
</p>
|
3201
|
-
<div class="variablelist"><table border="0">
|
3903
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3904
|
+
<colgroup>
|
3202
3905
|
<col align="left" valign="top">
|
3906
|
+
<col>
|
3907
|
+
</colgroup>
|
3203
3908
|
<tbody>
|
3204
3909
|
<tr>
|
3205
3910
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -3224,8 +3929,11 @@ Frees a heap-allocated <a class="link" href="glib-GVariant.html#GVariantIter" ti
|
|
3224
3929
|
iterators that were returned by <a class="link" href="glib-GVariant.html#g-variant-iter-new" title="g_variant_iter_new ()"><code class="function">g_variant_iter_new()</code></a> or
|
3225
3930
|
<a class="link" href="glib-GVariant.html#g-variant-iter-copy" title="g_variant_iter_copy ()"><code class="function">g_variant_iter_copy()</code></a>.
|
3226
3931
|
</p>
|
3227
|
-
<div class="variablelist"><table border="0">
|
3932
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3933
|
+
<colgroup>
|
3228
3934
|
<col align="left" valign="top">
|
3935
|
+
<col>
|
3936
|
+
</colgroup>
|
3229
3937
|
<tbody><tr>
|
3230
3938
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
3231
3939
|
<td>a heap-allocated <a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
@@ -3248,8 +3956,11 @@ ignored.
|
|
3248
3956
|
The iterator remains valid for as long as <em class="parameter"><code>value</code></em> exists, and need not
|
3249
3957
|
be freed in any way.
|
3250
3958
|
</p>
|
3251
|
-
<div class="variablelist"><table border="0">
|
3959
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3960
|
+
<colgroup>
|
3252
3961
|
<col align="left" valign="top">
|
3962
|
+
<col>
|
3963
|
+
</colgroup>
|
3253
3964
|
<tbody>
|
3254
3965
|
<tr>
|
3255
3966
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -3282,8 +3993,11 @@ of items remaining.
|
|
3282
3993
|
<p>
|
3283
3994
|
This function might be useful for preallocation of arrays.
|
3284
3995
|
</p>
|
3285
|
-
<div class="variablelist"><table border="0">
|
3996
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3997
|
+
<colgroup>
|
3286
3998
|
<col align="left" valign="top">
|
3999
|
+
<col>
|
4000
|
+
</colgroup>
|
3287
4001
|
<tbody>
|
3288
4002
|
<tr>
|
3289
4003
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -3301,7 +4015,7 @@ This function might be useful for preallocation of arrays.
|
|
3301
4015
|
<hr>
|
3302
4016
|
<div class="refsect2">
|
3303
4017
|
<a name="g-variant-iter-new"></a><h3>g_variant_iter_new ()</h3>
|
3304
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="returnvalue">GVariantIter</span></a> *
|
4018
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="returnvalue">GVariantIter</span></a> * g_variant_iter_new (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
3305
4019
|
<p>
|
3306
4020
|
Creates a heap-allocated <a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a> for iterating over the items
|
3307
4021
|
in <em class="parameter"><code>value</code></em>.
|
@@ -3314,8 +4028,11 @@ need it.
|
|
3314
4028
|
A reference is taken to <em class="parameter"><code>value</code></em> and will be released only when
|
3315
4029
|
<a class="link" href="glib-GVariant.html#g-variant-iter-free" title="g_variant_iter_free ()"><code class="function">g_variant_iter_free()</code></a> is called.
|
3316
4030
|
</p>
|
3317
|
-
<div class="variablelist"><table border="0">
|
4031
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
4032
|
+
<colgroup>
|
3318
4033
|
<col align="left" valign="top">
|
4034
|
+
<col>
|
4035
|
+
</colgroup>
|
3319
4036
|
<tbody>
|
3320
4037
|
<tr>
|
3321
4038
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
@@ -3334,8 +4051,7 @@ A reference is taken to <em class="parameter"><code>value</code></em> and will b
|
|
3334
4051
|
<hr>
|
3335
4052
|
<div class="refsect2">
|
3336
4053
|
<a name="g-variant-iter-next-value"></a><h3>g_variant_iter_next_value ()</h3>
|
3337
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
3338
|
-
(<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>);</pre>
|
4054
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_iter_next_value (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a> *iter</code></em>);</pre>
|
3339
4055
|
<p>
|
3340
4056
|
Gets the next item in the container. If no more items remain then
|
3341
4057
|
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned.
|
@@ -3347,7 +4063,7 @@ you no longer need it.
|
|
3347
4063
|
<p>
|
3348
4064
|
</p>
|
3349
4065
|
<div class="example">
|
3350
|
-
<a name="
|
4066
|
+
<a name="idp64044784"></a><p class="title"><b>Example 17. Iterating with <a class="link" href="glib-GVariant.html#g-variant-iter-next-value" title="g_variant_iter_next_value ()"><code class="function">g_variant_iter_next_value()</code></a></b></p>
|
3351
4067
|
<div class="example-contents">
|
3352
4068
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
3353
4069
|
<tbody>
|
@@ -3377,7 +4093,7 @@ you no longer need it.
|
|
3377
4093
|
<span class="normal"> </span><span class="usertype">GVariantIter</span><span class="normal"> iter</span><span class="symbol">;</span>
|
3378
4094
|
<span class="normal"> </span><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">child</span><span class="symbol">;</span>
|
3379
4095
|
|
3380
|
-
<span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-iter-init">g_variant_iter_init</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">iter</span><span class="symbol">,</span><span class="normal">
|
4096
|
+
<span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-iter-init">g_variant_iter_init</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">iter</span><span class="symbol">,</span><span class="normal"> container</span><span class="symbol">);</span>
|
3381
4097
|
<span class="normal"> </span><span class="keyword">while</span><span class="normal"> </span><span class="symbol">((</span><span class="normal">child </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-iter-next-value">g_variant_iter_next_value</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">iter</span><span class="symbol">)))</span>
|
3382
4098
|
<span class="normal"> </span><span class="cbracket">{</span>
|
3383
4099
|
<span class="normal"> </span><span class="function"><a href="glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"type '%s'</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-get-type-string">g_variant_get_type_string</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">child</span><span class="symbol">));</span>
|
@@ -3396,8 +4112,11 @@ you no longer need it.
|
|
3396
4112
|
</div>
|
3397
4113
|
<p><br class="example-break">
|
3398
4114
|
</p>
|
3399
|
-
<div class="variablelist"><table border="0">
|
4115
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
4116
|
+
<colgroup>
|
3400
4117
|
<col align="left" valign="top">
|
4118
|
+
<col>
|
4119
|
+
</colgroup>
|
3401
4120
|
<tbody>
|
3402
4121
|
<tr>
|
3403
4122
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -3439,7 +4158,7 @@ Format Strings</GTKDOCLINK>.
|
|
3439
4158
|
<p>
|
3440
4159
|
</p>
|
3441
4160
|
<div class="example">
|
3442
|
-
<a name="
|
4161
|
+
<a name="idp64073248"></a><p class="title"><b>Example 18. Memory management with <a class="link" href="glib-GVariant.html#g-variant-iter-next" title="g_variant_iter_next ()"><code class="function">g_variant_iter_next()</code></a></b></p>
|
3443
4162
|
<div class="example-contents">
|
3444
4163
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
3445
4164
|
<tbody>
|
@@ -3494,8 +4213,17 @@ Format Strings</GTKDOCLINK>.
|
|
3494
4213
|
For a solution that is likely to be more convenient to C programmers
|
3495
4214
|
when dealing with loops, see <a class="link" href="glib-GVariant.html#g-variant-iter-loop" title="g_variant_iter_loop ()"><code class="function">g_variant_iter_loop()</code></a>.
|
3496
4215
|
</p>
|
3497
|
-
<
|
4216
|
+
<p>
|
4217
|
+
<em class="parameter"><code>format_string</code></em> determines the C types that are used for unpacking
|
4218
|
+
the values and also determines if the values are copied or borrowed,
|
4219
|
+
see the section on
|
4220
|
+
<a href="gvariant-format-strings.html#gvariant-format-strings-pointers">GVariant Format Strings</a>.
|
4221
|
+
</p>
|
4222
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
4223
|
+
<colgroup>
|
3498
4224
|
<col align="left" valign="top">
|
4225
|
+
<col>
|
4226
|
+
</colgroup>
|
3499
4227
|
<tbody>
|
3500
4228
|
<tr>
|
3501
4229
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -3513,8 +4241,7 @@ when dealing with loops, see <a class="link" href="glib-GVariant.html#g-variant-
|
|
3513
4241
|
<tr>
|
3514
4242
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
3515
4243
|
<td>
|
3516
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a value was unpacked, or <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> if there as no
|
3517
|
-
value</td>
|
4244
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a value was unpacked, or <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> if there as no value</td>
|
3518
4245
|
</tr>
|
3519
4246
|
</tbody>
|
3520
4247
|
</table></div>
|
@@ -3548,7 +4275,12 @@ used when iterating over an array. It is only valid to call this
|
|
3548
4275
|
function with a string constant for the format string and the same
|
3549
4276
|
string constant must be used each time. Mixing calls to this
|
3550
4277
|
function and <a class="link" href="glib-GVariant.html#g-variant-iter-next" title="g_variant_iter_next ()"><code class="function">g_variant_iter_next()</code></a> or <a class="link" href="glib-GVariant.html#g-variant-iter-next-value" title="g_variant_iter_next_value ()"><code class="function">g_variant_iter_next_value()</code></a> on
|
3551
|
-
the same iterator
|
4278
|
+
the same iterator causes undefined behavior.
|
4279
|
+
</p>
|
4280
|
+
<p>
|
4281
|
+
If you break out of a such a while loop using <a class="link" href="glib-GVariant.html#g-variant-iter-loop" title="g_variant_iter_loop ()"><code class="function">g_variant_iter_loop()</code></a> then
|
4282
|
+
you must free or unreference all the unpacked values as you would with
|
4283
|
+
<a class="link" href="glib-GVariant.html#g-variant-get" title="g_variant_get ()"><code class="function">g_variant_get()</code></a>. Failure to do so will cause a memory leak.
|
3552
4284
|
</p>
|
3553
4285
|
<p>
|
3554
4286
|
See the section on <GTKDOCLINK HREF="gvariant-format-strings">GVariant
|
@@ -3557,7 +4289,7 @@ Format Strings</GTKDOCLINK>.
|
|
3557
4289
|
<p>
|
3558
4290
|
</p>
|
3559
4291
|
<div class="example">
|
3560
|
-
<a name="
|
4292
|
+
<a name="idp64115456"></a><p class="title"><b>Example 19. Memory management with <a class="link" href="glib-GVariant.html#g-variant-iter-loop" title="g_variant_iter_loop ()"><code class="function">g_variant_iter_loop()</code></a></b></p>
|
3561
4293
|
<div class="example-contents">
|
3562
4294
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
3563
4295
|
<tbody>
|
@@ -3578,7 +4310,8 @@ Format Strings</GTKDOCLINK>.
|
|
3578
4310
|
14
|
3579
4311
|
15
|
3580
4312
|
16
|
3581
|
-
17
|
4313
|
+
17
|
4314
|
+
18</pre></td>
|
3582
4315
|
<td class="listing_code"><pre class="programlisting"><span class="comment">/* Iterates a dictionary of type 'a{sv}' */</span>
|
3583
4316
|
<span class="type">void</span>
|
3584
4317
|
<span class="function">iterate_dictionary</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">dictionary</span><span class="symbol">)</span>
|
@@ -3594,6 +4327,7 @@ Format Strings</GTKDOCLINK>.
|
|
3594
4327
|
<span class="normal"> </span><span class="function"><a href="glib-GVariant.html#g-variant-get-type-string">g_variant_get_type_string</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value</span><span class="symbol">));</span>
|
3595
4328
|
|
3596
4329
|
<span class="normal"> </span><span class="comment">/* no need to free 'key' and 'value' here */</span>
|
4330
|
+
<span class="normal"> </span><span class="comment">/* unless breaking out of this loop */</span>
|
3597
4331
|
<span class="normal"> </span><span class="cbracket">}</span>
|
3598
4332
|
<span class="cbracket">}</span></pre></td>
|
3599
4333
|
</tr>
|
@@ -3605,11 +4339,30 @@ Format Strings</GTKDOCLINK>.
|
|
3605
4339
|
<p><br class="example-break">
|
3606
4340
|
</p>
|
3607
4341
|
<p>
|
3608
|
-
|
3609
|
-
|
4342
|
+
For most cases you should use <a class="link" href="glib-GVariant.html#g-variant-iter-next" title="g_variant_iter_next ()"><code class="function">g_variant_iter_next()</code></a>.
|
4343
|
+
</p>
|
4344
|
+
<p>
|
4345
|
+
This function is really only useful when unpacking into <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> or
|
4346
|
+
<a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a> in order to allow you to skip the call to
|
4347
|
+
<a class="link" href="glib-GVariant.html#g-variant-unref" title="g_variant_unref ()"><code class="function">g_variant_unref()</code></a> or <a class="link" href="glib-GVariant.html#g-variant-iter-free" title="g_variant_iter_free ()"><code class="function">g_variant_iter_free()</code></a>.
|
4348
|
+
</p>
|
4349
|
+
<p>
|
4350
|
+
For example, if you are only looping over simple integer and string
|
4351
|
+
types, <a class="link" href="glib-GVariant.html#g-variant-iter-next" title="g_variant_iter_next ()"><code class="function">g_variant_iter_next()</code></a> is definitely preferred. For string
|
4352
|
+
types, use the '&' prefix to avoid allocating any memory at all (and
|
4353
|
+
thereby avoiding the need to free anything as well).
|
3610
4354
|
</p>
|
3611
|
-
<
|
4355
|
+
<p>
|
4356
|
+
<em class="parameter"><code>format_string</code></em> determines the C types that are used for unpacking
|
4357
|
+
the values and also determines if the values are copied or borrowed,
|
4358
|
+
see the section on
|
4359
|
+
<a href="gvariant-format-strings.html#gvariant-format-strings-pointers">GVariant Format Strings</a>.
|
4360
|
+
</p>
|
4361
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
4362
|
+
<colgroup>
|
3612
4363
|
<col align="left" valign="top">
|
4364
|
+
<col>
|
4365
|
+
</colgroup>
|
3613
4366
|
<tbody>
|
3614
4367
|
<tr>
|
3615
4368
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -3627,7 +4380,7 @@ typing, see <a class="link" href="glib-GVariant.html#g-variant-iter-next" title=
|
|
3627
4380
|
<tr>
|
3628
4381
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
3629
4382
|
<td>
|
3630
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a value was unpacked, or <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> if there
|
4383
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a value was unpacked, or <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> if there was no
|
3631
4384
|
value</td>
|
3632
4385
|
</tr>
|
3633
4386
|
</tbody>
|
@@ -3667,8 +4420,11 @@ associated with the <a class="link" href="glib-GVariant.html#GVariantBuilder" ti
|
|
3667
4420
|
Don't call this on stack-allocated <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> instances or bad
|
3668
4421
|
things will happen.
|
3669
4422
|
</p>
|
3670
|
-
<div class="variablelist"><table border="0">
|
4423
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
4424
|
+
<colgroup>
|
3671
4425
|
<col align="left" valign="top">
|
4426
|
+
<col>
|
4427
|
+
</colgroup>
|
3672
4428
|
<tbody><tr>
|
3673
4429
|
<td><p><span class="term"><em class="parameter"><code>builder</code></em> :</span></p></td>
|
3674
4430
|
<td>a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> allocated by <a class="link" href="glib-GVariant.html#g-variant-builder-new" title="g_variant_builder_new ()"><code class="function">g_variant_builder_new()</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
@@ -3680,7 +4436,7 @@ things will happen.
|
|
3680
4436
|
<hr>
|
3681
4437
|
<div class="refsect2">
|
3682
4438
|
<a name="g-variant-builder-ref"></a><h3>g_variant_builder_ref ()</h3>
|
3683
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="returnvalue">GVariantBuilder</span></a> *
|
4439
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="returnvalue">GVariantBuilder</span></a> * g_variant_builder_ref (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);</pre>
|
3684
4440
|
<p>
|
3685
4441
|
Increases the reference count on <em class="parameter"><code>builder</code></em>.
|
3686
4442
|
</p>
|
@@ -3688,8 +4444,11 @@ Increases the reference count on <em class="parameter"><code>builder</code></em>
|
|
3688
4444
|
Don't call this on stack-allocated <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> instances or bad
|
3689
4445
|
things will happen.
|
3690
4446
|
</p>
|
3691
|
-
<div class="variablelist"><table border="0">
|
4447
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
4448
|
+
<colgroup>
|
3692
4449
|
<col align="left" valign="top">
|
4450
|
+
<col>
|
4451
|
+
</colgroup>
|
3693
4452
|
<tbody>
|
3694
4453
|
<tr>
|
3695
4454
|
<td><p><span class="term"><em class="parameter"><code>builder</code></em> :</span></p></td>
|
@@ -3708,7 +4467,7 @@ things will happen.
|
|
3708
4467
|
<hr>
|
3709
4468
|
<div class="refsect2">
|
3710
4469
|
<a name="g-variant-builder-new"></a><h3>g_variant_builder_new ()</h3>
|
3711
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="returnvalue">GVariantBuilder</span></a> *
|
4470
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="returnvalue">GVariantBuilder</span></a> * g_variant_builder_new (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
3712
4471
|
<p>
|
3713
4472
|
Allocates and initialises a new <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a>.
|
3714
4473
|
</p>
|
@@ -3722,8 +4481,11 @@ In most cases it is easier to place a <a class="link" href="glib-GVariant.html#G
|
|
3722
4481
|
the stack of the calling function and initialise it with
|
3723
4482
|
<a class="link" href="glib-GVariant.html#g-variant-builder-init" title="g_variant_builder_init ()"><code class="function">g_variant_builder_init()</code></a>.
|
3724
4483
|
</p>
|
3725
|
-
<div class="variablelist"><table border="0">
|
4484
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
4485
|
+
<colgroup>
|
3726
4486
|
<col align="left" valign="top">
|
4487
|
+
<col>
|
4488
|
+
</colgroup>
|
3727
4489
|
<tbody>
|
3728
4490
|
<tr>
|
3729
4491
|
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
@@ -3779,8 +4541,11 @@ should assume that the person receiving that reference may try to use
|
|
3779
4541
|
reference counting; you should use <a class="link" href="glib-GVariant.html#g-variant-builder-new" title="g_variant_builder_new ()"><code class="function">g_variant_builder_new()</code></a> instead of
|
3780
4542
|
this function.
|
3781
4543
|
</p>
|
3782
|
-
<div class="variablelist"><table border="0">
|
4544
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
4545
|
+
<colgroup>
|
3783
4546
|
<col align="left" valign="top">
|
4547
|
+
<col>
|
4548
|
+
</colgroup>
|
3784
4549
|
<tbody>
|
3785
4550
|
<tr>
|
3786
4551
|
<td><p><span class="term"><em class="parameter"><code>builder</code></em> :</span></p></td>
|
@@ -3817,8 +4582,11 @@ It is valid to call this function on either an initialised
|
|
3817
4582
|
<a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> or one that is set to all-zeros but it is not valid
|
3818
4583
|
to call this function on uninitialised memory.
|
3819
4584
|
</p>
|
3820
|
-
<div class="variablelist"><table border="0">
|
4585
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
4586
|
+
<colgroup>
|
3821
4587
|
<col align="left" valign="top">
|
4588
|
+
<col>
|
4589
|
+
</colgroup>
|
3822
4590
|
<tbody><tr>
|
3823
4591
|
<td><p><span class="term"><em class="parameter"><code>builder</code></em> :</span></p></td>
|
3824
4592
|
<td>a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a>
|
@@ -3846,8 +4614,11 @@ a variant, etc.
|
|
3846
4614
|
If <em class="parameter"><code>value</code></em> is a floating reference (see <a class="link" href="glib-GVariant.html#g-variant-ref-sink" title="g_variant_ref_sink ()"><code class="function">g_variant_ref_sink()</code></a>),
|
3847
4615
|
the <em class="parameter"><code>builder</code></em> instance takes ownership of <em class="parameter"><code>value</code></em>.
|
3848
4616
|
</p>
|
3849
|
-
<div class="variablelist"><table border="0">
|
4617
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
4618
|
+
<colgroup>
|
3850
4619
|
<col align="left" valign="top">
|
4620
|
+
<col>
|
4621
|
+
</colgroup>
|
3851
4622
|
<tbody>
|
3852
4623
|
<tr>
|
3853
4624
|
<td><p><span class="term"><em class="parameter"><code>builder</code></em> :</span></p></td>
|
@@ -3902,8 +4673,11 @@ make_pointless_dictionary (void)
|
|
3902
4673
|
</pre>
|
3903
4674
|
<p>
|
3904
4675
|
</p>
|
3905
|
-
<div class="variablelist"><table border="0">
|
4676
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
4677
|
+
<colgroup>
|
3906
4678
|
<col align="left" valign="top">
|
4679
|
+
<col>
|
4680
|
+
</colgroup>
|
3907
4681
|
<tbody>
|
3908
4682
|
<tr>
|
3909
4683
|
<td><p><span class="term"><em class="parameter"><code>builder</code></em> :</span></p></td>
|
@@ -3958,8 +4732,11 @@ make_pointless_dictionary (void)
|
|
3958
4732
|
</pre>
|
3959
4733
|
<p>
|
3960
4734
|
</p>
|
3961
|
-
<div class="variablelist"><table border="0">
|
4735
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
4736
|
+
<colgroup>
|
3962
4737
|
<col align="left" valign="top">
|
4738
|
+
<col>
|
4739
|
+
</colgroup>
|
3963
4740
|
<tbody>
|
3964
4741
|
<tr>
|
3965
4742
|
<td><p><span class="term"><em class="parameter"><code>builder</code></em> :</span></p></td>
|
@@ -3983,7 +4760,7 @@ make_pointless_dictionary (void)
|
|
3983
4760
|
<hr>
|
3984
4761
|
<div class="refsect2">
|
3985
4762
|
<a name="g-variant-builder-end"></a><h3>g_variant_builder_end ()</h3>
|
3986
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
4763
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_builder_end (<em class="parameter"><code><a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> *builder</code></em>);</pre>
|
3987
4764
|
<p>
|
3988
4765
|
Ends the builder process and returns the constructed value.
|
3989
4766
|
</p>
|
@@ -4002,8 +4779,11 @@ was created with an indefinite array or maybe type and no children
|
|
4002
4779
|
have been added; in this case it is impossible to infer the type of
|
4003
4780
|
the empty array.
|
4004
4781
|
</p>
|
4005
|
-
<div class="variablelist"><table border="0">
|
4782
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
4783
|
+
<colgroup>
|
4006
4784
|
<col align="left" valign="top">
|
4785
|
+
<col>
|
4786
|
+
</colgroup>
|
4007
4787
|
<tbody>
|
4008
4788
|
<tr>
|
4009
4789
|
<td><p><span class="term"><em class="parameter"><code>builder</code></em> :</span></p></td>
|
@@ -4033,8 +4813,11 @@ It is an error to call this function in any way that would cause an
|
|
4033
4813
|
inconsistent value to be constructed (ie: adding too many values or
|
4034
4814
|
a value of an incorrect type).
|
4035
4815
|
</p>
|
4036
|
-
<div class="variablelist"><table border="0">
|
4816
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
4817
|
+
<colgroup>
|
4037
4818
|
<col align="left" valign="top">
|
4819
|
+
<col>
|
4820
|
+
</colgroup>
|
4038
4821
|
<tbody>
|
4039
4822
|
<tr>
|
4040
4823
|
<td><p><span class="term"><em class="parameter"><code>builder</code></em> :</span></p></td>
|
@@ -4063,8 +4846,11 @@ It is an error to call this function in any way that would create an
|
|
4063
4846
|
inconsistent value to be constructed (ie: too few values added to the
|
4064
4847
|
subcontainer).
|
4065
4848
|
</p>
|
4066
|
-
<div class="variablelist"><table border="0">
|
4849
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
4850
|
+
<colgroup>
|
4067
4851
|
<col align="left" valign="top">
|
4852
|
+
<col>
|
4853
|
+
</colgroup>
|
4068
4854
|
<tbody><tr>
|
4069
4855
|
<td><p><span class="term"><em class="parameter"><code>builder</code></em> :</span></p></td>
|
4070
4856
|
<td>a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a>
|
@@ -4076,8 +4862,7 @@ subcontainer).
|
|
4076
4862
|
<hr>
|
4077
4863
|
<div class="refsect2">
|
4078
4864
|
<a name="GVariantParseError"></a><h3>enum GVariantParseError</h3>
|
4079
|
-
<pre class="programlisting">typedef enum
|
4080
|
-
{
|
4865
|
+
<pre class="programlisting">typedef enum {
|
4081
4866
|
G_VARIANT_PARSE_ERROR_FAILED,
|
4082
4867
|
G_VARIANT_PARSE_ERROR_BASIC_TYPE_EXPECTED,
|
4083
4868
|
G_VARIANT_PARSE_ERROR_CANNOT_INFER_TYPE,
|
@@ -4101,8 +4886,11 @@ subcontainer).
|
|
4101
4886
|
<p>
|
4102
4887
|
Error codes returned by parsing text-format GVariants.
|
4103
4888
|
</p>
|
4104
|
-
<div class="variablelist"><table border="0">
|
4889
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
4890
|
+
<colgroup>
|
4105
4891
|
<col align="left" valign="top">
|
4892
|
+
<col>
|
4893
|
+
</colgroup>
|
4106
4894
|
<tbody>
|
4107
4895
|
<tr>
|
4108
4896
|
<td><p><a name="G-VARIANT-PARSE-ERROR-FAILED:CAPS"></a><span class="term"><code class="literal">G_VARIANT_PARSE_ERROR_FAILED</code></span></p></td>
|
@@ -4211,7 +4999,7 @@ information on error domains.
|
|
4211
4999
|
<hr>
|
4212
5000
|
<div class="refsect2">
|
4213
5001
|
<a name="g-variant-parse"></a><h3>g_variant_parse ()</h3>
|
4214
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
5002
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_parse (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>,
|
4215
5003
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *text</code></em>,
|
4216
5004
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *limit</code></em>,
|
4217
5005
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>,
|
@@ -4250,18 +5038,21 @@ is returned.
|
|
4250
5038
|
</p>
|
4251
5039
|
<p>
|
4252
5040
|
In case of any error, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> will be returned. If <em class="parameter"><code>error</code></em> is non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
4253
|
-
then it will be set to reflect the error that
|
5041
|
+
then it will be set to reflect the error that occurred.
|
4254
5042
|
</p>
|
4255
5043
|
<p>
|
4256
5044
|
Officially, the language understood by the parser is "any string
|
4257
5045
|
produced by <a class="link" href="glib-GVariant.html#g-variant-print" title="g_variant_print ()"><code class="function">g_variant_print()</code></a>".
|
4258
5046
|
</p>
|
4259
|
-
<div class="variablelist"><table border="0">
|
5047
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
5048
|
+
<colgroup>
|
4260
5049
|
<col align="left" valign="top">
|
5050
|
+
<col>
|
5051
|
+
</colgroup>
|
4261
5052
|
<tbody>
|
4262
5053
|
<tr>
|
4263
5054
|
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
4264
|
-
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
5055
|
+
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
4265
5056
|
</td>
|
4266
5057
|
</tr>
|
4267
5058
|
<tr>
|
@@ -4270,17 +5061,17 @@ produced by <a class="link" href="glib-GVariant.html#g-variant-print" title="g_v
|
|
4270
5061
|
</tr>
|
4271
5062
|
<tr>
|
4272
5063
|
<td><p><span class="term"><em class="parameter"><code>limit</code></em> :</span></p></td>
|
4273
|
-
<td>a pointer to the end of <em class="parameter"><code>text</code></em>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
5064
|
+
<td>a pointer to the end of <em class="parameter"><code>text</code></em>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
4274
5065
|
</td>
|
4275
5066
|
</tr>
|
4276
5067
|
<tr>
|
4277
5068
|
<td><p><span class="term"><em class="parameter"><code>endptr</code></em> :</span></p></td>
|
4278
|
-
<td>a location to store the end pointer, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
5069
|
+
<td>a location to store the end pointer, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
4279
5070
|
</td>
|
4280
5071
|
</tr>
|
4281
5072
|
<tr>
|
4282
5073
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
4283
|
-
<td>a pointer to a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> <a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> pointer, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
5074
|
+
<td>a pointer to a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> <a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> pointer, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
4284
5075
|
</td>
|
4285
5076
|
</tr>
|
4286
5077
|
<tr>
|
@@ -4294,8 +5085,7 @@ produced by <a class="link" href="glib-GVariant.html#g-variant-print" title="g_v
|
|
4294
5085
|
<hr>
|
4295
5086
|
<div class="refsect2">
|
4296
5087
|
<a name="g-variant-new-parsed-va"></a><h3>g_variant_new_parsed_va ()</h3>
|
4297
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
4298
|
-
(<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
5088
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_parsed_va (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
4299
5089
|
<em class="parameter"><code><span class="type">va_list</span> *app</code></em>);</pre>
|
4300
5090
|
<p>
|
4301
5091
|
Parses <em class="parameter"><code>format</code></em> and returns the result.
|
@@ -4319,8 +5109,11 @@ At this point, the caller will have their own full reference to the
|
|
4319
5109
|
result. This can also be done by adding the result to a container,
|
4320
5110
|
or by passing it to another <a class="link" href="glib-GVariant.html#g-variant-new" title="g_variant_new ()"><code class="function">g_variant_new()</code></a> call.
|
4321
5111
|
</p>
|
4322
|
-
<div class="variablelist"><table border="0">
|
5112
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
5113
|
+
<colgroup>
|
4323
5114
|
<col align="left" valign="top">
|
5115
|
+
<col>
|
5116
|
+
</colgroup>
|
4324
5117
|
<tbody>
|
4325
5118
|
<tr>
|
4326
5119
|
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
@@ -4343,7 +5136,7 @@ or by passing it to another <a class="link" href="glib-GVariant.html#g-variant-n
|
|
4343
5136
|
<hr>
|
4344
5137
|
<div class="refsect2">
|
4345
5138
|
<a name="g-variant-new-parsed"></a><h3>g_variant_new_parsed ()</h3>
|
4346
|
-
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
5139
|
+
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> * g_variant_new_parsed (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
4347
5140
|
<em class="parameter"><code>...</code></em>);</pre>
|
4348
5141
|
<p>
|
4349
5142
|
Parses <em class="parameter"><code>format</code></em> and returns the result.
|
@@ -4386,11 +5179,14 @@ want to parse data from untrusted sources, use <a class="link" href="glib-GVaria
|
|
4386
5179
|
<p>
|
4387
5180
|
You may not use this function to return, unmodified, a single
|
4388
5181
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> pointer from the argument list. ie: <em class="parameter"><code>format</code></em> may not solely
|
4389
|
-
be anything along the lines of "%*", "%?", "
|
5182
|
+
be anything along the lines of "%*", "%?", "%r", or anything starting
|
4390
5183
|
with "%@".
|
4391
5184
|
</p>
|
4392
|
-
<div class="variablelist"><table border="0">
|
5185
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
5186
|
+
<colgroup>
|
4393
5187
|
<col align="left" valign="top">
|
5188
|
+
<col>
|
5189
|
+
</colgroup>
|
4394
5190
|
<tbody>
|
4395
5191
|
<tr>
|
4396
5192
|
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
@@ -4417,6 +5213,6 @@ GVariantType
|
|
4417
5213
|
</div>
|
4418
5214
|
<div class="footer">
|
4419
5215
|
<hr>
|
4420
|
-
Generated by GTK-Doc V1.
|
5216
|
+
Generated by GTK-Doc V1.18</div>
|
4421
5217
|
</body>
|
4422
5218
|
</html>
|