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>GSimplePermission</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="GIO Reference Manual">
|
8
8
|
<link rel="up" href="permissions.html" title="Permissions">
|
9
9
|
<link rel="prev" href="GPermission.html" title="GPermission">
|
10
10
|
<link rel="next" href="application.html" title="Application support">
|
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">
|
@@ -40,13 +40,13 @@
|
|
40
40
|
<div class="refsynopsisdiv">
|
41
41
|
<a name="GSimplePermission.synopsis"></a><h2>Synopsis</h2>
|
42
42
|
<pre class="synopsis"> <a class="link" href="GSimplePermission.html#GSimplePermission-struct" title="GSimplePermission">GSimplePermission</a>;
|
43
|
-
<a class="link" href="GPermission.html" title="GPermission"><span class="returnvalue">GPermission</span></a> *
|
43
|
+
<a class="link" href="GPermission.html" title="GPermission"><span class="returnvalue">GPermission</span></a> * <a class="link" href="GSimplePermission.html#g-simple-permission-new" title="g_simple_permission_new ()">g_simple_permission_new</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> allowed</code></em>);
|
44
44
|
</pre>
|
45
45
|
</div>
|
46
46
|
<div class="refsect1">
|
47
47
|
<a name="GSimplePermission.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
48
48
|
<pre class="synopsis">
|
49
|
-
<a href="
|
49
|
+
<a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
50
50
|
+----<a class="link" href="GPermission.html" title="GPermission">GPermission</a>
|
51
51
|
+----GSimplePermission
|
52
52
|
</pre>
|
@@ -56,7 +56,7 @@
|
|
56
56
|
<p>
|
57
57
|
<a class="link" href="GSimplePermission.html" title="GSimplePermission"><span class="type">GSimplePermission</span></a> is a trivial implementation of <a class="link" href="GPermission.html" title="GPermission"><span class="type">GPermission</span></a> that
|
58
58
|
represents a permission that is either always or never allowed. The
|
59
|
-
value is given at
|
59
|
+
value is given at construction and doesn't change.
|
60
60
|
</p>
|
61
61
|
<p>
|
62
62
|
Calling request or release will result in errors.
|
@@ -75,18 +75,21 @@ except for those defined by <a class="link" href="GPermission.html" title="GPerm
|
|
75
75
|
<hr>
|
76
76
|
<div class="refsect2">
|
77
77
|
<a name="g-simple-permission-new"></a><h3>g_simple_permission_new ()</h3>
|
78
|
-
<pre class="programlisting"><a class="link" href="GPermission.html" title="GPermission"><span class="returnvalue">GPermission</span></a> *
|
78
|
+
<pre class="programlisting"><a class="link" href="GPermission.html" title="GPermission"><span class="returnvalue">GPermission</span></a> * g_simple_permission_new (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> allowed</code></em>);</pre>
|
79
79
|
<p>
|
80
80
|
Creates a new <a class="link" href="GPermission.html" title="GPermission"><span class="type">GPermission</span></a> instance that represents an action that is
|
81
81
|
either always or never allowed.
|
82
82
|
</p>
|
83
|
-
<div class="variablelist"><table border="0">
|
83
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
84
|
+
<colgroup>
|
84
85
|
<col align="left" valign="top">
|
86
|
+
<col>
|
87
|
+
</colgroup>
|
85
88
|
<tbody>
|
86
89
|
<tr>
|
87
90
|
<td><p><span class="term"><em class="parameter"><code>allowed</code></em> :</span></p></td>
|
88
91
|
<td>
|
89
|
-
<a href="
|
92
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the action is allowed</td>
|
90
93
|
</tr>
|
91
94
|
<tr>
|
92
95
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -101,6 +104,6 @@ either always or never allowed.
|
|
101
104
|
</div>
|
102
105
|
<div class="footer">
|
103
106
|
<hr>
|
104
|
-
Generated by GTK-Doc V1.
|
107
|
+
Generated by GTK-Doc V1.18</div>
|
105
108
|
</body>
|
106
109
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>GSocket</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="GIO Reference Manual">
|
8
|
-
<link rel="up" href="networking.html" title="
|
9
|
-
<link rel="prev" href="networking.html" title="
|
8
|
+
<link rel="up" href="networking.html" title="Low-level network support">
|
9
|
+
<link rel="prev" href="networking.html" title="Low-level network support">
|
10
10
|
<link rel="next" href="GInetAddress.html" title="GInetAddress">
|
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">
|
@@ -43,151 +43,178 @@
|
|
43
43
|
</tr></table></div>
|
44
44
|
<div class="refsynopsisdiv">
|
45
45
|
<a name="GSocket.synopsis"></a><h2>Synopsis</h2>
|
46
|
-
<
|
46
|
+
<pre class="synopsis">
|
47
47
|
#include <gio/gio.h>
|
48
48
|
|
49
49
|
<a class="link" href="GSocket.html#GSocket-struct" title="GSocket">GSocket</a>;
|
50
|
-
<a href="
|
51
|
-
<em class="parameter"><code><a href="
|
52
|
-
<em class="parameter"><code><a href="
|
53
|
-
enum <a class="link" href="GSocket.html#GSocketType">GSocketType</a>;
|
54
|
-
enum <a class="link" href="GSocket.html#GSocketProtocol">GSocketProtocol</a>;
|
55
|
-
enum <a class="link" href="GSocket.html#GSocketMsgFlags">GSocketMsgFlags</a>;
|
50
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (<a class="link" href="GSocket.html#GSocketSourceFunc" title="GSocketSourceFunc ()">*GSocketSourceFunc</a>) (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
51
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>,
|
52
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
|
53
|
+
enum <a class="link" href="GSocket.html#GSocketType" title="enum GSocketType">GSocketType</a>;
|
54
|
+
enum <a class="link" href="GSocket.html#GSocketProtocol" title="enum GSocketProtocol">GSocketProtocol</a>;
|
55
|
+
enum <a class="link" href="GSocket.html#GSocketMsgFlags" title="enum GSocketMsgFlags">GSocketMsgFlags</a>;
|
56
56
|
struct <a class="link" href="GSocket.html#GInputVector" title="struct GInputVector">GInputVector</a>;
|
57
57
|
struct <a class="link" href="GSocket.html#GOutputVector" title="struct GOutputVector">GOutputVector</a>;
|
58
|
-
<a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> *
|
59
|
-
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketType"><span class="type">GSocketType</span></a> type</code></em>,
|
60
|
-
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketProtocol"><span class="type">GSocketProtocol</span></a> protocol</code></em>,
|
61
|
-
<em class="parameter"><code><a href="
|
62
|
-
<a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> *
|
63
|
-
<em class="parameter"><code><a href="
|
64
|
-
<a href="
|
58
|
+
<a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> * <a class="link" href="GSocket.html#g-socket-new" title="g_socket_new ()">g_socket_new</a> (<em class="parameter"><code><a class="link" href="GSocketAddress.html#GSocketFamily" title="enum GSocketFamily"><span class="type">GSocketFamily</span></a> family</code></em>,
|
59
|
+
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketType" title="enum GSocketType"><span class="type">GSocketType</span></a> type</code></em>,
|
60
|
+
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketProtocol" title="enum GSocketProtocol"><span class="type">GSocketProtocol</span></a> protocol</code></em>,
|
61
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
62
|
+
<a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> * <a class="link" href="GSocket.html#g-socket-new-from-fd" title="g_socket_new_from_fd ()">g_socket_new_from_fd</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> fd</code></em>,
|
63
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
64
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocket.html#g-socket-bind" title="g_socket_bind ()">g_socket_bind</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
65
65
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>,
|
66
|
-
<em class="parameter"><code><a href="
|
67
|
-
<em class="parameter"><code><a href="
|
68
|
-
<a href="
|
69
|
-
<em class="parameter"><code><a href="
|
70
|
-
<a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> *
|
66
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> allow_reuse</code></em>,
|
67
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
68
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocket.html#g-socket-listen" title="g_socket_listen ()">g_socket_listen</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
69
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
70
|
+
<a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> * <a class="link" href="GSocket.html#g-socket-accept" title="g_socket_accept ()">g_socket_accept</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
71
71
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
72
|
-
<em class="parameter"><code><a href="
|
73
|
-
<a href="
|
72
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
73
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocket.html#g-socket-connect" title="g_socket_connect ()">g_socket_connect</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
74
74
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>,
|
75
75
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
76
|
-
<em class="parameter"><code><a href="
|
77
|
-
<a href="
|
78
|
-
<em class="parameter"><code><a href="
|
79
|
-
<a href="
|
80
|
-
<em class="parameter"><code><a href="
|
81
|
-
<em class="parameter"><code><a href="
|
76
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
77
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocket.html#g-socket-check-connect-result" title="g_socket_check_connect_result ()">g_socket_check_connect_result</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
78
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
79
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> <a class="link" href="GSocket.html#g-socket-receive" title="g_socket_receive ()">g_socket_receive</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
80
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
81
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
82
82
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
83
|
-
<em class="parameter"><code><a href="
|
84
|
-
<a href="
|
83
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
84
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> <a class="link" href="GSocket.html#g-socket-receive-from" title="g_socket_receive_from ()">g_socket_receive_from</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
85
85
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> **address</code></em>,
|
86
|
-
<em class="parameter"><code><a href="
|
87
|
-
<em class="parameter"><code><a href="
|
86
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
87
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
88
88
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
89
|
-
<em class="parameter"><code><a href="
|
90
|
-
<a href="
|
89
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
90
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> <a class="link" href="GSocket.html#g-socket-receive-message" title="g_socket_receive_message ()">g_socket_receive_message</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
91
91
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> **address</code></em>,
|
92
92
|
<em class="parameter"><code><a class="link" href="GSocket.html#GInputVector" title="struct GInputVector"><span class="type">GInputVector</span></a> *vectors</code></em>,
|
93
|
-
<em class="parameter"><code><a href="
|
93
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_vectors</code></em>,
|
94
94
|
<em class="parameter"><code><a class="link" href="GSocketControlMessage.html" title="GSocketControlMessage"><span class="type">GSocketControlMessage</span></a> ***messages</code></em>,
|
95
|
-
<em class="parameter"><code><a href="
|
96
|
-
<em class="parameter"><code><a href="
|
95
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *num_messages</code></em>,
|
96
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *flags</code></em>,
|
97
97
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
98
|
-
<em class="parameter"><code><a href="
|
99
|
-
<a href="
|
100
|
-
<em class="parameter"><code><a href="
|
101
|
-
<em class="parameter"><code><a href="
|
102
|
-
<em class="parameter"><code><a href="
|
98
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
99
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> <a class="link" href="GSocket.html#g-socket-receive-with-blocking" title="g_socket_receive_with_blocking ()">g_socket_receive_with_blocking</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
100
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
101
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
102
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> blocking</code></em>,
|
103
103
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
104
|
-
<em class="parameter"><code><a href="
|
105
|
-
<a href="
|
106
|
-
<em class="parameter"><code>const <a href="
|
107
|
-
<em class="parameter"><code><a href="
|
104
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
105
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> <a class="link" href="GSocket.html#g-socket-send" title="g_socket_send ()">g_socket_send</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
106
|
+
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
107
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
108
108
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
109
|
-
<em class="parameter"><code><a href="
|
110
|
-
<a href="
|
109
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
110
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> <a class="link" href="GSocket.html#g-socket-send-to" title="g_socket_send_to ()">g_socket_send_to</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
111
111
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>,
|
112
|
-
<em class="parameter"><code>const <a href="
|
113
|
-
<em class="parameter"><code><a href="
|
112
|
+
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
113
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
114
114
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
115
|
-
<em class="parameter"><code><a href="
|
116
|
-
<a href="
|
115
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
116
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> <a class="link" href="GSocket.html#g-socket-send-message" title="g_socket_send_message ()">g_socket_send_message</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
117
117
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>,
|
118
118
|
<em class="parameter"><code><a class="link" href="GSocket.html#GOutputVector" title="struct GOutputVector"><span class="type">GOutputVector</span></a> *vectors</code></em>,
|
119
|
-
<em class="parameter"><code><a href="
|
119
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_vectors</code></em>,
|
120
120
|
<em class="parameter"><code><a class="link" href="GSocketControlMessage.html" title="GSocketControlMessage"><span class="type">GSocketControlMessage</span></a> **messages</code></em>,
|
121
|
-
<em class="parameter"><code><a href="
|
122
|
-
<em class="parameter"><code><a href="
|
121
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_messages</code></em>,
|
122
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> flags</code></em>,
|
123
123
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
124
|
-
<em class="parameter"><code><a href="
|
125
|
-
<a href="
|
126
|
-
<em class="parameter"><code>const <a href="
|
127
|
-
<em class="parameter"><code><a href="
|
128
|
-
<em class="parameter"><code><a href="
|
124
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
125
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> <a class="link" href="GSocket.html#g-socket-send-with-blocking" title="g_socket_send_with_blocking ()">g_socket_send_with_blocking</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
126
|
+
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
127
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
128
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> blocking</code></em>,
|
129
129
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
130
|
-
<em class="parameter"><code><a href="
|
131
|
-
<a href="
|
132
|
-
<em class="parameter"><code><a href="
|
133
|
-
<a href="
|
134
|
-
<a href="
|
135
|
-
<em class="parameter"><code><a href="
|
136
|
-
<em class="parameter"><code><a href="
|
137
|
-
<em class="parameter"><code><a href="
|
138
|
-
<a href="
|
139
|
-
<a href="
|
140
|
-
<em class="parameter"><code><a href="
|
130
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
131
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocket.html#g-socket-close" title="g_socket_close ()">g_socket_close</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
132
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
133
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocket.html#g-socket-is-closed" title="g_socket_is_closed ()">g_socket_is_closed</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);
|
134
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocket.html#g-socket-shutdown" title="g_socket_shutdown ()">g_socket_shutdown</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
135
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> shutdown_read</code></em>,
|
136
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> shutdown_write</code></em>,
|
137
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
138
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocket.html#g-socket-is-connected" title="g_socket_is_connected ()">g_socket_is_connected</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);
|
139
|
+
<a href="./../glib/glib/glib-The-Main-Event-Loop.html#GSource"><span class="returnvalue">GSource</span></a> * <a class="link" href="GSocket.html#g-socket-create-source" title="g_socket_create_source ()">g_socket_create_source</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
140
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>,
|
141
141
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>);
|
142
|
-
<a href="
|
143
|
-
<em class="parameter"><code><a href="
|
144
|
-
<a href="
|
145
|
-
<em class="parameter"><code><a href="
|
142
|
+
<a href="./../glib/glib/glib-IO-Channels.html#GIOCondition"><span class="returnvalue">GIOCondition</span></a> <a class="link" href="GSocket.html#g-socket-condition-check" title="g_socket_condition_check ()">g_socket_condition_check</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
143
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>);
|
144
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocket.html#g-socket-condition-wait" title="g_socket_condition_wait ()">g_socket_condition_wait</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
145
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>,
|
146
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
147
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
148
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocket.html#g-socket-condition-timed-wait" title="g_socket_condition_timed_wait ()">g_socket_condition_timed_wait</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
149
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>,
|
150
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> timeout</code></em>,
|
146
151
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
147
|
-
<em class="parameter"><code><a href="
|
152
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
153
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> <a class="link" href="GSocket.html#g-socket-get-available-bytes" title="g_socket_get_available_bytes ()">g_socket_get_available_bytes</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);
|
148
154
|
<span class="returnvalue">void</span> <a class="link" href="GSocket.html#g-socket-set-listen-backlog" title="g_socket_set_listen_backlog ()">g_socket_set_listen_backlog</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
149
|
-
<em class="parameter"><code><a href="
|
150
|
-
<a href="
|
151
|
-
<a href="
|
155
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> backlog</code></em>);
|
156
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GSocket.html#g-socket-get-listen-backlog" title="g_socket_get_listen_backlog ()">g_socket_get_listen_backlog</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);
|
157
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocket.html#g-socket-get-blocking" title="g_socket_get_blocking ()">g_socket_get_blocking</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);
|
152
158
|
<span class="returnvalue">void</span> <a class="link" href="GSocket.html#g-socket-set-blocking" title="g_socket_set_blocking ()">g_socket_set_blocking</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
153
|
-
<em class="parameter"><code><a href="
|
154
|
-
<a href="
|
159
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> blocking</code></em>);
|
160
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocket.html#g-socket-get-keepalive" title="g_socket_get_keepalive ()">g_socket_get_keepalive</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);
|
155
161
|
<span class="returnvalue">void</span> <a class="link" href="GSocket.html#g-socket-set-keepalive" title="g_socket_set_keepalive ()">g_socket_set_keepalive</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
156
|
-
<em class="parameter"><code><a href="
|
157
|
-
<a href="
|
162
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> keepalive</code></em>);
|
163
|
+
<a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="GSocket.html#g-socket-get-timeout" title="g_socket_get_timeout ()">g_socket_get_timeout</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);
|
158
164
|
<span class="returnvalue">void</span> <a class="link" href="GSocket.html#g-socket-set-timeout" title="g_socket_set_timeout ()">g_socket_set_timeout</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
159
|
-
<em class="parameter"><code><a href="
|
160
|
-
<
|
165
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> timeout</code></em>);
|
166
|
+
<span class="returnvalue">void</span> <a class="link" href="GSocket.html#g-socket-set-ttl" title="g_socket_set_ttl ()">g_socket_set_ttl</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
167
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> ttl</code></em>);
|
168
|
+
<a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="GSocket.html#g-socket-get-ttl" title="g_socket_get_ttl ()">g_socket_get_ttl</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);
|
169
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocket.html#g-socket-get-broadcast" title="g_socket_get_broadcast ()">g_socket_get_broadcast</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);
|
170
|
+
<span class="returnvalue">void</span> <a class="link" href="GSocket.html#g-socket-set-broadcast" title="g_socket_set_broadcast ()">g_socket_set_broadcast</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
171
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> broadcast</code></em>);
|
172
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocket.html#g-socket-get-option" title="g_socket_get_option ()">g_socket_get_option</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
173
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> level</code></em>,
|
174
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> optname</code></em>,
|
175
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *value</code></em>,
|
176
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
177
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocket.html#g-socket-set-option" title="g_socket_set_option ()">g_socket_set_option</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
178
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> level</code></em>,
|
179
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> optname</code></em>,
|
180
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> value</code></em>,
|
181
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
182
|
+
<a class="link" href="GSocketAddress.html#GSocketFamily" title="enum GSocketFamily"><span class="returnvalue">GSocketFamily</span></a> <a class="link" href="GSocket.html#g-socket-get-family" title="g_socket_get_family ()">g_socket_get_family</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);
|
161
183
|
<span class="returnvalue">int</span> <a class="link" href="GSocket.html#g-socket-get-fd" title="g_socket_get_fd ()">g_socket_get_fd</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);
|
162
|
-
<a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> *
|
163
|
-
<em class="parameter"><code><a href="
|
164
|
-
<a class="link" href="GSocket.html#GSocketProtocol"><span class="returnvalue">GSocketProtocol</span></a> <a class="link" href="GSocket.html#g-socket-get-protocol" title="g_socket_get_protocol ()">g_socket_get_protocol</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);
|
165
|
-
<a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> *
|
166
|
-
<em class="parameter"><code><a href="
|
167
|
-
<a class="link" href="GSocket.html#GSocketType"><span class="returnvalue">GSocketType</span></a> <a class="link" href="GSocket.html#g-socket-get-socket-type" title="g_socket_get_socket_type ()">g_socket_get_socket_type</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);
|
168
|
-
<a href="
|
184
|
+
<a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> * <a class="link" href="GSocket.html#g-socket-get-local-address" title="g_socket_get_local_address ()">g_socket_get_local_address</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
185
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
186
|
+
<a class="link" href="GSocket.html#GSocketProtocol" title="enum GSocketProtocol"><span class="returnvalue">GSocketProtocol</span></a> <a class="link" href="GSocket.html#g-socket-get-protocol" title="g_socket_get_protocol ()">g_socket_get_protocol</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);
|
187
|
+
<a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> * <a class="link" href="GSocket.html#g-socket-get-remote-address" title="g_socket_get_remote_address ()">g_socket_get_remote_address</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
188
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
189
|
+
<a class="link" href="GSocket.html#GSocketType" title="enum GSocketType"><span class="returnvalue">GSocketType</span></a> <a class="link" href="GSocket.html#g-socket-get-socket-type" title="g_socket_get_socket_type ()">g_socket_get_socket_type</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);
|
190
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocket.html#g-socket-speaks-ipv4" title="g_socket_speaks_ipv4 ()">g_socket_speaks_ipv4</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);
|
169
191
|
<a class="link" href="GCredentials.html" title="GCredentials"><span class="returnvalue">GCredentials</span></a> * <a class="link" href="GSocket.html#g-socket-get-credentials" title="g_socket_get_credentials ()">g_socket_get_credentials</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
170
|
-
<em class="parameter"><code><a href="
|
192
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
193
|
+
|
194
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocket.html#g-socket-join-multicast-group" title="g_socket_join_multicast_group ()">g_socket_join_multicast_group</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
195
|
+
<em class="parameter"><code><a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> *group</code></em>,
|
196
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> source_specific</code></em>,
|
197
|
+
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *iface</code></em>,
|
198
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
199
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocket.html#g-socket-leave-multicast-group" title="g_socket_leave_multicast_group ()">g_socket_leave_multicast_group</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
200
|
+
<em class="parameter"><code><a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> *group</code></em>,
|
201
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> source_specific</code></em>,
|
202
|
+
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *iface</code></em>,
|
203
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
204
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocket.html#g-socket-get-multicast-loopback" title="g_socket_get_multicast_loopback ()">g_socket_get_multicast_loopback</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);
|
205
|
+
<span class="returnvalue">void</span> <a class="link" href="GSocket.html#g-socket-set-multicast-loopback" title="g_socket_set_multicast_loopback ()">g_socket_set_multicast_loopback</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
206
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> loopback</code></em>);
|
207
|
+
<a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="GSocket.html#g-socket-get-multicast-ttl" title="g_socket_get_multicast_ttl ()">g_socket_get_multicast_ttl</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);
|
208
|
+
<span class="returnvalue">void</span> <a class="link" href="GSocket.html#g-socket-set-multicast-ttl" title="g_socket_set_multicast_ttl ()">g_socket_set_multicast_ttl</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
209
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> ttl</code></em>);
|
171
210
|
</pre>
|
172
211
|
</div>
|
173
212
|
<div class="refsect1">
|
174
213
|
<a name="GSocket.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
175
214
|
<pre class="synopsis">
|
176
|
-
<a href="
|
215
|
+
<a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
177
216
|
+----GSocket
|
178
217
|
</pre>
|
179
|
-
<pre class="synopsis">
|
180
|
-
GEnum
|
181
|
-
+----GSocketType
|
182
|
-
</pre>
|
183
|
-
<pre class="synopsis">
|
184
|
-
GEnum
|
185
|
-
+----GSocketProtocol
|
186
|
-
</pre>
|
187
|
-
<pre class="synopsis">
|
188
|
-
GEnum
|
189
|
-
+----GSocketMsgFlags
|
190
|
-
</pre>
|
191
218
|
</div>
|
192
219
|
<div class="refsect1">
|
193
220
|
<a name="GSocket.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
@@ -198,16 +225,20 @@ GSocket implements
|
|
198
225
|
<div class="refsect1">
|
199
226
|
<a name="GSocket.properties"></a><h2>Properties</h2>
|
200
227
|
<pre class="synopsis">
|
201
|
-
"<a class="link" href="GSocket.html#GSocket--blocking" title='The "blocking" property'>blocking</a>" <a href="
|
202
|
-
"<a class="link" href="GSocket.html#GSocket--
|
203
|
-
"<a class="link" href="GSocket.html#GSocket--
|
204
|
-
"<a class="link" href="GSocket.html#GSocket--
|
205
|
-
"<a class="link" href="GSocket.html#GSocket--
|
228
|
+
"<a class="link" href="GSocket.html#GSocket--blocking" title='The "blocking" property'>blocking</a>" <a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
229
|
+
"<a class="link" href="GSocket.html#GSocket--broadcast" title='The "broadcast" property'>broadcast</a>" <a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
230
|
+
"<a class="link" href="GSocket.html#GSocket--family" title='The "family" property'>family</a>" <a class="link" href="GSocketAddress.html#GSocketFamily" title="enum GSocketFamily"><span class="type">GSocketFamily</span></a> : Read / Write / Construct Only
|
231
|
+
"<a class="link" href="GSocket.html#GSocket--fd" title='The "fd" property'>fd</a>" <a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write / Construct Only
|
232
|
+
"<a class="link" href="GSocket.html#GSocket--keepalive" title='The "keepalive" property'>keepalive</a>" <a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
233
|
+
"<a class="link" href="GSocket.html#GSocket--listen-backlog" title='The "listen-backlog" property'>listen-backlog</a>" <a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
|
206
234
|
"<a class="link" href="GSocket.html#GSocket--local-address" title='The "local-address" property'>local-address</a>" <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>* : Read
|
207
|
-
"<a class="link" href="GSocket.html#GSocket--
|
235
|
+
"<a class="link" href="GSocket.html#GSocket--multicast-loopback" title='The "multicast-loopback" property'>multicast-loopback</a>" <a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
236
|
+
"<a class="link" href="GSocket.html#GSocket--multicast-ttl" title='The "multicast-ttl" property'>multicast-ttl</a>" <a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
|
237
|
+
"<a class="link" href="GSocket.html#GSocket--protocol" title='The "protocol" property'>protocol</a>" <a class="link" href="GSocket.html#GSocketProtocol" title="enum GSocketProtocol"><span class="type">GSocketProtocol</span></a> : Read / Write / Construct Only
|
208
238
|
"<a class="link" href="GSocket.html#GSocket--remote-address" title='The "remote-address" property'>remote-address</a>" <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>* : Read
|
209
|
-
"<a class="link" href="GSocket.html#GSocket--timeout" title='The "timeout" property'>timeout</a>" <a href="
|
210
|
-
"<a class="link" href="GSocket.html#GSocket--
|
239
|
+
"<a class="link" href="GSocket.html#GSocket--timeout" title='The "timeout" property'>timeout</a>" <a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
|
240
|
+
"<a class="link" href="GSocket.html#GSocket--ttl" title='The "ttl" property'>ttl</a>" <a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
|
241
|
+
"<a class="link" href="GSocket.html#GSocket--type" title='The "type" property'>type</a>" <a class="link" href="GSocket.html#GSocketType" title="enum GSocketType"><span class="type">GSocketType</span></a> : Read / Write / Construct Only
|
211
242
|
</pre>
|
212
243
|
</div>
|
213
244
|
<div class="refsect1">
|
@@ -226,10 +257,10 @@ direct use of <a class="link" href="GSocket.html" title="GSocket"><span class="t
|
|
226
257
|
</p>
|
227
258
|
<p>
|
228
259
|
<a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> implements the <a class="link" href="GInitable.html" title="GInitable"><span class="type">GInitable</span></a> interface, so if it is manually constructed
|
229
|
-
by e.g. <a href="
|
260
|
+
by e.g. <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-object-new"><code class="function">g_object_new()</code></a> you must call <a class="link" href="GInitable.html#g-initable-init" title="g_initable_init ()"><code class="function">g_initable_init()</code></a> and check the
|
230
261
|
results before using the object. This is done automatically in
|
231
262
|
<a class="link" href="GSocket.html#g-socket-new" title="g_socket_new ()"><code class="function">g_socket_new()</code></a> and <a class="link" href="GSocket.html#g-socket-new-from-fd" title="g_socket_new_from_fd ()"><code class="function">g_socket_new_from_fd()</code></a>, so these functions can return
|
232
|
-
<a href="
|
263
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
233
264
|
</p>
|
234
265
|
<p>
|
235
266
|
Sockets operate in two general modes, blocking or non-blocking. When
|
@@ -238,7 +269,7 @@ is finished or there is an error. In non-blocking mode all calls that
|
|
238
269
|
would block return immediately with a <a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> error.
|
239
270
|
To know when a call would successfully run you can call <a class="link" href="GSocket.html#g-socket-condition-check" title="g_socket_condition_check ()"><code class="function">g_socket_condition_check()</code></a>,
|
240
271
|
or <a class="link" href="GSocket.html#g-socket-condition-wait" title="g_socket_condition_wait ()"><code class="function">g_socket_condition_wait()</code></a>. You can also use <a class="link" href="GSocket.html#g-socket-create-source" title="g_socket_create_source ()"><code class="function">g_socket_create_source()</code></a> and
|
241
|
-
attach it to a <a href="
|
272
|
+
attach it to a <a href="./../glib/glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a> to get callbacks when I/O is possible.
|
242
273
|
Note that all sockets are always set to non blocking mode in the system, and
|
243
274
|
blocking mode is emulated in GSocket.
|
244
275
|
</p>
|
@@ -281,15 +312,18 @@ A lowlevel network socket object.
|
|
281
312
|
<hr>
|
282
313
|
<div class="refsect2">
|
283
314
|
<a name="GSocketSourceFunc"></a><h3>GSocketSourceFunc ()</h3>
|
284
|
-
<pre class="programlisting"><a href="
|
285
|
-
<em class="parameter"><code><a href="
|
286
|
-
<em class="parameter"><code><a href="
|
315
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (*GSocketSourceFunc) (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
316
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>,
|
317
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
287
318
|
<p>
|
288
|
-
This is the function type of the callback used for the <a href="
|
319
|
+
This is the function type of the callback used for the <a href="./../glib/glib/glib-The-Main-Event-Loop.html#GSource"><span class="type">GSource</span></a>
|
289
320
|
returned by <a class="link" href="GSocket.html#g-socket-create-source" title="g_socket_create_source ()"><code class="function">g_socket_create_source()</code></a>.
|
290
321
|
</p>
|
291
|
-
<div class="variablelist"><table border="0">
|
322
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
323
|
+
<colgroup>
|
292
324
|
<col align="left" valign="top">
|
325
|
+
<col>
|
326
|
+
</colgroup>
|
293
327
|
<tbody>
|
294
328
|
<tr>
|
295
329
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -306,7 +340,7 @@ returned by <a class="link" href="GSocket.html#g-socket-create-source" title="g_
|
|
306
340
|
</tr>
|
307
341
|
<tr>
|
308
342
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
309
|
-
<td>it should return <a href="
|
343
|
+
<td>it should return <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the source should be removed.</td>
|
310
344
|
</tr>
|
311
345
|
</tbody>
|
312
346
|
</table></div>
|
@@ -315,8 +349,7 @@ returned by <a class="link" href="GSocket.html#g-socket-create-source" title="g_
|
|
315
349
|
<hr>
|
316
350
|
<div class="refsect2">
|
317
351
|
<a name="GSocketType"></a><h3>enum GSocketType</h3>
|
318
|
-
<pre class="programlisting">typedef enum
|
319
|
-
{
|
352
|
+
<pre class="programlisting">typedef enum {
|
320
353
|
G_SOCKET_TYPE_INVALID,
|
321
354
|
G_SOCKET_TYPE_STREAM,
|
322
355
|
G_SOCKET_TYPE_DATAGRAM,
|
@@ -327,8 +360,11 @@ returned by <a class="link" href="GSocket.html#g-socket-create-source" title="g_
|
|
327
360
|
Flags used when creating a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>. Some protocols may not implement
|
328
361
|
all the socket types.
|
329
362
|
</p>
|
330
|
-
<div class="variablelist"><table border="0">
|
363
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
364
|
+
<colgroup>
|
331
365
|
<col align="left" valign="top">
|
366
|
+
<col>
|
367
|
+
</colgroup>
|
332
368
|
<tbody>
|
333
369
|
<tr>
|
334
370
|
<td><p><a name="G-SOCKET-TYPE-INVALID:CAPS"></a><span class="term"><code class="literal">G_SOCKET_TYPE_INVALID</code></span></p></td>
|
@@ -377,8 +413,11 @@ This enum contains a set of commonly available and used protocols. You
|
|
377
413
|
can also pass any other identifiers handled by the platform in order to
|
378
414
|
use protocols not listed here.
|
379
415
|
</p>
|
380
|
-
<div class="variablelist"><table border="0">
|
416
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
417
|
+
<colgroup>
|
381
418
|
<col align="left" valign="top">
|
419
|
+
<col>
|
420
|
+
</colgroup>
|
382
421
|
<tbody>
|
383
422
|
<tr>
|
384
423
|
<td><p><a name="G-SOCKET-PROTOCOL-UNKNOWN:CAPS"></a><span class="term"><code class="literal">G_SOCKET_PROTOCOL_UNKNOWN</code></span></p></td>
|
@@ -412,8 +451,7 @@ use protocols not listed here.
|
|
412
451
|
<hr>
|
413
452
|
<div class="refsect2">
|
414
453
|
<a name="GSocketMsgFlags"></a><h3>enum GSocketMsgFlags</h3>
|
415
|
-
<pre class="programlisting">typedef enum
|
416
|
-
{
|
454
|
+
<pre class="programlisting">typedef enum {
|
417
455
|
G_SOCKET_MSG_NONE,
|
418
456
|
G_SOCKET_MSG_OOB = GLIB_SYSDEF_MSG_OOB,
|
419
457
|
G_SOCKET_MSG_PEEK = GLIB_SYSDEF_MSG_PEEK,
|
@@ -427,8 +465,11 @@ values used for them are the same as on the platform, and any other flags
|
|
427
465
|
are passed in/out as is. So to use a platform specific flag, just include
|
428
466
|
the right system header and pass in the flag.
|
429
467
|
</p>
|
430
|
-
<div class="variablelist"><table border="0">
|
468
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
469
|
+
<colgroup>
|
431
470
|
<col align="left" valign="top">
|
471
|
+
<col>
|
472
|
+
</colgroup>
|
432
473
|
<tbody>
|
433
474
|
<tr>
|
434
475
|
<td><p><a name="G-SOCKET-MSG-NONE:CAPS"></a><span class="term"><code class="literal">G_SOCKET_MSG_NONE</code></span></p></td>
|
@@ -470,15 +511,18 @@ You generally pass in an array of <a class="link" href="GSocket.html#GInputVecto
|
|
470
511
|
and the operation will store the read data starting in the
|
471
512
|
first buffer, switching to the next as needed.
|
472
513
|
</p>
|
473
|
-
<div class="variablelist"><table border="0">
|
514
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
515
|
+
<colgroup>
|
474
516
|
<col align="left" valign="top">
|
517
|
+
<col>
|
518
|
+
</colgroup>
|
475
519
|
<tbody>
|
476
520
|
<tr>
|
477
|
-
<td><p><span class="term"><a href="
|
521
|
+
<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> <em class="structfield"><code><a name="GInputVector.buffer"></a>buffer</code></em>;</span></p></td>
|
478
522
|
<td>Pointer to a buffer where data will be written.</td>
|
479
523
|
</tr>
|
480
524
|
<tr>
|
481
|
-
<td><p><span class="term"><a href="
|
525
|
+
<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> <em class="structfield"><code><a name="GInputVector.size"></a>size</code></em>;</span></p></td>
|
482
526
|
<td>the available size in <em class="parameter"><code>buffer</code></em>.</td>
|
483
527
|
</tr>
|
484
528
|
</tbody>
|
@@ -499,15 +543,18 @@ You generally pass in an array of <a class="link" href="GSocket.html#GOutputVect
|
|
499
543
|
and the operation will use all the buffers as if they were
|
500
544
|
one buffer.
|
501
545
|
</p>
|
502
|
-
<div class="variablelist"><table border="0">
|
546
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
547
|
+
<colgroup>
|
503
548
|
<col align="left" valign="top">
|
549
|
+
<col>
|
550
|
+
</colgroup>
|
504
551
|
<tbody>
|
505
552
|
<tr>
|
506
|
-
<td><p><span class="term"><a href="
|
553
|
+
<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> <em class="structfield"><code><a name="GOutputVector.buffer"></a>buffer</code></em>;</span></p></td>
|
507
554
|
<td>Pointer to a buffer of data to read.</td>
|
508
555
|
</tr>
|
509
556
|
<tr>
|
510
|
-
<td><p><span class="term"><a href="
|
557
|
+
<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> <em class="structfield"><code><a name="GOutputVector.size"></a>size</code></em>;</span></p></td>
|
511
558
|
<td>the size of <em class="parameter"><code>buffer</code></em>.</td>
|
512
559
|
</tr>
|
513
560
|
</tbody>
|
@@ -517,10 +564,10 @@ one buffer.
|
|
517
564
|
<hr>
|
518
565
|
<div class="refsect2">
|
519
566
|
<a name="g-socket-new"></a><h3>g_socket_new ()</h3>
|
520
|
-
<pre class="programlisting"><a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> *
|
521
|
-
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketType"><span class="type">GSocketType</span></a> type</code></em>,
|
522
|
-
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketProtocol"><span class="type">GSocketProtocol</span></a> protocol</code></em>,
|
523
|
-
<em class="parameter"><code><a href="
|
567
|
+
<pre class="programlisting"><a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> * g_socket_new (<em class="parameter"><code><a class="link" href="GSocketAddress.html#GSocketFamily" title="enum GSocketFamily"><span class="type">GSocketFamily</span></a> family</code></em>,
|
568
|
+
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketType" title="enum GSocketType"><span class="type">GSocketType</span></a> type</code></em>,
|
569
|
+
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketProtocol" title="enum GSocketProtocol"><span class="type">GSocketProtocol</span></a> protocol</code></em>,
|
570
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
524
571
|
<p>
|
525
572
|
Creates a new <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> with the defined family, type and protocol.
|
526
573
|
If <em class="parameter"><code>protocol</code></em> is 0 (<a class="link" href="GSocket.html#G-SOCKET-PROTOCOL-DEFAULT:CAPS"><code class="literal">G_SOCKET_PROTOCOL_DEFAULT</code></a>) the default protocol type
|
@@ -528,18 +575,21 @@ for the family and type is used.
|
|
528
575
|
</p>
|
529
576
|
<p>
|
530
577
|
The <em class="parameter"><code>protocol</code></em> is a family and type specific int that specifies what
|
531
|
-
kind of protocol to use. <a class="link" href="GSocket.html#GSocketProtocol"><span class="type">GSocketProtocol</span></a> lists several common ones.
|
578
|
+
kind of protocol to use. <a class="link" href="GSocket.html#GSocketProtocol" title="enum GSocketProtocol"><span class="type">GSocketProtocol</span></a> lists several common ones.
|
532
579
|
Many families only support one protocol, and use 0 for this, others
|
533
580
|
support several and using 0 means to use the default protocol for
|
534
581
|
the family and type.
|
535
582
|
</p>
|
536
583
|
<p>
|
537
584
|
The protocol id is passed directly to the operating
|
538
|
-
system, so you can use protocols not listed in <a class="link" href="GSocket.html#GSocketProtocol"><span class="type">GSocketProtocol</span></a> if you
|
585
|
+
system, so you can use protocols not listed in <a class="link" href="GSocket.html#GSocketProtocol" title="enum GSocketProtocol"><span class="type">GSocketProtocol</span></a> if you
|
539
586
|
know the protocol number used for it.
|
540
587
|
</p>
|
541
|
-
<div class="variablelist"><table border="0">
|
588
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
589
|
+
<colgroup>
|
542
590
|
<col align="left" valign="top">
|
591
|
+
<col>
|
592
|
+
</colgroup>
|
543
593
|
<tbody>
|
544
594
|
<tr>
|
545
595
|
<td><p><span class="term"><em class="parameter"><code>family</code></em> :</span></p></td>
|
@@ -556,12 +606,12 @@ know the protocol number used for it.
|
|
556
606
|
<tr>
|
557
607
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
558
608
|
<td>
|
559
|
-
<a href="
|
609
|
+
<a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
560
610
|
</tr>
|
561
611
|
<tr>
|
562
612
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
563
|
-
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> or <a href="
|
564
|
-
Free the returned object with <a href="
|
613
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
|
614
|
+
Free the returned object with <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</td>
|
565
615
|
</tr>
|
566
616
|
</tbody>
|
567
617
|
</table></div>
|
@@ -570,8 +620,8 @@ Free the returned object with <a href="http://library.gnome.org/devel/gobject/un
|
|
570
620
|
<hr>
|
571
621
|
<div class="refsect2">
|
572
622
|
<a name="g-socket-new-from-fd"></a><h3>g_socket_new_from_fd ()</h3>
|
573
|
-
<pre class="programlisting"><a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> *
|
574
|
-
<em class="parameter"><code><a href="
|
623
|
+
<pre class="programlisting"><a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> * g_socket_new_from_fd (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> fd</code></em>,
|
624
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
575
625
|
<p>
|
576
626
|
Creates a new <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> from a native file descriptor
|
577
627
|
or winsock SOCKET handle.
|
@@ -582,8 +632,11 @@ all properties should work. Note that the file descriptor
|
|
582
632
|
will be set to non-blocking mode, independent on the blocking
|
583
633
|
mode of the <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.
|
584
634
|
</p>
|
585
|
-
<div class="variablelist"><table border="0">
|
635
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
636
|
+
<colgroup>
|
586
637
|
<col align="left" valign="top">
|
638
|
+
<col>
|
639
|
+
</colgroup>
|
587
640
|
<tbody>
|
588
641
|
<tr>
|
589
642
|
<td><p><span class="term"><em class="parameter"><code>fd</code></em> :</span></p></td>
|
@@ -592,12 +645,12 @@ mode of the <a class="link" href="GSocket.html" title="GSocket"><span class="typ
|
|
592
645
|
<tr>
|
593
646
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
594
647
|
<td>
|
595
|
-
<a href="
|
648
|
+
<a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
596
649
|
</tr>
|
597
650
|
<tr>
|
598
651
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
599
|
-
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> or <a href="
|
600
|
-
Free the returned object with <a href="
|
652
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
|
653
|
+
Free the returned object with <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</td>
|
601
654
|
</tr>
|
602
655
|
</tbody>
|
603
656
|
</table></div>
|
@@ -606,10 +659,10 @@ Free the returned object with <a href="http://library.gnome.org/devel/gobject/un
|
|
606
659
|
<hr>
|
607
660
|
<div class="refsect2">
|
608
661
|
<a name="g-socket-bind"></a><h3>g_socket_bind ()</h3>
|
609
|
-
<pre class="programlisting"><a href="
|
662
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_socket_bind (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
610
663
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>,
|
611
|
-
<em class="parameter"><code><a href="
|
612
|
-
<em class="parameter"><code><a href="
|
664
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> allow_reuse</code></em>,
|
665
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
613
666
|
<p>
|
614
667
|
When a socket is created it is attached to an address family, but it
|
615
668
|
doesn't have an address in this family. <a class="link" href="GSocket.html#g-socket-bind" title="g_socket_bind ()"><code class="function">g_socket_bind()</code></a> assigns the
|
@@ -622,17 +675,20 @@ In certain situations, you may also want to bind a socket that will be
|
|
622
675
|
used to initiate connections, though this is not normally required.
|
623
676
|
</p>
|
624
677
|
<p>
|
625
|
-
<em class="parameter"><code>allow_reuse</code></em> should be <a href="
|
626
|
-
eventually call <a class="link" href="GSocket.html#g-socket-accept" title="g_socket_accept ()"><code class="function">g_socket_accept()</code></a> on), and <a href="
|
627
|
-
(Specifically, if it is <a href="
|
678
|
+
<em class="parameter"><code>allow_reuse</code></em> should be <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> for server sockets (sockets that you will
|
679
|
+
eventually call <a class="link" href="GSocket.html#g-socket-accept" title="g_socket_accept ()"><code class="function">g_socket_accept()</code></a> on), and <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> for client sockets.
|
680
|
+
(Specifically, if it is <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, then <a class="link" href="GSocket.html#g-socket-bind" title="g_socket_bind ()"><code class="function">g_socket_bind()</code></a> will set the
|
628
681
|
<code class="literal">SO_REUSEADDR</code> flag on the socket, allowing it to bind <em class="parameter"><code>address</code></em> even if
|
629
682
|
that address was previously used by another socket that has not yet been
|
630
683
|
fully cleaned-up by the kernel. Failing to set this flag on a server
|
631
684
|
socket may cause the bind call to return <a class="link" href="gio-GIOError.html#G-IO-ERROR-ADDRESS-IN-USE:CAPS"><code class="literal">G_IO_ERROR_ADDRESS_IN_USE</code></a> if
|
632
685
|
the server program is stopped and then immediately restarted.)
|
633
686
|
</p>
|
634
|
-
<div class="variablelist"><table border="0">
|
687
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
688
|
+
<colgroup>
|
635
689
|
<col align="left" valign="top">
|
690
|
+
<col>
|
691
|
+
</colgroup>
|
636
692
|
<tbody>
|
637
693
|
<tr>
|
638
694
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -649,12 +705,12 @@ the server program is stopped and then immediately restarted.)
|
|
649
705
|
<tr>
|
650
706
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
651
707
|
<td>
|
652
|
-
<a href="
|
708
|
+
<a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
653
709
|
</tr>
|
654
710
|
<tr>
|
655
711
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
656
712
|
<td>
|
657
|
-
<a href="
|
713
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error.</td>
|
658
714
|
</tr>
|
659
715
|
</tbody>
|
660
716
|
</table></div>
|
@@ -663,8 +719,8 @@ the server program is stopped and then immediately restarted.)
|
|
663
719
|
<hr>
|
664
720
|
<div class="refsect2">
|
665
721
|
<a name="g-socket-listen"></a><h3>g_socket_listen ()</h3>
|
666
|
-
<pre class="programlisting"><a href="
|
667
|
-
<em class="parameter"><code><a href="
|
722
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_socket_listen (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
723
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
668
724
|
<p>
|
669
725
|
Marks the socket as a server socket, i.e. a socket that is used
|
670
726
|
to accept incoming requests using <a class="link" href="GSocket.html#g-socket-accept" title="g_socket_accept ()"><code class="function">g_socket_accept()</code></a>.
|
@@ -677,8 +733,11 @@ Before calling this the socket must be bound to a local address using
|
|
677
733
|
To set the maximum amount of outstanding clients, use
|
678
734
|
<a class="link" href="GSocket.html#g-socket-set-listen-backlog" title="g_socket_set_listen_backlog ()"><code class="function">g_socket_set_listen_backlog()</code></a>.
|
679
735
|
</p>
|
680
|
-
<div class="variablelist"><table border="0">
|
736
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
737
|
+
<colgroup>
|
681
738
|
<col align="left" valign="top">
|
739
|
+
<col>
|
740
|
+
</colgroup>
|
682
741
|
<tbody>
|
683
742
|
<tr>
|
684
743
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -687,12 +746,12 @@ To set the maximum amount of outstanding clients, use
|
|
687
746
|
<tr>
|
688
747
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
689
748
|
<td>
|
690
|
-
<a href="
|
749
|
+
<a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
691
750
|
</tr>
|
692
751
|
<tr>
|
693
752
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
694
753
|
<td>
|
695
|
-
<a href="
|
754
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error.</td>
|
696
755
|
</tr>
|
697
756
|
</tbody>
|
698
757
|
</table></div>
|
@@ -701,9 +760,9 @@ To set the maximum amount of outstanding clients, use
|
|
701
760
|
<hr>
|
702
761
|
<div class="refsect2">
|
703
762
|
<a name="g-socket-accept"></a><h3>g_socket_accept ()</h3>
|
704
|
-
<pre class="programlisting"><a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> *
|
763
|
+
<pre class="programlisting"><a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> * g_socket_accept (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
705
764
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
706
|
-
<em class="parameter"><code><a href="
|
765
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
707
766
|
<p>
|
708
767
|
Accept incoming connections on a connection-based socket. This removes
|
709
768
|
the first outstanding connection request from the listening socket and
|
@@ -716,10 +775,13 @@ must be listening for incoming connections (<a class="link" href="GSocket.html#g
|
|
716
775
|
<p>
|
717
776
|
If there are no outstanding connections then the operation will block
|
718
777
|
or return <a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> if non-blocking I/O is enabled.
|
719
|
-
To be notified of an incoming connection, wait for the <a href="
|
778
|
+
To be notified of an incoming connection, wait for the <a href="./../glib/glib/glib-IO-Channels.html#G-IO-IN:CAPS"><code class="literal">G_IO_IN</code></a> condition.
|
720
779
|
</p>
|
721
|
-
<div class="variablelist"><table border="0">
|
780
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
781
|
+
<colgroup>
|
722
782
|
<col align="left" valign="top">
|
783
|
+
<col>
|
784
|
+
</colgroup>
|
723
785
|
<tbody>
|
724
786
|
<tr>
|
725
787
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -727,18 +789,18 @@ To be notified of an incoming connection, wait for the <a href="http://library.g
|
|
727
789
|
</tr>
|
728
790
|
<tr>
|
729
791
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
730
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="
|
792
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
731
793
|
</td>
|
732
794
|
</tr>
|
733
795
|
<tr>
|
734
796
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
735
797
|
<td>
|
736
|
-
<a href="
|
798
|
+
<a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
737
799
|
</tr>
|
738
800
|
<tr>
|
739
801
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
740
|
-
<td>a new <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>, or <a href="
|
741
|
-
Free the returned object with <a href="
|
802
|
+
<td>a new <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
|
803
|
+
Free the returned object with <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
742
804
|
</td>
|
743
805
|
</tr>
|
744
806
|
</tbody>
|
@@ -748,10 +810,10 @@ Free the returned object with <a href="http://library.gnome.org/devel/gobject/un
|
|
748
810
|
<hr>
|
749
811
|
<div class="refsect2">
|
750
812
|
<a name="g-socket-connect"></a><h3>g_socket_connect ()</h3>
|
751
|
-
<pre class="programlisting"><a href="
|
813
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_socket_connect (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
752
814
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>,
|
753
815
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
754
|
-
<em class="parameter"><code><a href="
|
816
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
755
817
|
<p>
|
756
818
|
Connect the socket to the specified remote address.
|
757
819
|
</p>
|
@@ -770,11 +832,14 @@ default address.
|
|
770
832
|
If the connect call needs to do network I/O it will block, unless
|
771
833
|
non-blocking I/O is enabled. Then <a class="link" href="gio-GIOError.html#G-IO-ERROR-PENDING:CAPS"><code class="literal">G_IO_ERROR_PENDING</code></a> is returned
|
772
834
|
and the user can be notified of the connection finishing by waiting
|
773
|
-
for the G_IO_OUT condition. The result of the connection
|
835
|
+
for the G_IO_OUT condition. The result of the connection must then be
|
774
836
|
checked with <a class="link" href="GSocket.html#g-socket-check-connect-result" title="g_socket_check_connect_result ()"><code class="function">g_socket_check_connect_result()</code></a>.
|
775
837
|
</p>
|
776
|
-
<div class="variablelist"><table border="0">
|
838
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
839
|
+
<colgroup>
|
777
840
|
<col align="left" valign="top">
|
841
|
+
<col>
|
842
|
+
</colgroup>
|
778
843
|
<tbody>
|
779
844
|
<tr>
|
780
845
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -786,18 +851,18 @@ checked with <a class="link" href="GSocket.html#g-socket-check-connect-result" t
|
|
786
851
|
</tr>
|
787
852
|
<tr>
|
788
853
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
789
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="
|
854
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
790
855
|
</td>
|
791
856
|
</tr>
|
792
857
|
<tr>
|
793
858
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
794
859
|
<td>
|
795
|
-
<a href="
|
860
|
+
<a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
796
861
|
</tr>
|
797
862
|
<tr>
|
798
863
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
799
864
|
<td>
|
800
|
-
<a href="
|
865
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if connected, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error.</td>
|
801
866
|
</tr>
|
802
867
|
</tbody>
|
803
868
|
</table></div>
|
@@ -806,15 +871,18 @@ checked with <a class="link" href="GSocket.html#g-socket-check-connect-result" t
|
|
806
871
|
<hr>
|
807
872
|
<div class="refsect2">
|
808
873
|
<a name="g-socket-check-connect-result"></a><h3>g_socket_check_connect_result ()</h3>
|
809
|
-
<pre class="programlisting"><a href="
|
810
|
-
<em class="parameter"><code><a href="
|
874
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_socket_check_connect_result (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
875
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
811
876
|
<p>
|
812
877
|
Checks and resets the pending connect error for the socket.
|
813
878
|
This is used to check for errors when <a class="link" href="GSocket.html#g-socket-connect" title="g_socket_connect ()"><code class="function">g_socket_connect()</code></a> is
|
814
879
|
used in non-blocking mode.
|
815
880
|
</p>
|
816
|
-
<div class="variablelist"><table border="0">
|
881
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
882
|
+
<colgroup>
|
817
883
|
<col align="left" valign="top">
|
884
|
+
<col>
|
885
|
+
</colgroup>
|
818
886
|
<tbody>
|
819
887
|
<tr>
|
820
888
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -824,12 +892,12 @@ used in non-blocking mode.
|
|
824
892
|
<tr>
|
825
893
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
826
894
|
<td>
|
827
|
-
<a href="
|
895
|
+
<a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
828
896
|
</tr>
|
829
897
|
<tr>
|
830
898
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
831
899
|
<td>
|
832
|
-
<a href="
|
900
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if no error, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise, setting <em class="parameter"><code>error</code></em> to the error</td>
|
833
901
|
</tr>
|
834
902
|
</tbody>
|
835
903
|
</table></div>
|
@@ -838,15 +906,15 @@ used in non-blocking mode.
|
|
838
906
|
<hr>
|
839
907
|
<div class="refsect2">
|
840
908
|
<a name="g-socket-receive"></a><h3>g_socket_receive ()</h3>
|
841
|
-
<pre class="programlisting"><a href="
|
842
|
-
<em class="parameter"><code><a href="
|
843
|
-
<em class="parameter"><code><a href="
|
909
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> g_socket_receive (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
910
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
911
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
844
912
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
845
|
-
<em class="parameter"><code><a href="
|
913
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
846
914
|
<p>
|
847
915
|
Receive data (up to <em class="parameter"><code>size</code></em> bytes) from a socket. This is mainly used by
|
848
916
|
connection-oriented sockets; it is identical to <a class="link" href="GSocket.html#g-socket-receive-from" title="g_socket_receive_from ()"><code class="function">g_socket_receive_from()</code></a>
|
849
|
-
with <em class="parameter"><code>address</code></em> set to <a href="
|
917
|
+
with <em class="parameter"><code>address</code></em> set to <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
850
918
|
</p>
|
851
919
|
<p>
|
852
920
|
For <a class="link" href="GSocket.html#G-SOCKET-TYPE-DATAGRAM:CAPS"><code class="literal">G_SOCKET_TYPE_DATAGRAM</code></a> and <a class="link" href="GSocket.html#G-SOCKET-TYPE-SEQPACKET:CAPS"><code class="literal">G_SOCKET_TYPE_SEQPACKET</code></a> sockets,
|
@@ -862,17 +930,21 @@ received, the additional data will be returned in future calls to
|
|
862
930
|
<a class="link" href="GSocket.html#g-socket-receive" title="g_socket_receive ()"><code class="function">g_socket_receive()</code></a>.
|
863
931
|
</p>
|
864
932
|
<p>
|
865
|
-
If the socket is in blocking mode the call will block until there
|
866
|
-
some data to receive
|
867
|
-
|
868
|
-
|
869
|
-
|
933
|
+
If the socket is in blocking mode the call will block until there
|
934
|
+
is some data to receive, the connection is closed, or there is an
|
935
|
+
error. If there is no data available and the socket is in
|
936
|
+
non-blocking mode, a <a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> error will be
|
937
|
+
returned. To be notified when data is available, wait for the
|
938
|
+
<a href="./../glib/glib/glib-IO-Channels.html#G-IO-IN:CAPS"><code class="literal">G_IO_IN</code></a> condition.
|
870
939
|
</p>
|
871
940
|
<p>
|
872
941
|
On error -1 is returned and <em class="parameter"><code>error</code></em> is set accordingly.
|
873
942
|
</p>
|
874
|
-
<div class="variablelist"><table border="0">
|
943
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
944
|
+
<colgroup>
|
875
945
|
<col align="left" valign="top">
|
946
|
+
<col>
|
947
|
+
</colgroup>
|
876
948
|
<tbody>
|
877
949
|
<tr>
|
878
950
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -890,17 +962,18 @@ bytes long).</td>
|
|
890
962
|
</tr>
|
891
963
|
<tr>
|
892
964
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
893
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="
|
965
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
894
966
|
</td>
|
895
967
|
</tr>
|
896
968
|
<tr>
|
897
969
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
898
970
|
<td>
|
899
|
-
<a href="
|
971
|
+
<a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
900
972
|
</tr>
|
901
973
|
<tr>
|
902
974
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
903
|
-
<td>Number of bytes read, or
|
975
|
+
<td>Number of bytes read, or 0 if the connection was closed by
|
976
|
+
the peer, or -1 on error</td>
|
904
977
|
</tr>
|
905
978
|
</tbody>
|
906
979
|
</table></div>
|
@@ -909,25 +982,28 @@ bytes long).</td>
|
|
909
982
|
<hr>
|
910
983
|
<div class="refsect2">
|
911
984
|
<a name="g-socket-receive-from"></a><h3>g_socket_receive_from ()</h3>
|
912
|
-
<pre class="programlisting"><a href="
|
985
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> g_socket_receive_from (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
913
986
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> **address</code></em>,
|
914
|
-
<em class="parameter"><code><a href="
|
915
|
-
<em class="parameter"><code><a href="
|
987
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
988
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
916
989
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
917
|
-
<em class="parameter"><code><a href="
|
990
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
918
991
|
<p>
|
919
992
|
Receive data (up to <em class="parameter"><code>size</code></em> bytes) from a socket.
|
920
993
|
</p>
|
921
994
|
<p>
|
922
|
-
If <em class="parameter"><code>address</code></em> is non-<a href="
|
995
|
+
If <em class="parameter"><code>address</code></em> is non-<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then <em class="parameter"><code>address</code></em> will be set equal to the
|
923
996
|
source address of the received packet.
|
924
997
|
<em class="parameter"><code>address</code></em> is owned by the caller.
|
925
998
|
</p>
|
926
999
|
<p>
|
927
1000
|
See <a class="link" href="GSocket.html#g-socket-receive" title="g_socket_receive ()"><code class="function">g_socket_receive()</code></a> for additional information.
|
928
1001
|
</p>
|
929
|
-
<div class="variablelist"><table border="0">
|
1002
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1003
|
+
<colgroup>
|
930
1004
|
<col align="left" valign="top">
|
1005
|
+
<col>
|
1006
|
+
</colgroup>
|
931
1007
|
<tbody>
|
932
1008
|
<tr>
|
933
1009
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -936,13 +1012,15 @@ See <a class="link" href="GSocket.html#g-socket-receive" title="g_socket_receive
|
|
936
1012
|
</tr>
|
937
1013
|
<tr>
|
938
1014
|
<td><p><span class="term"><em class="parameter"><code>address</code></em> :</span></p></td>
|
939
|
-
<td>a pointer to a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>
|
1015
|
+
<td>a pointer to a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>
|
1016
|
+
pointer, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><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>
|
940
1017
|
</td>
|
941
1018
|
</tr>
|
942
1019
|
<tr>
|
943
1020
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
944
|
-
<td>a buffer to
|
945
|
-
bytes long)
|
1021
|
+
<td>a buffer to
|
1022
|
+
read data into (which should be at least <em class="parameter"><code>size</code></em> bytes long). <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=size][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> guint8]</span>
|
1023
|
+
</td>
|
946
1024
|
</tr>
|
947
1025
|
<tr>
|
948
1026
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
@@ -950,17 +1028,18 @@ bytes long).</td>
|
|
950
1028
|
</tr>
|
951
1029
|
<tr>
|
952
1030
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
953
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="
|
1031
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
954
1032
|
</td>
|
955
1033
|
</tr>
|
956
1034
|
<tr>
|
957
1035
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
958
1036
|
<td>
|
959
|
-
<a href="
|
1037
|
+
<a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
960
1038
|
</tr>
|
961
1039
|
<tr>
|
962
1040
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
963
|
-
<td>Number of bytes read, or
|
1041
|
+
<td>Number of bytes read, or 0 if the connection was closed by
|
1042
|
+
the peer, or -1 on error</td>
|
964
1043
|
</tr>
|
965
1044
|
</tbody>
|
966
1045
|
</table></div>
|
@@ -969,22 +1048,22 @@ bytes long).</td>
|
|
969
1048
|
<hr>
|
970
1049
|
<div class="refsect2">
|
971
1050
|
<a name="g-socket-receive-message"></a><h3>g_socket_receive_message ()</h3>
|
972
|
-
<pre class="programlisting"><a href="
|
1051
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> g_socket_receive_message (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
973
1052
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> **address</code></em>,
|
974
1053
|
<em class="parameter"><code><a class="link" href="GSocket.html#GInputVector" title="struct GInputVector"><span class="type">GInputVector</span></a> *vectors</code></em>,
|
975
|
-
<em class="parameter"><code><a href="
|
1054
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_vectors</code></em>,
|
976
1055
|
<em class="parameter"><code><a class="link" href="GSocketControlMessage.html" title="GSocketControlMessage"><span class="type">GSocketControlMessage</span></a> ***messages</code></em>,
|
977
|
-
<em class="parameter"><code><a href="
|
978
|
-
<em class="parameter"><code><a href="
|
1056
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *num_messages</code></em>,
|
1057
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *flags</code></em>,
|
979
1058
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
980
|
-
<em class="parameter"><code><a href="
|
1059
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
981
1060
|
<p>
|
982
1061
|
Receive data from a socket. This is the most complicated and
|
983
1062
|
fully-featured version of this call. For easier use, see
|
984
1063
|
<a class="link" href="GSocket.html#g-socket-receive" title="g_socket_receive ()"><code class="function">g_socket_receive()</code></a> and <a class="link" href="GSocket.html#g-socket-receive-from" title="g_socket_receive_from ()"><code class="function">g_socket_receive_from()</code></a>.
|
985
1064
|
</p>
|
986
1065
|
<p>
|
987
|
-
If <em class="parameter"><code>address</code></em> is non-<a href="
|
1066
|
+
If <em class="parameter"><code>address</code></em> is non-<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then <em class="parameter"><code>address</code></em> will be set equal to the
|
988
1067
|
source address of the received packet.
|
989
1068
|
<em class="parameter"><code>address</code></em> is owned by the caller.
|
990
1069
|
</p>
|
@@ -993,36 +1072,36 @@ source address of the received packet.
|
|
993
1072
|
<em class="parameter"><code>num_vectors</code></em> must be the length of this array. These structs
|
994
1073
|
describe the buffers that received data will be scattered into.
|
995
1074
|
If <em class="parameter"><code>num_vectors</code></em> is -1, then <em class="parameter"><code>vectors</code></em> is assumed to be terminated
|
996
|
-
by a <a class="link" href="GSocket.html#GInputVector" title="struct GInputVector"><span class="type">GInputVector</span></a> with a <a href="
|
1075
|
+
by a <a class="link" href="GSocket.html#GInputVector" title="struct GInputVector"><span class="type">GInputVector</span></a> with a <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> buffer pointer.
|
997
1076
|
</p>
|
998
1077
|
<p>
|
999
1078
|
As a special case, if <em class="parameter"><code>num_vectors</code></em> is 0 (in which case, <em class="parameter"><code>vectors</code></em>
|
1000
|
-
may of course be <a href="
|
1079
|
+
may of course be <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>), then a single byte is received and
|
1001
1080
|
discarded. This is to facilitate the common practice of sending a
|
1002
1081
|
single '\0' byte for the purposes of transferring ancillary data.
|
1003
1082
|
</p>
|
1004
1083
|
<p>
|
1005
|
-
<em class="parameter"><code>messages</code></em>, if non-<a href="
|
1006
|
-
array of <a class="link" href="GSocketControlMessage.html" title="GSocketControlMessage"><span class="type">GSocketControlMessage</span></a> instances or <a href="
|
1084
|
+
<em class="parameter"><code>messages</code></em>, if non-<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, will be set to point to a newly-allocated
|
1085
|
+
array of <a class="link" href="GSocketControlMessage.html" title="GSocketControlMessage"><span class="type">GSocketControlMessage</span></a> instances or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no such
|
1007
1086
|
messages was received. These correspond to the control messages
|
1008
1087
|
received from the kernel, one <a class="link" href="GSocketControlMessage.html" title="GSocketControlMessage"><span class="type">GSocketControlMessage</span></a> per message
|
1009
|
-
from the kernel. This array is <a href="
|
1010
|
-
by the caller using <a href="
|
1011
|
-
element. If <em class="parameter"><code>messages</code></em> is <a href="
|
1088
|
+
from the kernel. This array is <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated and must be freed
|
1089
|
+
by the caller using <a href="./../glib/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> after calling <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> on each
|
1090
|
+
element. If <em class="parameter"><code>messages</code></em> is <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, any control messages received will
|
1012
1091
|
be discarded.
|
1013
1092
|
</p>
|
1014
1093
|
<p>
|
1015
|
-
<em class="parameter"><code>num_messages</code></em>, if non-<a href="
|
1094
|
+
<em class="parameter"><code>num_messages</code></em>, if non-<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, will be set to the number of control
|
1016
1095
|
messages received.
|
1017
1096
|
</p>
|
1018
1097
|
<p>
|
1019
|
-
If both <em class="parameter"><code>messages</code></em> and <em class="parameter"><code>num_messages</code></em> are non-<a href="
|
1098
|
+
If both <em class="parameter"><code>messages</code></em> and <em class="parameter"><code>num_messages</code></em> are non-<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then
|
1020
1099
|
<em class="parameter"><code>num_messages</code></em> gives the number of <a class="link" href="GSocketControlMessage.html" title="GSocketControlMessage"><span class="type">GSocketControlMessage</span></a> instances
|
1021
|
-
in <em class="parameter"><code>messages</code></em> (ie: not including the <a href="
|
1100
|
+
in <em class="parameter"><code>messages</code></em> (ie: not including the <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> terminator).
|
1022
1101
|
</p>
|
1023
1102
|
<p>
|
1024
1103
|
<em class="parameter"><code>flags</code></em> is an in/out parameter. The commonly available arguments
|
1025
|
-
for this are available in the <a class="link" href="GSocket.html#GSocketMsgFlags"><span class="type">GSocketMsgFlags</span></a> enum, but the
|
1104
|
+
for this are available in the <a class="link" href="GSocket.html#GSocketMsgFlags" title="enum GSocketMsgFlags"><span class="type">GSocketMsgFlags</span></a> enum, but the
|
1026
1105
|
values there are the same as the system values, and the flags
|
1027
1106
|
are passed in as-is, so you can pass in system-specific flags too
|
1028
1107
|
(and <a class="link" href="GSocket.html#g-socket-receive-message" title="g_socket_receive_message ()"><code class="function">g_socket_receive_message()</code></a> may pass system-specific flags out).
|
@@ -1038,16 +1117,20 @@ sufficiently-large buffer.
|
|
1038
1117
|
</p>
|
1039
1118
|
<p>
|
1040
1119
|
If the socket is in blocking mode the call will block until there
|
1041
|
-
is some data to receive
|
1042
|
-
available and the socket is in
|
1043
|
-
<a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> error will be
|
1044
|
-
data is available, wait for the
|
1120
|
+
is some data to receive, the connection is closed, or there is an
|
1121
|
+
error. If there is no data available and the socket is in
|
1122
|
+
non-blocking mode, a <a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> error will be
|
1123
|
+
returned. To be notified when data is available, wait for the
|
1124
|
+
<a href="./../glib/glib/glib-IO-Channels.html#G-IO-IN:CAPS"><code class="literal">G_IO_IN</code></a> condition.
|
1045
1125
|
</p>
|
1046
1126
|
<p>
|
1047
1127
|
On error -1 is returned and <em class="parameter"><code>error</code></em> is set accordingly.
|
1048
1128
|
</p>
|
1049
|
-
<div class="variablelist"><table border="0">
|
1129
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1130
|
+
<colgroup>
|
1050
1131
|
<col align="left" valign="top">
|
1132
|
+
<col>
|
1133
|
+
</colgroup>
|
1051
1134
|
<tbody>
|
1052
1135
|
<tr>
|
1053
1136
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -1056,7 +1139,8 @@ On error -1 is returned and <em class="parameter"><code>error</code></em> is set
|
|
1056
1139
|
</tr>
|
1057
1140
|
<tr>
|
1058
1141
|
<td><p><span class="term"><em class="parameter"><code>address</code></em> :</span></p></td>
|
1059
|
-
<td>a pointer to a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>
|
1142
|
+
<td>a pointer to a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>
|
1143
|
+
pointer, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><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>
|
1060
1144
|
</td>
|
1061
1145
|
</tr>
|
1062
1146
|
<tr>
|
@@ -1071,32 +1155,33 @@ On error -1 is returned and <em class="parameter"><code>error</code></em> is set
|
|
1071
1155
|
<tr>
|
1072
1156
|
<td><p><span class="term"><em class="parameter"><code>messages</code></em> :</span></p></td>
|
1073
1157
|
<td>a pointer which
|
1074
|
-
may be filled with an array of <a href="GSocketControlMessage.html"><span class="type">GSocketControlMessages</span></a>, or <a href="
|
1158
|
+
may be filled with an array of <a href="GSocketControlMessage.html"><span class="type">GSocketControlMessages</span></a>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=num_messages][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1075
1159
|
</td>
|
1076
1160
|
</tr>
|
1077
1161
|
<tr>
|
1078
1162
|
<td><p><span class="term"><em class="parameter"><code>num_messages</code></em> :</span></p></td>
|
1079
1163
|
<td>a pointer which will be filled with the number of
|
1080
|
-
elements in <em class="parameter"><code>messages</code></em>, or <a href="
|
1164
|
+
elements in <em class="parameter"><code>messages</code></em>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1081
1165
|
</td>
|
1082
1166
|
</tr>
|
1083
1167
|
<tr>
|
1084
1168
|
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
1085
|
-
<td>a pointer to an int containing <a class="link" href="GSocket.html#GSocketMsgFlags"><span class="type">GSocketMsgFlags</span></a> flags</td>
|
1169
|
+
<td>a pointer to an int containing <a class="link" href="GSocket.html#GSocketMsgFlags" title="enum GSocketMsgFlags"><span class="type">GSocketMsgFlags</span></a> flags</td>
|
1086
1170
|
</tr>
|
1087
1171
|
<tr>
|
1088
1172
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1089
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="
|
1173
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1090
1174
|
</td>
|
1091
1175
|
</tr>
|
1092
1176
|
<tr>
|
1093
1177
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1094
|
-
<td>a <a href="
|
1178
|
+
<td>a <a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> pointer, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1095
1179
|
</td>
|
1096
1180
|
</tr>
|
1097
1181
|
<tr>
|
1098
1182
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1099
|
-
<td>Number of bytes read, or
|
1183
|
+
<td>Number of bytes read, or 0 if the connection was closed by
|
1184
|
+
the peer, or -1 on error</td>
|
1100
1185
|
</tr>
|
1101
1186
|
</tbody>
|
1102
1187
|
</table></div>
|
@@ -1105,19 +1190,22 @@ elements in <em class="parameter"><code>messages</code></em>, or <a href="http:/
|
|
1105
1190
|
<hr>
|
1106
1191
|
<div class="refsect2">
|
1107
1192
|
<a name="g-socket-receive-with-blocking"></a><h3>g_socket_receive_with_blocking ()</h3>
|
1108
|
-
<pre class="programlisting"><a href="
|
1109
|
-
<em class="parameter"><code><a href="
|
1110
|
-
<em class="parameter"><code><a href="
|
1111
|
-
<em class="parameter"><code><a href="
|
1193
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> g_socket_receive_with_blocking (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1194
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
1195
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
1196
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> blocking</code></em>,
|
1112
1197
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1113
|
-
<em class="parameter"><code><a href="
|
1198
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1114
1199
|
<p>
|
1115
1200
|
This behaves exactly the same as <a class="link" href="GSocket.html#g-socket-receive" title="g_socket_receive ()"><code class="function">g_socket_receive()</code></a>, except that
|
1116
1201
|
the choice of blocking or non-blocking behavior is determined by
|
1117
1202
|
the <em class="parameter"><code>blocking</code></em> argument rather than by <em class="parameter"><code>socket</code></em>'s properties.
|
1118
1203
|
</p>
|
1119
|
-
<div class="variablelist"><table border="0">
|
1204
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1205
|
+
<colgroup>
|
1120
1206
|
<col align="left" valign="top">
|
1207
|
+
<col>
|
1208
|
+
</colgroup>
|
1121
1209
|
<tbody>
|
1122
1210
|
<tr>
|
1123
1211
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -1139,17 +1227,18 @@ bytes long).</td>
|
|
1139
1227
|
</tr>
|
1140
1228
|
<tr>
|
1141
1229
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1142
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="
|
1230
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1143
1231
|
</td>
|
1144
1232
|
</tr>
|
1145
1233
|
<tr>
|
1146
1234
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1147
1235
|
<td>
|
1148
|
-
<a href="
|
1236
|
+
<a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
1149
1237
|
</tr>
|
1150
1238
|
<tr>
|
1151
1239
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1152
|
-
<td>Number of bytes read, or
|
1240
|
+
<td>Number of bytes read, or 0 if the connection was closed by
|
1241
|
+
the peer, or -1 on error</td>
|
1153
1242
|
</tr>
|
1154
1243
|
</tbody>
|
1155
1244
|
</table></div>
|
@@ -1158,31 +1247,34 @@ bytes long).</td>
|
|
1158
1247
|
<hr>
|
1159
1248
|
<div class="refsect2">
|
1160
1249
|
<a name="g-socket-send"></a><h3>g_socket_send ()</h3>
|
1161
|
-
<pre class="programlisting"><a href="
|
1162
|
-
<em class="parameter"><code>const <a href="
|
1163
|
-
<em class="parameter"><code><a href="
|
1250
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> g_socket_send (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1251
|
+
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
1252
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
1164
1253
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1165
|
-
<em class="parameter"><code><a href="
|
1254
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1166
1255
|
<p>
|
1167
1256
|
Tries to send <em class="parameter"><code>size</code></em> bytes from <em class="parameter"><code>buffer</code></em> on the socket. This is
|
1168
1257
|
mainly used by connection-oriented sockets; it is identical to
|
1169
|
-
<a class="link" href="GSocket.html#g-socket-send-to" title="g_socket_send_to ()"><code class="function">g_socket_send_to()</code></a> with <em class="parameter"><code>address</code></em> set to <a href="
|
1258
|
+
<a class="link" href="GSocket.html#g-socket-send-to" title="g_socket_send_to ()"><code class="function">g_socket_send_to()</code></a> with <em class="parameter"><code>address</code></em> set to <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
1170
1259
|
</p>
|
1171
1260
|
<p>
|
1172
1261
|
If the socket is in blocking mode the call will block until there is
|
1173
1262
|
space for the data in the socket queue. If there is no space available
|
1174
1263
|
and the socket is in non-blocking mode a <a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> error
|
1175
1264
|
will be returned. To be notified when space is available, wait for the
|
1176
|
-
<a href="
|
1265
|
+
<a href="./../glib/glib/glib-IO-Channels.html#G-IO-OUT:CAPS"><code class="literal">G_IO_OUT</code></a> condition. Note though that you may still receive
|
1177
1266
|
<a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> from <a class="link" href="GSocket.html#g-socket-send" title="g_socket_send ()"><code class="function">g_socket_send()</code></a> even if you were previously
|
1178
|
-
notified of a <a href="
|
1267
|
+
notified of a <a href="./../glib/glib/glib-IO-Channels.html#G-IO-OUT:CAPS"><code class="literal">G_IO_OUT</code></a> condition. (On Windows in particular, this is
|
1179
1268
|
very common due to the way the underlying APIs work.)
|
1180
1269
|
</p>
|
1181
1270
|
<p>
|
1182
1271
|
On error -1 is returned and <em class="parameter"><code>error</code></em> is set accordingly.
|
1183
1272
|
</p>
|
1184
|
-
<div class="variablelist"><table border="0">
|
1273
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1274
|
+
<colgroup>
|
1185
1275
|
<col align="left" valign="top">
|
1276
|
+
<col>
|
1277
|
+
</colgroup>
|
1186
1278
|
<tbody>
|
1187
1279
|
<tr>
|
1188
1280
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -1191,7 +1283,8 @@ On error -1 is returned and <em class="parameter"><code>error</code></em> is set
|
|
1191
1283
|
</tr>
|
1192
1284
|
<tr>
|
1193
1285
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
1194
|
-
<td>the buffer
|
1286
|
+
<td>the buffer
|
1287
|
+
containing the data to send. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=size][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> guint8]</span>
|
1195
1288
|
</td>
|
1196
1289
|
</tr>
|
1197
1290
|
<tr>
|
@@ -1200,13 +1293,13 @@ On error -1 is returned and <em class="parameter"><code>error</code></em> is set
|
|
1200
1293
|
</tr>
|
1201
1294
|
<tr>
|
1202
1295
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1203
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="
|
1296
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1204
1297
|
</td>
|
1205
1298
|
</tr>
|
1206
1299
|
<tr>
|
1207
1300
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1208
1301
|
<td>
|
1209
|
-
<a href="
|
1302
|
+
<a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
1210
1303
|
</tr>
|
1211
1304
|
<tr>
|
1212
1305
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1220,22 +1313,25 @@ on error</td>
|
|
1220
1313
|
<hr>
|
1221
1314
|
<div class="refsect2">
|
1222
1315
|
<a name="g-socket-send-to"></a><h3>g_socket_send_to ()</h3>
|
1223
|
-
<pre class="programlisting"><a href="
|
1316
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> g_socket_send_to (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1224
1317
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>,
|
1225
|
-
<em class="parameter"><code>const <a href="
|
1226
|
-
<em class="parameter"><code><a href="
|
1318
|
+
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
1319
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
1227
1320
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1228
|
-
<em class="parameter"><code><a href="
|
1321
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1229
1322
|
<p>
|
1230
1323
|
Tries to send <em class="parameter"><code>size</code></em> bytes from <em class="parameter"><code>buffer</code></em> to <em class="parameter"><code>address</code></em>. If <em class="parameter"><code>address</code></em> is
|
1231
|
-
<a href="
|
1324
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then the message is sent to the default receiver (set by
|
1232
1325
|
<a class="link" href="GSocket.html#g-socket-connect" title="g_socket_connect ()"><code class="function">g_socket_connect()</code></a>).
|
1233
1326
|
</p>
|
1234
1327
|
<p>
|
1235
1328
|
See <a class="link" href="GSocket.html#g-socket-send" title="g_socket_send ()"><code class="function">g_socket_send()</code></a> for additional information.
|
1236
1329
|
</p>
|
1237
|
-
<div class="variablelist"><table border="0">
|
1330
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1331
|
+
<colgroup>
|
1238
1332
|
<col align="left" valign="top">
|
1333
|
+
<col>
|
1334
|
+
</colgroup>
|
1239
1335
|
<tbody>
|
1240
1336
|
<tr>
|
1241
1337
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -1244,12 +1340,13 @@ See <a class="link" href="GSocket.html#g-socket-send" title="g_socket_send ()"><
|
|
1244
1340
|
</tr>
|
1245
1341
|
<tr>
|
1246
1342
|
<td><p><span class="term"><em class="parameter"><code>address</code></em> :</span></p></td>
|
1247
|
-
<td>a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>, or <a href="
|
1343
|
+
<td>a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1248
1344
|
</td>
|
1249
1345
|
</tr>
|
1250
1346
|
<tr>
|
1251
1347
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
1252
|
-
<td>the buffer
|
1348
|
+
<td>the buffer
|
1349
|
+
containing the data to send. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=size][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> guint8]</span>
|
1253
1350
|
</td>
|
1254
1351
|
</tr>
|
1255
1352
|
<tr>
|
@@ -1258,13 +1355,13 @@ See <a class="link" href="GSocket.html#g-socket-send" title="g_socket_send ()"><
|
|
1258
1355
|
</tr>
|
1259
1356
|
<tr>
|
1260
1357
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1261
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="
|
1358
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1262
1359
|
</td>
|
1263
1360
|
</tr>
|
1264
1361
|
<tr>
|
1265
1362
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1266
1363
|
<td>
|
1267
|
-
<a href="
|
1364
|
+
<a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
1268
1365
|
</tr>
|
1269
1366
|
<tr>
|
1270
1367
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1278,44 +1375,44 @@ on error</td>
|
|
1278
1375
|
<hr>
|
1279
1376
|
<div class="refsect2">
|
1280
1377
|
<a name="g-socket-send-message"></a><h3>g_socket_send_message ()</h3>
|
1281
|
-
<pre class="programlisting"><a href="
|
1378
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> g_socket_send_message (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1282
1379
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>,
|
1283
1380
|
<em class="parameter"><code><a class="link" href="GSocket.html#GOutputVector" title="struct GOutputVector"><span class="type">GOutputVector</span></a> *vectors</code></em>,
|
1284
|
-
<em class="parameter"><code><a href="
|
1381
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_vectors</code></em>,
|
1285
1382
|
<em class="parameter"><code><a class="link" href="GSocketControlMessage.html" title="GSocketControlMessage"><span class="type">GSocketControlMessage</span></a> **messages</code></em>,
|
1286
|
-
<em class="parameter"><code><a href="
|
1287
|
-
<em class="parameter"><code><a href="
|
1383
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_messages</code></em>,
|
1384
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> flags</code></em>,
|
1288
1385
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1289
|
-
<em class="parameter"><code><a href="
|
1386
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1290
1387
|
<p>
|
1291
1388
|
Send data to <em class="parameter"><code>address</code></em> on <em class="parameter"><code>socket</code></em>. This is the most complicated and
|
1292
1389
|
fully-featured version of this call. For easier use, see
|
1293
1390
|
<a class="link" href="GSocket.html#g-socket-send" title="g_socket_send ()"><code class="function">g_socket_send()</code></a> and <a class="link" href="GSocket.html#g-socket-send-to" title="g_socket_send_to ()"><code class="function">g_socket_send_to()</code></a>.
|
1294
1391
|
</p>
|
1295
1392
|
<p>
|
1296
|
-
If <em class="parameter"><code>address</code></em> is <a href="
|
1393
|
+
If <em class="parameter"><code>address</code></em> is <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then the message is sent to the default receiver
|
1297
1394
|
(set by <a class="link" href="GSocket.html#g-socket-connect" title="g_socket_connect ()"><code class="function">g_socket_connect()</code></a>).
|
1298
1395
|
</p>
|
1299
1396
|
<p>
|
1300
1397
|
<em class="parameter"><code>vectors</code></em> must point to an array of <a class="link" href="GSocket.html#GOutputVector" title="struct GOutputVector"><span class="type">GOutputVector</span></a> structs and
|
1301
1398
|
<em class="parameter"><code>num_vectors</code></em> must be the length of this array. (If <em class="parameter"><code>num_vectors</code></em> is -1,
|
1302
1399
|
then <em class="parameter"><code>vectors</code></em> is assumed to be terminated by a <a class="link" href="GSocket.html#GOutputVector" title="struct GOutputVector"><span class="type">GOutputVector</span></a> with a
|
1303
|
-
<a href="
|
1400
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> buffer pointer.) The <a class="link" href="GSocket.html#GOutputVector" title="struct GOutputVector"><span class="type">GOutputVector</span></a> structs describe the buffers
|
1304
1401
|
that the sent data will be gathered from. Using multiple
|
1305
1402
|
<a class="link" href="GSocket.html#GOutputVector" title="struct GOutputVector"><span class="type">GOutputVector</span></a>s is more memory-efficient than manually copying
|
1306
1403
|
data from multiple sources into a single buffer, and more
|
1307
1404
|
network-efficient than making multiple calls to <a class="link" href="GSocket.html#g-socket-send" title="g_socket_send ()"><code class="function">g_socket_send()</code></a>.
|
1308
1405
|
</p>
|
1309
1406
|
<p>
|
1310
|
-
<em class="parameter"><code>messages</code></em>, if non-<a href="
|
1407
|
+
<em class="parameter"><code>messages</code></em>, if non-<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, is taken to point to an array of <em class="parameter"><code>num_messages</code></em>
|
1311
1408
|
<a class="link" href="GSocketControlMessage.html" title="GSocketControlMessage"><span class="type">GSocketControlMessage</span></a> instances. These correspond to the control
|
1312
1409
|
messages to be sent on the socket.
|
1313
|
-
If <em class="parameter"><code>num_messages</code></em> is -1 then <em class="parameter"><code>messages</code></em> is treated as a <a href="
|
1410
|
+
If <em class="parameter"><code>num_messages</code></em> is -1 then <em class="parameter"><code>messages</code></em> is treated as a <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated
|
1314
1411
|
array.
|
1315
1412
|
</p>
|
1316
1413
|
<p>
|
1317
1414
|
<em class="parameter"><code>flags</code></em> modify how the message is sent. The commonly available arguments
|
1318
|
-
for this are available in the <a class="link" href="GSocket.html#GSocketMsgFlags"><span class="type">GSocketMsgFlags</span></a> enum, but the
|
1415
|
+
for this are available in the <a class="link" href="GSocket.html#GSocketMsgFlags" title="enum GSocketMsgFlags"><span class="type">GSocketMsgFlags</span></a> enum, but the
|
1319
1416
|
values there are the same as the system values, and the flags
|
1320
1417
|
are passed in as-is, so you can pass in system-specific flags too.
|
1321
1418
|
</p>
|
@@ -1324,16 +1421,19 @@ If the socket is in blocking mode the call will block until there is
|
|
1324
1421
|
space for the data in the socket queue. If there is no space available
|
1325
1422
|
and the socket is in non-blocking mode a <a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> error
|
1326
1423
|
will be returned. To be notified when space is available, wait for the
|
1327
|
-
<a href="
|
1424
|
+
<a href="./../glib/glib/glib-IO-Channels.html#G-IO-OUT:CAPS"><code class="literal">G_IO_OUT</code></a> condition. Note though that you may still receive
|
1328
1425
|
<a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a> from <a class="link" href="GSocket.html#g-socket-send" title="g_socket_send ()"><code class="function">g_socket_send()</code></a> even if you were previously
|
1329
|
-
notified of a <a href="
|
1426
|
+
notified of a <a href="./../glib/glib/glib-IO-Channels.html#G-IO-OUT:CAPS"><code class="literal">G_IO_OUT</code></a> condition. (On Windows in particular, this is
|
1330
1427
|
very common due to the way the underlying APIs work.)
|
1331
1428
|
</p>
|
1332
1429
|
<p>
|
1333
1430
|
On error -1 is returned and <em class="parameter"><code>error</code></em> is set accordingly.
|
1334
1431
|
</p>
|
1335
|
-
<div class="variablelist"><table border="0">
|
1432
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1433
|
+
<colgroup>
|
1336
1434
|
<col align="left" valign="top">
|
1435
|
+
<col>
|
1436
|
+
</colgroup>
|
1337
1437
|
<tbody>
|
1338
1438
|
<tr>
|
1339
1439
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -1342,7 +1442,7 @@ On error -1 is returned and <em class="parameter"><code>error</code></em> is set
|
|
1342
1442
|
</tr>
|
1343
1443
|
<tr>
|
1344
1444
|
<td><p><span class="term"><em class="parameter"><code>address</code></em> :</span></p></td>
|
1345
|
-
<td>a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>, or <a href="
|
1445
|
+
<td>a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1346
1446
|
</td>
|
1347
1447
|
</tr>
|
1348
1448
|
<tr>
|
@@ -1357,7 +1457,7 @@ On error -1 is returned and <em class="parameter"><code>error</code></em> is set
|
|
1357
1457
|
<tr>
|
1358
1458
|
<td><p><span class="term"><em class="parameter"><code>messages</code></em> :</span></p></td>
|
1359
1459
|
<td>a pointer to an
|
1360
|
-
array of <a href="GSocketControlMessage.html"><span class="type">GSocketControlMessages</span></a>, or <a href="
|
1460
|
+
array of <a href="GSocketControlMessage.html"><span class="type">GSocketControlMessages</span></a>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=num_messages][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1361
1461
|
</td>
|
1362
1462
|
</tr>
|
1363
1463
|
<tr>
|
@@ -1366,17 +1466,17 @@ array of <a href="GSocketControlMessage.html"><span class="type">GSocketControlM
|
|
1366
1466
|
</tr>
|
1367
1467
|
<tr>
|
1368
1468
|
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
1369
|
-
<td>an int containing <a class="link" href="GSocket.html#GSocketMsgFlags"><span class="type">GSocketMsgFlags</span></a> flags</td>
|
1469
|
+
<td>an int containing <a class="link" href="GSocket.html#GSocketMsgFlags" title="enum GSocketMsgFlags"><span class="type">GSocketMsgFlags</span></a> flags</td>
|
1370
1470
|
</tr>
|
1371
1471
|
<tr>
|
1372
1472
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1373
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="
|
1473
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1374
1474
|
</td>
|
1375
1475
|
</tr>
|
1376
1476
|
<tr>
|
1377
1477
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1378
1478
|
<td>
|
1379
|
-
<a href="
|
1479
|
+
<a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
1380
1480
|
</tr>
|
1381
1481
|
<tr>
|
1382
1482
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1390,19 +1490,22 @@ on error</td>
|
|
1390
1490
|
<hr>
|
1391
1491
|
<div class="refsect2">
|
1392
1492
|
<a name="g-socket-send-with-blocking"></a><h3>g_socket_send_with_blocking ()</h3>
|
1393
|
-
<pre class="programlisting"><a href="
|
1394
|
-
<em class="parameter"><code>const <a href="
|
1395
|
-
<em class="parameter"><code><a href="
|
1396
|
-
<em class="parameter"><code><a href="
|
1493
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> g_socket_send_with_blocking (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1494
|
+
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
1495
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
1496
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> blocking</code></em>,
|
1397
1497
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1398
|
-
<em class="parameter"><code><a href="
|
1498
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1399
1499
|
<p>
|
1400
1500
|
This behaves exactly the same as <a class="link" href="GSocket.html#g-socket-send" title="g_socket_send ()"><code class="function">g_socket_send()</code></a>, except that
|
1401
1501
|
the choice of blocking or non-blocking behavior is determined by
|
1402
1502
|
the <em class="parameter"><code>blocking</code></em> argument rather than by <em class="parameter"><code>socket</code></em>'s properties.
|
1403
1503
|
</p>
|
1404
|
-
<div class="variablelist"><table border="0">
|
1504
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1505
|
+
<colgroup>
|
1405
1506
|
<col align="left" valign="top">
|
1507
|
+
<col>
|
1508
|
+
</colgroup>
|
1406
1509
|
<tbody>
|
1407
1510
|
<tr>
|
1408
1511
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -1411,7 +1514,8 @@ the <em class="parameter"><code>blocking</code></em> argument rather than by <em
|
|
1411
1514
|
</tr>
|
1412
1515
|
<tr>
|
1413
1516
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
1414
|
-
<td>the buffer
|
1517
|
+
<td>the buffer
|
1518
|
+
containing the data to send. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=size][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> guint8]</span>
|
1415
1519
|
</td>
|
1416
1520
|
</tr>
|
1417
1521
|
<tr>
|
@@ -1424,13 +1528,13 @@ the <em class="parameter"><code>blocking</code></em> argument rather than by <em
|
|
1424
1528
|
</tr>
|
1425
1529
|
<tr>
|
1426
1530
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1427
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="
|
1531
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1428
1532
|
</td>
|
1429
1533
|
</tr>
|
1430
1534
|
<tr>
|
1431
1535
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1432
1536
|
<td>
|
1433
|
-
<a href="
|
1537
|
+
<a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
1434
1538
|
</tr>
|
1435
1539
|
<tr>
|
1436
1540
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1444,8 +1548,8 @@ on error</td>
|
|
1444
1548
|
<hr>
|
1445
1549
|
<div class="refsect2">
|
1446
1550
|
<a name="g-socket-close"></a><h3>g_socket_close ()</h3>
|
1447
|
-
<pre class="programlisting"><a href="
|
1448
|
-
<em class="parameter"><code><a href="
|
1551
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_socket_close (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1552
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1449
1553
|
<p>
|
1450
1554
|
Closes the socket, shutting down any active connection.
|
1451
1555
|
</p>
|
@@ -1467,7 +1571,7 @@ resources are released as early as possible.
|
|
1467
1571
|
<p>
|
1468
1572
|
Beware that due to the way that TCP works, it is possible for
|
1469
1573
|
recently-sent data to be lost if either you close a socket while the
|
1470
|
-
<a href="
|
1574
|
+
<a href="./../glib/glib/glib-IO-Channels.html#G-IO-IN:CAPS"><code class="literal">G_IO_IN</code></a> condition is set, or else if the remote connection tries to
|
1471
1575
|
send something to you after you close the socket but before it has
|
1472
1576
|
finished reading all of the data you sent. There is no easy generic
|
1473
1577
|
way to avoid this problem; the easiest fix is to design the network
|
@@ -1481,8 +1585,11 @@ connection, after which the server can safely call <a class="link" href="GSocket
|
|
1481
1585
|
only works if the client will close its connection after the server
|
1482
1586
|
does.)
|
1483
1587
|
</p>
|
1484
|
-
<div class="variablelist"><table border="0">
|
1588
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1589
|
+
<colgroup>
|
1485
1590
|
<col align="left" valign="top">
|
1591
|
+
<col>
|
1592
|
+
</colgroup>
|
1486
1593
|
<tbody>
|
1487
1594
|
<tr>
|
1488
1595
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -1492,12 +1599,12 @@ does.)
|
|
1492
1599
|
<tr>
|
1493
1600
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1494
1601
|
<td>
|
1495
|
-
<a href="
|
1602
|
+
<a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
1496
1603
|
</tr>
|
1497
1604
|
<tr>
|
1498
1605
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1499
1606
|
<td>
|
1500
|
-
<a href="
|
1607
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error</td>
|
1501
1608
|
</tr>
|
1502
1609
|
</tbody>
|
1503
1610
|
</table></div>
|
@@ -1506,12 +1613,15 @@ does.)
|
|
1506
1613
|
<hr>
|
1507
1614
|
<div class="refsect2">
|
1508
1615
|
<a name="g-socket-is-closed"></a><h3>g_socket_is_closed ()</h3>
|
1509
|
-
<pre class="programlisting"><a href="
|
1616
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_socket_is_closed (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
1510
1617
|
<p>
|
1511
1618
|
Checks whether a socket is closed.
|
1512
1619
|
</p>
|
1513
|
-
<div class="variablelist"><table border="0">
|
1620
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1621
|
+
<colgroup>
|
1514
1622
|
<col align="left" valign="top">
|
1623
|
+
<col>
|
1624
|
+
</colgroup>
|
1515
1625
|
<tbody>
|
1516
1626
|
<tr>
|
1517
1627
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -1521,7 +1631,7 @@ Checks whether a socket is closed.
|
|
1521
1631
|
<tr>
|
1522
1632
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1523
1633
|
<td>
|
1524
|
-
<a href="
|
1634
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if socket is closed, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
|
1525
1635
|
</tr>
|
1526
1636
|
</tbody>
|
1527
1637
|
</table></div>
|
@@ -1530,31 +1640,34 @@ Checks whether a socket is closed.
|
|
1530
1640
|
<hr>
|
1531
1641
|
<div class="refsect2">
|
1532
1642
|
<a name="g-socket-shutdown"></a><h3>g_socket_shutdown ()</h3>
|
1533
|
-
<pre class="programlisting"><a href="
|
1534
|
-
<em class="parameter"><code><a href="
|
1535
|
-
<em class="parameter"><code><a href="
|
1536
|
-
<em class="parameter"><code><a href="
|
1643
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_socket_shutdown (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1644
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> shutdown_read</code></em>,
|
1645
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> shutdown_write</code></em>,
|
1646
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1537
1647
|
<p>
|
1538
1648
|
Shut down part of a full-duplex connection.
|
1539
1649
|
</p>
|
1540
1650
|
<p>
|
1541
|
-
If <em class="parameter"><code>shutdown_read</code></em> is <a href="
|
1651
|
+
If <em class="parameter"><code>shutdown_read</code></em> is <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> then the receiving side of the connection
|
1542
1652
|
is shut down, and further reading is disallowed.
|
1543
1653
|
</p>
|
1544
1654
|
<p>
|
1545
|
-
If <em class="parameter"><code>shutdown_write</code></em> is <a href="
|
1655
|
+
If <em class="parameter"><code>shutdown_write</code></em> is <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> then the sending side of the connection
|
1546
1656
|
is shut down, and further writing is disallowed.
|
1547
1657
|
</p>
|
1548
1658
|
<p>
|
1549
|
-
It is allowed for both <em class="parameter"><code>shutdown_read</code></em> and <em class="parameter"><code>shutdown_write</code></em> to be <a href="
|
1659
|
+
It is allowed for both <em class="parameter"><code>shutdown_read</code></em> and <em class="parameter"><code>shutdown_write</code></em> to be <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
|
1550
1660
|
</p>
|
1551
1661
|
<p>
|
1552
1662
|
One example where this is used is graceful disconnect for TCP connections
|
1553
1663
|
where you close the sending side, then wait for the other side to close
|
1554
1664
|
the connection, thus ensuring that the other side saw all sent data.
|
1555
1665
|
</p>
|
1556
|
-
<div class="variablelist"><table border="0">
|
1666
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1667
|
+
<colgroup>
|
1557
1668
|
<col align="left" valign="top">
|
1669
|
+
<col>
|
1670
|
+
</colgroup>
|
1558
1671
|
<tbody>
|
1559
1672
|
<tr>
|
1560
1673
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -1572,12 +1685,12 @@ the connection, thus ensuring that the other side saw all sent data.
|
|
1572
1685
|
<tr>
|
1573
1686
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1574
1687
|
<td>
|
1575
|
-
<a href="
|
1688
|
+
<a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
1576
1689
|
</tr>
|
1577
1690
|
<tr>
|
1578
1691
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1579
1692
|
<td>
|
1580
|
-
<a href="
|
1693
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error</td>
|
1581
1694
|
</tr>
|
1582
1695
|
</tbody>
|
1583
1696
|
</table></div>
|
@@ -1586,13 +1699,16 @@ the connection, thus ensuring that the other side saw all sent data.
|
|
1586
1699
|
<hr>
|
1587
1700
|
<div class="refsect2">
|
1588
1701
|
<a name="g-socket-is-connected"></a><h3>g_socket_is_connected ()</h3>
|
1589
|
-
<pre class="programlisting"><a href="
|
1702
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_socket_is_connected (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
1590
1703
|
<p>
|
1591
1704
|
Check whether the socket is connected. This is only useful for
|
1592
1705
|
connection-oriented sockets.
|
1593
1706
|
</p>
|
1594
|
-
<div class="variablelist"><table border="0">
|
1707
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1708
|
+
<colgroup>
|
1595
1709
|
<col align="left" valign="top">
|
1710
|
+
<col>
|
1711
|
+
</colgroup>
|
1596
1712
|
<tbody>
|
1597
1713
|
<tr>
|
1598
1714
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -1601,7 +1717,7 @@ connection-oriented sockets.
|
|
1601
1717
|
<tr>
|
1602
1718
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1603
1719
|
<td>
|
1604
|
-
<a href="
|
1720
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if socket is connected, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
1605
1721
|
</tr>
|
1606
1722
|
</tbody>
|
1607
1723
|
</table></div>
|
@@ -1610,22 +1726,22 @@ connection-oriented sockets.
|
|
1610
1726
|
<hr>
|
1611
1727
|
<div class="refsect2">
|
1612
1728
|
<a name="g-socket-create-source"></a><h3>g_socket_create_source ()</h3>
|
1613
|
-
<pre class="programlisting"><a href="
|
1614
|
-
<em class="parameter"><code><a href="
|
1729
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-The-Main-Event-Loop.html#GSource"><span class="returnvalue">GSource</span></a> * g_socket_create_source (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1730
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>,
|
1615
1731
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>);</pre>
|
1616
1732
|
<p>
|
1617
|
-
Creates a <a href="
|
1733
|
+
Creates a <a href="./../glib/glib/glib-The-Main-Event-Loop.html#GSource"><code class="literal">GSource</code></a> that can be attached to a <a href="./../glib/glib/glib-The-Main-Event-Loop.html#GMainContext"><code class="literal">GMainContext</code></a> to monitor
|
1618
1734
|
for the availibility of the specified <em class="parameter"><code>condition</code></em> on the socket.
|
1619
1735
|
</p>
|
1620
1736
|
<p>
|
1621
1737
|
The callback on the source is of the <a class="link" href="GSocket.html#GSocketSourceFunc" title="GSocketSourceFunc ()"><span class="type">GSocketSourceFunc</span></a> type.
|
1622
1738
|
</p>
|
1623
1739
|
<p>
|
1624
|
-
It is meaningless to specify <a href="
|
1740
|
+
It is meaningless to specify <a href="./../glib/glib/glib-IO-Channels.html#G-IO-ERR:CAPS"><code class="literal">G_IO_ERR</code></a> or <a href="./../glib/glib/glib-IO-Channels.html#G-IO-HUP:CAPS"><code class="literal">G_IO_HUP</code></a> in <em class="parameter"><code>condition</code></em>;
|
1625
1741
|
these conditions will always be reported output if they are true.
|
1626
1742
|
</p>
|
1627
1743
|
<p>
|
1628
|
-
<em class="parameter"><code>cancellable</code></em> if not <a href="
|
1744
|
+
<em class="parameter"><code>cancellable</code></em> if not <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> can be used to cancel the source, which will
|
1629
1745
|
cause the source to trigger, reporting the current condition (which
|
1630
1746
|
is likely 0 unless cancellation happened at the same time as a
|
1631
1747
|
condition change). You can check for this in the callback using
|
@@ -1633,13 +1749,16 @@ condition change). You can check for this in the callback using
|
|
1633
1749
|
</p>
|
1634
1750
|
<p>
|
1635
1751
|
If <em class="parameter"><code>socket</code></em> has a timeout set, and it is reached before <em class="parameter"><code>condition</code></em>
|
1636
|
-
occurs, the source will then trigger anyway, reporting <a href="
|
1637
|
-
<a href="
|
1752
|
+
occurs, the source will then trigger anyway, reporting <a href="./../glib/glib/glib-IO-Channels.html#G-IO-IN:CAPS"><code class="literal">G_IO_IN</code></a> or
|
1753
|
+
<a href="./../glib/glib/glib-IO-Channels.html#G-IO-OUT:CAPS"><code class="literal">G_IO_OUT</code></a> depending on <em class="parameter"><code>condition</code></em>. However, <em class="parameter"><code>socket</code></em> will have been
|
1638
1754
|
marked as having had a timeout, and so the next <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> I/O method
|
1639
1755
|
you call will then fail with a <a class="link" href="gio-GIOError.html#G-IO-ERROR-TIMED-OUT:CAPS"><code class="literal">G_IO_ERROR_TIMED_OUT</code></a>.
|
1640
1756
|
</p>
|
1641
|
-
<div class="variablelist"><table border="0">
|
1757
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1758
|
+
<colgroup>
|
1642
1759
|
<col align="left" valign="top">
|
1760
|
+
<col>
|
1761
|
+
</colgroup>
|
1643
1762
|
<tbody>
|
1644
1763
|
<tr>
|
1645
1764
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -1648,16 +1767,16 @@ you call will then fail with a <a class="link" href="gio-GIOError.html#G-IO-ERRO
|
|
1648
1767
|
</tr>
|
1649
1768
|
<tr>
|
1650
1769
|
<td><p><span class="term"><em class="parameter"><code>condition</code></em> :</span></p></td>
|
1651
|
-
<td>a <a href="
|
1770
|
+
<td>a <a href="./../glib/glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> mask to monitor</td>
|
1652
1771
|
</tr>
|
1653
1772
|
<tr>
|
1654
1773
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1655
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="
|
1774
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1656
1775
|
</td>
|
1657
1776
|
</tr>
|
1658
1777
|
<tr>
|
1659
1778
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1660
|
-
<td>a newly allocated <a href="
|
1779
|
+
<td>a newly allocated <a href="./../glib/glib/glib-The-Main-Event-Loop.html#GSource"><code class="literal">GSource</code></a>, free with <a href="./../glib/glib/glib-The-Main-Event-Loop.html#g-source-unref"><code class="function">g_source_unref()</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1661
1780
|
</td>
|
1662
1781
|
</tr>
|
1663
1782
|
</tbody>
|
@@ -1667,8 +1786,8 @@ you call will then fail with a <a class="link" href="gio-GIOError.html#G-IO-ERRO
|
|
1667
1786
|
<hr>
|
1668
1787
|
<div class="refsect2">
|
1669
1788
|
<a name="g-socket-condition-check"></a><h3>g_socket_condition_check ()</h3>
|
1670
|
-
<pre class="programlisting"><a href="
|
1671
|
-
<em class="parameter"><code><a href="
|
1789
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-IO-Channels.html#GIOCondition"><span class="returnvalue">GIOCondition</span></a> g_socket_condition_check (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1790
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>);</pre>
|
1672
1791
|
<p>
|
1673
1792
|
Checks on the readiness of <em class="parameter"><code>socket</code></em> to perform operations.
|
1674
1793
|
The operations specified in <em class="parameter"><code>condition</code></em> are checked for and masked
|
@@ -1685,14 +1804,17 @@ simply try writing to the socket right away, and try again later if
|
|
1685
1804
|
the initial attempt returns <a class="link" href="gio-GIOError.html#G-IO-ERROR-WOULD-BLOCK:CAPS"><code class="literal">G_IO_ERROR_WOULD_BLOCK</code></a>.
|
1686
1805
|
</p>
|
1687
1806
|
<p>
|
1688
|
-
It is meaningless to specify <a href="
|
1807
|
+
It is meaningless to specify <a href="./../glib/glib/glib-IO-Channels.html#G-IO-ERR:CAPS"><code class="literal">G_IO_ERR</code></a> or <a href="./../glib/glib/glib-IO-Channels.html#G-IO-HUP:CAPS"><code class="literal">G_IO_HUP</code></a> in condition;
|
1689
1808
|
these conditions will always be set in the output if they are true.
|
1690
1809
|
</p>
|
1691
1810
|
<p>
|
1692
1811
|
This call never blocks.
|
1693
1812
|
</p>
|
1694
|
-
<div class="variablelist"><table border="0">
|
1813
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1814
|
+
<colgroup>
|
1695
1815
|
<col align="left" valign="top">
|
1816
|
+
<col>
|
1817
|
+
</colgroup>
|
1696
1818
|
<tbody>
|
1697
1819
|
<tr>
|
1698
1820
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -1701,7 +1823,7 @@ This call never blocks.
|
|
1701
1823
|
</tr>
|
1702
1824
|
<tr>
|
1703
1825
|
<td><p><span class="term"><em class="parameter"><code>condition</code></em> :</span></p></td>
|
1704
|
-
<td>a <a href="
|
1826
|
+
<td>a <a href="./../glib/glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> mask to check</td>
|
1705
1827
|
</tr>
|
1706
1828
|
<tr>
|
1707
1829
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1714,23 +1836,29 @@ This call never blocks.
|
|
1714
1836
|
<hr>
|
1715
1837
|
<div class="refsect2">
|
1716
1838
|
<a name="g-socket-condition-wait"></a><h3>g_socket_condition_wait ()</h3>
|
1717
|
-
<pre class="programlisting"><a href="
|
1718
|
-
<em class="parameter"><code><a href="
|
1839
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_socket_condition_wait (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1840
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>,
|
1719
1841
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1720
|
-
<em class="parameter"><code><a href="
|
1842
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1721
1843
|
<p>
|
1722
1844
|
Waits for <em class="parameter"><code>condition</code></em> to become true on <em class="parameter"><code>socket</code></em>. When the condition
|
1723
|
-
is met, <a href="
|
1845
|
+
is met, <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is returned.
|
1724
1846
|
</p>
|
1725
1847
|
<p>
|
1726
1848
|
If <em class="parameter"><code>cancellable</code></em> is cancelled before the condition is met, or if the
|
1727
1849
|
socket has a timeout set and it is reached before the condition is
|
1728
|
-
met, then <a href="
|
1850
|
+
met, then <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned and <em class="parameter"><code>error</code></em>, if non-<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, is set to
|
1729
1851
|
the appropriate value (<a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> or
|
1730
1852
|
<a class="link" href="gio-GIOError.html#G-IO-ERROR-TIMED-OUT:CAPS"><code class="literal">G_IO_ERROR_TIMED_OUT</code></a>).
|
1731
1853
|
</p>
|
1732
|
-
<
|
1854
|
+
<p>
|
1855
|
+
See also <a class="link" href="GSocket.html#g-socket-condition-timed-wait" title="g_socket_condition_timed_wait ()"><code class="function">g_socket_condition_timed_wait()</code></a>.
|
1856
|
+
</p>
|
1857
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1858
|
+
<colgroup>
|
1733
1859
|
<col align="left" valign="top">
|
1860
|
+
<col>
|
1861
|
+
</colgroup>
|
1734
1862
|
<tbody>
|
1735
1863
|
<tr>
|
1736
1864
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -1739,22 +1867,22 @@ the appropriate value (<a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCEL
|
|
1739
1867
|
</tr>
|
1740
1868
|
<tr>
|
1741
1869
|
<td><p><span class="term"><em class="parameter"><code>condition</code></em> :</span></p></td>
|
1742
|
-
<td>a <a href="
|
1870
|
+
<td>a <a href="./../glib/glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> mask to wait for</td>
|
1743
1871
|
</tr>
|
1744
1872
|
<tr>
|
1745
1873
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1746
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="
|
1874
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1747
1875
|
</td>
|
1748
1876
|
</tr>
|
1749
1877
|
<tr>
|
1750
1878
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1751
|
-
<td>a <a href="
|
1879
|
+
<td>a <a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> pointer, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1752
1880
|
</td>
|
1753
1881
|
</tr>
|
1754
1882
|
<tr>
|
1755
1883
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1756
1884
|
<td>
|
1757
|
-
<a href="
|
1885
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the condition was met, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
|
1758
1886
|
</tr>
|
1759
1887
|
</tbody>
|
1760
1888
|
</table></div>
|
@@ -1762,9 +1890,103 @@ the appropriate value (<a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCEL
|
|
1762
1890
|
</div>
|
1763
1891
|
<hr>
|
1764
1892
|
<div class="refsect2">
|
1893
|
+
<a name="g-socket-condition-timed-wait"></a><h3>g_socket_condition_timed_wait ()</h3>
|
1894
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_socket_condition_timed_wait (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1895
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>,
|
1896
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> timeout</code></em>,
|
1897
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1898
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1899
|
+
<p>
|
1900
|
+
Waits for up to <em class="parameter"><code>timeout</code></em> microseconds for <em class="parameter"><code>condition</code></em> to become true
|
1901
|
+
on <em class="parameter"><code>socket</code></em>. If the condition is met, <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is returned.
|
1902
|
+
</p>
|
1903
|
+
<p>
|
1904
|
+
If <em class="parameter"><code>cancellable</code></em> is cancelled before the condition is met, or if
|
1905
|
+
<em class="parameter"><code>timeout</code></em> (or the socket's <a class="link" href="GSocket.html#GSocket--timeout" title='The "timeout" property'><span class="type">"timeout"</span></a>) is reached before the
|
1906
|
+
condition is met, then <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned and <em class="parameter"><code>error</code></em>, if non-<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
1907
|
+
is set to the appropriate value (<a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> or
|
1908
|
+
<a class="link" href="gio-GIOError.html#G-IO-ERROR-TIMED-OUT:CAPS"><code class="literal">G_IO_ERROR_TIMED_OUT</code></a>).
|
1909
|
+
</p>
|
1910
|
+
<p>
|
1911
|
+
If you don't want a timeout, use <a class="link" href="GSocket.html#g-socket-condition-wait" title="g_socket_condition_wait ()"><code class="function">g_socket_condition_wait()</code></a>.
|
1912
|
+
(Alternatively, you can pass -1 for <em class="parameter"><code>timeout</code></em>.)
|
1913
|
+
</p>
|
1914
|
+
<p>
|
1915
|
+
Note that although <em class="parameter"><code>timeout</code></em> is in microseconds for consistency with
|
1916
|
+
other GLib APIs, this function actually only has millisecond
|
1917
|
+
resolution, and the behavior is undefined if <em class="parameter"><code>timeout</code></em> is not an
|
1918
|
+
exact number of milliseconds.
|
1919
|
+
</p>
|
1920
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1921
|
+
<colgroup>
|
1922
|
+
<col align="left" valign="top">
|
1923
|
+
<col>
|
1924
|
+
</colgroup>
|
1925
|
+
<tbody>
|
1926
|
+
<tr>
|
1927
|
+
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
1928
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>
|
1929
|
+
</td>
|
1930
|
+
</tr>
|
1931
|
+
<tr>
|
1932
|
+
<td><p><span class="term"><em class="parameter"><code>condition</code></em> :</span></p></td>
|
1933
|
+
<td>a <a href="./../glib/glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> mask to wait for</td>
|
1934
|
+
</tr>
|
1935
|
+
<tr>
|
1936
|
+
<td><p><span class="term"><em class="parameter"><code>timeout</code></em> :</span></p></td>
|
1937
|
+
<td>the maximum time (in microseconds) to wait, or -1</td>
|
1938
|
+
</tr>
|
1939
|
+
<tr>
|
1940
|
+
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1941
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1942
|
+
</td>
|
1943
|
+
</tr>
|
1944
|
+
<tr>
|
1945
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1946
|
+
<td>a <a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> pointer, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1947
|
+
</td>
|
1948
|
+
</tr>
|
1949
|
+
<tr>
|
1950
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1951
|
+
<td>
|
1952
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the condition was met, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
|
1953
|
+
</tr>
|
1954
|
+
</tbody>
|
1955
|
+
</table></div>
|
1956
|
+
<p class="since">Since 2.32</p>
|
1957
|
+
</div>
|
1958
|
+
<hr>
|
1959
|
+
<div class="refsect2">
|
1960
|
+
<a name="g-socket-get-available-bytes"></a><h3>g_socket_get_available_bytes ()</h3>
|
1961
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> g_socket_get_available_bytes (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
1962
|
+
<p>
|
1963
|
+
Get the amount of data pending in the OS input buffer.
|
1964
|
+
</p>
|
1965
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1966
|
+
<colgroup>
|
1967
|
+
<col align="left" valign="top">
|
1968
|
+
<col>
|
1969
|
+
</colgroup>
|
1970
|
+
<tbody>
|
1971
|
+
<tr>
|
1972
|
+
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
1973
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>
|
1974
|
+
</td>
|
1975
|
+
</tr>
|
1976
|
+
<tr>
|
1977
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1978
|
+
<td>the number of bytes that can be read from the socket
|
1979
|
+
without blocking or -1 on error.</td>
|
1980
|
+
</tr>
|
1981
|
+
</tbody>
|
1982
|
+
</table></div>
|
1983
|
+
<p class="since">Since 2.32</p>
|
1984
|
+
</div>
|
1985
|
+
<hr>
|
1986
|
+
<div class="refsect2">
|
1765
1987
|
<a name="g-socket-set-listen-backlog"></a><h3>g_socket_set_listen_backlog ()</h3>
|
1766
1988
|
<pre class="programlisting"><span class="returnvalue">void</span> g_socket_set_listen_backlog (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1767
|
-
<em class="parameter"><code><a href="
|
1989
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> backlog</code></em>);</pre>
|
1768
1990
|
<p>
|
1769
1991
|
Sets the maximum number of outstanding connections allowed
|
1770
1992
|
when listening on this socket. If more clients than this are
|
@@ -1775,8 +1997,11 @@ on time then the new connections will be refused.
|
|
1775
1997
|
Note that this must be called before <a class="link" href="GSocket.html#g-socket-listen" title="g_socket_listen ()"><code class="function">g_socket_listen()</code></a> and has no
|
1776
1998
|
effect if called after that.
|
1777
1999
|
</p>
|
1778
|
-
<div class="variablelist"><table border="0">
|
2000
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2001
|
+
<colgroup>
|
1779
2002
|
<col align="left" valign="top">
|
2003
|
+
<col>
|
2004
|
+
</colgroup>
|
1780
2005
|
<tbody>
|
1781
2006
|
<tr>
|
1782
2007
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -1793,13 +2018,16 @@ effect if called after that.
|
|
1793
2018
|
<hr>
|
1794
2019
|
<div class="refsect2">
|
1795
2020
|
<a name="g-socket-get-listen-backlog"></a><h3>g_socket_get_listen_backlog ()</h3>
|
1796
|
-
<pre class="programlisting"><a href="
|
2021
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> g_socket_get_listen_backlog (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
1797
2022
|
<p>
|
1798
2023
|
Gets the listen backlog setting of the socket. For details on this,
|
1799
2024
|
see <a class="link" href="GSocket.html#g-socket-set-listen-backlog" title="g_socket_set_listen_backlog ()"><code class="function">g_socket_set_listen_backlog()</code></a>.
|
1800
2025
|
</p>
|
1801
|
-
<div class="variablelist"><table border="0">
|
2026
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2027
|
+
<colgroup>
|
1802
2028
|
<col align="left" valign="top">
|
2029
|
+
<col>
|
2030
|
+
</colgroup>
|
1803
2031
|
<tbody>
|
1804
2032
|
<tr>
|
1805
2033
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -1816,13 +2044,16 @@ see <a class="link" href="GSocket.html#g-socket-set-listen-backlog" title="g_soc
|
|
1816
2044
|
<hr>
|
1817
2045
|
<div class="refsect2">
|
1818
2046
|
<a name="g-socket-get-blocking"></a><h3>g_socket_get_blocking ()</h3>
|
1819
|
-
<pre class="programlisting"><a href="
|
2047
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_socket_get_blocking (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
1820
2048
|
<p>
|
1821
2049
|
Gets the blocking mode of the socket. For details on blocking I/O,
|
1822
2050
|
see <a class="link" href="GSocket.html#g-socket-set-blocking" title="g_socket_set_blocking ()"><code class="function">g_socket_set_blocking()</code></a>.
|
1823
2051
|
</p>
|
1824
|
-
<div class="variablelist"><table border="0">
|
2052
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2053
|
+
<colgroup>
|
1825
2054
|
<col align="left" valign="top">
|
2055
|
+
<col>
|
2056
|
+
</colgroup>
|
1826
2057
|
<tbody>
|
1827
2058
|
<tr>
|
1828
2059
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -1831,7 +2062,7 @@ see <a class="link" href="GSocket.html#g-socket-set-blocking" title="g_socket_se
|
|
1831
2062
|
<tr>
|
1832
2063
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1833
2064
|
<td>
|
1834
|
-
<a href="
|
2065
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if blocking I/O is used, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
1835
2066
|
</tr>
|
1836
2067
|
</tbody>
|
1837
2068
|
</table></div>
|
@@ -1841,7 +2072,7 @@ see <a class="link" href="GSocket.html#g-socket-set-blocking" title="g_socket_se
|
|
1841
2072
|
<div class="refsect2">
|
1842
2073
|
<a name="g-socket-set-blocking"></a><h3>g_socket_set_blocking ()</h3>
|
1843
2074
|
<pre class="programlisting"><span class="returnvalue">void</span> g_socket_set_blocking (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1844
|
-
<em class="parameter"><code><a href="
|
2075
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> blocking</code></em>);</pre>
|
1845
2076
|
<p>
|
1846
2077
|
Sets the blocking mode of the socket. In blocking mode
|
1847
2078
|
all operations block until they succeed or there is an error. In
|
@@ -1853,8 +2084,11 @@ All sockets are created in blocking mode. However, note that the
|
|
1853
2084
|
platform level socket is always non-blocking, and blocking mode
|
1854
2085
|
is a GSocket level feature.
|
1855
2086
|
</p>
|
1856
|
-
<div class="variablelist"><table border="0">
|
2087
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2088
|
+
<colgroup>
|
1857
2089
|
<col align="left" valign="top">
|
2090
|
+
<col>
|
2091
|
+
</colgroup>
|
1858
2092
|
<tbody>
|
1859
2093
|
<tr>
|
1860
2094
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -1871,13 +2105,16 @@ is a GSocket level feature.
|
|
1871
2105
|
<hr>
|
1872
2106
|
<div class="refsect2">
|
1873
2107
|
<a name="g-socket-get-keepalive"></a><h3>g_socket_get_keepalive ()</h3>
|
1874
|
-
<pre class="programlisting"><a href="
|
2108
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_socket_get_keepalive (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
1875
2109
|
<p>
|
1876
2110
|
Gets the keepalive mode of the socket. For details on this,
|
1877
2111
|
see <a class="link" href="GSocket.html#g-socket-set-keepalive" title="g_socket_set_keepalive ()"><code class="function">g_socket_set_keepalive()</code></a>.
|
1878
2112
|
</p>
|
1879
|
-
<div class="variablelist"><table border="0">
|
2113
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2114
|
+
<colgroup>
|
1880
2115
|
<col align="left" valign="top">
|
2116
|
+
<col>
|
2117
|
+
</colgroup>
|
1881
2118
|
<tbody>
|
1882
2119
|
<tr>
|
1883
2120
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -1886,7 +2123,7 @@ see <a class="link" href="GSocket.html#g-socket-set-keepalive" title="g_socket_s
|
|
1886
2123
|
<tr>
|
1887
2124
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1888
2125
|
<td>
|
1889
|
-
<a href="
|
2126
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if keepalive is active, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
1890
2127
|
</tr>
|
1891
2128
|
</tbody>
|
1892
2129
|
</table></div>
|
@@ -1896,7 +2133,7 @@ see <a class="link" href="GSocket.html#g-socket-set-keepalive" title="g_socket_s
|
|
1896
2133
|
<div class="refsect2">
|
1897
2134
|
<a name="g-socket-set-keepalive"></a><h3>g_socket_set_keepalive ()</h3>
|
1898
2135
|
<pre class="programlisting"><span class="returnvalue">void</span> g_socket_set_keepalive (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1899
|
-
<em class="parameter"><code><a href="
|
2136
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> keepalive</code></em>);</pre>
|
1900
2137
|
<p>
|
1901
2138
|
Sets or unsets the <code class="literal">SO_KEEPALIVE</code> flag on the underlying socket. When
|
1902
2139
|
this flag is set on a socket, the system will attempt to verify that the
|
@@ -1916,8 +2153,11 @@ on a server socket if you want to allow clients to remain idle for long
|
|
1916
2153
|
periods of time, but also want to ensure that connections are eventually
|
1917
2154
|
garbage-collected if clients crash or become unreachable.
|
1918
2155
|
</p>
|
1919
|
-
<div class="variablelist"><table border="0">
|
2156
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2157
|
+
<colgroup>
|
1920
2158
|
<col align="left" valign="top">
|
2159
|
+
<col>
|
2160
|
+
</colgroup>
|
1921
2161
|
<tbody>
|
1922
2162
|
<tr>
|
1923
2163
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -1934,13 +2174,16 @@ garbage-collected if clients crash or become unreachable.
|
|
1934
2174
|
<hr>
|
1935
2175
|
<div class="refsect2">
|
1936
2176
|
<a name="g-socket-get-timeout"></a><h3>g_socket_get_timeout ()</h3>
|
1937
|
-
<pre class="programlisting"><a href="
|
2177
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_socket_get_timeout (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
1938
2178
|
<p>
|
1939
2179
|
Gets the timeout setting of the socket. For details on this, see
|
1940
2180
|
<a class="link" href="GSocket.html#g-socket-set-timeout" title="g_socket_set_timeout ()"><code class="function">g_socket_set_timeout()</code></a>.
|
1941
2181
|
</p>
|
1942
|
-
<div class="variablelist"><table border="0">
|
2182
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2183
|
+
<colgroup>
|
1943
2184
|
<col align="left" valign="top">
|
2185
|
+
<col>
|
2186
|
+
</colgroup>
|
1944
2187
|
<tbody>
|
1945
2188
|
<tr>
|
1946
2189
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -1958,7 +2201,7 @@ Gets the timeout setting of the socket. For details on this, see
|
|
1958
2201
|
<div class="refsect2">
|
1959
2202
|
<a name="g-socket-set-timeout"></a><h3>g_socket_set_timeout ()</h3>
|
1960
2203
|
<pre class="programlisting"><span class="returnvalue">void</span> g_socket_set_timeout (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1961
|
-
<em class="parameter"><code><a href="
|
2204
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> timeout</code></em>);</pre>
|
1962
2205
|
<p>
|
1963
2206
|
Sets the time in seconds after which I/O operations on <em class="parameter"><code>socket</code></em> will
|
1964
2207
|
time out if they have not yet completed.
|
@@ -1985,8 +2228,11 @@ on their own.
|
|
1985
2228
|
Note that if an I/O operation is interrupted by a signal, this may
|
1986
2229
|
cause the timeout to be reset.
|
1987
2230
|
</p>
|
1988
|
-
<div class="variablelist"><table border="0">
|
2231
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2232
|
+
<colgroup>
|
1989
2233
|
<col align="left" valign="top">
|
2234
|
+
<col>
|
2235
|
+
</colgroup>
|
1990
2236
|
<tbody>
|
1991
2237
|
<tr>
|
1992
2238
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -2002,13 +2248,253 @@ cause the timeout to be reset.
|
|
2002
2248
|
</div>
|
2003
2249
|
<hr>
|
2004
2250
|
<div class="refsect2">
|
2251
|
+
<a name="g-socket-set-ttl"></a><h3>g_socket_set_ttl ()</h3>
|
2252
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_socket_set_ttl (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2253
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> ttl</code></em>);</pre>
|
2254
|
+
<p>
|
2255
|
+
Sets the time-to-live for outgoing unicast packets on <em class="parameter"><code>socket</code></em>.
|
2256
|
+
By default the platform-specific default value is used.
|
2257
|
+
</p>
|
2258
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2259
|
+
<colgroup>
|
2260
|
+
<col align="left" valign="top">
|
2261
|
+
<col>
|
2262
|
+
</colgroup>
|
2263
|
+
<tbody>
|
2264
|
+
<tr>
|
2265
|
+
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
2266
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
2267
|
+
</tr>
|
2268
|
+
<tr>
|
2269
|
+
<td><p><span class="term"><em class="parameter"><code>ttl</code></em> :</span></p></td>
|
2270
|
+
<td>the time-to-live value for all unicast packets on <em class="parameter"><code>socket</code></em>
|
2271
|
+
</td>
|
2272
|
+
</tr>
|
2273
|
+
</tbody>
|
2274
|
+
</table></div>
|
2275
|
+
<p class="since">Since 2.32</p>
|
2276
|
+
</div>
|
2277
|
+
<hr>
|
2278
|
+
<div class="refsect2">
|
2279
|
+
<a name="g-socket-get-ttl"></a><h3>g_socket_get_ttl ()</h3>
|
2280
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_socket_get_ttl (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2281
|
+
<p>
|
2282
|
+
Gets the unicast time-to-live setting on <em class="parameter"><code>socket</code></em>; see
|
2283
|
+
<a class="link" href="GSocket.html#g-socket-set-ttl" title="g_socket_set_ttl ()"><code class="function">g_socket_set_ttl()</code></a> for more details.
|
2284
|
+
</p>
|
2285
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2286
|
+
<colgroup>
|
2287
|
+
<col align="left" valign="top">
|
2288
|
+
<col>
|
2289
|
+
</colgroup>
|
2290
|
+
<tbody>
|
2291
|
+
<tr>
|
2292
|
+
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
2293
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
2294
|
+
</tr>
|
2295
|
+
<tr>
|
2296
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2297
|
+
<td>the time-to-live setting on <em class="parameter"><code>socket</code></em>
|
2298
|
+
</td>
|
2299
|
+
</tr>
|
2300
|
+
</tbody>
|
2301
|
+
</table></div>
|
2302
|
+
<p class="since">Since 2.32</p>
|
2303
|
+
</div>
|
2304
|
+
<hr>
|
2305
|
+
<div class="refsect2">
|
2306
|
+
<a name="g-socket-get-broadcast"></a><h3>g_socket_get_broadcast ()</h3>
|
2307
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_socket_get_broadcast (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2308
|
+
<p>
|
2309
|
+
Gets the broadcast setting on <em class="parameter"><code>socket</code></em>; if <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>,
|
2310
|
+
it is possible to send packets to broadcast
|
2311
|
+
addresses or receive from broadcast addresses.
|
2312
|
+
</p>
|
2313
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2314
|
+
<colgroup>
|
2315
|
+
<col align="left" valign="top">
|
2316
|
+
<col>
|
2317
|
+
</colgroup>
|
2318
|
+
<tbody>
|
2319
|
+
<tr>
|
2320
|
+
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
2321
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
2322
|
+
</tr>
|
2323
|
+
<tr>
|
2324
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2325
|
+
<td>the broadcast setting on <em class="parameter"><code>socket</code></em>
|
2326
|
+
</td>
|
2327
|
+
</tr>
|
2328
|
+
</tbody>
|
2329
|
+
</table></div>
|
2330
|
+
<p class="since">Since 2.32</p>
|
2331
|
+
</div>
|
2332
|
+
<hr>
|
2333
|
+
<div class="refsect2">
|
2334
|
+
<a name="g-socket-set-broadcast"></a><h3>g_socket_set_broadcast ()</h3>
|
2335
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_socket_set_broadcast (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2336
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> broadcast</code></em>);</pre>
|
2337
|
+
<p>
|
2338
|
+
Sets whether <em class="parameter"><code>socket</code></em> should allow sending to and receiving from
|
2339
|
+
broadcast addresses. This is <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> by default.
|
2340
|
+
</p>
|
2341
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2342
|
+
<colgroup>
|
2343
|
+
<col align="left" valign="top">
|
2344
|
+
<col>
|
2345
|
+
</colgroup>
|
2346
|
+
<tbody>
|
2347
|
+
<tr>
|
2348
|
+
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
2349
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
2350
|
+
</tr>
|
2351
|
+
<tr>
|
2352
|
+
<td><p><span class="term"><em class="parameter"><code>broadcast</code></em> :</span></p></td>
|
2353
|
+
<td>whether <em class="parameter"><code>socket</code></em> should allow sending to and receiving
|
2354
|
+
from broadcast addresses</td>
|
2355
|
+
</tr>
|
2356
|
+
</tbody>
|
2357
|
+
</table></div>
|
2358
|
+
<p class="since">Since 2.32</p>
|
2359
|
+
</div>
|
2360
|
+
<hr>
|
2361
|
+
<div class="refsect2">
|
2362
|
+
<a name="g-socket-get-option"></a><h3>g_socket_get_option ()</h3>
|
2363
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_socket_get_option (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2364
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> level</code></em>,
|
2365
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> optname</code></em>,
|
2366
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *value</code></em>,
|
2367
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2368
|
+
<p>
|
2369
|
+
Gets the value of an integer-valued option on <em class="parameter"><code>socket</code></em>, as with
|
2370
|
+
<code class="literal"><code class="function">getsockopt()</code></code>. (If you need to fetch a
|
2371
|
+
non-integer-valued option, you will need to call
|
2372
|
+
<code class="literal"><code class="function">getsockopt()</code></code> directly.)
|
2373
|
+
</p>
|
2374
|
+
<p>
|
2375
|
+
The <a class="link" href="gio-gnetworking.h.html" title="gnetworking.h"><code class="literal"><gio/gnetworking.h></code></a>
|
2376
|
+
header pulls in system headers that will define most of the
|
2377
|
+
standard/portable socket options. For unusual socket protocols or
|
2378
|
+
platform-dependent options, you may need to include additional
|
2379
|
+
headers.
|
2380
|
+
</p>
|
2381
|
+
<p>
|
2382
|
+
Note that even for socket options that are a single byte in size,
|
2383
|
+
<em class="parameter"><code>value</code></em> is still a pointer to a <a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> variable, not a <a href="./../glib/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a>;
|
2384
|
+
<a class="link" href="GSocket.html#g-socket-get-option" title="g_socket_get_option ()"><code class="function">g_socket_get_option()</code></a> will handle the conversion internally.
|
2385
|
+
</p>
|
2386
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2387
|
+
<colgroup>
|
2388
|
+
<col align="left" valign="top">
|
2389
|
+
<col>
|
2390
|
+
</colgroup>
|
2391
|
+
<tbody>
|
2392
|
+
<tr>
|
2393
|
+
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
2394
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>
|
2395
|
+
</td>
|
2396
|
+
</tr>
|
2397
|
+
<tr>
|
2398
|
+
<td><p><span class="term"><em class="parameter"><code>level</code></em> :</span></p></td>
|
2399
|
+
<td>the "API level" of the option (eg, <code class="literal">SOL_SOCKET</code>)</td>
|
2400
|
+
</tr>
|
2401
|
+
<tr>
|
2402
|
+
<td><p><span class="term"><em class="parameter"><code>optname</code></em> :</span></p></td>
|
2403
|
+
<td>the "name" of the option (eg, <code class="literal">SO_BROADCAST</code>)</td>
|
2404
|
+
</tr>
|
2405
|
+
<tr>
|
2406
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2407
|
+
<td>return location for the option value. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
2408
|
+
</td>
|
2409
|
+
</tr>
|
2410
|
+
<tr>
|
2411
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2412
|
+
<td>
|
2413
|
+
<a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
2414
|
+
</tr>
|
2415
|
+
<tr>
|
2416
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2417
|
+
<td>success or failure. On failure, <em class="parameter"><code>error</code></em> will be set, and
|
2418
|
+
the system error value (<code class="literal">errno</code> or
|
2419
|
+
<code class="literal"><code class="function">WSAGetLastError()</code></code>) will still be set to the
|
2420
|
+
result of the <code class="literal"><code class="function">getsockopt()</code></code> call.</td>
|
2421
|
+
</tr>
|
2422
|
+
</tbody>
|
2423
|
+
</table></div>
|
2424
|
+
<p class="since">Since 2.36</p>
|
2425
|
+
</div>
|
2426
|
+
<hr>
|
2427
|
+
<div class="refsect2">
|
2428
|
+
<a name="g-socket-set-option"></a><h3>g_socket_set_option ()</h3>
|
2429
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_socket_set_option (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2430
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> level</code></em>,
|
2431
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> optname</code></em>,
|
2432
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> value</code></em>,
|
2433
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2434
|
+
<p>
|
2435
|
+
Sets the value of an integer-valued option on <em class="parameter"><code>socket</code></em>, as with
|
2436
|
+
<code class="literal"><code class="function">setsockopt()</code></code>. (If you need to set a
|
2437
|
+
non-integer-valued option, you will need to call
|
2438
|
+
<code class="literal"><code class="function">setsockopt()</code></code> directly.)
|
2439
|
+
</p>
|
2440
|
+
<p>
|
2441
|
+
The <a class="link" href="gio-gnetworking.h.html" title="gnetworking.h"><code class="literal"><gio/gnetworking.h></code></a>
|
2442
|
+
header pulls in system headers that will define most of the
|
2443
|
+
standard/portable socket options. For unusual socket protocols or
|
2444
|
+
platform-dependent options, you may need to include additional
|
2445
|
+
headers.
|
2446
|
+
</p>
|
2447
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2448
|
+
<colgroup>
|
2449
|
+
<col align="left" valign="top">
|
2450
|
+
<col>
|
2451
|
+
</colgroup>
|
2452
|
+
<tbody>
|
2453
|
+
<tr>
|
2454
|
+
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
2455
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>
|
2456
|
+
</td>
|
2457
|
+
</tr>
|
2458
|
+
<tr>
|
2459
|
+
<td><p><span class="term"><em class="parameter"><code>level</code></em> :</span></p></td>
|
2460
|
+
<td>the "API level" of the option (eg, <code class="literal">SOL_SOCKET</code>)</td>
|
2461
|
+
</tr>
|
2462
|
+
<tr>
|
2463
|
+
<td><p><span class="term"><em class="parameter"><code>optname</code></em> :</span></p></td>
|
2464
|
+
<td>the "name" of the option (eg, <code class="literal">SO_BROADCAST</code>)</td>
|
2465
|
+
</tr>
|
2466
|
+
<tr>
|
2467
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2468
|
+
<td>the value to set the option to</td>
|
2469
|
+
</tr>
|
2470
|
+
<tr>
|
2471
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2472
|
+
<td>
|
2473
|
+
<a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
2474
|
+
</tr>
|
2475
|
+
<tr>
|
2476
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2477
|
+
<td>success or failure. On failure, <em class="parameter"><code>error</code></em> will be set, and
|
2478
|
+
the system error value (<code class="literal">errno</code> or
|
2479
|
+
<code class="literal"><code class="function">WSAGetLastError()</code></code>) will still be set to the
|
2480
|
+
result of the <code class="literal"><code class="function">setsockopt()</code></code> call.</td>
|
2481
|
+
</tr>
|
2482
|
+
</tbody>
|
2483
|
+
</table></div>
|
2484
|
+
<p class="since">Since 2.36</p>
|
2485
|
+
</div>
|
2486
|
+
<hr>
|
2487
|
+
<div class="refsect2">
|
2005
2488
|
<a name="g-socket-get-family"></a><h3>g_socket_get_family ()</h3>
|
2006
|
-
<pre class="programlisting"><a class="link" href="GSocketAddress.html#GSocketFamily"><span class="returnvalue">GSocketFamily</span></a> g_socket_get_family (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2489
|
+
<pre class="programlisting"><a class="link" href="GSocketAddress.html#GSocketFamily" title="enum GSocketFamily"><span class="returnvalue">GSocketFamily</span></a> g_socket_get_family (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2007
2490
|
<p>
|
2008
2491
|
Gets the socket family of the socket.
|
2009
2492
|
</p>
|
2010
|
-
<div class="variablelist"><table border="0">
|
2493
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2494
|
+
<colgroup>
|
2011
2495
|
<col align="left" valign="top">
|
2496
|
+
<col>
|
2497
|
+
</colgroup>
|
2012
2498
|
<tbody>
|
2013
2499
|
<tr>
|
2014
2500
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -2016,7 +2502,7 @@ Gets the socket family of the socket.
|
|
2016
2502
|
</tr>
|
2017
2503
|
<tr>
|
2018
2504
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2019
|
-
<td>a <a class="link" href="GSocketAddress.html#GSocketFamily"><span class="type">GSocketFamily</span></a>
|
2505
|
+
<td>a <a class="link" href="GSocketAddress.html#GSocketFamily" title="enum GSocketFamily"><span class="type">GSocketFamily</span></a>
|
2020
2506
|
</td>
|
2021
2507
|
</tr>
|
2022
2508
|
</tbody>
|
@@ -2029,13 +2515,16 @@ Gets the socket family of the socket.
|
|
2029
2515
|
<pre class="programlisting"><span class="returnvalue">int</span> g_socket_get_fd (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2030
2516
|
<p>
|
2031
2517
|
Returns the underlying OS socket object. On unix this
|
2032
|
-
is a socket file descriptor, and on
|
2518
|
+
is a socket file descriptor, and on Windows this is
|
2033
2519
|
a Winsock2 SOCKET handle. This may be useful for
|
2034
2520
|
doing platform specific or otherwise unusual operations
|
2035
2521
|
on the socket.
|
2036
2522
|
</p>
|
2037
|
-
<div class="variablelist"><table border="0">
|
2523
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2524
|
+
<colgroup>
|
2038
2525
|
<col align="left" valign="top">
|
2526
|
+
<col>
|
2527
|
+
</colgroup>
|
2039
2528
|
<tbody>
|
2040
2529
|
<tr>
|
2041
2530
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -2052,15 +2541,18 @@ on the socket.
|
|
2052
2541
|
<hr>
|
2053
2542
|
<div class="refsect2">
|
2054
2543
|
<a name="g-socket-get-local-address"></a><h3>g_socket_get_local_address ()</h3>
|
2055
|
-
<pre class="programlisting"><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> *
|
2056
|
-
<em class="parameter"><code><a href="
|
2544
|
+
<pre class="programlisting"><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> * g_socket_get_local_address (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2545
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2057
2546
|
<p>
|
2058
2547
|
Try to get the local address of a bound socket. This is only
|
2059
2548
|
useful if the socket has been bound to a local address,
|
2060
2549
|
either explicitly or implicitly when connecting.
|
2061
2550
|
</p>
|
2062
|
-
<div class="variablelist"><table border="0">
|
2551
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2552
|
+
<colgroup>
|
2063
2553
|
<col align="left" valign="top">
|
2554
|
+
<col>
|
2555
|
+
</colgroup>
|
2064
2556
|
<tbody>
|
2065
2557
|
<tr>
|
2066
2558
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -2069,12 +2561,12 @@ either explicitly or implicitly when connecting.
|
|
2069
2561
|
<tr>
|
2070
2562
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2071
2563
|
<td>
|
2072
|
-
<a href="
|
2564
|
+
<a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
2073
2565
|
</tr>
|
2074
2566
|
<tr>
|
2075
2567
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2076
|
-
<td>a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> or <a href="
|
2077
|
-
Free the returned object with <a href="
|
2568
|
+
<td>a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
|
2569
|
+
Free the returned object with <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2078
2570
|
</td>
|
2079
2571
|
</tr>
|
2080
2572
|
</tbody>
|
@@ -2084,13 +2576,16 @@ Free the returned object with <a href="http://library.gnome.org/devel/gobject/un
|
|
2084
2576
|
<hr>
|
2085
2577
|
<div class="refsect2">
|
2086
2578
|
<a name="g-socket-get-protocol"></a><h3>g_socket_get_protocol ()</h3>
|
2087
|
-
<pre class="programlisting"><a class="link" href="GSocket.html#GSocketProtocol"><span class="returnvalue">GSocketProtocol</span></a> g_socket_get_protocol (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2579
|
+
<pre class="programlisting"><a class="link" href="GSocket.html#GSocketProtocol" title="enum GSocketProtocol"><span class="returnvalue">GSocketProtocol</span></a> g_socket_get_protocol (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2088
2580
|
<p>
|
2089
2581
|
Gets the socket protocol id the socket was created with.
|
2090
2582
|
In case the protocol is unknown, -1 is returned.
|
2091
2583
|
</p>
|
2092
|
-
<div class="variablelist"><table border="0">
|
2584
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2585
|
+
<colgroup>
|
2093
2586
|
<col align="left" valign="top">
|
2587
|
+
<col>
|
2588
|
+
</colgroup>
|
2094
2589
|
<tbody>
|
2095
2590
|
<tr>
|
2096
2591
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -2107,14 +2602,17 @@ In case the protocol is unknown, -1 is returned.
|
|
2107
2602
|
<hr>
|
2108
2603
|
<div class="refsect2">
|
2109
2604
|
<a name="g-socket-get-remote-address"></a><h3>g_socket_get_remote_address ()</h3>
|
2110
|
-
<pre class="programlisting"><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> *
|
2111
|
-
<em class="parameter"><code><a href="
|
2605
|
+
<pre class="programlisting"><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> * g_socket_get_remote_address (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2606
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2112
2607
|
<p>
|
2113
2608
|
Try to get the remove address of a connected socket. This is only
|
2114
2609
|
useful for connection oriented sockets that have been connected.
|
2115
2610
|
</p>
|
2116
|
-
<div class="variablelist"><table border="0">
|
2611
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2612
|
+
<colgroup>
|
2117
2613
|
<col align="left" valign="top">
|
2614
|
+
<col>
|
2615
|
+
</colgroup>
|
2118
2616
|
<tbody>
|
2119
2617
|
<tr>
|
2120
2618
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -2123,12 +2621,12 @@ useful for connection oriented sockets that have been connected.
|
|
2123
2621
|
<tr>
|
2124
2622
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2125
2623
|
<td>
|
2126
|
-
<a href="
|
2624
|
+
<a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
2127
2625
|
</tr>
|
2128
2626
|
<tr>
|
2129
2627
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2130
|
-
<td>a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> or <a href="
|
2131
|
-
Free the returned object with <a href="
|
2628
|
+
<td>a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
|
2629
|
+
Free the returned object with <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2132
2630
|
</td>
|
2133
2631
|
</tr>
|
2134
2632
|
</tbody>
|
@@ -2138,12 +2636,15 @@ Free the returned object with <a href="http://library.gnome.org/devel/gobject/un
|
|
2138
2636
|
<hr>
|
2139
2637
|
<div class="refsect2">
|
2140
2638
|
<a name="g-socket-get-socket-type"></a><h3>g_socket_get_socket_type ()</h3>
|
2141
|
-
<pre class="programlisting"><a class="link" href="GSocket.html#GSocketType"><span class="returnvalue">GSocketType</span></a> g_socket_get_socket_type (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2639
|
+
<pre class="programlisting"><a class="link" href="GSocket.html#GSocketType" title="enum GSocketType"><span class="returnvalue">GSocketType</span></a> g_socket_get_socket_type (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2142
2640
|
<p>
|
2143
2641
|
Gets the socket type of the socket.
|
2144
2642
|
</p>
|
2145
|
-
<div class="variablelist"><table border="0">
|
2643
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2644
|
+
<colgroup>
|
2146
2645
|
<col align="left" valign="top">
|
2646
|
+
<col>
|
2647
|
+
</colgroup>
|
2147
2648
|
<tbody>
|
2148
2649
|
<tr>
|
2149
2650
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -2151,7 +2652,7 @@ Gets the socket type of the socket.
|
|
2151
2652
|
</tr>
|
2152
2653
|
<tr>
|
2153
2654
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2154
|
-
<td>a <a class="link" href="GSocket.html#GSocketType"><span class="type">GSocketType</span></a>
|
2655
|
+
<td>a <a class="link" href="GSocket.html#GSocketType" title="enum GSocketType"><span class="type">GSocketType</span></a>
|
2155
2656
|
</td>
|
2156
2657
|
</tr>
|
2157
2658
|
</tbody>
|
@@ -2161,7 +2662,7 @@ Gets the socket type of the socket.
|
|
2161
2662
|
<hr>
|
2162
2663
|
<div class="refsect2">
|
2163
2664
|
<a name="g-socket-speaks-ipv4"></a><h3>g_socket_speaks_ipv4 ()</h3>
|
2164
|
-
<pre class="programlisting"><a href="
|
2665
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_socket_speaks_ipv4 (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2165
2666
|
<p>
|
2166
2667
|
Checks if a socket is capable of speaking IPv4.
|
2167
2668
|
</p>
|
@@ -2175,8 +2676,11 @@ information.
|
|
2175
2676
|
No other types of sockets are currently considered as being capable
|
2176
2677
|
of speaking IPv4.
|
2177
2678
|
</p>
|
2178
|
-
<div class="variablelist"><table border="0">
|
2679
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2680
|
+
<colgroup>
|
2179
2681
|
<col align="left" valign="top">
|
2682
|
+
<col>
|
2683
|
+
</colgroup>
|
2180
2684
|
<tbody>
|
2181
2685
|
<tr>
|
2182
2686
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -2186,7 +2690,7 @@ of speaking IPv4.
|
|
2186
2690
|
<tr>
|
2187
2691
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2188
2692
|
<td>
|
2189
|
-
<a href="
|
2693
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if this socket can be used with IPv4.</td>
|
2190
2694
|
</tr>
|
2191
2695
|
</tbody>
|
2192
2696
|
</table></div>
|
@@ -2196,7 +2700,7 @@ of speaking IPv4.
|
|
2196
2700
|
<div class="refsect2">
|
2197
2701
|
<a name="g-socket-get-credentials"></a><h3>g_socket_get_credentials ()</h3>
|
2198
2702
|
<pre class="programlisting"><a class="link" href="GCredentials.html" title="GCredentials"><span class="returnvalue">GCredentials</span></a> * g_socket_get_credentials (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2199
|
-
<em class="parameter"><code><a href="
|
2703
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2200
2704
|
<p>
|
2201
2705
|
Returns the credentials of the foreign process connected to this
|
2202
2706
|
socket, if any (e.g. it is only supported for <a class="link" href="GSocketAddress.html#G-SOCKET-FAMILY-UNIX:CAPS"><code class="literal">G_SOCKET_FAMILY_UNIX</code></a>
|
@@ -2213,8 +2717,11 @@ Other ways to obtain credentials from a foreign peer includes the
|
|
2213
2717
|
<a class="link" href="GUnixConnection.html#g-unix-connection-send-credentials" title="g_unix_connection_send_credentials ()"><code class="function">g_unix_connection_send_credentials()</code></a> /
|
2214
2718
|
<a class="link" href="GUnixConnection.html#g-unix-connection-receive-credentials" title="g_unix_connection_receive_credentials ()"><code class="function">g_unix_connection_receive_credentials()</code></a> functions.
|
2215
2719
|
</p>
|
2216
|
-
<div class="variablelist"><table border="0">
|
2720
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2721
|
+
<colgroup>
|
2217
2722
|
<col align="left" valign="top">
|
2723
|
+
<col>
|
2724
|
+
</colgroup>
|
2218
2725
|
<tbody>
|
2219
2726
|
<tr>
|
2220
2727
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
@@ -2223,53 +2730,292 @@ Other ways to obtain credentials from a foreign peer includes the
|
|
2223
2730
|
<tr>
|
2224
2731
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2225
2732
|
<td>
|
2226
|
-
<a href="
|
2733
|
+
<a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
2227
2734
|
</tr>
|
2228
2735
|
<tr>
|
2229
2736
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2230
2737
|
<td>
|
2231
|
-
<a href="
|
2232
|
-
that must be freed with <a href="
|
2738
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em> is set, otherwise a <a class="link" href="GCredentials.html" title="GCredentials"><span class="type">GCredentials</span></a> object
|
2739
|
+
that must be freed with <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2233
2740
|
</td>
|
2234
2741
|
</tr>
|
2235
2742
|
</tbody>
|
2236
2743
|
</table></div>
|
2237
2744
|
<p class="since">Since 2.26</p>
|
2238
2745
|
</div>
|
2746
|
+
<hr>
|
2747
|
+
<div class="refsect2">
|
2748
|
+
<a name="g-socket-join-multicast-group"></a><h3>g_socket_join_multicast_group ()</h3>
|
2749
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_socket_join_multicast_group (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2750
|
+
<em class="parameter"><code><a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> *group</code></em>,
|
2751
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> source_specific</code></em>,
|
2752
|
+
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *iface</code></em>,
|
2753
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2754
|
+
<p>
|
2755
|
+
Registers <em class="parameter"><code>socket</code></em> to receive multicast messages sent to <em class="parameter"><code>group</code></em>.
|
2756
|
+
<em class="parameter"><code>socket</code></em> must be a <a class="link" href="GSocket.html#G-SOCKET-TYPE-DATAGRAM:CAPS"><code class="literal">G_SOCKET_TYPE_DATAGRAM</code></a> socket, and must have
|
2757
|
+
been bound to an appropriate interface and port with
|
2758
|
+
<a class="link" href="GSocket.html#g-socket-bind" title="g_socket_bind ()"><code class="function">g_socket_bind()</code></a>.
|
2759
|
+
</p>
|
2760
|
+
<p>
|
2761
|
+
If <em class="parameter"><code>iface</code></em> is <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the system will automatically pick an interface
|
2762
|
+
to bind to based on <em class="parameter"><code>group</code></em>.
|
2763
|
+
</p>
|
2764
|
+
<p>
|
2765
|
+
If <em class="parameter"><code>source_specific</code></em> is <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, source-specific multicast as defined
|
2766
|
+
in RFC 4604 is used. Note that on older platforms this may fail
|
2767
|
+
with a <a class="link" href="gio-GIOError.html#G-IO-ERROR-NOT-SUPPORTED:CAPS"><code class="literal">G_IO_ERROR_NOT_SUPPORTED</code></a> error.
|
2768
|
+
</p>
|
2769
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2770
|
+
<colgroup>
|
2771
|
+
<col align="left" valign="top">
|
2772
|
+
<col>
|
2773
|
+
</colgroup>
|
2774
|
+
<tbody>
|
2775
|
+
<tr>
|
2776
|
+
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
2777
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
2778
|
+
</tr>
|
2779
|
+
<tr>
|
2780
|
+
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
|
2781
|
+
<td>a <a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> specifying the group address to join.</td>
|
2782
|
+
</tr>
|
2783
|
+
<tr>
|
2784
|
+
<td><p><span class="term"><em class="parameter"><code>iface</code></em> :</span></p></td>
|
2785
|
+
<td>Name of the interface to use, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2786
|
+
</td>
|
2787
|
+
</tr>
|
2788
|
+
<tr>
|
2789
|
+
<td><p><span class="term"><em class="parameter"><code>source_specific</code></em> :</span></p></td>
|
2790
|
+
<td>
|
2791
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if source-specific multicast should be used</td>
|
2792
|
+
</tr>
|
2793
|
+
<tr>
|
2794
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2795
|
+
<td>
|
2796
|
+
<a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
2797
|
+
</tr>
|
2798
|
+
<tr>
|
2799
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2800
|
+
<td>
|
2801
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error.</td>
|
2802
|
+
</tr>
|
2803
|
+
</tbody>
|
2804
|
+
</table></div>
|
2805
|
+
<p class="since">Since 2.32</p>
|
2806
|
+
</div>
|
2807
|
+
<hr>
|
2808
|
+
<div class="refsect2">
|
2809
|
+
<a name="g-socket-leave-multicast-group"></a><h3>g_socket_leave_multicast_group ()</h3>
|
2810
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_socket_leave_multicast_group (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2811
|
+
<em class="parameter"><code><a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> *group</code></em>,
|
2812
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> source_specific</code></em>,
|
2813
|
+
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *iface</code></em>,
|
2814
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2815
|
+
<p>
|
2816
|
+
Removes <em class="parameter"><code>socket</code></em> from the multicast group defined by <em class="parameter"><code>group</code></em>, <em class="parameter"><code>iface</code></em>,
|
2817
|
+
and <em class="parameter"><code>source_specific</code></em> (which must all have the same values they had
|
2818
|
+
when you joined the group).
|
2819
|
+
</p>
|
2820
|
+
<p>
|
2821
|
+
<em class="parameter"><code>socket</code></em> remains bound to its address and port, and can still receive
|
2822
|
+
unicast messages after calling this.
|
2823
|
+
</p>
|
2824
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2825
|
+
<colgroup>
|
2826
|
+
<col align="left" valign="top">
|
2827
|
+
<col>
|
2828
|
+
</colgroup>
|
2829
|
+
<tbody>
|
2830
|
+
<tr>
|
2831
|
+
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
2832
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
2833
|
+
</tr>
|
2834
|
+
<tr>
|
2835
|
+
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
|
2836
|
+
<td>a <a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> specifying the group address to leave.</td>
|
2837
|
+
</tr>
|
2838
|
+
<tr>
|
2839
|
+
<td><p><span class="term"><em class="parameter"><code>iface</code></em> :</span></p></td>
|
2840
|
+
<td>Interface used. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2841
|
+
</td>
|
2842
|
+
</tr>
|
2843
|
+
<tr>
|
2844
|
+
<td><p><span class="term"><em class="parameter"><code>source_specific</code></em> :</span></p></td>
|
2845
|
+
<td>
|
2846
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if source-specific multicast was used</td>
|
2847
|
+
</tr>
|
2848
|
+
<tr>
|
2849
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2850
|
+
<td>
|
2851
|
+
<a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
2852
|
+
</tr>
|
2853
|
+
<tr>
|
2854
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2855
|
+
<td>
|
2856
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error.</td>
|
2857
|
+
</tr>
|
2858
|
+
</tbody>
|
2859
|
+
</table></div>
|
2860
|
+
<p class="since">Since 2.32</p>
|
2861
|
+
</div>
|
2862
|
+
<hr>
|
2863
|
+
<div class="refsect2">
|
2864
|
+
<a name="g-socket-get-multicast-loopback"></a><h3>g_socket_get_multicast_loopback ()</h3>
|
2865
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_socket_get_multicast_loopback (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2866
|
+
<p>
|
2867
|
+
Gets the multicast loopback setting on <em class="parameter"><code>socket</code></em>; if <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> (the
|
2868
|
+
default), outgoing multicast packets will be looped back to
|
2869
|
+
multicast listeners on the same host.
|
2870
|
+
</p>
|
2871
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2872
|
+
<colgroup>
|
2873
|
+
<col align="left" valign="top">
|
2874
|
+
<col>
|
2875
|
+
</colgroup>
|
2876
|
+
<tbody>
|
2877
|
+
<tr>
|
2878
|
+
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
2879
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
2880
|
+
</tr>
|
2881
|
+
<tr>
|
2882
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2883
|
+
<td>the multicast loopback setting on <em class="parameter"><code>socket</code></em>
|
2884
|
+
</td>
|
2885
|
+
</tr>
|
2886
|
+
</tbody>
|
2887
|
+
</table></div>
|
2888
|
+
<p class="since">Since 2.32</p>
|
2889
|
+
</div>
|
2890
|
+
<hr>
|
2891
|
+
<div class="refsect2">
|
2892
|
+
<a name="g-socket-set-multicast-loopback"></a><h3>g_socket_set_multicast_loopback ()</h3>
|
2893
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_socket_set_multicast_loopback (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2894
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> loopback</code></em>);</pre>
|
2895
|
+
<p>
|
2896
|
+
Sets whether outgoing multicast packets will be received by sockets
|
2897
|
+
listening on that multicast address on the same host. This is <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
|
2898
|
+
by default.
|
2899
|
+
</p>
|
2900
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2901
|
+
<colgroup>
|
2902
|
+
<col align="left" valign="top">
|
2903
|
+
<col>
|
2904
|
+
</colgroup>
|
2905
|
+
<tbody>
|
2906
|
+
<tr>
|
2907
|
+
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
2908
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
2909
|
+
</tr>
|
2910
|
+
<tr>
|
2911
|
+
<td><p><span class="term"><em class="parameter"><code>loopback</code></em> :</span></p></td>
|
2912
|
+
<td>whether <em class="parameter"><code>socket</code></em> should receive messages sent to its
|
2913
|
+
multicast groups from the local host</td>
|
2914
|
+
</tr>
|
2915
|
+
</tbody>
|
2916
|
+
</table></div>
|
2917
|
+
<p class="since">Since 2.32</p>
|
2918
|
+
</div>
|
2919
|
+
<hr>
|
2920
|
+
<div class="refsect2">
|
2921
|
+
<a name="g-socket-get-multicast-ttl"></a><h3>g_socket_get_multicast_ttl ()</h3>
|
2922
|
+
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_socket_get_multicast_ttl (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2923
|
+
<p>
|
2924
|
+
Gets the multicast time-to-live setting on <em class="parameter"><code>socket</code></em>; see
|
2925
|
+
<a class="link" href="GSocket.html#g-socket-set-multicast-ttl" title="g_socket_set_multicast_ttl ()"><code class="function">g_socket_set_multicast_ttl()</code></a> for more details.
|
2926
|
+
</p>
|
2927
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2928
|
+
<colgroup>
|
2929
|
+
<col align="left" valign="top">
|
2930
|
+
<col>
|
2931
|
+
</colgroup>
|
2932
|
+
<tbody>
|
2933
|
+
<tr>
|
2934
|
+
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
2935
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
2936
|
+
</tr>
|
2937
|
+
<tr>
|
2938
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2939
|
+
<td>the multicast time-to-live setting on <em class="parameter"><code>socket</code></em>
|
2940
|
+
</td>
|
2941
|
+
</tr>
|
2942
|
+
</tbody>
|
2943
|
+
</table></div>
|
2944
|
+
<p class="since">Since 2.32</p>
|
2945
|
+
</div>
|
2946
|
+
<hr>
|
2947
|
+
<div class="refsect2">
|
2948
|
+
<a name="g-socket-set-multicast-ttl"></a><h3>g_socket_set_multicast_ttl ()</h3>
|
2949
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_socket_set_multicast_ttl (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2950
|
+
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> ttl</code></em>);</pre>
|
2951
|
+
<p>
|
2952
|
+
Sets the time-to-live for outgoing multicast datagrams on <em class="parameter"><code>socket</code></em>.
|
2953
|
+
By default, this is 1, meaning that multicast packets will not leave
|
2954
|
+
the local network.
|
2955
|
+
</p>
|
2956
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2957
|
+
<colgroup>
|
2958
|
+
<col align="left" valign="top">
|
2959
|
+
<col>
|
2960
|
+
</colgroup>
|
2961
|
+
<tbody>
|
2962
|
+
<tr>
|
2963
|
+
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
2964
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
2965
|
+
</tr>
|
2966
|
+
<tr>
|
2967
|
+
<td><p><span class="term"><em class="parameter"><code>ttl</code></em> :</span></p></td>
|
2968
|
+
<td>the time-to-live value for all multicast datagrams on <em class="parameter"><code>socket</code></em>
|
2969
|
+
</td>
|
2970
|
+
</tr>
|
2971
|
+
</tbody>
|
2972
|
+
</table></div>
|
2973
|
+
<p class="since">Since 2.32</p>
|
2974
|
+
</div>
|
2239
2975
|
</div>
|
2240
2976
|
<div class="refsect1">
|
2241
2977
|
<a name="GSocket.property-details"></a><h2>Property Details</h2>
|
2242
2978
|
<div class="refsect2">
|
2243
2979
|
<a name="GSocket--blocking"></a><h3>The <code class="literal">"blocking"</code> property</h3>
|
2244
|
-
<pre class="programlisting"> "blocking" <a href="
|
2980
|
+
<pre class="programlisting"> "blocking" <a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
2245
2981
|
<p>Whether or not I/O on this socket is blocking.</p>
|
2246
2982
|
<p>Default value: TRUE</p>
|
2247
2983
|
</div>
|
2248
2984
|
<hr>
|
2249
2985
|
<div class="refsect2">
|
2986
|
+
<a name="GSocket--broadcast"></a><h3>The <code class="literal">"broadcast"</code> property</h3>
|
2987
|
+
<pre class="programlisting"> "broadcast" <a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
2988
|
+
<p>
|
2989
|
+
Whether the socket should allow sending to and receiving from broadcast addresses.
|
2990
|
+
</p>
|
2991
|
+
<p>Default value: FALSE</p>
|
2992
|
+
<p class="since">Since 2.32</p>
|
2993
|
+
</div>
|
2994
|
+
<hr>
|
2995
|
+
<div class="refsect2">
|
2250
2996
|
<a name="GSocket--family"></a><h3>The <code class="literal">"family"</code> property</h3>
|
2251
|
-
<pre class="programlisting"> "family" <a class="link" href="GSocketAddress.html#GSocketFamily"><span class="type">GSocketFamily</span></a> : Read / Write / Construct Only</pre>
|
2997
|
+
<pre class="programlisting"> "family" <a class="link" href="GSocketAddress.html#GSocketFamily" title="enum GSocketFamily"><span class="type">GSocketFamily</span></a> : Read / Write / Construct Only</pre>
|
2252
2998
|
<p>The sockets address family.</p>
|
2253
2999
|
<p>Default value: G_SOCKET_FAMILY_INVALID</p>
|
2254
3000
|
</div>
|
2255
3001
|
<hr>
|
2256
3002
|
<div class="refsect2">
|
2257
3003
|
<a name="GSocket--fd"></a><h3>The <code class="literal">"fd"</code> property</h3>
|
2258
|
-
<pre class="programlisting"> "fd" <a href="
|
3004
|
+
<pre class="programlisting"> "fd" <a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write / Construct Only</pre>
|
2259
3005
|
<p>The sockets file descriptor.</p>
|
2260
3006
|
<p>Default value: -1</p>
|
2261
3007
|
</div>
|
2262
3008
|
<hr>
|
2263
3009
|
<div class="refsect2">
|
2264
3010
|
<a name="GSocket--keepalive"></a><h3>The <code class="literal">"keepalive"</code> property</h3>
|
2265
|
-
<pre class="programlisting"> "keepalive" <a href="
|
3011
|
+
<pre class="programlisting"> "keepalive" <a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
2266
3012
|
<p>Keep connection alive by sending periodic pings.</p>
|
2267
3013
|
<p>Default value: FALSE</p>
|
2268
3014
|
</div>
|
2269
3015
|
<hr>
|
2270
3016
|
<div class="refsect2">
|
2271
3017
|
<a name="GSocket--listen-backlog"></a><h3>The <code class="literal">"listen-backlog"</code> property</h3>
|
2272
|
-
<pre class="programlisting"> "listen-backlog" <a href="
|
3018
|
+
<pre class="programlisting"> "listen-backlog" <a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
|
2273
3019
|
<p>Outstanding connections in the listen queue.</p>
|
2274
3020
|
<p>Allowed values: [0,128]</p>
|
2275
3021
|
<p>Default value: 10</p>
|
@@ -2282,8 +3028,28 @@ that must be freed with <a href="http://library.gnome.org/devel/gobject/unstable
|
|
2282
3028
|
</div>
|
2283
3029
|
<hr>
|
2284
3030
|
<div class="refsect2">
|
3031
|
+
<a name="GSocket--multicast-loopback"></a><h3>The <code class="literal">"multicast-loopback"</code> property</h3>
|
3032
|
+
<pre class="programlisting"> "multicast-loopback" <a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
3033
|
+
<p>
|
3034
|
+
Whether outgoing multicast packets loop back to the local host.
|
3035
|
+
</p>
|
3036
|
+
<p>Default value: TRUE</p>
|
3037
|
+
<p class="since">Since 2.32</p>
|
3038
|
+
</div>
|
3039
|
+
<hr>
|
3040
|
+
<div class="refsect2">
|
3041
|
+
<a name="GSocket--multicast-ttl"></a><h3>The <code class="literal">"multicast-ttl"</code> property</h3>
|
3042
|
+
<pre class="programlisting"> "multicast-ttl" <a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write</pre>
|
3043
|
+
<p>
|
3044
|
+
Time-to-live out outgoing multicast packets
|
3045
|
+
</p>
|
3046
|
+
<p>Default value: 1</p>
|
3047
|
+
<p class="since">Since 2.32</p>
|
3048
|
+
</div>
|
3049
|
+
<hr>
|
3050
|
+
<div class="refsect2">
|
2285
3051
|
<a name="GSocket--protocol"></a><h3>The <code class="literal">"protocol"</code> property</h3>
|
2286
|
-
<pre class="programlisting"> "protocol" <a class="link" href="GSocket.html#GSocketProtocol"><span class="type">GSocketProtocol</span></a> : Read / Write / Construct Only</pre>
|
3052
|
+
<pre class="programlisting"> "protocol" <a class="link" href="GSocket.html#GSocketProtocol" title="enum GSocketProtocol"><span class="type">GSocketProtocol</span></a> : Read / Write / Construct Only</pre>
|
2287
3053
|
<p>The id of the protocol to use, or -1 for unknown.</p>
|
2288
3054
|
<p>Default value: G_SOCKET_PROTOCOL_UNKNOWN</p>
|
2289
3055
|
</div>
|
@@ -2296,7 +3062,7 @@ that must be freed with <a href="http://library.gnome.org/devel/gobject/unstable
|
|
2296
3062
|
<hr>
|
2297
3063
|
<div class="refsect2">
|
2298
3064
|
<a name="GSocket--timeout"></a><h3>The <code class="literal">"timeout"</code> property</h3>
|
2299
|
-
<pre class="programlisting"> "timeout" <a href="
|
3065
|
+
<pre class="programlisting"> "timeout" <a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write</pre>
|
2300
3066
|
<p>
|
2301
3067
|
The timeout in seconds on socket I/O
|
2302
3068
|
</p>
|
@@ -2305,19 +3071,29 @@ The timeout in seconds on socket I/O
|
|
2305
3071
|
</div>
|
2306
3072
|
<hr>
|
2307
3073
|
<div class="refsect2">
|
3074
|
+
<a name="GSocket--ttl"></a><h3>The <code class="literal">"ttl"</code> property</h3>
|
3075
|
+
<pre class="programlisting"> "ttl" <a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write</pre>
|
3076
|
+
<p>
|
3077
|
+
Time-to-live for outgoing unicast packets
|
3078
|
+
</p>
|
3079
|
+
<p>Default value: 0</p>
|
3080
|
+
<p class="since">Since 2.32</p>
|
3081
|
+
</div>
|
3082
|
+
<hr>
|
3083
|
+
<div class="refsect2">
|
2308
3084
|
<a name="GSocket--type"></a><h3>The <code class="literal">"type"</code> property</h3>
|
2309
|
-
<pre class="programlisting"> "type" <a class="link" href="GSocket.html#GSocketType"><span class="type">GSocketType</span></a> : Read / Write / Construct Only</pre>
|
3085
|
+
<pre class="programlisting"> "type" <a class="link" href="GSocket.html#GSocketType" title="enum GSocketType"><span class="type">GSocketType</span></a> : Read / Write / Construct Only</pre>
|
2310
3086
|
<p>The sockets type.</p>
|
2311
3087
|
<p>Default value: G_SOCKET_TYPE_STREAM</p>
|
2312
3088
|
</div>
|
2313
3089
|
</div>
|
2314
3090
|
<div class="refsect1">
|
2315
3091
|
<a name="GSocket.see-also"></a><h2>See Also</h2>
|
2316
|
-
<a class="link" href="GInitable.html" title="GInitable"><span class="type">GInitable</span></a>
|
3092
|
+
<a class="link" href="GInitable.html" title="GInitable"><span class="type">GInitable</span></a>, <a class="link" href="gio-gnetworking.h.html" title="gnetworking.h">gnetworking.h</a>
|
2317
3093
|
</div>
|
2318
3094
|
</div>
|
2319
3095
|
<div class="footer">
|
2320
3096
|
<hr>
|
2321
|
-
Generated by GTK-Doc V1.
|
3097
|
+
Generated by GTK-Doc V1.18</div>
|
2322
3098
|
</body>
|
2323
3099
|
</html>
|