glib2 1.2.5-x86-mingw32 → 1.2.6-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +3 -3
- data/ext/glib2/rbglib.c +0 -1
- data/ext/glib2/rbglib.h +1 -1
- data/ext/glib2/rbglib2conversions.h +0 -2
- data/ext/glib2/rbglib_source.c +9 -6
- data/ext/glib2/rbgobj_closure.c +4 -2
- data/ext/glib2/rbgprivate.h +0 -1
- data/lib/1.9/glib2.so +0 -0
- data/lib/2.0/glib2.so +0 -0
- data/lib/glib-mkenums.rb +1 -3
- data/lib/gnome2-raketask.rb +3 -0
- data/lib/gnome2-win32-binary-build-task.rb +4 -2
- data/test/test_source.rb +29 -0
- data/vendor/local/bin/certtool.exe +0 -0
- data/vendor/local/bin/danetool.exe +0 -0
- data/vendor/local/bin/gdbus-codegen +1 -1
- 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 +1 -1
- data/vendor/local/bin/glib-mkenums +1 -1
- 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/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 +837 -803
- 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 +200 -194
- data/vendor/local/bin/libgnutls-xssl-0.dll +0 -0
- data/vendor/local/bin/libgnutls-xssl-28.def +176 -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/include/gio-win32-2.0/gio/gwin32inputstream.h +5 -0
- data/vendor/local/include/gio-win32-2.0/gio/gwin32outputstream.h +5 -0
- data/vendor/local/include/glib-2.0/gio/gaction.h +11 -3
- data/vendor/local/include/glib-2.0/gio/gactiongroup.h +17 -3
- data/vendor/local/include/glib-2.0/gio/gactiongroupexporter.h +3 -3
- data/vendor/local/include/glib-2.0/gio/gactionmap.h +7 -3
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +43 -4
- data/vendor/local/include/glib-2.0/gio/gapplication.h +41 -3
- data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +27 -8
- data/vendor/local/include/glib-2.0/gio/gasyncinitable.h +10 -3
- data/vendor/local/include/glib-2.0/gio/gasyncresult.h +7 -4
- data/vendor/local/include/glib-2.0/gio/gbufferedinputstream.h +15 -3
- data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +10 -3
- data/vendor/local/include/glib-2.0/gio/gcancellable.h +18 -3
- data/vendor/local/include/glib-2.0/gio/gcharsetconverter.h +8 -3
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +15 -3
- data/vendor/local/include/glib-2.0/gio/gconverter.h +6 -3
- data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +6 -3
- data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +6 -3
- data/vendor/local/include/glib-2.0/gio/gcredentials.h +14 -3
- data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +25 -3
- data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +15 -3
- data/vendor/local/include/glib-2.0/gio/gdbusactiongroup.h +4 -3
- data/vendor/local/include/glib-2.0/gio/gdbusaddress.h +12 -3
- data/vendor/local/include/glib-2.0/gio/gdbusauthobserver.h +6 -3
- data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +44 -3
- data/vendor/local/include/glib-2.0/gio/gdbuserror.h +16 -5
- data/vendor/local/include/glib-2.0/gio/gdbusinterface.h +4 -0
- data/vendor/local/include/glib-2.0/gio/gdbusinterfaceskeleton.h +14 -0
- data/vendor/local/include/glib-2.0/gio/gdbusintrospection.h +34 -3
- data/vendor/local/include/glib-2.0/gio/gdbusmenumodel.h +2 -0
- data/vendor/local/include/glib-2.0/gio/gdbusmessage.h +53 -3
- data/vendor/local/include/glib-2.0/gio/gdbusmethodinvocation.h +24 -5
- data/vendor/local/include/glib-2.0/gio/gdbusnameowning.h +8 -3
- data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +14 -4
- data/vendor/local/include/glib-2.0/gio/gdbusobject.h +4 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectmanager.h +5 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectmanagerclient.h +11 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectmanagerserver.h +8 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectproxy.h +3 -0
- data/vendor/local/include/glib-2.0/gio/gdbusobjectskeleton.h +7 -0
- data/vendor/local/include/glib-2.0/gio/gdbusproxy.h +29 -3
- data/vendor/local/include/glib-2.0/gio/gdbusserver.h +11 -3
- data/vendor/local/include/glib-2.0/gio/gdbusutils.h +11 -3
- data/vendor/local/include/glib-2.0/gio/gdrive.h +28 -3
- data/vendor/local/include/glib-2.0/gio/gemblem.h +8 -3
- data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +9 -3
- data/vendor/local/include/glib-2.0/gio/gfile.h +115 -3
- data/vendor/local/include/glib-2.0/gio/gfileattribute.h +10 -3
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +17 -3
- data/vendor/local/include/glib-2.0/gio/gfileicon.h +6 -3
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +77 -3
- data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +7 -3
- data/vendor/local/include/glib-2.0/gio/gfileiostream.h +8 -3
- data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +8 -3
- data/vendor/local/include/glib-2.0/gio/gfilenamecompleter.h +8 -3
- data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +8 -3
- data/vendor/local/include/glib-2.0/gio/gfilterinputstream.h +7 -3
- data/vendor/local/include/glib-2.0/gio/gfilteroutputstream.h +7 -3
- data/vendor/local/include/glib-2.0/gio/gicon.h +8 -3
- data/vendor/local/include/glib-2.0/gio/ginetaddress.h +23 -3
- data/vendor/local/include/glib-2.0/gio/ginetaddressmask.h +9 -3
- data/vendor/local/include/glib-2.0/gio/ginetsocketaddress.h +7 -3
- data/vendor/local/include/glib-2.0/gio/ginitable.h +8 -3
- data/vendor/local/include/glib-2.0/gio/ginputstream.h +18 -3
- data/vendor/local/include/glib-2.0/gio/gio.h +2 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +16 -10
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +70 -70
- data/vendor/local/include/glib-2.0/gio/gioerror.h +6 -3
- data/vendor/local/include/glib-2.0/gio/giomodule.h +26 -3
- data/vendor/local/include/glib-2.0/gio/gioscheduler.h +7 -3
- data/vendor/local/include/glib-2.0/gio/giostream.h +15 -3
- data/vendor/local/include/glib-2.0/gio/giotypes.h +4 -3
- data/vendor/local/include/glib-2.0/gio/gloadableicon.h +7 -3
- data/vendor/local/include/glib-2.0/gio/gmemoryinputstream.h +7 -3
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +11 -3
- data/vendor/local/include/glib-2.0/gio/gmenu.h +27 -0
- data/vendor/local/include/glib-2.0/gio/gmenumodel.h +83 -2
- data/vendor/local/include/glib-2.0/gio/gmount.h +27 -3
- data/vendor/local/include/glib-2.0/gio/gmountoperation.h +18 -3
- data/vendor/local/include/glib-2.0/gio/gnativevolumemonitor.h +4 -3
- data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +10 -3
- data/vendor/local/include/glib-2.0/gio/gnetworking.h +83 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkmonitor.h +7 -3
- data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +10 -3
- data/vendor/local/include/glib-2.0/gio/goutputstream.h +22 -3
- data/vendor/local/include/glib-2.0/gio/gpermission.h +14 -3
- data/vendor/local/include/glib-2.0/gio/gpollableinputstream.h +8 -3
- data/vendor/local/include/glib-2.0/gio/gpollableoutputstream.h +8 -3
- data/vendor/local/include/glib-2.0/gio/gpollableutils.h +4 -3
- data/vendor/local/include/glib-2.0/gio/gproxy.h +9 -3
- data/vendor/local/include/glib-2.0/gio/gproxyaddress.h +10 -3
- data/vendor/local/include/glib-2.0/gio/gproxyaddressenumerator.h +4 -3
- data/vendor/local/include/glib-2.0/gio/gproxyresolver.h +9 -3
- data/vendor/local/include/glib-2.0/gio/gremoteactiongroup.h +3 -3
- data/vendor/local/include/glib-2.0/gio/gresolver.h +18 -3
- data/vendor/local/include/glib-2.0/gio/gresource.h +5 -3
- data/vendor/local/include/glib-2.0/gio/gseekable.h +9 -3
- data/vendor/local/include/glib-2.0/gio/gsettings.h +47 -3
- data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +12 -0
- data/vendor/local/include/glib-2.0/gio/gsettingsschema.h +4 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +8 -3
- data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +9 -3
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +31 -5
- data/vendor/local/include/glib-2.0/gio/gsimplepermission.h +5 -3
- data/vendor/local/include/glib-2.0/gio/gsimpleproxyresolver.h +91 -0
- data/vendor/local/include/glib-2.0/gio/gsocket.h +56 -3
- data/vendor/local/include/glib-2.0/gio/gsocketaddress.h +8 -3
- data/vendor/local/include/glib-2.0/gio/gsocketaddressenumerator.h +7 -3
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +39 -3
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +6 -3
- data/vendor/local/include/glib-2.0/gio/gsocketconnection.h +10 -3
- data/vendor/local/include/glib-2.0/gio/gsocketcontrolmessage.h +9 -3
- data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +17 -3
- data/vendor/local/include/glib-2.0/gio/gsocketservice.h +8 -3
- data/vendor/local/include/glib-2.0/gio/gsrvtarget.h +12 -3
- data/vendor/local/include/glib-2.0/gio/gtask.h +160 -0
- data/vendor/local/include/glib-2.0/gio/gtcpconnection.h +6 -3
- data/vendor/local/include/glib-2.0/gio/gtcpwrapperconnection.h +6 -3
- data/vendor/local/include/glib-2.0/gio/gtestdbus.h +3 -3
- data/vendor/local/include/glib-2.0/gio/gthemedicon.h +10 -3
- data/vendor/local/include/glib-2.0/gio/gthreadedsocketservice.h +5 -3
- data/vendor/local/include/glib-2.0/gio/gtlsbackend.h +11 -3
- data/vendor/local/include/glib-2.0/gio/gtlscertificate.h +10 -3
- data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +12 -3
- data/vendor/local/include/glib-2.0/gio/gtlsconnection.h +21 -3
- data/vendor/local/include/glib-2.0/gio/gtlsdatabase.h +17 -3
- data/vendor/local/include/glib-2.0/gio/gtlsfiledatabase.h +5 -3
- data/vendor/local/include/glib-2.0/gio/gtlsinteraction.h +8 -3
- data/vendor/local/include/glib-2.0/gio/gtlspassword.h +14 -3
- data/vendor/local/include/glib-2.0/gio/gtlsserverconnection.h +5 -3
- data/vendor/local/include/glib-2.0/gio/gvfs.h +11 -3
- data/vendor/local/include/glib-2.0/gio/gvolume.h +20 -3
- data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +10 -3
- data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +7 -3
- data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +6 -3
- data/vendor/local/include/glib-2.0/glib-unix.h +33 -0
- data/vendor/local/include/glib-2.0/glib.h +2 -0
- data/vendor/local/include/glib-2.0/glib/deprecated/gallocator.h +3 -3
- data/vendor/local/include/glib-2.0/glib/deprecated/gcache.h +3 -3
- data/vendor/local/include/glib-2.0/glib/deprecated/gcompletion.h +3 -3
- data/vendor/local/include/glib-2.0/glib/deprecated/gmain.h +3 -3
- data/vendor/local/include/glib-2.0/glib/deprecated/grel.h +3 -3
- data/vendor/local/include/glib-2.0/glib/deprecated/gthread.h +5 -4
- data/vendor/local/include/glib-2.0/glib/galloca.h +3 -3
- data/vendor/local/include/glib-2.0/glib/garray.h +52 -3
- data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +23 -3
- data/vendor/local/include/glib-2.0/glib/gatomic.h +17 -5
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +5 -3
- data/vendor/local/include/glib-2.0/glib/gbase64.h +9 -3
- data/vendor/local/include/glib-2.0/glib/gbitlock.h +6 -0
- data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +43 -3
- data/vendor/local/include/glib-2.0/glib/gbytes.h +17 -3
- data/vendor/local/include/glib-2.0/glib/gcharset.h +7 -3
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +16 -4
- data/vendor/local/include/glib-2.0/glib/gconvert.h +48 -12
- data/vendor/local/include/glib-2.0/glib/gdataset.h +18 -3
- data/vendor/local/include/glib-2.0/glib/gdate.h +50 -3
- data/vendor/local/include/glib-2.0/glib/gdatetime.h +50 -3
- data/vendor/local/include/glib-2.0/glib/gdir.h +19 -11
- data/vendor/local/include/glib-2.0/glib/genviron.h +26 -11
- data/vendor/local/include/glib-2.0/glib/gerror.h +16 -4
- data/vendor/local/include/glib-2.0/glib/gfileutils.h +47 -18
- data/vendor/local/include/glib-2.0/glib/ggettext.h +9 -3
- data/vendor/local/include/glib-2.0/glib/ghash.h +40 -3
- data/vendor/local/include/glib-2.0/glib/ghmac.h +3 -3
- data/vendor/local/include/glib-2.0/glib/ghook.h +26 -3
- data/vendor/local/include/glib-2.0/glib/ghostutils.h +8 -3
- data/vendor/local/include/glib-2.0/glib/giochannel.h +61 -20
- data/vendor/local/include/glib-2.0/glib/gkeyfile.h +50 -3
- data/vendor/local/include/glib-2.0/glib/glist.h +33 -3
- data/vendor/local/include/glib-2.0/glib/gmacros.h +15 -11
- data/vendor/local/include/glib-2.0/glib/gmain.h +124 -6
- data/vendor/local/include/glib-2.0/glib/gmappedfile.h +9 -3
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +23 -4
- data/vendor/local/include/glib-2.0/glib/gmem.h +19 -3
- data/vendor/local/include/glib-2.0/glib/gmessages.h +21 -6
- data/vendor/local/include/glib-2.0/glib/gnode.h +29 -3
- data/vendor/local/include/glib-2.0/glib/goption.h +29 -3
- data/vendor/local/include/glib-2.0/glib/gpattern.h +9 -3
- data/vendor/local/include/glib-2.0/glib/gpoll.h +4 -3
- data/vendor/local/include/glib-2.0/glib/gprimes.h +4 -3
- data/vendor/local/include/glib-2.0/glib/gprintf.h +11 -4
- data/vendor/local/include/glib-2.0/glib/gqsort.h +4 -3
- data/vendor/local/include/glib-2.0/glib/gquark.h +9 -3
- data/vendor/local/include/glib-2.0/glib/gqueue.h +43 -3
- data/vendor/local/include/glib-2.0/glib/grand.h +19 -3
- data/vendor/local/include/glib-2.0/glib/gregex.h +43 -3
- data/vendor/local/include/glib-2.0/glib/gscanner.h +24 -3
- data/vendor/local/include/glib-2.0/glib/gsequence.h +40 -3
- data/vendor/local/include/glib-2.0/glib/gshell.h +7 -3
- data/vendor/local/include/glib-2.0/glib/gslice.h +13 -3
- data/vendor/local/include/glib-2.0/glib/gslist.h +31 -3
- data/vendor/local/include/glib-2.0/glib/gspawn.h +62 -13
- data/vendor/local/include/glib-2.0/glib/gstdio.h +23 -0
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +50 -4
- data/vendor/local/include/glib-2.0/glib/gstring.h +38 -5
- data/vendor/local/include/glib-2.0/glib/gstringchunk.h +9 -3
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +49 -3
- data/vendor/local/include/glib-2.0/glib/gthread.h +22 -3
- data/vendor/local/include/glib-2.0/glib/gthreadpool.h +17 -3
- data/vendor/local/include/glib-2.0/glib/gtimer.h +14 -3
- data/vendor/local/include/glib-2.0/glib/gtimezone.h +13 -3
- data/vendor/local/include/glib-2.0/glib/gtrashstack.h +3 -3
- data/vendor/local/include/glib-2.0/glib/gtree.h +19 -3
- data/vendor/local/include/glib-2.0/glib/gtypes.h +6 -6
- data/vendor/local/include/glib-2.0/glib/gunicode.h +70 -9
- data/vendor/local/include/glib-2.0/glib/gurifuncs.h +7 -3
- data/vendor/local/include/glib-2.0/glib/gutils.h +33 -23
- data/vendor/local/include/glib-2.0/glib/gvariant.h +112 -3
- data/vendor/local/include/glib-2.0/glib/gvarianttype.h +33 -3
- data/vendor/local/include/glib-2.0/glib/gversion.h +4 -3
- data/vendor/local/include/glib-2.0/glib/gversionmacros.h +43 -18
- data/vendor/local/include/glib-2.0/glib/gwin32.h +28 -13
- data/vendor/local/include/glib-2.0/gmodule.h +21 -7
- data/vendor/local/include/glib-2.0/gobject/gbinding.h +13 -3
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +13 -3
- data/vendor/local/include/glib-2.0/gobject/gclosure.h +21 -3
- data/vendor/local/include/glib-2.0/gobject/genums.h +17 -3
- data/vendor/local/include/glib-2.0/gobject/glib-types.h +64 -3
- data/vendor/local/include/glib-2.0/gobject/gmarshal.h +330 -286
- data/vendor/local/include/glib-2.0/gobject/gobject.h +73 -13
- data/vendor/local/include/glib-2.0/gobject/gparam.h +32 -3
- data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +27 -4
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +41 -3
- data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +5 -3
- data/vendor/local/include/glib-2.0/gobject/gtype.h +73 -10
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +11 -3
- data/vendor/local/include/glib-2.0/gobject/gtypeplugin.h +8 -3
- data/vendor/local/include/glib-2.0/gobject/gvalue.h +14 -3
- data/vendor/local/include/glib-2.0/gobject/gvaluearray.h +14 -14
- data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +41 -3
- data/vendor/local/include/gnutls/abstract.h +15 -6
- data/vendor/local/include/gnutls/compat.h +1 -1
- data/vendor/local/include/gnutls/crypto.h +3 -1
- data/vendor/local/include/gnutls/dtls.h +1 -1
- data/vendor/local/include/gnutls/gnutls.h +49 -7
- data/vendor/local/include/gnutls/gnutlsxx.h +1 -1
- data/vendor/local/include/gnutls/openpgp.h +4 -1
- data/vendor/local/include/gnutls/pkcs11.h +5 -2
- data/vendor/local/include/gnutls/pkcs12.h +1 -1
- data/vendor/local/include/gnutls/tpm.h +5 -3
- data/vendor/local/include/gnutls/x509.h +25 -3
- data/vendor/local/include/gnutls/xssl.h +121 -0
- data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.la +1 -1
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +2 -2
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.la +4 -4
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.la +3 -3
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.la +3 -3
- data/vendor/local/lib/libgmp.dll.a +0 -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 +1 -1
- data/vendor/local/lib/libgnutls-xssl.a +0 -0
- data/vendor/local/lib/libgnutls-xssl.dll.a +0 -0
- data/vendor/local/lib/libgnutls-xssl.la +41 -0
- data/vendor/local/lib/libgnutls.a +0 -0
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgnutls.la +3 -3
- data/vendor/local/lib/libgnutlsxx.a +0 -0
- data/vendor/local/lib/libgnutlsxx.dll.a +0 -0
- data/vendor/local/lib/libgnutlsxx.la +1 -1
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.la +4 -4
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.la +3 -3
- 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/pkgconfig/gio-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gnutls.pc +3 -3
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/share/gdb/auto-load/{libglib-2.0.so.0.3400.3-gdb.py → libglib-2.0.so.0.3600.0-gdb.py} +0 -0
- data/vendor/local/share/gdb/auto-load/{libgobject-2.0.so.0.3400.3-gdb.py → libgobject-2.0.so.0.3600.0-gdb.py} +0 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/__init__.py +0 -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/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen.py +2 -1
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen.pyc +0 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen.pyo +0 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen_docbook.py +31 -23
- 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/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen_main.py +2 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen_main.pyc +0 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/codegen_main.pyo +0 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/config.py +1 -1
- 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/{lib/gdbus-2.0 → share/glib-2.0}/codegen/dbustypes.py +0 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/dbustypes.pyc +0 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/dbustypes.pyo +0 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/parser.py +0 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/parser.pyc +0 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/parser.pyo +0 -0
- data/vendor/local/{lib/gdbus-2.0 → share/glib-2.0}/codegen/utils.py +0 -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 +0 -4
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +5 -17
- data/vendor/local/share/glib-2.0/schemas/gschema.dtd +4 -4
- data/vendor/local/share/glib-2.0/schemas/gschemas.compiled +0 -0
- data/vendor/local/share/gtk-doc/html/gio/ExampleAnimal.html +129 -129
- data/vendor/local/share/gtk-doc/html/gio/ExampleCat.html +57 -57
- data/vendor/local/share/gtk-doc/html/gio/ExampleObject.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/ExampleObjectManagerClient.html +57 -57
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +53 -53
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +107 -107
- data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +50 -49
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +149 -123
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +371 -354
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +130 -48
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +135 -151
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +72 -60
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +54 -54
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +22 -22
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +77 -75
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +25 -25
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +67 -28
- data/vendor/local/share/gtk-doc/html/gio/GDBusActionGroup.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +42 -42
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +1814 -1830
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GDBusMenuModel.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +149 -149
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +61 -61
- data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +28 -28
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +143 -141
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectProxy.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectSkeleton.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +443 -447
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +239 -243
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +155 -155
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +81 -80
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +124 -124
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +9 -9
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +791 -720
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +110 -53
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +152 -124
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +42 -42
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +69 -69
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +65 -62
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +133 -127
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +72 -13
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +89 -45
- data/vendor/local/share/gtk-doc/html/gio/GMenu.html +167 -167
- data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +129 -91
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +121 -121
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +50 -49
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +39 -39
- data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +33 -33
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +28 -28
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +128 -128
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +63 -63
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +30 -30
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +30 -30
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +51 -51
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +37 -29
- data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +125 -125
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +39 -39
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +430 -430
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +56 -56
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +53 -51
- data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +13 -13
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +222 -214
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/GSimpleProxyResolver.html +323 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +501 -363
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +189 -109
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +78 -68
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +44 -44
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +13 -13
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +84 -84
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/GTask.html +2296 -0
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +10 -10
- data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +323 -13
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +37 -34
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +10 -10
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +52 -52
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +56 -56
- data/vendor/local/share/gtk-doc/html/gio/GTlsDatabase.html +73 -73
- data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/GTlsInteraction.html +13 -13
- data/vendor/local/share/gtk-doc/html/gio/GTlsPassword.html +33 -33
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +47 -47
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +27 -27
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +85 -85
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +49 -49
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +8 -5
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +6 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-30.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-32.html +34 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-34.html +20 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-36.html +256 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +21 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +258 -2
- data/vendor/local/share/gtk-doc/html/gio/application.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/async.html +5 -2
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch29.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch30.html +35 -35
- data/vendor/local/share/gtk-doc/html/gio/ch30s02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch30s03.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch31.html +6 -7
- data/vendor/local/share/gtk-doc/html/gio/ch31s02.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch31s03.html +25 -25
- data/vendor/local/share/gtk-doc/html/gio/ch31s04.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch31s05.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch31s06.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/ch31s07.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch32.html +9 -6
- data/vendor/local/share/gtk-doc/html/gio/ch32s02.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch32s03.html +63 -63
- data/vendor/local/share/gtk-doc/html/gio/ch32s04.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/ch32s05.html +400 -408
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/extending.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +246 -246
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Cat.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +41 -41
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +81 -81
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +68 -68
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +160 -51
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/gio-GActionGroup-exporter.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +62 -62
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +120 -120
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +16 -10
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +66 -49
- data/vendor/local/share/gtk-doc/html/gio/gio-GInetAddressMask.html +22 -22
- data/vendor/local/share/gtk-doc/html/gio/gio-GMenuModel-exporter.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/gio-GResource.html +175 -88
- data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +72 -72
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32InputStream.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32OutputStream.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +145 -149
- data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +57 -57
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +143 -141
- 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 +69 -69
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +6 -4
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +92 -16
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +17 -5
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/icons.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/index.html +16 -6
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +91 -0
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/networking.html +5 -2
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +12 -3
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +5 -2
- data/vendor/local/share/gtk-doc/html/gio/resources.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +10 -2
- data/vendor/local/share/gtk-doc/html/gio/settings.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/testing.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/tls.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/tools.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/types.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/utils.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +8 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-30.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-32.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +8 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-36.html +114 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +79 -3
- data/vendor/local/share/gtk-doc/html/glib/deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +7 -7
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +5 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +9 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +25 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +22 -22
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +32 -32
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +15 -6
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +9 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +62 -66
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +39 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +104 -104
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +53 -18
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +46 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +142 -66
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +9 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +16 -57
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +31 -31
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +19 -10
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +33 -33
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +12 -12
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +32 -32
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +33 -40
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +72 -72
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +13 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +5 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +119 -69
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +16 -16
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +11 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +48 -27
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +375 -147
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +173 -147
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +12 -12
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +241 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +17 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +33 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +23 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +8 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +47 -47
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +8 -8
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +50 -27
- data/vendor/local/share/gtk-doc/html/glib/glib.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +155 -155
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/index.html +4 -3
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +24 -1
- data/vendor/local/share/gtk-doc/html/glib/tools.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +72 -72
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +63 -63
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +8 -5
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-30.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-32.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-34.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-36.html +50 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +14 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +18 -2
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +83 -50
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +344 -344
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +50 -50
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +81 -81
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +68 -72
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +259 -285
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +463 -443
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +356 -355
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +371 -427
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +41 -41
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +7 -36
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +96 -96
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +15 -10
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +24 -24
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-override.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-prerequisite.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/index.html +12 -11
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +5 -0
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +2 -2
- data/vendor/local/share/info/gnutls-guile.info +15 -15
- data/vendor/local/share/info/gnutls.info +1274 -1229
- data/vendor/local/share/info/gnutls.info-1 +2153 -2008
- data/vendor/local/share/info/gnutls.info-2 +991 -314
- data/vendor/local/share/info/gnutls.info-3 +358 -232
- data/vendor/local/share/info/gnutls.info-4 +928 -671
- data/vendor/local/share/locale/an/LC_MESSAGES/glib-networking.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/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/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/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/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/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/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/fi/LC_MESSAGES/glib-networking.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/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/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/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/glib20.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/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/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/mr/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/nl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gnutls.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/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/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/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/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@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/gnutls.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/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/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 +27 -4
- data/vendor/local/share/man/man1/gdbus-codegen.1 +1 -1
- data/vendor/local/share/man/man1/gdbus.1 +1 -1
- data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
- data/vendor/local/share/man/man1/glib-compile-resources.1 +13 -1
- data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
- data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
- data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
- data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
- data/vendor/local/share/man/man1/gnutls-cli-debug.1 +2 -2
- data/vendor/local/share/man/man1/gnutls-cli.1 +11 -2
- data/vendor/local/share/man/man1/gnutls-serv.1 +2 -2
- data/vendor/local/share/man/man1/gobject-query.1 +1 -1
- data/vendor/local/share/man/man1/gresource.1 +1 -1
- data/vendor/local/share/man/man1/gsettings.1 +1 -1
- data/vendor/local/share/man/man1/gtester-report.1 +1 -1
- data/vendor/local/share/man/man1/gtester.1 +1 -1
- data/vendor/local/share/man/man1/ocsptool.1 +2 -2
- data/vendor/local/share/man/man1/p11tool.1 +23 -2
- data/vendor/local/share/man/man1/psktool.1 +2 -2
- data/vendor/local/share/man/man1/srptool.1 +2 -2
- data/vendor/local/share/man/man1/tpmtool.1 +2 -2
- data/vendor/local/share/man/man3/gnutls_alert_get.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_alert_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_alert_get_strname.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_alert_send.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_alert_send_appropriate.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_anon_allocate_client_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_anon_allocate_server_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_anon_free_client_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_anon_free_server_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_anon_set_params_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_anon_set_server_dh_params.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_anon_set_server_params_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_auth_client_get_type.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_auth_get_type.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_auth_server_get_type.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_bye.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_activation_time_peers.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_allocate_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_client_get_request_status.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_expiration_time_peers.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_free_ca_names.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_free_cas.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_free_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_free_crls.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_free_keys.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_get_issuer.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_get_ours.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_get_peers.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_get_peers_subkey_id.3 +3 -1
- data/vendor/local/share/man/man3/gnutls_certificate_send_x509_rdn_sequence.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_server_set_request.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_dh_params.3 +3 -4
- data/vendor/local/share/man/man3/gnutls_certificate_set_key.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_ocsp_status_request_file.3 +3 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_ocsp_status_request_function.3 +3 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_file.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_file2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_mem.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_mem2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_keyring_file.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_keyring_mem.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_params_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_pin_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_retrieve_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_retrieve_function2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_rsa_export_params.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_verify_flags.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_verify_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_verify_limits.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl_file.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl_mem.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_file.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_mem.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_simple_pkcs12_file.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_simple_pkcs12_mem.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_system_trust.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust_file.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust_mem.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_type_get.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_type_get_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_type_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_type_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_type_set_priority.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_verification_status_print.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_verify_peers2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_certificate_verify_peers3.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_check_version.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_add_auth.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_decrypt.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_decrypt2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_encrypt.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_encrypt2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_get.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_get_block_size.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_get_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_get_key_size.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_set_iv.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_set_priority.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_suite_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_suite_info.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_cipher_tag.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_compression_get.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_compression_get_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_compression_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_compression_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_compression_set_priority.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_credentials_clear.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_credentials_set.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_db_check_entry.3 +2 -4
- data/vendor/local/share/man/man3/gnutls_db_check_entry_time.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_db_get_ptr.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_db_remove_session.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_db_set_cache_expiration.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_db_set_ptr.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_db_set_remove_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_db_set_retrieve_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_db_set_store_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_get_group.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_get_peers_public_bits.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_get_prime_bits.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_get_pubkey.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_get_secret_bits.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_params_cpy.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_params_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_params_export2_pkcs3.3 +3 -1
- data/vendor/local/share/man/man3/gnutls_dh_params_export_pkcs3.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_params_export_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_params_generate2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_params_import_pkcs3.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_params_import_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_params_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dh_set_prime_bits.3 +7 -2
- data/vendor/local/share/man/man3/gnutls_dtls_cookie_send.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dtls_cookie_verify.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dtls_get_data_mtu.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dtls_get_mtu.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dtls_get_timeout.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dtls_prestate_set.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dtls_set_data_mtu.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dtls_set_mtu.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_dtls_set_timeouts.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ecc_curve_get.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ecc_curve_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ecc_curve_get_size.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ecc_curve_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_error_is_fatal.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_error_to_alert.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_fingerprint.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_global_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_global_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_global_set_audit_log_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_global_set_log_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_global_set_log_level.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_global_set_mem_functions.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_global_set_mutex.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_global_set_time_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_handshake.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_handshake_get_last_in.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_handshake_get_last_out.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_handshake_set_max_packet_length.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_handshake_set_post_client_hello_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_handshake_set_private_extensions.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_handshake_set_random.3 +55 -0
- data/vendor/local/share/man/man3/gnutls_handshake_set_timeout.3 +3 -2
- data/vendor/local/share/man/man3/gnutls_hash.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hash_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hash_fast.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hash_get_len.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hash_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hash_output.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_heartbeat_allowed.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_heartbeat_enable.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_heartbeat_get_timeout.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_heartbeat_ping.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_heartbeat_pong.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_heartbeat_set_timeouts.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hex2bin.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hex_decode.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hex_encode.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hmac.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hmac_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hmac_fast.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hmac_get_len.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hmac_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_hmac_output.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_key_generate.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_kx_get.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_kx_get_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_kx_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_kx_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_kx_set_priority.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_load_file.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_mac_get.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_mac_get_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_mac_get_key_size.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_mac_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_mac_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_mac_set_priority.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_add_cert.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_add_cert_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_export.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_get_cert_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_get_extension.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_get_nonce.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_get_version.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_print.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_randomize_nonce.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_set_extension.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_req_set_nonce.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_check_crt.3 +3 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_export.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_certs.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_extension.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_nonce.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_produced.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_responder.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_response.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_signature.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_signature_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_single.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_status.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_get_version.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_print.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_verify.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_resp_verify_direct.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_status_request_enable_client.3 +3 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_status_request_get.3 +3 -1
- data/vendor/local/share/man/man3/gnutls_ocsp_status_request_is_checked.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_check_hostname.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_export.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_export2.3 +3 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_auth_subkey.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_creation_time.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_expiration_time.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_fingerprint.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_key_usage.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_dsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_rsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_preferred_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_revoked_status.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_count.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_creation_time.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_expiration_time.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_fingerprint.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_idx.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_dsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_rsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_revoked_status.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_usage.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_version.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_print.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_set_preferred_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_verify_ring.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_verify_self.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_check_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_get_crt.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_get_crt_count.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export2.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_dsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_rsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_subkey_dsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_subkey_rsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_fingerprint.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_pk_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_preferred_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_revoked_status.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_count.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_creation_time.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_fingerprint.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_idx.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_pk_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_revoked_status.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_sec_param.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_set_preferred_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_sign_hash.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_send_cert.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_openpgp_set_recv_key_function.3 +3 -1
- data/vendor/local/share/man/man3/gnutls_pcert_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pcert_import_openpgp.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pcert_import_openpgp_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pcert_import_x509.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pcert_import_x509_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pcert_list_import_x509_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pem_base64_decode.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pem_base64_decode_alloc.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pem_base64_encode.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pem_base64_encode_alloc.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_perror.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pk_algorithm_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pk_bits_to_sec_param.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pk_get_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pk_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pk_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pk_to_sign.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_add_provider.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_copy_secret_key.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_copy_x509_crt.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_copy_x509_privkey.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_delete_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_get_pin_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export2.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_export_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_get_info.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_get_type.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_import_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_list_import_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_list_import_url2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_obj_set_pin_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_export_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_generate.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_generate2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_get_info.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_get_pk_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_import_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_set_pin_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_privkey_status.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pkcs11_reinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_set_pin_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_set_token_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_flags.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_info.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_mechanism.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_get_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_token_set_pin.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs11_type_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_decrypt.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_encrypt.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_count.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_data.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_friendly_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_type.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_crl.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_crt.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_data.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_friendly_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_export.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_export2.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_pkcs12_generate_mac.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_get_bag.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_set_bag.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs12_simple_parse.3 +11 -11
- data/vendor/local/share/man/man3/gnutls_pkcs12_verify_mac.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_delete_crl.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_delete_crt.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_export.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_export2.3 +3 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crl_count.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crl_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crt_count.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crt_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crl.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crl_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crt.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crt_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_prf.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_prf_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_priority_certificate_type_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_priority_compression_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_priority_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_priority_ecc_curve_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_priority_get_cipher_suite_index.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_priority_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_priority_protocol_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_priority_set.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_priority_set_direct.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_priority_sign_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_decrypt_data.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_get_pk_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_get_type.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_import_ext.3 +4 -1
- data/vendor/local/share/man/man3/gnutls_privkey_import_ext2.3 +4 -1
- data/vendor/local/share/man/man3/gnutls_privkey_import_openpgp.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_import_openpgp_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_import_pkcs11.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_import_pkcs11_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_import_tpm_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_import_tpm_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_import_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_import_x509.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_import_x509_raw.3 +3 -3
- data/vendor/local/share/man/man3/gnutls_privkey_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_set_pin_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_sign_data.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_sign_hash.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_privkey_sign_raw_data.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_privkey_status.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_protocol_get_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_protocol_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_protocol_get_version.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_protocol_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_protocol_set_priority.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_allocate_client_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_allocate_server_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_client_get_hint.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_free_client_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_free_server_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_server_get_username.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_set_client_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_set_client_credentials_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_set_params_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_file.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_hint.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_set_server_dh_params.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_psk_set_server_params_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_encrypt_data.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_export.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_export2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_get_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_get_key_usage.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_get_openpgp_key_id.3 +6 -3
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_dsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_ecc_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_ecc_x962.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_get_pk_rsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_get_preferred_hash_algorithm.3 +4 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_get_verify_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_dsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_ecc_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_ecc_x962.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_openpgp.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_openpgp_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_pkcs11.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_pkcs11_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_privkey.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_rsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_tpm_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_tpm_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_x509.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_x509_crq.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_import_x509_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_print.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_set_key_usage.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_set_pin_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_verify_data.3 +4 -3
- data/vendor/local/share/man/man3/gnutls_pubkey_verify_data2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_pubkey_verify_hash.3 +3 -2
- data/vendor/local/share/man/man3/gnutls_pubkey_verify_hash2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_random_art.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_range_split.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_record_can_use_length_hiding.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_record_check_pending.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_record_cork.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_record_disable_padding.3 +3 -3
- data/vendor/local/share/man/man3/gnutls_record_get_direction.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_record_get_discarded.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_record_get_max_size.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_record_recv.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_record_recv_seq.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_record_send.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_record_send_range.3 +60 -0
- data/vendor/local/share/man/man3/gnutls_record_set_max_empty_records.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_record_set_max_size.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_record_set_timeout.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_record_uncork.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_rehandshake.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_rnd.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_rnd_refresh.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_rsa_export_get_modulus_bits.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_rsa_export_get_pubkey.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_rsa_params_cpy.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_rsa_params_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_rsa_params_export_pkcs1.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_rsa_params_export_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_rsa_params_generate2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_rsa_params_import_pkcs1.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_rsa_params_import_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_rsa_params_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_safe_renegotiation_status.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_sec_param_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_sec_param_to_pk_bits.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_server_name_get.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_server_name_set.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_channel_binding.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_enable_compatibility_mode.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_force_valid.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_session_get_data.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_get_data2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_get_desc.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_session_get_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_get_id2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_get_ptr.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_get_random.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_is_resumed.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_resumption_requested.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_set_data.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_set_premaster.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_set_ptr.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_ticket_enable_client.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_ticket_enable_server.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_session_ticket_key_generate.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_set_default_export_priority.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_set_default_priority.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_sign_algorithm_get.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_sign_algorithm_get_requested.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_sign_callback_get.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_sign_callback_set.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_sign_get_hash_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_sign_get_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_sign_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_sign_get_pk_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_sign_is_secure.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_sign_list.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_allocate_client_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_allocate_server_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_base64_decode.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_base64_decode_alloc.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_base64_encode.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_base64_encode_alloc.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_free_client_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_free_server_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_server_get_username.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_set_client_credentials.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_set_client_credentials_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_set_prime_bits.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_set_server_credentials_file.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_set_server_credentials_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srp_verifier.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srtp_get_keys.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srtp_get_mki.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srtp_get_profile_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srtp_get_profile_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srtp_get_selected_profile.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srtp_set_mki.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srtp_set_profile.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_srtp_set_profile_direct.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_store_commitment.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_store_pubkey.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_strerror.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_strerror_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_supplemental_get_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_tdb_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_tdb_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_tdb_set_store_commitment_func.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_tdb_set_store_func.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_tdb_set_verify_func.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_tpm_get_registered.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_tpm_key_list_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_tpm_key_list_get_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_tpm_privkey_delete.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_tpm_privkey_generate.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_transport_get_int.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_transport_get_int2.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_transport_get_ptr.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_transport_get_ptr2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_transport_set_errno.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_transport_set_errno_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_transport_set_int.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_int2.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_ptr.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_transport_set_ptr2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_transport_set_pull_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_transport_set_pull_timeout_function.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_transport_set_push_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_transport_set_vec_push_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_url_is_supported.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_verify_stored_pubkey.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_check_issuer.3 +4 -5
- data/vendor/local/share/man/man3/gnutls_x509_crl_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_export.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_export2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_authority_key_gn_serial.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_authority_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_crt_count.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_crt_serial.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_dn_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_data.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_info.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_extension_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn2.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn_by_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_next_update.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_number.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_raw_issuer_dn.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_signature.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_signature_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_this_update.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_version.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_list_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_list_import2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_print.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_privkey_sign.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_authority_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_crt.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_crt_serial.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_next_update.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_number.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_this_update.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_version.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_sign.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_sign2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crl_verify.3 +9 -5
- data/vendor/local/share/man/man3/gnutls_x509_crq_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_export.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_export2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_by_oid.3 +8 -5
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_data.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_info.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_basic_constraints.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_challenge_password.3 +3 -3
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn.3 +4 -4
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn2.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn_by_oid.3 +6 -6
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn_oid.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_by_oid.3 +5 -5
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_data.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_extension_info.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_purpose_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_rsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_key_usage.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_pk_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_private_key_usage_period.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_subject_alt_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_subject_alt_othername_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_version.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_print.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_privkey_sign.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_attribute_by_oid.3 +8 -5
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_basic_constraints.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_challenge_password.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_dn.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_dn_by_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_key.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_purpose_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_rsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_key_usage.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_private_key_usage_period.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_pubkey.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_subject_alt_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_version.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_sign.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_sign2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crq_verify.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_check_hostname.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_check_issuer.3 +2 -3
- data/vendor/local/share/man/man3/gnutls_x509_crt_check_revocation.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_cpy_crl_dist_points.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_export.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_export2.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_activation_time.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_info_access.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_key_gn_serial.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_basic_constraints.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_ca_status.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_crl_dist_points.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn2.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn_by_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_expiration_time.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_by_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_data.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_info.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_fingerprint.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_name2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_alt_othername_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn2.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn_by_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_unique_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_purpose_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_usage.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_dsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_rsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_policy.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_preferred_hash_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_private_key_usage_period.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_proxy.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_raw_dn.3 +3 -3
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_raw_issuer_dn.3 +3 -3
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_serial.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_signature.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_signature_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_othername_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_unique_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_verify_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_version.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_import_pkcs11.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_import_pkcs11_url.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_import2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_import_pkcs11.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_verify.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_print.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_privkey_sign.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_activation_time.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_authority_info_access.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_authority_key_id.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_basic_constraints.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_ca_status.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crl_dist_points.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crl_dist_points2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crq.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crq_extensions.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_dn.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_dn_by_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_expiration_time.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_extension_by_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_issuer_dn.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_issuer_dn_by_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_key.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_key_purpose_oid.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_key_usage.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_pin_function.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_policy.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_private_key_usage_period.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_proxy.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_proxy_dn.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_pubkey.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_serial.3 +6 -4
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_alt_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_alternative_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_key_id.3 +2 -2
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_version.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_sign.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_sign2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_crt_verify.3 +3 -2
- data/vendor/local/share/man/man3/gnutls_x509_crt_verify_data.3 +3 -2
- data/vendor/local/share/man/man3/gnutls_x509_crt_verify_hash.3 +3 -2
- data/vendor/local/share/man/man3/gnutls_x509_dn_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_dn_export.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_dn_export2.3 +3 -1
- data/vendor/local/share/man/man3/gnutls_x509_dn_get_rdn_ava.3 +7 -5
- data/vendor/local/share/man/man3/gnutls_x509_dn_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_dn_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_dn_oid_known.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_dn_oid_name.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_policy_release.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_cpy.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export2_pkcs8.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_dsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_ecc_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_pkcs8.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_rsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_rsa_raw2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_fix.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_generate.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_get_key_id.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_get_pk_algorithm.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_get_pk_algorithm2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import2.3 +3 -3
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_dsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_ecc_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_openssl.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_pkcs8.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_rsa_raw.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_rsa_raw2.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_sec_param.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_sign_data.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_sign_hash.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_privkey_verify_params.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_rdn_get.3 +4 -4
- data/vendor/local/share/man/man3/gnutls_x509_rdn_get_by_oid.3 +4 -4
- data/vendor/local/share/man/man3/gnutls_x509_rdn_get_oid.3 +4 -4
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_cas.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_crls.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_named_crt.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_system_trust.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_trust_file.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_add_trust_mem.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_deinit.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_get_issuer.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_init.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_remove_cas.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_remove_trust_file.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_remove_trust_mem.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_verify_crt.3 +1 -1
- data/vendor/local/share/man/man3/gnutls_x509_trust_list_verify_named_crt.3 +1 -1
- metadata +76 -36
- data/ext/glib2/rbglib_completion.c +0 -195
- data/sample/completion.rb +0 -45
- data/vendor/local/lib/gdbus-2.0/codegen/__init__.pyc +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/__init__.pyo +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/codegen_docbook.pyc +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/codegen_docbook.pyo +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/config.pyc +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/config.pyo +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/lib/gdbus-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/lib/gio-2.0.def +0 -1604
- data/vendor/local/lib/glib-2.0.def +0 -1603
- data/vendor/local/lib/gmodule-2.0.def +0 -11
- data/vendor/local/lib/gobject-2.0.def +0 -417
- data/vendor/local/lib/pkgconfig/gnutls-dane.pc +0 -24
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +0 -162
@@ -8,7 +8,7 @@
|
|
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.18 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -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> * <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="
|
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-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-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>
|
@@ -75,7 +75,7 @@ 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> * g_simple_permission_new (<em class="parameter"><code><a href="
|
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-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.
|
@@ -89,7 +89,7 @@ either always or never allowed.
|
|
89
89
|
<tr>
|
90
90
|
<td><p><span class="term"><em class="parameter"><code>allowed</code></em> :</span></p></td>
|
91
91
|
<td>
|
92
|
-
<a href="
|
92
|
+
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the action is allowed</td>
|
93
93
|
</tr>
|
94
94
|
<tr>
|
95
95
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -104,6 +104,6 @@ either always or never allowed.
|
|
104
104
|
</div>
|
105
105
|
<div class="footer">
|
106
106
|
<hr>
|
107
|
-
Generated by GTK-Doc V1.18</div>
|
107
|
+
Generated by GTK-Doc V1.18.1</div>
|
108
108
|
</body>
|
109
109
|
</html>
|
@@ -0,0 +1,323 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>GSimpleProxyResolver</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
|
7
|
+
<link rel="home" href="index.html" title="GIO Reference Manual">
|
8
|
+
<link rel="up" href="resolver.html" title="DNS resolution">
|
9
|
+
<link rel="prev" href="GProxyResolver.html" title="GProxyResolver">
|
10
|
+
<link rel="next" href="GSocketConnectable.html" title="GSocketConnectable">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="GProxyResolver.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="resolver.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">GIO Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="GSocketConnectable.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#GSimpleProxyResolver.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#GSimpleProxyResolver.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#GSimpleProxyResolver.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#GSimpleProxyResolver.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
31
|
+
|
|
32
|
+
<a href="#GSimpleProxyResolver.properties" class="shortcut">Properties</a>
|
33
|
+
</td></tr>
|
34
|
+
</table>
|
35
|
+
<div class="refentry">
|
36
|
+
<a name="GSimpleProxyResolver"></a><div class="titlepage"></div>
|
37
|
+
<div class="refnamediv"><table width="100%"><tr>
|
38
|
+
<td valign="top">
|
39
|
+
<h2><span class="refentrytitle"><a name="GSimpleProxyResolver.top_of_page"></a>GSimpleProxyResolver</span></h2>
|
40
|
+
<p>GSimpleProxyResolver — Simple proxy resolver implementation</p>
|
41
|
+
</td>
|
42
|
+
<td valign="top" align="right"></td>
|
43
|
+
</tr></table></div>
|
44
|
+
<div class="refsynopsisdiv">
|
45
|
+
<a name="GSimpleProxyResolver.synopsis"></a><h2>Synopsis</h2>
|
46
|
+
<pre class="synopsis">
|
47
|
+
#include <gio/gio.h>
|
48
|
+
|
49
|
+
struct <a class="link" href="GSimpleProxyResolver.html#GSimpleProxyResolver-struct" title="struct GSimpleProxyResolver">GSimpleProxyResolver</a>;
|
50
|
+
<a class="link" href="GProxyResolver.html" title="GProxyResolver"><span class="returnvalue">GProxyResolver</span></a> * <a class="link" href="GSimpleProxyResolver.html#g-simple-proxy-resolver-new" title="g_simple_proxy_resolver_new ()">g_simple_proxy_resolver_new</a> (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *default_proxy</code></em>,
|
51
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **ignore_hosts</code></em>);
|
52
|
+
<span class="returnvalue">void</span> <a class="link" href="GSimpleProxyResolver.html#g-simple-proxy-resolver-set-default-proxy" title="g_simple_proxy_resolver_set_default_proxy ()">g_simple_proxy_resolver_set_default_proxy</a>
|
53
|
+
(<em class="parameter"><code><a class="link" href="GSimpleProxyResolver.html" title="GSimpleProxyResolver"><span class="type">GSimpleProxyResolver</span></a> *resolver</code></em>,
|
54
|
+
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *default_proxy</code></em>);
|
55
|
+
<span class="returnvalue">void</span> <a class="link" href="GSimpleProxyResolver.html#g-simple-proxy-resolver-set-ignore-hosts" title="g_simple_proxy_resolver_set_ignore_hosts ()">g_simple_proxy_resolver_set_ignore_hosts</a>
|
56
|
+
(<em class="parameter"><code><a class="link" href="GSimpleProxyResolver.html" title="GSimpleProxyResolver"><span class="type">GSimpleProxyResolver</span></a> *resolver</code></em>,
|
57
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **ignore_hosts</code></em>);
|
58
|
+
<span class="returnvalue">void</span> <a class="link" href="GSimpleProxyResolver.html#g-simple-proxy-resolver-set-uri-proxy" title="g_simple_proxy_resolver_set_uri_proxy ()">g_simple_proxy_resolver_set_uri_proxy</a>
|
59
|
+
(<em class="parameter"><code><a class="link" href="GSimpleProxyResolver.html" title="GSimpleProxyResolver"><span class="type">GSimpleProxyResolver</span></a> *resolver</code></em>,
|
60
|
+
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri_scheme</code></em>,
|
61
|
+
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *proxy</code></em>);
|
62
|
+
</pre>
|
63
|
+
</div>
|
64
|
+
<div class="refsect1">
|
65
|
+
<a name="GSimpleProxyResolver.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
66
|
+
<pre class="synopsis">
|
67
|
+
<a href="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
68
|
+
+----GSimpleProxyResolver
|
69
|
+
</pre>
|
70
|
+
</div>
|
71
|
+
<div class="refsect1">
|
72
|
+
<a name="GSimpleProxyResolver.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
73
|
+
<p>
|
74
|
+
GSimpleProxyResolver implements
|
75
|
+
<a class="link" href="GProxyResolver.html" title="GProxyResolver">GProxyResolver</a>.</p>
|
76
|
+
</div>
|
77
|
+
<div class="refsect1">
|
78
|
+
<a name="GSimpleProxyResolver.properties"></a><h2>Properties</h2>
|
79
|
+
<pre class="synopsis">
|
80
|
+
"<a class="link" href="GSimpleProxyResolver.html#GSimpleProxyResolver--default-proxy" title='The "default-proxy" property'>default-proxy</a>" <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
|
81
|
+
"<a class="link" href="GSimpleProxyResolver.html#GSimpleProxyResolver--ignore-hosts" title='The "ignore-hosts" property'>ignore-hosts</a>" <a href="../gobject/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a> : Read / Write
|
82
|
+
</pre>
|
83
|
+
</div>
|
84
|
+
<div class="refsect1">
|
85
|
+
<a name="GSimpleProxyResolver.description"></a><h2>Description</h2>
|
86
|
+
<p>
|
87
|
+
<a class="link" href="GSimpleProxyResolver.html" title="GSimpleProxyResolver"><span class="type">GSimpleProxyResolver</span></a> is a simple <a class="link" href="GProxyResolver.html" title="GProxyResolver"><span class="type">GProxyResolver</span></a> implementation
|
88
|
+
that handles a single default proxy, multiple URI-scheme-specific
|
89
|
+
proxies, and a list of hosts that proxies should not be used for.
|
90
|
+
</p>
|
91
|
+
<p>
|
92
|
+
<a class="link" href="GSimpleProxyResolver.html" title="GSimpleProxyResolver"><span class="type">GSimpleProxyResolver</span></a> is never the default proxy resolver, but it
|
93
|
+
can be used as the base class for another proxy resolver
|
94
|
+
implementation, or it can be created and used manually, such as
|
95
|
+
with <a class="link" href="GSocketClient.html#g-socket-client-set-proxy-resolver" title="g_socket_client_set_proxy_resolver ()"><code class="function">g_socket_client_set_proxy_resolver()</code></a>.
|
96
|
+
</p>
|
97
|
+
</div>
|
98
|
+
<div class="refsect1">
|
99
|
+
<a name="GSimpleProxyResolver.details"></a><h2>Details</h2>
|
100
|
+
<div class="refsect2">
|
101
|
+
<a name="GSimpleProxyResolver-struct"></a><h3>struct GSimpleProxyResolver</h3>
|
102
|
+
<pre class="programlisting">struct GSimpleProxyResolver;</pre>
|
103
|
+
<p>
|
104
|
+
A <a class="link" href="GProxyResolver.html" title="GProxyResolver"><span class="type">GProxyResolver</span></a> implementation for using a fixed set of proxies.
|
105
|
+
</p>
|
106
|
+
</div>
|
107
|
+
<hr>
|
108
|
+
<div class="refsect2">
|
109
|
+
<a name="g-simple-proxy-resolver-new"></a><h3>g_simple_proxy_resolver_new ()</h3>
|
110
|
+
<pre class="programlisting"><a class="link" href="GProxyResolver.html" title="GProxyResolver"><span class="returnvalue">GProxyResolver</span></a> * g_simple_proxy_resolver_new (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *default_proxy</code></em>,
|
111
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **ignore_hosts</code></em>);</pre>
|
112
|
+
<p>
|
113
|
+
Creates a new <a class="link" href="GSimpleProxyResolver.html" title="GSimpleProxyResolver"><span class="type">GSimpleProxyResolver</span></a>. See
|
114
|
+
<a class="link" href="GSimpleProxyResolver.html#GSimpleProxyResolver--default-proxy" title='The "default-proxy" property'><span class="type">"default-proxy"</span></a> and
|
115
|
+
<a class="link" href="GSimpleProxyResolver.html#GSimpleProxyResolver--ignore-hosts" title='The "ignore-hosts" property'><span class="type">"ignore-hosts"</span></a> for more details on how the
|
116
|
+
arguments are interpreted.
|
117
|
+
</p>
|
118
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
119
|
+
<colgroup>
|
120
|
+
<col align="left" valign="top">
|
121
|
+
<col>
|
122
|
+
</colgroup>
|
123
|
+
<tbody>
|
124
|
+
<tr>
|
125
|
+
<td><p><span class="term"><em class="parameter"><code>default_proxy</code></em> :</span></p></td>
|
126
|
+
<td>the default proxy to use, eg
|
127
|
+
"socks://192.168.1.1". <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
128
|
+
</td>
|
129
|
+
</tr>
|
130
|
+
<tr>
|
131
|
+
<td><p><span class="term"><em class="parameter"><code>ignore_hosts</code></em> :</span></p></td>
|
132
|
+
<td>an optional list of hosts/IP addresses
|
133
|
+
to not use a proxy for. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
134
|
+
</td>
|
135
|
+
</tr>
|
136
|
+
<tr>
|
137
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
138
|
+
<td>a new <a class="link" href="GSimpleProxyResolver.html" title="GSimpleProxyResolver"><span class="type">GSimpleProxyResolver</span></a>
|
139
|
+
</td>
|
140
|
+
</tr>
|
141
|
+
</tbody>
|
142
|
+
</table></div>
|
143
|
+
<p class="since">Since 2.36</p>
|
144
|
+
</div>
|
145
|
+
<hr>
|
146
|
+
<div class="refsect2">
|
147
|
+
<a name="g-simple-proxy-resolver-set-default-proxy"></a><h3>g_simple_proxy_resolver_set_default_proxy ()</h3>
|
148
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_simple_proxy_resolver_set_default_proxy
|
149
|
+
(<em class="parameter"><code><a class="link" href="GSimpleProxyResolver.html" title="GSimpleProxyResolver"><span class="type">GSimpleProxyResolver</span></a> *resolver</code></em>,
|
150
|
+
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *default_proxy</code></em>);</pre>
|
151
|
+
<p>
|
152
|
+
Sets the default proxy on <em class="parameter"><code>resolver</code></em>, to be used for any URIs that
|
153
|
+
don't match <a class="link" href="GSimpleProxyResolver.html#GSimpleProxyResolver--ignore-hosts" title='The "ignore-hosts" property'><span class="type">"ignore-hosts"</span></a> or a proxy set
|
154
|
+
via <a class="link" href="GSimpleProxyResolver.html#g-simple-proxy-resolver-set-uri-proxy" title="g_simple_proxy_resolver_set_uri_proxy ()"><code class="function">g_simple_proxy_resolver_set_uri_proxy()</code></a>.
|
155
|
+
</p>
|
156
|
+
<p>
|
157
|
+
If <em class="parameter"><code>default_proxy</code></em> starts with "<code class="literal">socks://</code>",
|
158
|
+
<a class="link" href="GSimpleProxyResolver.html" title="GSimpleProxyResolver"><span class="type">GSimpleProxyResolver</span></a> will treat it as referring to all three of
|
159
|
+
the <code class="literal">socks5</code>, <code class="literal">socks4a</code>, and
|
160
|
+
<code class="literal">socks4</code> proxy types.
|
161
|
+
</p>
|
162
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
163
|
+
<colgroup>
|
164
|
+
<col align="left" valign="top">
|
165
|
+
<col>
|
166
|
+
</colgroup>
|
167
|
+
<tbody>
|
168
|
+
<tr>
|
169
|
+
<td><p><span class="term"><em class="parameter"><code>resolver</code></em> :</span></p></td>
|
170
|
+
<td>a <a class="link" href="GSimpleProxyResolver.html" title="GSimpleProxyResolver"><span class="type">GSimpleProxyResolver</span></a>
|
171
|
+
</td>
|
172
|
+
</tr>
|
173
|
+
<tr>
|
174
|
+
<td><p><span class="term"><em class="parameter"><code>default_proxy</code></em> :</span></p></td>
|
175
|
+
<td>the default proxy to use</td>
|
176
|
+
</tr>
|
177
|
+
</tbody>
|
178
|
+
</table></div>
|
179
|
+
<p class="since">Since 2.36</p>
|
180
|
+
</div>
|
181
|
+
<hr>
|
182
|
+
<div class="refsect2">
|
183
|
+
<a name="g-simple-proxy-resolver-set-ignore-hosts"></a><h3>g_simple_proxy_resolver_set_ignore_hosts ()</h3>
|
184
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_simple_proxy_resolver_set_ignore_hosts
|
185
|
+
(<em class="parameter"><code><a class="link" href="GSimpleProxyResolver.html" title="GSimpleProxyResolver"><span class="type">GSimpleProxyResolver</span></a> *resolver</code></em>,
|
186
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **ignore_hosts</code></em>);</pre>
|
187
|
+
</div>
|
188
|
+
<hr>
|
189
|
+
<div class="refsect2">
|
190
|
+
<a name="g-simple-proxy-resolver-set-uri-proxy"></a><h3>g_simple_proxy_resolver_set_uri_proxy ()</h3>
|
191
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_simple_proxy_resolver_set_uri_proxy
|
192
|
+
(<em class="parameter"><code><a class="link" href="GSimpleProxyResolver.html" title="GSimpleProxyResolver"><span class="type">GSimpleProxyResolver</span></a> *resolver</code></em>,
|
193
|
+
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri_scheme</code></em>,
|
194
|
+
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *proxy</code></em>);</pre>
|
195
|
+
<p>
|
196
|
+
Adds a URI-scheme-specific proxy to <em class="parameter"><code>resolver</code></em>; URIs whose scheme
|
197
|
+
matches <em class="parameter"><code>uri_scheme</code></em> (and which don't match
|
198
|
+
<a class="link" href="GSimpleProxyResolver.html#GSimpleProxyResolver--ignore-hosts" title='The "ignore-hosts" property'><span class="type">"ignore-hosts"</span></a>) will be proxied via <em class="parameter"><code>proxy</code></em>.
|
199
|
+
</p>
|
200
|
+
<p>
|
201
|
+
As with <a class="link" href="GSimpleProxyResolver.html#GSimpleProxyResolver--default-proxy" title='The "default-proxy" property'><span class="type">"default-proxy"</span></a>, if <em class="parameter"><code>proxy</code></em> starts with
|
202
|
+
"<code class="literal">socks://</code>", <a class="link" href="GSimpleProxyResolver.html" title="GSimpleProxyResolver"><span class="type">GSimpleProxyResolver</span></a> will treat it
|
203
|
+
as referring to all three of the <code class="literal">socks5</code>,
|
204
|
+
<code class="literal">socks4a</code>, and <code class="literal">socks4</code> proxy
|
205
|
+
types.
|
206
|
+
</p>
|
207
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
208
|
+
<colgroup>
|
209
|
+
<col align="left" valign="top">
|
210
|
+
<col>
|
211
|
+
</colgroup>
|
212
|
+
<tbody>
|
213
|
+
<tr>
|
214
|
+
<td><p><span class="term"><em class="parameter"><code>resolver</code></em> :</span></p></td>
|
215
|
+
<td>a <a class="link" href="GSimpleProxyResolver.html" title="GSimpleProxyResolver"><span class="type">GSimpleProxyResolver</span></a>
|
216
|
+
</td>
|
217
|
+
</tr>
|
218
|
+
<tr>
|
219
|
+
<td><p><span class="term"><em class="parameter"><code>uri_scheme</code></em> :</span></p></td>
|
220
|
+
<td>the URI scheme to add a proxy for</td>
|
221
|
+
</tr>
|
222
|
+
<tr>
|
223
|
+
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
|
224
|
+
<td>the proxy to use for <em class="parameter"><code>uri_scheme</code></em>
|
225
|
+
</td>
|
226
|
+
</tr>
|
227
|
+
</tbody>
|
228
|
+
</table></div>
|
229
|
+
<p class="since">Since 2.36</p>
|
230
|
+
</div>
|
231
|
+
</div>
|
232
|
+
<div class="refsect1">
|
233
|
+
<a name="GSimpleProxyResolver.property-details"></a><h2>Property Details</h2>
|
234
|
+
<div class="refsect2">
|
235
|
+
<a name="GSimpleProxyResolver--default-proxy"></a><h3>The <code class="literal">"default-proxy"</code> property</h3>
|
236
|
+
<pre class="programlisting"> "default-proxy" <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
|
237
|
+
<p>
|
238
|
+
The default proxy URI that will be used for any URI that doesn't
|
239
|
+
match <a class="link" href="GSimpleProxyResolver.html#GSimpleProxyResolver--ignore-hosts" title='The "ignore-hosts" property'><span class="type">"ignore-hosts"</span></a>, and doesn't match any
|
240
|
+
of the schemes set with <a class="link" href="GSimpleProxyResolver.html#g-simple-proxy-resolver-set-uri-proxy" title="g_simple_proxy_resolver_set_uri_proxy ()"><code class="function">g_simple_proxy_resolver_set_uri_proxy()</code></a>.
|
241
|
+
</p>
|
242
|
+
<p>
|
243
|
+
Note that as a special case, if this URI starts with
|
244
|
+
"<code class="literal">socks://</code>", <a class="link" href="GSimpleProxyResolver.html" title="GSimpleProxyResolver"><span class="type">GSimpleProxyResolver</span></a> will treat
|
245
|
+
it as referring to all three of the <code class="literal">socks5</code>,
|
246
|
+
<code class="literal">socks4a</code>, and <code class="literal">socks4</code> proxy
|
247
|
+
types.
|
248
|
+
</p>
|
249
|
+
<p>Default value: NULL</p>
|
250
|
+
</div>
|
251
|
+
<hr>
|
252
|
+
<div class="refsect2">
|
253
|
+
<a name="GSimpleProxyResolver--ignore-hosts"></a><h3>The <code class="literal">"ignore-hosts"</code> property</h3>
|
254
|
+
<pre class="programlisting"> "ignore-hosts" <a href="../gobject/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a> : Read / Write</pre>
|
255
|
+
<p>
|
256
|
+
A list of hostnames and IP addresses that the resolver should
|
257
|
+
allow direct connections to.
|
258
|
+
</p>
|
259
|
+
<p>
|
260
|
+
Entries can be in one of 4 formats:
|
261
|
+
</p>
|
262
|
+
<p>
|
263
|
+
</p>
|
264
|
+
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
265
|
+
<li class="listitem">
|
266
|
+
A hostname, such as "<code class="literal">example.com</code>",
|
267
|
+
"<code class="literal">.example.com</code>", or
|
268
|
+
"<code class="literal">*.example.com</code>", any of which match
|
269
|
+
"<code class="literal">example.com</code>" or any subdomain of it.
|
270
|
+
</li>
|
271
|
+
<li class="listitem">
|
272
|
+
An IPv4 or IPv6 address, such as
|
273
|
+
"<code class="literal">192.168.1.1</code>", which matches only
|
274
|
+
that address.
|
275
|
+
</li>
|
276
|
+
<li class="listitem">
|
277
|
+
A hostname or IP address followed by a port, such as
|
278
|
+
"<code class="literal">example.com:80</code>", which matches whatever
|
279
|
+
the hostname or IP address would match, but only for URLs
|
280
|
+
with the (explicitly) indicated port. In the case of an IPv6
|
281
|
+
address, the address part must appear in brackets:
|
282
|
+
"<code class="literal">[::1]:443</code>"
|
283
|
+
</li>
|
284
|
+
<li class="listitem">
|
285
|
+
An IP address range, given by a base address and prefix length,
|
286
|
+
such as "<code class="literal">fe80::/10</code>", which matches any
|
287
|
+
address in that range.
|
288
|
+
</li>
|
289
|
+
</ul></div>
|
290
|
+
<p>
|
291
|
+
</p>
|
292
|
+
<p>
|
293
|
+
Note that when dealing with Unicode hostnames, the matching is
|
294
|
+
done against the ASCII form of the name.
|
295
|
+
</p>
|
296
|
+
<p>
|
297
|
+
Also note that hostname exclusions apply only to connections made
|
298
|
+
to hosts identified by name, and IP address exclusions apply only
|
299
|
+
to connections made to hosts identified by address. That is, if
|
300
|
+
<code class="literal">example.com</code> has an address of
|
301
|
+
<code class="literal">192.168.1.1</code>, and the :ignore-hosts list
|
302
|
+
contains only "<code class="literal">192.168.1.1</code>", then a connection
|
303
|
+
to "<code class="literal">example.com</code>" (eg, via a <a class="link" href="GNetworkAddress.html" title="GNetworkAddress"><span class="type">GNetworkAddress</span></a>)
|
304
|
+
will use the proxy, and a connection to
|
305
|
+
"<code class="literal">192.168.1.1</code>" (eg, via a <a class="link" href="GInetSocketAddress.html" title="GInetSocketAddress"><span class="type">GInetSocketAddress</span></a>)
|
306
|
+
will not.
|
307
|
+
</p>
|
308
|
+
<p>
|
309
|
+
These rules match the "ignore-hosts"/"noproxy" rules most
|
310
|
+
commonly used by other applications.
|
311
|
+
</p>
|
312
|
+
</div>
|
313
|
+
</div>
|
314
|
+
<div class="refsect1">
|
315
|
+
<a name="GSimpleProxyResolver.see-also"></a><h2>See Also</h2>
|
316
|
+
g_socket_client_set_proxy_resolver()
|
317
|
+
</div>
|
318
|
+
</div>
|
319
|
+
<div class="footer">
|
320
|
+
<hr>
|
321
|
+
Generated by GTK-Doc V1.18.1</div>
|
322
|
+
</body>
|
323
|
+
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="networking.html" title="Low-level network support">
|
9
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.18 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -47,9 +47,9 @@
|
|
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="
|
50
|
+
<a href="../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-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>,
|
52
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
|
53
53
|
enum <a class="link" href="GSocket.html#GSocketType" title="enum GSocketType">GSocketType</a>;
|
54
54
|
enum <a class="link" href="GSocket.html#GSocketProtocol" title="enum GSocketProtocol">GSocketProtocol</a>;
|
55
55
|
enum <a class="link" href="GSocket.html#GSocketMsgFlags" title="enum GSocketMsgFlags">GSocketMsgFlags</a>;
|
@@ -58,151 +58,161 @@ struct <a class="link" href="GSocket.html#GOutputVector" title="str
|
|
58
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
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
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="
|
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="
|
63
|
-
<em class="parameter"><code><a href="
|
64
|
-
<a href="
|
61
|
+
<em class="parameter"><code><a href="../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-Basic-Types.html#gint"><span class="type">gint</span></a> fd</code></em>,
|
63
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
64
|
+
<a href="../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="
|
66
|
+
<em class="parameter"><code><a href="../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-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
68
|
+
<a href="../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-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
70
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-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
73
|
+
<a href="../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-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
77
|
+
<a href="../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-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
79
|
+
<a href="../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-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
81
|
+
<em class="parameter"><code><a href="../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-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
84
|
+
<a href="../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-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
87
|
+
<em class="parameter"><code><a href="../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-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
90
|
+
<a href="../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-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-Basic-Types.html#gint"><span class="type">gint</span></a> *num_messages</code></em>,
|
96
|
+
<em class="parameter"><code><a href="../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-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
99
|
+
<a href="../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-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
101
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
102
|
+
<em class="parameter"><code><a href="../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-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
105
|
+
<a href="../glib/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> <a class="link" href="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-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
107
|
+
<em class="parameter"><code><a href="../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-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
110
|
+
<a href="../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-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
113
|
+
<em class="parameter"><code><a href="../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-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
116
|
+
<a href="../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-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-Basic-Types.html#gint"><span class="type">gint</span></a> num_messages</code></em>,
|
122
|
+
<em class="parameter"><code><a href="../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-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
125
|
+
<a href="../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-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
127
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
128
|
+
<em class="parameter"><code><a href="../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-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
131
|
+
<a href="../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-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
133
|
+
<a href="../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-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-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> shutdown_read</code></em>,
|
136
|
+
<em class="parameter"><code><a href="../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-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
138
|
+
<a href="../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-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-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-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-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>);
|
144
|
+
<a href="../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-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>,
|
146
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="
|
148
|
-
<a href="
|
149
|
-
<em class="parameter"><code><a href="
|
150
|
-
<em class="parameter"><code><a href="
|
147
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
148
|
+
<a href="../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-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>,
|
150
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> timeout</code></em>,
|
151
151
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
152
|
-
<em class="parameter"><code><a href="
|
153
|
-
<a href="
|
152
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
153
|
+
<a href="../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>);
|
154
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>,
|
155
|
-
<em class="parameter"><code><a href="
|
156
|
-
<a href="
|
157
|
-
<a href="
|
155
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> backlog</code></em>);
|
156
|
+
<a href="../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-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>);
|
158
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>,
|
159
|
-
<em class="parameter"><code><a href="
|
160
|
-
<a href="
|
159
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> blocking</code></em>);
|
160
|
+
<a href="../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>);
|
161
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>,
|
162
|
-
<em class="parameter"><code><a href="
|
163
|
-
<a href="
|
162
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> keepalive</code></em>);
|
163
|
+
<a href="../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>);
|
164
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>,
|
165
|
-
<em class="parameter"><code><a href="
|
165
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> timeout</code></em>);
|
166
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="
|
168
|
-
<a href="
|
169
|
-
<a href="
|
167
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> ttl</code></em>);
|
168
|
+
<a href="../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-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
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="
|
171
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> broadcast</code></em>);
|
172
|
+
<a href="../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-Basic-Types.html#gint"><span class="type">gint</span></a> level</code></em>,
|
174
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> optname</code></em>,
|
175
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *value</code></em>,
|
176
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
177
|
+
<a href="../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-Basic-Types.html#gint"><span class="type">gint</span></a> level</code></em>,
|
179
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> optname</code></em>,
|
180
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> value</code></em>,
|
181
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
172
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>);
|
173
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>);
|
174
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>,
|
175
|
-
<em class="parameter"><code><a href="
|
185
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
176
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>);
|
177
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>,
|
178
|
-
<em class="parameter"><code><a href="
|
188
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
179
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>);
|
180
|
-
<a href="
|
190
|
+
<a href="../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>);
|
181
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>,
|
182
|
-
<em class="parameter"><code><a href="
|
192
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
183
193
|
|
184
|
-
<a href="
|
194
|
+
<a href="../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>,
|
185
195
|
<em class="parameter"><code><a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> *group</code></em>,
|
186
|
-
<em class="parameter"><code><a href="
|
187
|
-
<em class="parameter"><code>const <a href="
|
188
|
-
<em class="parameter"><code><a href="
|
189
|
-
<a href="
|
196
|
+
<em class="parameter"><code><a href="../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-Basic-Types.html#gchar"><span class="type">gchar</span></a> *iface</code></em>,
|
198
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
199
|
+
<a href="../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>,
|
190
200
|
<em class="parameter"><code><a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> *group</code></em>,
|
191
|
-
<em class="parameter"><code><a href="
|
192
|
-
<em class="parameter"><code>const <a href="
|
193
|
-
<em class="parameter"><code><a href="
|
194
|
-
<a href="
|
201
|
+
<em class="parameter"><code><a href="../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-Basic-Types.html#gchar"><span class="type">gchar</span></a> *iface</code></em>,
|
203
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
204
|
+
<a href="../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>);
|
195
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>,
|
196
|
-
<em class="parameter"><code><a href="
|
197
|
-
<a href="
|
206
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> loopback</code></em>);
|
207
|
+
<a href="../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>);
|
198
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>,
|
199
|
-
<em class="parameter"><code><a href="
|
209
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> ttl</code></em>);
|
200
210
|
</pre>
|
201
211
|
</div>
|
202
212
|
<div class="refsect1">
|
203
213
|
<a name="GSocket.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
204
214
|
<pre class="synopsis">
|
205
|
-
<a href="
|
215
|
+
<a href="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
206
216
|
+----GSocket
|
207
217
|
</pre>
|
208
218
|
</div>
|
@@ -215,19 +225,19 @@ GSocket implements
|
|
215
225
|
<div class="refsect1">
|
216
226
|
<a name="GSocket.properties"></a><h2>Properties</h2>
|
217
227
|
<pre class="synopsis">
|
218
|
-
"<a class="link" href="GSocket.html#GSocket--blocking" title='The "blocking" property'>blocking</a>" <a href="
|
219
|
-
"<a class="link" href="GSocket.html#GSocket--broadcast" title='The "broadcast" property'>broadcast</a>" <a href="
|
228
|
+
"<a class="link" href="GSocket.html#GSocket--blocking" title='The "blocking" property'>blocking</a>" <a href="../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-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
220
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
|
221
|
-
"<a class="link" href="GSocket.html#GSocket--fd" title='The "fd" property'>fd</a>" <a href="
|
222
|
-
"<a class="link" href="GSocket.html#GSocket--keepalive" title='The "keepalive" property'>keepalive</a>" <a href="
|
223
|
-
"<a class="link" href="GSocket.html#GSocket--listen-backlog" title='The "listen-backlog" property'>listen-backlog</a>" <a href="
|
231
|
+
"<a class="link" href="GSocket.html#GSocket--fd" title='The "fd" property'>fd</a>" <a href="../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-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-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
|
224
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
|
225
|
-
"<a class="link" href="GSocket.html#GSocket--multicast-loopback" title='The "multicast-loopback" property'>multicast-loopback</a>" <a href="
|
226
|
-
"<a class="link" href="GSocket.html#GSocket--multicast-ttl" title='The "multicast-ttl" property'>multicast-ttl</a>" <a href="
|
235
|
+
"<a class="link" href="GSocket.html#GSocket--multicast-loopback" title='The "multicast-loopback" property'>multicast-loopback</a>" <a href="../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-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
|
227
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
|
228
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
|
229
|
-
"<a class="link" href="GSocket.html#GSocket--timeout" title='The "timeout" property'>timeout</a>" <a href="
|
230
|
-
"<a class="link" href="GSocket.html#GSocket--ttl" title='The "ttl" property'>ttl</a>" <a href="
|
239
|
+
"<a class="link" href="GSocket.html#GSocket--timeout" title='The "timeout" property'>timeout</a>" <a href="../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-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
|
231
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
|
232
242
|
</pre>
|
233
243
|
</div>
|
@@ -247,10 +257,10 @@ direct use of <a class="link" href="GSocket.html" title="GSocket"><span class="t
|
|
247
257
|
</p>
|
248
258
|
<p>
|
249
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
|
250
|
-
by e.g. <a href="
|
260
|
+
by e.g. <a href="../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
|
251
261
|
results before using the object. This is done automatically in
|
252
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
|
253
|
-
<a href="
|
263
|
+
<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
254
264
|
</p>
|
255
265
|
<p>
|
256
266
|
Sockets operate in two general modes, blocking or non-blocking. When
|
@@ -259,7 +269,7 @@ is finished or there is an error. In non-blocking mode all calls that
|
|
259
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.
|
260
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>,
|
261
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
|
262
|
-
attach it to a <a href="
|
272
|
+
attach it to a <a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a> to get callbacks when I/O is possible.
|
263
273
|
Note that all sockets are always set to non blocking mode in the system, and
|
264
274
|
blocking mode is emulated in GSocket.
|
265
275
|
</p>
|
@@ -302,11 +312,11 @@ A lowlevel network socket object.
|
|
302
312
|
<hr>
|
303
313
|
<div class="refsect2">
|
304
314
|
<a name="GSocketSourceFunc"></a><h3>GSocketSourceFunc ()</h3>
|
305
|
-
<pre class="programlisting"><a href="
|
306
|
-
<em class="parameter"><code><a href="
|
307
|
-
<em class="parameter"><code><a href="
|
315
|
+
<pre class="programlisting"><a href="../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-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>,
|
317
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
308
318
|
<p>
|
309
|
-
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-The-Main-Event-Loop.html#GSource"><span class="type">GSource</span></a>
|
310
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>.
|
311
321
|
</p>
|
312
322
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -330,7 +340,7 @@ returned by <a class="link" href="GSocket.html#g-socket-create-source" title="g_
|
|
330
340
|
</tr>
|
331
341
|
<tr>
|
332
342
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
333
|
-
<td>it should return <a href="
|
343
|
+
<td>it should return <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the source should be removed.</td>
|
334
344
|
</tr>
|
335
345
|
</tbody>
|
336
346
|
</table></div>
|
@@ -508,11 +518,11 @@ first buffer, switching to the next as needed.
|
|
508
518
|
</colgroup>
|
509
519
|
<tbody>
|
510
520
|
<tr>
|
511
|
-
<td><p><span class="term"><a href="
|
521
|
+
<td><p><span class="term"><a href="../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>
|
512
522
|
<td>Pointer to a buffer where data will be written.</td>
|
513
523
|
</tr>
|
514
524
|
<tr>
|
515
|
-
<td><p><span class="term"><a href="
|
525
|
+
<td><p><span class="term"><a href="../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>
|
516
526
|
<td>the available size in <em class="parameter"><code>buffer</code></em>.</td>
|
517
527
|
</tr>
|
518
528
|
</tbody>
|
@@ -540,11 +550,11 @@ one buffer.
|
|
540
550
|
</colgroup>
|
541
551
|
<tbody>
|
542
552
|
<tr>
|
543
|
-
<td><p><span class="term"><a href="
|
553
|
+
<td><p><span class="term"><a href="../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>
|
544
554
|
<td>Pointer to a buffer of data to read.</td>
|
545
555
|
</tr>
|
546
556
|
<tr>
|
547
|
-
<td><p><span class="term"><a href="
|
557
|
+
<td><p><span class="term"><a href="../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>
|
548
558
|
<td>the size of <em class="parameter"><code>buffer</code></em>.</td>
|
549
559
|
</tr>
|
550
560
|
</tbody>
|
@@ -557,7 +567,7 @@ one buffer.
|
|
557
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>,
|
558
568
|
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketType" title="enum GSocketType"><span class="type">GSocketType</span></a> type</code></em>,
|
559
569
|
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketProtocol" title="enum GSocketProtocol"><span class="type">GSocketProtocol</span></a> protocol</code></em>,
|
560
|
-
<em class="parameter"><code><a href="
|
570
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
561
571
|
<p>
|
562
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.
|
563
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
|
@@ -596,12 +606,12 @@ know the protocol number used for it.
|
|
596
606
|
<tr>
|
597
607
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
598
608
|
<td>
|
599
|
-
<a href="
|
609
|
+
<a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
600
610
|
</tr>
|
601
611
|
<tr>
|
602
612
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
603
|
-
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> or <a href="
|
604
|
-
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-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
|
614
|
+
Free the returned object with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</td>
|
605
615
|
</tr>
|
606
616
|
</tbody>
|
607
617
|
</table></div>
|
@@ -610,8 +620,8 @@ Free the returned object with <a href="./../gobject/gobject/gobject-The-Base-Obj
|
|
610
620
|
<hr>
|
611
621
|
<div class="refsect2">
|
612
622
|
<a name="g-socket-new-from-fd"></a><h3>g_socket_new_from_fd ()</h3>
|
613
|
-
<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="
|
614
|
-
<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-Basic-Types.html#gint"><span class="type">gint</span></a> fd</code></em>,
|
624
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
615
625
|
<p>
|
616
626
|
Creates a new <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> from a native file descriptor
|
617
627
|
or winsock SOCKET handle.
|
@@ -635,12 +645,12 @@ mode of the <a class="link" href="GSocket.html" title="GSocket"><span class="typ
|
|
635
645
|
<tr>
|
636
646
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
637
647
|
<td>
|
638
|
-
<a href="
|
648
|
+
<a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
639
649
|
</tr>
|
640
650
|
<tr>
|
641
651
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
642
|
-
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> or <a href="
|
643
|
-
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-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
|
653
|
+
Free the returned object with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</td>
|
644
654
|
</tr>
|
645
655
|
</tbody>
|
646
656
|
</table></div>
|
@@ -649,10 +659,10 @@ Free the returned object with <a href="./../gobject/gobject/gobject-The-Base-Obj
|
|
649
659
|
<hr>
|
650
660
|
<div class="refsect2">
|
651
661
|
<a name="g-socket-bind"></a><h3>g_socket_bind ()</h3>
|
652
|
-
<pre class="programlisting"><a href="
|
662
|
+
<pre class="programlisting"><a href="../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>,
|
653
663
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>,
|
654
|
-
<em class="parameter"><code><a href="
|
655
|
-
<em class="parameter"><code><a href="
|
664
|
+
<em class="parameter"><code><a href="../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-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
656
666
|
<p>
|
657
667
|
When a socket is created it is attached to an address family, but it
|
658
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
|
@@ -665,9 +675,9 @@ In certain situations, you may also want to bind a socket that will be
|
|
665
675
|
used to initiate connections, though this is not normally required.
|
666
676
|
</p>
|
667
677
|
<p>
|
668
|
-
<em class="parameter"><code>allow_reuse</code></em> should be <a href="
|
669
|
-
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="
|
670
|
-
(Specifically, if it is <a href="
|
678
|
+
<em class="parameter"><code>allow_reuse</code></em> should be <a href="../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-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> for client sockets.
|
680
|
+
(Specifically, if it is <a href="../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
|
671
681
|
<code class="literal">SO_REUSEADDR</code> flag on the socket, allowing it to bind <em class="parameter"><code>address</code></em> even if
|
672
682
|
that address was previously used by another socket that has not yet been
|
673
683
|
fully cleaned-up by the kernel. Failing to set this flag on a server
|
@@ -695,12 +705,12 @@ the server program is stopped and then immediately restarted.)
|
|
695
705
|
<tr>
|
696
706
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
697
707
|
<td>
|
698
|
-
<a href="
|
708
|
+
<a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
699
709
|
</tr>
|
700
710
|
<tr>
|
701
711
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
702
712
|
<td>
|
703
|
-
<a href="
|
713
|
+
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error.</td>
|
704
714
|
</tr>
|
705
715
|
</tbody>
|
706
716
|
</table></div>
|
@@ -709,8 +719,8 @@ the server program is stopped and then immediately restarted.)
|
|
709
719
|
<hr>
|
710
720
|
<div class="refsect2">
|
711
721
|
<a name="g-socket-listen"></a><h3>g_socket_listen ()</h3>
|
712
|
-
<pre class="programlisting"><a href="
|
713
|
-
<em class="parameter"><code><a href="
|
722
|
+
<pre class="programlisting"><a href="../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-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
714
724
|
<p>
|
715
725
|
Marks the socket as a server socket, i.e. a socket that is used
|
716
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>.
|
@@ -736,12 +746,12 @@ To set the maximum amount of outstanding clients, use
|
|
736
746
|
<tr>
|
737
747
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
738
748
|
<td>
|
739
|
-
<a href="
|
749
|
+
<a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
740
750
|
</tr>
|
741
751
|
<tr>
|
742
752
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
743
753
|
<td>
|
744
|
-
<a href="
|
754
|
+
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error.</td>
|
745
755
|
</tr>
|
746
756
|
</tbody>
|
747
757
|
</table></div>
|
@@ -752,7 +762,7 @@ To set the maximum amount of outstanding clients, use
|
|
752
762
|
<a name="g-socket-accept"></a><h3>g_socket_accept ()</h3>
|
753
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>,
|
754
764
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
755
|
-
<em class="parameter"><code><a href="
|
765
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
756
766
|
<p>
|
757
767
|
Accept incoming connections on a connection-based socket. This removes
|
758
768
|
the first outstanding connection request from the listening socket and
|
@@ -765,7 +775,7 @@ must be listening for incoming connections (<a class="link" href="GSocket.html#g
|
|
765
775
|
<p>
|
766
776
|
If there are no outstanding connections then the operation will block
|
767
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.
|
768
|
-
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-IO-Channels.html#G-IO-IN:CAPS"><code class="literal">G_IO_IN</code></a> condition.
|
769
779
|
</p>
|
770
780
|
<div class="variablelist"><table border="0" class="variablelist">
|
771
781
|
<colgroup>
|
@@ -779,18 +789,18 @@ To be notified of an incoming connection, wait for the <a href="./../glib/glib/g
|
|
779
789
|
</tr>
|
780
790
|
<tr>
|
781
791
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
782
|
-
<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-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>
|
783
793
|
</td>
|
784
794
|
</tr>
|
785
795
|
<tr>
|
786
796
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
787
797
|
<td>
|
788
|
-
<a href="
|
798
|
+
<a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
789
799
|
</tr>
|
790
800
|
<tr>
|
791
801
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
792
|
-
<td>a new <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>, or <a href="
|
793
|
-
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-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
|
803
|
+
Free the returned object with <a href="../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>
|
794
804
|
</td>
|
795
805
|
</tr>
|
796
806
|
</tbody>
|
@@ -800,10 +810,10 @@ Free the returned object with <a href="./../gobject/gobject/gobject-The-Base-Obj
|
|
800
810
|
<hr>
|
801
811
|
<div class="refsect2">
|
802
812
|
<a name="g-socket-connect"></a><h3>g_socket_connect ()</h3>
|
803
|
-
<pre class="programlisting"><a href="
|
813
|
+
<pre class="programlisting"><a href="../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>,
|
804
814
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>,
|
805
815
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
806
|
-
<em class="parameter"><code><a href="
|
816
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
807
817
|
<p>
|
808
818
|
Connect the socket to the specified remote address.
|
809
819
|
</p>
|
@@ -841,18 +851,18 @@ checked with <a class="link" href="GSocket.html#g-socket-check-connect-result" t
|
|
841
851
|
</tr>
|
842
852
|
<tr>
|
843
853
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
844
|
-
<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-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>
|
845
855
|
</td>
|
846
856
|
</tr>
|
847
857
|
<tr>
|
848
858
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
849
859
|
<td>
|
850
|
-
<a href="
|
860
|
+
<a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
851
861
|
</tr>
|
852
862
|
<tr>
|
853
863
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
854
864
|
<td>
|
855
|
-
<a href="
|
865
|
+
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if connected, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error.</td>
|
856
866
|
</tr>
|
857
867
|
</tbody>
|
858
868
|
</table></div>
|
@@ -861,8 +871,8 @@ checked with <a class="link" href="GSocket.html#g-socket-check-connect-result" t
|
|
861
871
|
<hr>
|
862
872
|
<div class="refsect2">
|
863
873
|
<a name="g-socket-check-connect-result"></a><h3>g_socket_check_connect_result ()</h3>
|
864
|
-
<pre class="programlisting"><a href="
|
865
|
-
<em class="parameter"><code><a href="
|
874
|
+
<pre class="programlisting"><a href="../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-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
866
876
|
<p>
|
867
877
|
Checks and resets the pending connect error for the socket.
|
868
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
|
@@ -882,12 +892,12 @@ used in non-blocking mode.
|
|
882
892
|
<tr>
|
883
893
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
884
894
|
<td>
|
885
|
-
<a href="
|
895
|
+
<a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
886
896
|
</tr>
|
887
897
|
<tr>
|
888
898
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
889
899
|
<td>
|
890
|
-
<a href="
|
900
|
+
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if no error, <a href="../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>
|
891
901
|
</tr>
|
892
902
|
</tbody>
|
893
903
|
</table></div>
|
@@ -896,15 +906,15 @@ used in non-blocking mode.
|
|
896
906
|
<hr>
|
897
907
|
<div class="refsect2">
|
898
908
|
<a name="g-socket-receive"></a><h3>g_socket_receive ()</h3>
|
899
|
-
<pre class="programlisting"><a href="
|
900
|
-
<em class="parameter"><code><a href="
|
901
|
-
<em class="parameter"><code><a href="
|
909
|
+
<pre class="programlisting"><a href="../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-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
911
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
902
912
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
903
|
-
<em class="parameter"><code><a href="
|
913
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
904
914
|
<p>
|
905
915
|
Receive data (up to <em class="parameter"><code>size</code></em> bytes) from a socket. This is mainly used by
|
906
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>
|
907
|
-
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-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
908
918
|
</p>
|
909
919
|
<p>
|
910
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,
|
@@ -925,7 +935,7 @@ is some data to receive, the connection is closed, or there is an
|
|
925
935
|
error. If there is no data available and the socket is in
|
926
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
|
927
937
|
returned. To be notified when data is available, wait for the
|
928
|
-
<a href="
|
938
|
+
<a href="../glib/glib-IO-Channels.html#G-IO-IN:CAPS"><code class="literal">G_IO_IN</code></a> condition.
|
929
939
|
</p>
|
930
940
|
<p>
|
931
941
|
On error -1 is returned and <em class="parameter"><code>error</code></em> is set accordingly.
|
@@ -943,8 +953,9 @@ On error -1 is returned and <em class="parameter"><code>error</code></em> is set
|
|
943
953
|
</tr>
|
944
954
|
<tr>
|
945
955
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
946
|
-
<td>a buffer to
|
947
|
-
bytes long)
|
956
|
+
<td>a buffer to
|
957
|
+
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>
|
958
|
+
</td>
|
948
959
|
</tr>
|
949
960
|
<tr>
|
950
961
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
@@ -952,13 +963,13 @@ bytes long).</td>
|
|
952
963
|
</tr>
|
953
964
|
<tr>
|
954
965
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
955
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="
|
966
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
956
967
|
</td>
|
957
968
|
</tr>
|
958
969
|
<tr>
|
959
970
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
960
971
|
<td>
|
961
|
-
<a href="
|
972
|
+
<a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
962
973
|
</tr>
|
963
974
|
<tr>
|
964
975
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -972,17 +983,17 @@ the peer, or -1 on error</td>
|
|
972
983
|
<hr>
|
973
984
|
<div class="refsect2">
|
974
985
|
<a name="g-socket-receive-from"></a><h3>g_socket_receive_from ()</h3>
|
975
|
-
<pre class="programlisting"><a href="
|
986
|
+
<pre class="programlisting"><a href="../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>,
|
976
987
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> **address</code></em>,
|
977
|
-
<em class="parameter"><code><a href="
|
978
|
-
<em class="parameter"><code><a href="
|
988
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
989
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
979
990
|
<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="
|
991
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
981
992
|
<p>
|
982
993
|
Receive data (up to <em class="parameter"><code>size</code></em> bytes) from a socket.
|
983
994
|
</p>
|
984
995
|
<p>
|
985
|
-
If <em class="parameter"><code>address</code></em> is non-<a href="
|
996
|
+
If <em class="parameter"><code>address</code></em> is non-<a href="../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
|
986
997
|
source address of the received packet.
|
987
998
|
<em class="parameter"><code>address</code></em> is owned by the caller.
|
988
999
|
</p>
|
@@ -1003,7 +1014,7 @@ See <a class="link" href="GSocket.html#g-socket-receive" title="g_socket_receive
|
|
1003
1014
|
<tr>
|
1004
1015
|
<td><p><span class="term"><em class="parameter"><code>address</code></em> :</span></p></td>
|
1005
1016
|
<td>a pointer to a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>
|
1006
|
-
pointer, or <a href="
|
1017
|
+
pointer, or <a href="../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>
|
1007
1018
|
</td>
|
1008
1019
|
</tr>
|
1009
1020
|
<tr>
|
@@ -1018,13 +1029,13 @@ read data into (which should be at least <em class="parameter"><code>size</code>
|
|
1018
1029
|
</tr>
|
1019
1030
|
<tr>
|
1020
1031
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1021
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="
|
1032
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1022
1033
|
</td>
|
1023
1034
|
</tr>
|
1024
1035
|
<tr>
|
1025
1036
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1026
1037
|
<td>
|
1027
|
-
<a href="
|
1038
|
+
<a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
1028
1039
|
</tr>
|
1029
1040
|
<tr>
|
1030
1041
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1038,22 +1049,22 @@ the peer, or -1 on error</td>
|
|
1038
1049
|
<hr>
|
1039
1050
|
<div class="refsect2">
|
1040
1051
|
<a name="g-socket-receive-message"></a><h3>g_socket_receive_message ()</h3>
|
1041
|
-
<pre class="programlisting"><a href="
|
1052
|
+
<pre class="programlisting"><a href="../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>,
|
1042
1053
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> **address</code></em>,
|
1043
1054
|
<em class="parameter"><code><a class="link" href="GSocket.html#GInputVector" title="struct GInputVector"><span class="type">GInputVector</span></a> *vectors</code></em>,
|
1044
|
-
<em class="parameter"><code><a href="
|
1055
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_vectors</code></em>,
|
1045
1056
|
<em class="parameter"><code><a class="link" href="GSocketControlMessage.html" title="GSocketControlMessage"><span class="type">GSocketControlMessage</span></a> ***messages</code></em>,
|
1046
|
-
<em class="parameter"><code><a href="
|
1047
|
-
<em class="parameter"><code><a href="
|
1057
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *num_messages</code></em>,
|
1058
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *flags</code></em>,
|
1048
1059
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1049
|
-
<em class="parameter"><code><a href="
|
1060
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1050
1061
|
<p>
|
1051
1062
|
Receive data from a socket. This is the most complicated and
|
1052
1063
|
fully-featured version of this call. For easier use, see
|
1053
1064
|
<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>.
|
1054
1065
|
</p>
|
1055
1066
|
<p>
|
1056
|
-
If <em class="parameter"><code>address</code></em> is non-<a href="
|
1067
|
+
If <em class="parameter"><code>address</code></em> is non-<a href="../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
|
1057
1068
|
source address of the received packet.
|
1058
1069
|
<em class="parameter"><code>address</code></em> is owned by the caller.
|
1059
1070
|
</p>
|
@@ -1062,32 +1073,32 @@ source address of the received packet.
|
|
1062
1073
|
<em class="parameter"><code>num_vectors</code></em> must be the length of this array. These structs
|
1063
1074
|
describe the buffers that received data will be scattered into.
|
1064
1075
|
If <em class="parameter"><code>num_vectors</code></em> is -1, then <em class="parameter"><code>vectors</code></em> is assumed to be terminated
|
1065
|
-
by a <a class="link" href="GSocket.html#GInputVector" title="struct GInputVector"><span class="type">GInputVector</span></a> with a <a href="
|
1076
|
+
by a <a class="link" href="GSocket.html#GInputVector" title="struct GInputVector"><span class="type">GInputVector</span></a> with a <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> buffer pointer.
|
1066
1077
|
</p>
|
1067
1078
|
<p>
|
1068
1079
|
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>
|
1069
|
-
may of course be <a href="
|
1080
|
+
may of course be <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>), then a single byte is received and
|
1070
1081
|
discarded. This is to facilitate the common practice of sending a
|
1071
1082
|
single '\0' byte for the purposes of transferring ancillary data.
|
1072
1083
|
</p>
|
1073
1084
|
<p>
|
1074
|
-
<em class="parameter"><code>messages</code></em>, if non-<a href="
|
1075
|
-
array of <a class="link" href="GSocketControlMessage.html" title="GSocketControlMessage"><span class="type">GSocketControlMessage</span></a> instances or <a href="
|
1085
|
+
<em class="parameter"><code>messages</code></em>, if non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, will be set to point to a newly-allocated
|
1086
|
+
array of <a class="link" href="GSocketControlMessage.html" title="GSocketControlMessage"><span class="type">GSocketControlMessage</span></a> instances or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no such
|
1076
1087
|
messages was received. These correspond to the control messages
|
1077
1088
|
received from the kernel, one <a class="link" href="GSocketControlMessage.html" title="GSocketControlMessage"><span class="type">GSocketControlMessage</span></a> per message
|
1078
|
-
from the kernel. This array is <a href="
|
1079
|
-
by the caller using <a href="
|
1080
|
-
element. If <em class="parameter"><code>messages</code></em> is <a href="
|
1089
|
+
from the kernel. This array is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated and must be freed
|
1090
|
+
by the caller using <a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> after calling <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> on each
|
1091
|
+
element. If <em class="parameter"><code>messages</code></em> is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, any control messages received will
|
1081
1092
|
be discarded.
|
1082
1093
|
</p>
|
1083
1094
|
<p>
|
1084
|
-
<em class="parameter"><code>num_messages</code></em>, if non-<a href="
|
1095
|
+
<em class="parameter"><code>num_messages</code></em>, if non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, will be set to the number of control
|
1085
1096
|
messages received.
|
1086
1097
|
</p>
|
1087
1098
|
<p>
|
1088
|
-
If both <em class="parameter"><code>messages</code></em> and <em class="parameter"><code>num_messages</code></em> are non-<a href="
|
1099
|
+
If both <em class="parameter"><code>messages</code></em> and <em class="parameter"><code>num_messages</code></em> are non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then
|
1089
1100
|
<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
|
1090
|
-
in <em class="parameter"><code>messages</code></em> (ie: not including the <a href="
|
1101
|
+
in <em class="parameter"><code>messages</code></em> (ie: not including the <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> terminator).
|
1091
1102
|
</p>
|
1092
1103
|
<p>
|
1093
1104
|
<em class="parameter"><code>flags</code></em> is an in/out parameter. The commonly available arguments
|
@@ -1111,7 +1122,7 @@ is some data to receive, the connection is closed, or there is an
|
|
1111
1122
|
error. If there is no data available and the socket is in
|
1112
1123
|
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
|
1113
1124
|
returned. To be notified when data is available, wait for the
|
1114
|
-
<a href="
|
1125
|
+
<a href="../glib/glib-IO-Channels.html#G-IO-IN:CAPS"><code class="literal">G_IO_IN</code></a> condition.
|
1115
1126
|
</p>
|
1116
1127
|
<p>
|
1117
1128
|
On error -1 is returned and <em class="parameter"><code>error</code></em> is set accordingly.
|
@@ -1130,7 +1141,7 @@ On error -1 is returned and <em class="parameter"><code>error</code></em> is set
|
|
1130
1141
|
<tr>
|
1131
1142
|
<td><p><span class="term"><em class="parameter"><code>address</code></em> :</span></p></td>
|
1132
1143
|
<td>a pointer to a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>
|
1133
|
-
pointer, or <a href="
|
1144
|
+
pointer, or <a href="../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>
|
1134
1145
|
</td>
|
1135
1146
|
</tr>
|
1136
1147
|
<tr>
|
@@ -1145,13 +1156,13 @@ pointer, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code c
|
|
1145
1156
|
<tr>
|
1146
1157
|
<td><p><span class="term"><em class="parameter"><code>messages</code></em> :</span></p></td>
|
1147
1158
|
<td>a pointer which
|
1148
|
-
may be filled with an array of <a href="GSocketControlMessage.html"><span class="type">GSocketControlMessages</span></a>, or <a href="
|
1159
|
+
may be filled with an array of <a href="GSocketControlMessage.html"><span class="type">GSocketControlMessages</span></a>, or <a href="../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>
|
1149
1160
|
</td>
|
1150
1161
|
</tr>
|
1151
1162
|
<tr>
|
1152
1163
|
<td><p><span class="term"><em class="parameter"><code>num_messages</code></em> :</span></p></td>
|
1153
1164
|
<td>a pointer which will be filled with the number of
|
1154
|
-
elements in <em class="parameter"><code>messages</code></em>, or <a href="
|
1165
|
+
elements in <em class="parameter"><code>messages</code></em>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1155
1166
|
</td>
|
1156
1167
|
</tr>
|
1157
1168
|
<tr>
|
@@ -1160,12 +1171,12 @@ elements in <em class="parameter"><code>messages</code></em>, or <a href="./../g
|
|
1160
1171
|
</tr>
|
1161
1172
|
<tr>
|
1162
1173
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1163
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="
|
1174
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1164
1175
|
</td>
|
1165
1176
|
</tr>
|
1166
1177
|
<tr>
|
1167
1178
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1168
|
-
<td>a <a href="
|
1179
|
+
<td>a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> pointer, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1169
1180
|
</td>
|
1170
1181
|
</tr>
|
1171
1182
|
<tr>
|
@@ -1180,12 +1191,12 @@ the peer, or -1 on error</td>
|
|
1180
1191
|
<hr>
|
1181
1192
|
<div class="refsect2">
|
1182
1193
|
<a name="g-socket-receive-with-blocking"></a><h3>g_socket_receive_with_blocking ()</h3>
|
1183
|
-
<pre class="programlisting"><a href="
|
1184
|
-
<em class="parameter"><code><a href="
|
1185
|
-
<em class="parameter"><code><a href="
|
1186
|
-
<em class="parameter"><code><a href="
|
1194
|
+
<pre class="programlisting"><a href="../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>,
|
1195
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
1196
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
1197
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> blocking</code></em>,
|
1187
1198
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1188
|
-
<em class="parameter"><code><a href="
|
1199
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1189
1200
|
<p>
|
1190
1201
|
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
|
1191
1202
|
the choice of blocking or non-blocking behavior is determined by
|
@@ -1204,8 +1215,9 @@ the <em class="parameter"><code>blocking</code></em> argument rather than by <em
|
|
1204
1215
|
</tr>
|
1205
1216
|
<tr>
|
1206
1217
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
1207
|
-
<td>a buffer to
|
1208
|
-
bytes long)
|
1218
|
+
<td>a buffer to
|
1219
|
+
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>
|
1220
|
+
</td>
|
1209
1221
|
</tr>
|
1210
1222
|
<tr>
|
1211
1223
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
@@ -1217,13 +1229,13 @@ bytes long).</td>
|
|
1217
1229
|
</tr>
|
1218
1230
|
<tr>
|
1219
1231
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1220
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="
|
1232
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1221
1233
|
</td>
|
1222
1234
|
</tr>
|
1223
1235
|
<tr>
|
1224
1236
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1225
1237
|
<td>
|
1226
|
-
<a href="
|
1238
|
+
<a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
1227
1239
|
</tr>
|
1228
1240
|
<tr>
|
1229
1241
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1237,24 +1249,24 @@ the peer, or -1 on error</td>
|
|
1237
1249
|
<hr>
|
1238
1250
|
<div class="refsect2">
|
1239
1251
|
<a name="g-socket-send"></a><h3>g_socket_send ()</h3>
|
1240
|
-
<pre class="programlisting"><a href="
|
1241
|
-
<em class="parameter"><code>const <a href="
|
1242
|
-
<em class="parameter"><code><a href="
|
1252
|
+
<pre class="programlisting"><a href="../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>,
|
1253
|
+
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
1254
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
1243
1255
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1244
|
-
<em class="parameter"><code><a href="
|
1256
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1245
1257
|
<p>
|
1246
1258
|
Tries to send <em class="parameter"><code>size</code></em> bytes from <em class="parameter"><code>buffer</code></em> on the socket. This is
|
1247
1259
|
mainly used by connection-oriented sockets; it is identical to
|
1248
|
-
<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="
|
1260
|
+
<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-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
1249
1261
|
</p>
|
1250
1262
|
<p>
|
1251
1263
|
If the socket is in blocking mode the call will block until there is
|
1252
1264
|
space for the data in the socket queue. If there is no space available
|
1253
1265
|
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
|
1254
1266
|
will be returned. To be notified when space is available, wait for the
|
1255
|
-
<a href="
|
1267
|
+
<a href="../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
|
1256
1268
|
<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
|
1257
|
-
notified of a <a href="
|
1269
|
+
notified of a <a href="../glib/glib-IO-Channels.html#G-IO-OUT:CAPS"><code class="literal">G_IO_OUT</code></a> condition. (On Windows in particular, this is
|
1258
1270
|
very common due to the way the underlying APIs work.)
|
1259
1271
|
</p>
|
1260
1272
|
<p>
|
@@ -1283,13 +1295,13 @@ containing the data to send. <span class="annotation">[<acronym title="Parameter
|
|
1283
1295
|
</tr>
|
1284
1296
|
<tr>
|
1285
1297
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1286
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="
|
1298
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1287
1299
|
</td>
|
1288
1300
|
</tr>
|
1289
1301
|
<tr>
|
1290
1302
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1291
1303
|
<td>
|
1292
|
-
<a href="
|
1304
|
+
<a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
1293
1305
|
</tr>
|
1294
1306
|
<tr>
|
1295
1307
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1303,15 +1315,15 @@ on error</td>
|
|
1303
1315
|
<hr>
|
1304
1316
|
<div class="refsect2">
|
1305
1317
|
<a name="g-socket-send-to"></a><h3>g_socket_send_to ()</h3>
|
1306
|
-
<pre class="programlisting"><a href="
|
1318
|
+
<pre class="programlisting"><a href="../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>,
|
1307
1319
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>,
|
1308
|
-
<em class="parameter"><code>const <a href="
|
1309
|
-
<em class="parameter"><code><a href="
|
1320
|
+
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
1321
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
1310
1322
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1311
|
-
<em class="parameter"><code><a href="
|
1323
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1312
1324
|
<p>
|
1313
1325
|
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
|
1314
|
-
<a href="
|
1326
|
+
<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then the message is sent to the default receiver (set by
|
1315
1327
|
<a class="link" href="GSocket.html#g-socket-connect" title="g_socket_connect ()"><code class="function">g_socket_connect()</code></a>).
|
1316
1328
|
</p>
|
1317
1329
|
<p>
|
@@ -1330,7 +1342,7 @@ See <a class="link" href="GSocket.html#g-socket-send" title="g_socket_send ()"><
|
|
1330
1342
|
</tr>
|
1331
1343
|
<tr>
|
1332
1344
|
<td><p><span class="term"><em class="parameter"><code>address</code></em> :</span></p></td>
|
1333
|
-
<td>a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>, or <a href="
|
1345
|
+
<td>a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1334
1346
|
</td>
|
1335
1347
|
</tr>
|
1336
1348
|
<tr>
|
@@ -1345,13 +1357,13 @@ containing the data to send. <span class="annotation">[<acronym title="Parameter
|
|
1345
1357
|
</tr>
|
1346
1358
|
<tr>
|
1347
1359
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1348
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="
|
1360
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1349
1361
|
</td>
|
1350
1362
|
</tr>
|
1351
1363
|
<tr>
|
1352
1364
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1353
1365
|
<td>
|
1354
|
-
<a href="
|
1366
|
+
<a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
1355
1367
|
</tr>
|
1356
1368
|
<tr>
|
1357
1369
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1365,39 +1377,39 @@ on error</td>
|
|
1365
1377
|
<hr>
|
1366
1378
|
<div class="refsect2">
|
1367
1379
|
<a name="g-socket-send-message"></a><h3>g_socket_send_message ()</h3>
|
1368
|
-
<pre class="programlisting"><a href="
|
1380
|
+
<pre class="programlisting"><a href="../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>,
|
1369
1381
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>,
|
1370
1382
|
<em class="parameter"><code><a class="link" href="GSocket.html#GOutputVector" title="struct GOutputVector"><span class="type">GOutputVector</span></a> *vectors</code></em>,
|
1371
|
-
<em class="parameter"><code><a href="
|
1383
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_vectors</code></em>,
|
1372
1384
|
<em class="parameter"><code><a class="link" href="GSocketControlMessage.html" title="GSocketControlMessage"><span class="type">GSocketControlMessage</span></a> **messages</code></em>,
|
1373
|
-
<em class="parameter"><code><a href="
|
1374
|
-
<em class="parameter"><code><a href="
|
1385
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_messages</code></em>,
|
1386
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> flags</code></em>,
|
1375
1387
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1376
|
-
<em class="parameter"><code><a href="
|
1388
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1377
1389
|
<p>
|
1378
1390
|
Send data to <em class="parameter"><code>address</code></em> on <em class="parameter"><code>socket</code></em>. This is the most complicated and
|
1379
1391
|
fully-featured version of this call. For easier use, see
|
1380
1392
|
<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>.
|
1381
1393
|
</p>
|
1382
1394
|
<p>
|
1383
|
-
If <em class="parameter"><code>address</code></em> is <a href="
|
1395
|
+
If <em class="parameter"><code>address</code></em> is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then the message is sent to the default receiver
|
1384
1396
|
(set by <a class="link" href="GSocket.html#g-socket-connect" title="g_socket_connect ()"><code class="function">g_socket_connect()</code></a>).
|
1385
1397
|
</p>
|
1386
1398
|
<p>
|
1387
1399
|
<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
|
1388
1400
|
<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,
|
1389
1401
|
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
|
1390
|
-
<a href="
|
1402
|
+
<a href="../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
|
1391
1403
|
that the sent data will be gathered from. Using multiple
|
1392
1404
|
<a class="link" href="GSocket.html#GOutputVector" title="struct GOutputVector"><span class="type">GOutputVector</span></a>s is more memory-efficient than manually copying
|
1393
1405
|
data from multiple sources into a single buffer, and more
|
1394
1406
|
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>.
|
1395
1407
|
</p>
|
1396
1408
|
<p>
|
1397
|
-
<em class="parameter"><code>messages</code></em>, if non-<a href="
|
1409
|
+
<em class="parameter"><code>messages</code></em>, if non-<a href="../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>
|
1398
1410
|
<a class="link" href="GSocketControlMessage.html" title="GSocketControlMessage"><span class="type">GSocketControlMessage</span></a> instances. These correspond to the control
|
1399
1411
|
messages to be sent on the socket.
|
1400
|
-
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="
|
1412
|
+
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-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated
|
1401
1413
|
array.
|
1402
1414
|
</p>
|
1403
1415
|
<p>
|
@@ -1411,9 +1423,9 @@ If the socket is in blocking mode the call will block until there is
|
|
1411
1423
|
space for the data in the socket queue. If there is no space available
|
1412
1424
|
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
|
1413
1425
|
will be returned. To be notified when space is available, wait for the
|
1414
|
-
<a href="
|
1426
|
+
<a href="../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
|
1415
1427
|
<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
|
1416
|
-
notified of a <a href="
|
1428
|
+
notified of a <a href="../glib/glib-IO-Channels.html#G-IO-OUT:CAPS"><code class="literal">G_IO_OUT</code></a> condition. (On Windows in particular, this is
|
1417
1429
|
very common due to the way the underlying APIs work.)
|
1418
1430
|
</p>
|
1419
1431
|
<p>
|
@@ -1432,7 +1444,7 @@ On error -1 is returned and <em class="parameter"><code>error</code></em> is set
|
|
1432
1444
|
</tr>
|
1433
1445
|
<tr>
|
1434
1446
|
<td><p><span class="term"><em class="parameter"><code>address</code></em> :</span></p></td>
|
1435
|
-
<td>a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>, or <a href="
|
1447
|
+
<td>a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1436
1448
|
</td>
|
1437
1449
|
</tr>
|
1438
1450
|
<tr>
|
@@ -1447,7 +1459,7 @@ On error -1 is returned and <em class="parameter"><code>error</code></em> is set
|
|
1447
1459
|
<tr>
|
1448
1460
|
<td><p><span class="term"><em class="parameter"><code>messages</code></em> :</span></p></td>
|
1449
1461
|
<td>a pointer to an
|
1450
|
-
array of <a href="GSocketControlMessage.html"><span class="type">GSocketControlMessages</span></a>, or <a href="
|
1462
|
+
array of <a href="GSocketControlMessage.html"><span class="type">GSocketControlMessages</span></a>, or <a href="../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>
|
1451
1463
|
</td>
|
1452
1464
|
</tr>
|
1453
1465
|
<tr>
|
@@ -1460,13 +1472,13 @@ array of <a href="GSocketControlMessage.html"><span class="type">GSocketControlM
|
|
1460
1472
|
</tr>
|
1461
1473
|
<tr>
|
1462
1474
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1463
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="
|
1475
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1464
1476
|
</td>
|
1465
1477
|
</tr>
|
1466
1478
|
<tr>
|
1467
1479
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1468
1480
|
<td>
|
1469
|
-
<a href="
|
1481
|
+
<a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
1470
1482
|
</tr>
|
1471
1483
|
<tr>
|
1472
1484
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1480,12 +1492,12 @@ on error</td>
|
|
1480
1492
|
<hr>
|
1481
1493
|
<div class="refsect2">
|
1482
1494
|
<a name="g-socket-send-with-blocking"></a><h3>g_socket_send_with_blocking ()</h3>
|
1483
|
-
<pre class="programlisting"><a href="
|
1484
|
-
<em class="parameter"><code>const <a href="
|
1485
|
-
<em class="parameter"><code><a href="
|
1486
|
-
<em class="parameter"><code><a href="
|
1495
|
+
<pre class="programlisting"><a href="../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>,
|
1496
|
+
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
1497
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>,
|
1498
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> blocking</code></em>,
|
1487
1499
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1488
|
-
<em class="parameter"><code><a href="
|
1500
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1489
1501
|
<p>
|
1490
1502
|
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
|
1491
1503
|
the choice of blocking or non-blocking behavior is determined by
|
@@ -1518,13 +1530,13 @@ containing the data to send. <span class="annotation">[<acronym title="Parameter
|
|
1518
1530
|
</tr>
|
1519
1531
|
<tr>
|
1520
1532
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1521
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="
|
1533
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1522
1534
|
</td>
|
1523
1535
|
</tr>
|
1524
1536
|
<tr>
|
1525
1537
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1526
1538
|
<td>
|
1527
|
-
<a href="
|
1539
|
+
<a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
1528
1540
|
</tr>
|
1529
1541
|
<tr>
|
1530
1542
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1538,8 +1550,8 @@ on error</td>
|
|
1538
1550
|
<hr>
|
1539
1551
|
<div class="refsect2">
|
1540
1552
|
<a name="g-socket-close"></a><h3>g_socket_close ()</h3>
|
1541
|
-
<pre class="programlisting"><a href="
|
1542
|
-
<em class="parameter"><code><a href="
|
1553
|
+
<pre class="programlisting"><a href="../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>,
|
1554
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1543
1555
|
<p>
|
1544
1556
|
Closes the socket, shutting down any active connection.
|
1545
1557
|
</p>
|
@@ -1561,7 +1573,7 @@ resources are released as early as possible.
|
|
1561
1573
|
<p>
|
1562
1574
|
Beware that due to the way that TCP works, it is possible for
|
1563
1575
|
recently-sent data to be lost if either you close a socket while the
|
1564
|
-
<a href="
|
1576
|
+
<a href="../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
|
1565
1577
|
send something to you after you close the socket but before it has
|
1566
1578
|
finished reading all of the data you sent. There is no easy generic
|
1567
1579
|
way to avoid this problem; the easiest fix is to design the network
|
@@ -1589,12 +1601,12 @@ does.)
|
|
1589
1601
|
<tr>
|
1590
1602
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1591
1603
|
<td>
|
1592
|
-
<a href="
|
1604
|
+
<a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
1593
1605
|
</tr>
|
1594
1606
|
<tr>
|
1595
1607
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1596
1608
|
<td>
|
1597
|
-
<a href="
|
1609
|
+
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error</td>
|
1598
1610
|
</tr>
|
1599
1611
|
</tbody>
|
1600
1612
|
</table></div>
|
@@ -1603,7 +1615,7 @@ does.)
|
|
1603
1615
|
<hr>
|
1604
1616
|
<div class="refsect2">
|
1605
1617
|
<a name="g-socket-is-closed"></a><h3>g_socket_is_closed ()</h3>
|
1606
|
-
<pre class="programlisting"><a href="
|
1618
|
+
<pre class="programlisting"><a href="../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>
|
1607
1619
|
<p>
|
1608
1620
|
Checks whether a socket is closed.
|
1609
1621
|
</p>
|
@@ -1621,7 +1633,7 @@ Checks whether a socket is closed.
|
|
1621
1633
|
<tr>
|
1622
1634
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1623
1635
|
<td>
|
1624
|
-
<a href="
|
1636
|
+
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if socket is closed, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
|
1625
1637
|
</tr>
|
1626
1638
|
</tbody>
|
1627
1639
|
</table></div>
|
@@ -1630,23 +1642,23 @@ Checks whether a socket is closed.
|
|
1630
1642
|
<hr>
|
1631
1643
|
<div class="refsect2">
|
1632
1644
|
<a name="g-socket-shutdown"></a><h3>g_socket_shutdown ()</h3>
|
1633
|
-
<pre class="programlisting"><a href="
|
1634
|
-
<em class="parameter"><code><a href="
|
1635
|
-
<em class="parameter"><code><a href="
|
1636
|
-
<em class="parameter"><code><a href="
|
1645
|
+
<pre class="programlisting"><a href="../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>,
|
1646
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> shutdown_read</code></em>,
|
1647
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> shutdown_write</code></em>,
|
1648
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1637
1649
|
<p>
|
1638
1650
|
Shut down part of a full-duplex connection.
|
1639
1651
|
</p>
|
1640
1652
|
<p>
|
1641
|
-
If <em class="parameter"><code>shutdown_read</code></em> is <a href="
|
1653
|
+
If <em class="parameter"><code>shutdown_read</code></em> is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> then the receiving side of the connection
|
1642
1654
|
is shut down, and further reading is disallowed.
|
1643
1655
|
</p>
|
1644
1656
|
<p>
|
1645
|
-
If <em class="parameter"><code>shutdown_write</code></em> is <a href="
|
1657
|
+
If <em class="parameter"><code>shutdown_write</code></em> is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> then the sending side of the connection
|
1646
1658
|
is shut down, and further writing is disallowed.
|
1647
1659
|
</p>
|
1648
1660
|
<p>
|
1649
|
-
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="
|
1661
|
+
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-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
|
1650
1662
|
</p>
|
1651
1663
|
<p>
|
1652
1664
|
One example where this is used is graceful disconnect for TCP connections
|
@@ -1675,12 +1687,12 @@ the connection, thus ensuring that the other side saw all sent data.
|
|
1675
1687
|
<tr>
|
1676
1688
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1677
1689
|
<td>
|
1678
|
-
<a href="
|
1690
|
+
<a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
1679
1691
|
</tr>
|
1680
1692
|
<tr>
|
1681
1693
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1682
1694
|
<td>
|
1683
|
-
<a href="
|
1695
|
+
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error</td>
|
1684
1696
|
</tr>
|
1685
1697
|
</tbody>
|
1686
1698
|
</table></div>
|
@@ -1689,7 +1701,7 @@ the connection, thus ensuring that the other side saw all sent data.
|
|
1689
1701
|
<hr>
|
1690
1702
|
<div class="refsect2">
|
1691
1703
|
<a name="g-socket-is-connected"></a><h3>g_socket_is_connected ()</h3>
|
1692
|
-
<pre class="programlisting"><a href="
|
1704
|
+
<pre class="programlisting"><a href="../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>
|
1693
1705
|
<p>
|
1694
1706
|
Check whether the socket is connected. This is only useful for
|
1695
1707
|
connection-oriented sockets.
|
@@ -1707,7 +1719,7 @@ connection-oriented sockets.
|
|
1707
1719
|
<tr>
|
1708
1720
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1709
1721
|
<td>
|
1710
|
-
<a href="
|
1722
|
+
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if socket is connected, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
1711
1723
|
</tr>
|
1712
1724
|
</tbody>
|
1713
1725
|
</table></div>
|
@@ -1716,22 +1728,22 @@ connection-oriented sockets.
|
|
1716
1728
|
<hr>
|
1717
1729
|
<div class="refsect2">
|
1718
1730
|
<a name="g-socket-create-source"></a><h3>g_socket_create_source ()</h3>
|
1719
|
-
<pre class="programlisting"><a href="
|
1720
|
-
<em class="parameter"><code><a href="
|
1731
|
+
<pre class="programlisting"><a href="../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>,
|
1732
|
+
<em class="parameter"><code><a href="../glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>,
|
1721
1733
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>);</pre>
|
1722
1734
|
<p>
|
1723
|
-
Creates a <a href="
|
1735
|
+
Creates a <a href="../glib/glib-The-Main-Event-Loop.html#GSource"><code class="literal">GSource</code></a> that can be attached to a <a href="../glib/glib-The-Main-Event-Loop.html#GMainContext"><code class="literal">GMainContext</code></a> to monitor
|
1724
1736
|
for the availibility of the specified <em class="parameter"><code>condition</code></em> on the socket.
|
1725
1737
|
</p>
|
1726
1738
|
<p>
|
1727
1739
|
The callback on the source is of the <a class="link" href="GSocket.html#GSocketSourceFunc" title="GSocketSourceFunc ()"><span class="type">GSocketSourceFunc</span></a> type.
|
1728
1740
|
</p>
|
1729
1741
|
<p>
|
1730
|
-
It is meaningless to specify <a href="
|
1742
|
+
It is meaningless to specify <a href="../glib/glib-IO-Channels.html#G-IO-ERR:CAPS"><code class="literal">G_IO_ERR</code></a> or <a href="../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>;
|
1731
1743
|
these conditions will always be reported output if they are true.
|
1732
1744
|
</p>
|
1733
1745
|
<p>
|
1734
|
-
<em class="parameter"><code>cancellable</code></em> if not <a href="
|
1746
|
+
<em class="parameter"><code>cancellable</code></em> if not <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> can be used to cancel the source, which will
|
1735
1747
|
cause the source to trigger, reporting the current condition (which
|
1736
1748
|
is likely 0 unless cancellation happened at the same time as a
|
1737
1749
|
condition change). You can check for this in the callback using
|
@@ -1739,8 +1751,8 @@ condition change). You can check for this in the callback using
|
|
1739
1751
|
</p>
|
1740
1752
|
<p>
|
1741
1753
|
If <em class="parameter"><code>socket</code></em> has a timeout set, and it is reached before <em class="parameter"><code>condition</code></em>
|
1742
|
-
occurs, the source will then trigger anyway, reporting <a href="
|
1743
|
-
<a href="
|
1754
|
+
occurs, the source will then trigger anyway, reporting <a href="../glib/glib-IO-Channels.html#G-IO-IN:CAPS"><code class="literal">G_IO_IN</code></a> or
|
1755
|
+
<a href="../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
|
1744
1756
|
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
|
1745
1757
|
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>.
|
1746
1758
|
</p>
|
@@ -1757,16 +1769,16 @@ you call will then fail with a <a class="link" href="gio-GIOError.html#G-IO-ERRO
|
|
1757
1769
|
</tr>
|
1758
1770
|
<tr>
|
1759
1771
|
<td><p><span class="term"><em class="parameter"><code>condition</code></em> :</span></p></td>
|
1760
|
-
<td>a <a href="
|
1772
|
+
<td>a <a href="../glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> mask to monitor</td>
|
1761
1773
|
</tr>
|
1762
1774
|
<tr>
|
1763
1775
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1764
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="
|
1776
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1765
1777
|
</td>
|
1766
1778
|
</tr>
|
1767
1779
|
<tr>
|
1768
1780
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1769
|
-
<td>a newly allocated <a href="
|
1781
|
+
<td>a newly allocated <a href="../glib/glib-The-Main-Event-Loop.html#GSource"><code class="literal">GSource</code></a>, free with <a href="../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>
|
1770
1782
|
</td>
|
1771
1783
|
</tr>
|
1772
1784
|
</tbody>
|
@@ -1776,8 +1788,8 @@ you call will then fail with a <a class="link" href="gio-GIOError.html#G-IO-ERRO
|
|
1776
1788
|
<hr>
|
1777
1789
|
<div class="refsect2">
|
1778
1790
|
<a name="g-socket-condition-check"></a><h3>g_socket_condition_check ()</h3>
|
1779
|
-
<pre class="programlisting"><a href="
|
1780
|
-
<em class="parameter"><code><a href="
|
1791
|
+
<pre class="programlisting"><a href="../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>,
|
1792
|
+
<em class="parameter"><code><a href="../glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>);</pre>
|
1781
1793
|
<p>
|
1782
1794
|
Checks on the readiness of <em class="parameter"><code>socket</code></em> to perform operations.
|
1783
1795
|
The operations specified in <em class="parameter"><code>condition</code></em> are checked for and masked
|
@@ -1794,7 +1806,7 @@ simply try writing to the socket right away, and try again later if
|
|
1794
1806
|
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>.
|
1795
1807
|
</p>
|
1796
1808
|
<p>
|
1797
|
-
It is meaningless to specify <a href="
|
1809
|
+
It is meaningless to specify <a href="../glib/glib-IO-Channels.html#G-IO-ERR:CAPS"><code class="literal">G_IO_ERR</code></a> or <a href="../glib/glib-IO-Channels.html#G-IO-HUP:CAPS"><code class="literal">G_IO_HUP</code></a> in condition;
|
1798
1810
|
these conditions will always be set in the output if they are true.
|
1799
1811
|
</p>
|
1800
1812
|
<p>
|
@@ -1813,7 +1825,7 @@ This call never blocks.
|
|
1813
1825
|
</tr>
|
1814
1826
|
<tr>
|
1815
1827
|
<td><p><span class="term"><em class="parameter"><code>condition</code></em> :</span></p></td>
|
1816
|
-
<td>a <a href="
|
1828
|
+
<td>a <a href="../glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> mask to check</td>
|
1817
1829
|
</tr>
|
1818
1830
|
<tr>
|
1819
1831
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1826,18 +1838,18 @@ This call never blocks.
|
|
1826
1838
|
<hr>
|
1827
1839
|
<div class="refsect2">
|
1828
1840
|
<a name="g-socket-condition-wait"></a><h3>g_socket_condition_wait ()</h3>
|
1829
|
-
<pre class="programlisting"><a href="
|
1830
|
-
<em class="parameter"><code><a href="
|
1841
|
+
<pre class="programlisting"><a href="../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>,
|
1842
|
+
<em class="parameter"><code><a href="../glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>,
|
1831
1843
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1832
|
-
<em class="parameter"><code><a href="
|
1844
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1833
1845
|
<p>
|
1834
1846
|
Waits for <em class="parameter"><code>condition</code></em> to become true on <em class="parameter"><code>socket</code></em>. When the condition
|
1835
|
-
is met, <a href="
|
1847
|
+
is met, <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is returned.
|
1836
1848
|
</p>
|
1837
1849
|
<p>
|
1838
1850
|
If <em class="parameter"><code>cancellable</code></em> is cancelled before the condition is met, or if the
|
1839
1851
|
socket has a timeout set and it is reached before the condition is
|
1840
|
-
met, then <a href="
|
1852
|
+
met, then <a href="../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-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, is set to
|
1841
1853
|
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
|
1842
1854
|
<a class="link" href="gio-GIOError.html#G-IO-ERROR-TIMED-OUT:CAPS"><code class="literal">G_IO_ERROR_TIMED_OUT</code></a>).
|
1843
1855
|
</p>
|
@@ -1857,22 +1869,22 @@ See also <a class="link" href="GSocket.html#g-socket-condition-timed-wait" title
|
|
1857
1869
|
</tr>
|
1858
1870
|
<tr>
|
1859
1871
|
<td><p><span class="term"><em class="parameter"><code>condition</code></em> :</span></p></td>
|
1860
|
-
<td>a <a href="
|
1872
|
+
<td>a <a href="../glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> mask to wait for</td>
|
1861
1873
|
</tr>
|
1862
1874
|
<tr>
|
1863
1875
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1864
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="
|
1876
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1865
1877
|
</td>
|
1866
1878
|
</tr>
|
1867
1879
|
<tr>
|
1868
1880
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1869
|
-
<td>a <a href="
|
1881
|
+
<td>a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> pointer, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1870
1882
|
</td>
|
1871
1883
|
</tr>
|
1872
1884
|
<tr>
|
1873
1885
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1874
1886
|
<td>
|
1875
|
-
<a href="
|
1887
|
+
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the condition was met, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
|
1876
1888
|
</tr>
|
1877
1889
|
</tbody>
|
1878
1890
|
</table></div>
|
@@ -1881,19 +1893,19 @@ See also <a class="link" href="GSocket.html#g-socket-condition-timed-wait" title
|
|
1881
1893
|
<hr>
|
1882
1894
|
<div class="refsect2">
|
1883
1895
|
<a name="g-socket-condition-timed-wait"></a><h3>g_socket_condition_timed_wait ()</h3>
|
1884
|
-
<pre class="programlisting"><a href="
|
1885
|
-
<em class="parameter"><code><a href="
|
1886
|
-
<em class="parameter"><code><a href="
|
1896
|
+
<pre class="programlisting"><a href="../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>,
|
1897
|
+
<em class="parameter"><code><a href="../glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>,
|
1898
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> timeout</code></em>,
|
1887
1899
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1888
|
-
<em class="parameter"><code><a href="
|
1900
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1889
1901
|
<p>
|
1890
1902
|
Waits for up to <em class="parameter"><code>timeout</code></em> microseconds for <em class="parameter"><code>condition</code></em> to become true
|
1891
|
-
on <em class="parameter"><code>socket</code></em>. If the condition is met, <a href="
|
1903
|
+
on <em class="parameter"><code>socket</code></em>. If the condition is met, <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is returned.
|
1892
1904
|
</p>
|
1893
1905
|
<p>
|
1894
1906
|
If <em class="parameter"><code>cancellable</code></em> is cancelled before the condition is met, or if
|
1895
1907
|
<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
|
1896
|
-
condition is met, then <a href="
|
1908
|
+
condition is met, then <a href="../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-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
1897
1909
|
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
|
1898
1910
|
<a class="link" href="gio-GIOError.html#G-IO-ERROR-TIMED-OUT:CAPS"><code class="literal">G_IO_ERROR_TIMED_OUT</code></a>).
|
1899
1911
|
</p>
|
@@ -1920,7 +1932,7 @@ exact number of milliseconds.
|
|
1920
1932
|
</tr>
|
1921
1933
|
<tr>
|
1922
1934
|
<td><p><span class="term"><em class="parameter"><code>condition</code></em> :</span></p></td>
|
1923
|
-
<td>a <a href="
|
1935
|
+
<td>a <a href="../glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> mask to wait for</td>
|
1924
1936
|
</tr>
|
1925
1937
|
<tr>
|
1926
1938
|
<td><p><span class="term"><em class="parameter"><code>timeout</code></em> :</span></p></td>
|
@@ -1928,18 +1940,18 @@ exact number of milliseconds.
|
|
1928
1940
|
</tr>
|
1929
1941
|
<tr>
|
1930
1942
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1931
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="
|
1943
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1932
1944
|
</td>
|
1933
1945
|
</tr>
|
1934
1946
|
<tr>
|
1935
1947
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1936
|
-
<td>a <a href="
|
1948
|
+
<td>a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> pointer, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1937
1949
|
</td>
|
1938
1950
|
</tr>
|
1939
1951
|
<tr>
|
1940
1952
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1941
1953
|
<td>
|
1942
|
-
<a href="
|
1954
|
+
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the condition was met, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
|
1943
1955
|
</tr>
|
1944
1956
|
</tbody>
|
1945
1957
|
</table></div>
|
@@ -1948,7 +1960,7 @@ exact number of milliseconds.
|
|
1948
1960
|
<hr>
|
1949
1961
|
<div class="refsect2">
|
1950
1962
|
<a name="g-socket-get-available-bytes"></a><h3>g_socket_get_available_bytes ()</h3>
|
1951
|
-
<pre class="programlisting"><a href="
|
1963
|
+
<pre class="programlisting"><a href="../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>
|
1952
1964
|
<p>
|
1953
1965
|
Get the amount of data pending in the OS input buffer.
|
1954
1966
|
</p>
|
@@ -1976,7 +1988,7 @@ without blocking or -1 on error.</td>
|
|
1976
1988
|
<div class="refsect2">
|
1977
1989
|
<a name="g-socket-set-listen-backlog"></a><h3>g_socket_set_listen_backlog ()</h3>
|
1978
1990
|
<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>,
|
1979
|
-
<em class="parameter"><code><a href="
|
1991
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> backlog</code></em>);</pre>
|
1980
1992
|
<p>
|
1981
1993
|
Sets the maximum number of outstanding connections allowed
|
1982
1994
|
when listening on this socket. If more clients than this are
|
@@ -2008,7 +2020,7 @@ effect if called after that.
|
|
2008
2020
|
<hr>
|
2009
2021
|
<div class="refsect2">
|
2010
2022
|
<a name="g-socket-get-listen-backlog"></a><h3>g_socket_get_listen_backlog ()</h3>
|
2011
|
-
<pre class="programlisting"><a href="
|
2023
|
+
<pre class="programlisting"><a href="../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>
|
2012
2024
|
<p>
|
2013
2025
|
Gets the listen backlog setting of the socket. For details on this,
|
2014
2026
|
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>.
|
@@ -2034,7 +2046,7 @@ see <a class="link" href="GSocket.html#g-socket-set-listen-backlog" title="g_soc
|
|
2034
2046
|
<hr>
|
2035
2047
|
<div class="refsect2">
|
2036
2048
|
<a name="g-socket-get-blocking"></a><h3>g_socket_get_blocking ()</h3>
|
2037
|
-
<pre class="programlisting"><a href="
|
2049
|
+
<pre class="programlisting"><a href="../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>
|
2038
2050
|
<p>
|
2039
2051
|
Gets the blocking mode of the socket. For details on blocking I/O,
|
2040
2052
|
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>.
|
@@ -2052,7 +2064,7 @@ see <a class="link" href="GSocket.html#g-socket-set-blocking" title="g_socket_se
|
|
2052
2064
|
<tr>
|
2053
2065
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2054
2066
|
<td>
|
2055
|
-
<a href="
|
2067
|
+
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if blocking I/O is used, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
2056
2068
|
</tr>
|
2057
2069
|
</tbody>
|
2058
2070
|
</table></div>
|
@@ -2062,7 +2074,7 @@ see <a class="link" href="GSocket.html#g-socket-set-blocking" title="g_socket_se
|
|
2062
2074
|
<div class="refsect2">
|
2063
2075
|
<a name="g-socket-set-blocking"></a><h3>g_socket_set_blocking ()</h3>
|
2064
2076
|
<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>,
|
2065
|
-
<em class="parameter"><code><a href="
|
2077
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> blocking</code></em>);</pre>
|
2066
2078
|
<p>
|
2067
2079
|
Sets the blocking mode of the socket. In blocking mode
|
2068
2080
|
all operations block until they succeed or there is an error. In
|
@@ -2095,7 +2107,7 @@ is a GSocket level feature.
|
|
2095
2107
|
<hr>
|
2096
2108
|
<div class="refsect2">
|
2097
2109
|
<a name="g-socket-get-keepalive"></a><h3>g_socket_get_keepalive ()</h3>
|
2098
|
-
<pre class="programlisting"><a href="
|
2110
|
+
<pre class="programlisting"><a href="../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>
|
2099
2111
|
<p>
|
2100
2112
|
Gets the keepalive mode of the socket. For details on this,
|
2101
2113
|
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>.
|
@@ -2113,7 +2125,7 @@ see <a class="link" href="GSocket.html#g-socket-set-keepalive" title="g_socket_s
|
|
2113
2125
|
<tr>
|
2114
2126
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2115
2127
|
<td>
|
2116
|
-
<a href="
|
2128
|
+
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if keepalive is active, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
2117
2129
|
</tr>
|
2118
2130
|
</tbody>
|
2119
2131
|
</table></div>
|
@@ -2123,7 +2135,7 @@ see <a class="link" href="GSocket.html#g-socket-set-keepalive" title="g_socket_s
|
|
2123
2135
|
<div class="refsect2">
|
2124
2136
|
<a name="g-socket-set-keepalive"></a><h3>g_socket_set_keepalive ()</h3>
|
2125
2137
|
<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>,
|
2126
|
-
<em class="parameter"><code><a href="
|
2138
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> keepalive</code></em>);</pre>
|
2127
2139
|
<p>
|
2128
2140
|
Sets or unsets the <code class="literal">SO_KEEPALIVE</code> flag on the underlying socket. When
|
2129
2141
|
this flag is set on a socket, the system will attempt to verify that the
|
@@ -2164,7 +2176,7 @@ garbage-collected if clients crash or become unreachable.
|
|
2164
2176
|
<hr>
|
2165
2177
|
<div class="refsect2">
|
2166
2178
|
<a name="g-socket-get-timeout"></a><h3>g_socket_get_timeout ()</h3>
|
2167
|
-
<pre class="programlisting"><a href="
|
2179
|
+
<pre class="programlisting"><a href="../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>
|
2168
2180
|
<p>
|
2169
2181
|
Gets the timeout setting of the socket. For details on this, see
|
2170
2182
|
<a class="link" href="GSocket.html#g-socket-set-timeout" title="g_socket_set_timeout ()"><code class="function">g_socket_set_timeout()</code></a>.
|
@@ -2191,7 +2203,7 @@ Gets the timeout setting of the socket. For details on this, see
|
|
2191
2203
|
<div class="refsect2">
|
2192
2204
|
<a name="g-socket-set-timeout"></a><h3>g_socket_set_timeout ()</h3>
|
2193
2205
|
<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>,
|
2194
|
-
<em class="parameter"><code><a href="
|
2206
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> timeout</code></em>);</pre>
|
2195
2207
|
<p>
|
2196
2208
|
Sets the time in seconds after which I/O operations on <em class="parameter"><code>socket</code></em> will
|
2197
2209
|
time out if they have not yet completed.
|
@@ -2240,7 +2252,7 @@ cause the timeout to be reset.
|
|
2240
2252
|
<div class="refsect2">
|
2241
2253
|
<a name="g-socket-set-ttl"></a><h3>g_socket_set_ttl ()</h3>
|
2242
2254
|
<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>,
|
2243
|
-
<em class="parameter"><code><a href="
|
2255
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> ttl</code></em>);</pre>
|
2244
2256
|
<p>
|
2245
2257
|
Sets the time-to-live for outgoing unicast packets on <em class="parameter"><code>socket</code></em>.
|
2246
2258
|
By default the platform-specific default value is used.
|
@@ -2267,7 +2279,7 @@ By default the platform-specific default value is used.
|
|
2267
2279
|
<hr>
|
2268
2280
|
<div class="refsect2">
|
2269
2281
|
<a name="g-socket-get-ttl"></a><h3>g_socket_get_ttl ()</h3>
|
2270
|
-
<pre class="programlisting"><a href="
|
2282
|
+
<pre class="programlisting"><a href="../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>
|
2271
2283
|
<p>
|
2272
2284
|
Gets the unicast time-to-live setting on <em class="parameter"><code>socket</code></em>; see
|
2273
2285
|
<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.
|
@@ -2294,9 +2306,9 @@ Gets the unicast time-to-live setting on <em class="parameter"><code>socket</cod
|
|
2294
2306
|
<hr>
|
2295
2307
|
<div class="refsect2">
|
2296
2308
|
<a name="g-socket-get-broadcast"></a><h3>g_socket_get_broadcast ()</h3>
|
2297
|
-
<pre class="programlisting"><a href="
|
2309
|
+
<pre class="programlisting"><a href="../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>
|
2298
2310
|
<p>
|
2299
|
-
Gets the broadcast setting on <em class="parameter"><code>socket</code></em>; if <a href="
|
2311
|
+
Gets the broadcast setting on <em class="parameter"><code>socket</code></em>; if <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>,
|
2300
2312
|
it is possible to send packets to broadcast
|
2301
2313
|
addresses or receive from broadcast addresses.
|
2302
2314
|
</p>
|
@@ -2323,10 +2335,10 @@ addresses or receive from broadcast addresses.
|
|
2323
2335
|
<div class="refsect2">
|
2324
2336
|
<a name="g-socket-set-broadcast"></a><h3>g_socket_set_broadcast ()</h3>
|
2325
2337
|
<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>,
|
2326
|
-
<em class="parameter"><code><a href="
|
2338
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> broadcast</code></em>);</pre>
|
2327
2339
|
<p>
|
2328
2340
|
Sets whether <em class="parameter"><code>socket</code></em> should allow sending to and receiving from
|
2329
|
-
broadcast addresses. This is <a href="
|
2341
|
+
broadcast addresses. This is <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> by default.
|
2330
2342
|
</p>
|
2331
2343
|
<div class="variablelist"><table border="0" class="variablelist">
|
2332
2344
|
<colgroup>
|
@@ -2349,6 +2361,132 @@ from broadcast addresses</td>
|
|
2349
2361
|
</div>
|
2350
2362
|
<hr>
|
2351
2363
|
<div class="refsect2">
|
2364
|
+
<a name="g-socket-get-option"></a><h3>g_socket_get_option ()</h3>
|
2365
|
+
<pre class="programlisting"><a href="../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>,
|
2366
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> level</code></em>,
|
2367
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> optname</code></em>,
|
2368
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *value</code></em>,
|
2369
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2370
|
+
<p>
|
2371
|
+
Gets the value of an integer-valued option on <em class="parameter"><code>socket</code></em>, as with
|
2372
|
+
<code class="literal"><code class="function">getsockopt()</code></code>. (If you need to fetch a
|
2373
|
+
non-integer-valued option, you will need to call
|
2374
|
+
<code class="literal"><code class="function">getsockopt()</code></code> directly.)
|
2375
|
+
</p>
|
2376
|
+
<p>
|
2377
|
+
The <a class="link" href="gio-gnetworking.h.html" title="gnetworking.h"><code class="literal"><gio/gnetworking.h></code></a>
|
2378
|
+
header pulls in system headers that will define most of the
|
2379
|
+
standard/portable socket options. For unusual socket protocols or
|
2380
|
+
platform-dependent options, you may need to include additional
|
2381
|
+
headers.
|
2382
|
+
</p>
|
2383
|
+
<p>
|
2384
|
+
Note that even for socket options that are a single byte in size,
|
2385
|
+
<em class="parameter"><code>value</code></em> is still a pointer to a <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> variable, not a <a href="../glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a>;
|
2386
|
+
<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.
|
2387
|
+
</p>
|
2388
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2389
|
+
<colgroup>
|
2390
|
+
<col align="left" valign="top">
|
2391
|
+
<col>
|
2392
|
+
</colgroup>
|
2393
|
+
<tbody>
|
2394
|
+
<tr>
|
2395
|
+
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
2396
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>
|
2397
|
+
</td>
|
2398
|
+
</tr>
|
2399
|
+
<tr>
|
2400
|
+
<td><p><span class="term"><em class="parameter"><code>level</code></em> :</span></p></td>
|
2401
|
+
<td>the "API level" of the option (eg, <code class="literal">SOL_SOCKET</code>)</td>
|
2402
|
+
</tr>
|
2403
|
+
<tr>
|
2404
|
+
<td><p><span class="term"><em class="parameter"><code>optname</code></em> :</span></p></td>
|
2405
|
+
<td>the "name" of the option (eg, <code class="literal">SO_BROADCAST</code>)</td>
|
2406
|
+
</tr>
|
2407
|
+
<tr>
|
2408
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2409
|
+
<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>
|
2410
|
+
</td>
|
2411
|
+
</tr>
|
2412
|
+
<tr>
|
2413
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2414
|
+
<td>
|
2415
|
+
<a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
2416
|
+
</tr>
|
2417
|
+
<tr>
|
2418
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2419
|
+
<td>success or failure. On failure, <em class="parameter"><code>error</code></em> will be set, and
|
2420
|
+
the system error value (<code class="literal">errno</code> or
|
2421
|
+
<code class="literal"><code class="function">WSAGetLastError()</code></code>) will still be set to the
|
2422
|
+
result of the <code class="literal"><code class="function">getsockopt()</code></code> call.</td>
|
2423
|
+
</tr>
|
2424
|
+
</tbody>
|
2425
|
+
</table></div>
|
2426
|
+
<p class="since">Since 2.36</p>
|
2427
|
+
</div>
|
2428
|
+
<hr>
|
2429
|
+
<div class="refsect2">
|
2430
|
+
<a name="g-socket-set-option"></a><h3>g_socket_set_option ()</h3>
|
2431
|
+
<pre class="programlisting"><a href="../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>,
|
2432
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> level</code></em>,
|
2433
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> optname</code></em>,
|
2434
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> value</code></em>,
|
2435
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2436
|
+
<p>
|
2437
|
+
Sets the value of an integer-valued option on <em class="parameter"><code>socket</code></em>, as with
|
2438
|
+
<code class="literal"><code class="function">setsockopt()</code></code>. (If you need to set a
|
2439
|
+
non-integer-valued option, you will need to call
|
2440
|
+
<code class="literal"><code class="function">setsockopt()</code></code> directly.)
|
2441
|
+
</p>
|
2442
|
+
<p>
|
2443
|
+
The <a class="link" href="gio-gnetworking.h.html" title="gnetworking.h"><code class="literal"><gio/gnetworking.h></code></a>
|
2444
|
+
header pulls in system headers that will define most of the
|
2445
|
+
standard/portable socket options. For unusual socket protocols or
|
2446
|
+
platform-dependent options, you may need to include additional
|
2447
|
+
headers.
|
2448
|
+
</p>
|
2449
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2450
|
+
<colgroup>
|
2451
|
+
<col align="left" valign="top">
|
2452
|
+
<col>
|
2453
|
+
</colgroup>
|
2454
|
+
<tbody>
|
2455
|
+
<tr>
|
2456
|
+
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
2457
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>
|
2458
|
+
</td>
|
2459
|
+
</tr>
|
2460
|
+
<tr>
|
2461
|
+
<td><p><span class="term"><em class="parameter"><code>level</code></em> :</span></p></td>
|
2462
|
+
<td>the "API level" of the option (eg, <code class="literal">SOL_SOCKET</code>)</td>
|
2463
|
+
</tr>
|
2464
|
+
<tr>
|
2465
|
+
<td><p><span class="term"><em class="parameter"><code>optname</code></em> :</span></p></td>
|
2466
|
+
<td>the "name" of the option (eg, <code class="literal">SO_BROADCAST</code>)</td>
|
2467
|
+
</tr>
|
2468
|
+
<tr>
|
2469
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2470
|
+
<td>the value to set the option to</td>
|
2471
|
+
</tr>
|
2472
|
+
<tr>
|
2473
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2474
|
+
<td>
|
2475
|
+
<a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
2476
|
+
</tr>
|
2477
|
+
<tr>
|
2478
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2479
|
+
<td>success or failure. On failure, <em class="parameter"><code>error</code></em> will be set, and
|
2480
|
+
the system error value (<code class="literal">errno</code> or
|
2481
|
+
<code class="literal"><code class="function">WSAGetLastError()</code></code>) will still be set to the
|
2482
|
+
result of the <code class="literal"><code class="function">setsockopt()</code></code> call.</td>
|
2483
|
+
</tr>
|
2484
|
+
</tbody>
|
2485
|
+
</table></div>
|
2486
|
+
<p class="since">Since 2.36</p>
|
2487
|
+
</div>
|
2488
|
+
<hr>
|
2489
|
+
<div class="refsect2">
|
2352
2490
|
<a name="g-socket-get-family"></a><h3>g_socket_get_family ()</h3>
|
2353
2491
|
<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>
|
2354
2492
|
<p>
|
@@ -2406,7 +2544,7 @@ on the socket.
|
|
2406
2544
|
<div class="refsect2">
|
2407
2545
|
<a name="g-socket-get-local-address"></a><h3>g_socket_get_local_address ()</h3>
|
2408
2546
|
<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>,
|
2409
|
-
<em class="parameter"><code><a href="
|
2547
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2410
2548
|
<p>
|
2411
2549
|
Try to get the local address of a bound socket. This is only
|
2412
2550
|
useful if the socket has been bound to a local address,
|
@@ -2425,12 +2563,12 @@ either explicitly or implicitly when connecting.
|
|
2425
2563
|
<tr>
|
2426
2564
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2427
2565
|
<td>
|
2428
|
-
<a href="
|
2566
|
+
<a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
2429
2567
|
</tr>
|
2430
2568
|
<tr>
|
2431
2569
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2432
|
-
<td>a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> or <a href="
|
2433
|
-
Free the returned object with <a href="
|
2570
|
+
<td>a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
|
2571
|
+
Free the returned object with <a href="../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>
|
2434
2572
|
</td>
|
2435
2573
|
</tr>
|
2436
2574
|
</tbody>
|
@@ -2467,7 +2605,7 @@ In case the protocol is unknown, -1 is returned.
|
|
2467
2605
|
<div class="refsect2">
|
2468
2606
|
<a name="g-socket-get-remote-address"></a><h3>g_socket_get_remote_address ()</h3>
|
2469
2607
|
<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>,
|
2470
|
-
<em class="parameter"><code><a href="
|
2608
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2471
2609
|
<p>
|
2472
2610
|
Try to get the remove address of a connected socket. This is only
|
2473
2611
|
useful for connection oriented sockets that have been connected.
|
@@ -2485,12 +2623,12 @@ useful for connection oriented sockets that have been connected.
|
|
2485
2623
|
<tr>
|
2486
2624
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2487
2625
|
<td>
|
2488
|
-
<a href="
|
2626
|
+
<a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
2489
2627
|
</tr>
|
2490
2628
|
<tr>
|
2491
2629
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2492
|
-
<td>a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> or <a href="
|
2493
|
-
Free the returned object with <a href="
|
2630
|
+
<td>a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
|
2631
|
+
Free the returned object with <a href="../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>
|
2494
2632
|
</td>
|
2495
2633
|
</tr>
|
2496
2634
|
</tbody>
|
@@ -2526,7 +2664,7 @@ Gets the socket type of the socket.
|
|
2526
2664
|
<hr>
|
2527
2665
|
<div class="refsect2">
|
2528
2666
|
<a name="g-socket-speaks-ipv4"></a><h3>g_socket_speaks_ipv4 ()</h3>
|
2529
|
-
<pre class="programlisting"><a href="
|
2667
|
+
<pre class="programlisting"><a href="../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>
|
2530
2668
|
<p>
|
2531
2669
|
Checks if a socket is capable of speaking IPv4.
|
2532
2670
|
</p>
|
@@ -2554,7 +2692,7 @@ of speaking IPv4.
|
|
2554
2692
|
<tr>
|
2555
2693
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2556
2694
|
<td>
|
2557
|
-
<a href="
|
2695
|
+
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if this socket can be used with IPv4.</td>
|
2558
2696
|
</tr>
|
2559
2697
|
</tbody>
|
2560
2698
|
</table></div>
|
@@ -2564,7 +2702,7 @@ of speaking IPv4.
|
|
2564
2702
|
<div class="refsect2">
|
2565
2703
|
<a name="g-socket-get-credentials"></a><h3>g_socket_get_credentials ()</h3>
|
2566
2704
|
<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>,
|
2567
|
-
<em class="parameter"><code><a href="
|
2705
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2568
2706
|
<p>
|
2569
2707
|
Returns the credentials of the foreign process connected to this
|
2570
2708
|
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>
|
@@ -2594,13 +2732,13 @@ Other ways to obtain credentials from a foreign peer includes the
|
|
2594
2732
|
<tr>
|
2595
2733
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2596
2734
|
<td>
|
2597
|
-
<a href="
|
2735
|
+
<a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
2598
2736
|
</tr>
|
2599
2737
|
<tr>
|
2600
2738
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2601
2739
|
<td>
|
2602
|
-
<a href="
|
2603
|
-
that must be freed with <a href="
|
2740
|
+
<a href="../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
|
2741
|
+
that must be freed with <a href="../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>
|
2604
2742
|
</td>
|
2605
2743
|
</tr>
|
2606
2744
|
</tbody>
|
@@ -2610,11 +2748,11 @@ that must be freed with <a href="./../gobject/gobject/gobject-The-Base-Object-Ty
|
|
2610
2748
|
<hr>
|
2611
2749
|
<div class="refsect2">
|
2612
2750
|
<a name="g-socket-join-multicast-group"></a><h3>g_socket_join_multicast_group ()</h3>
|
2613
|
-
<pre class="programlisting"><a href="
|
2751
|
+
<pre class="programlisting"><a href="../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>,
|
2614
2752
|
<em class="parameter"><code><a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> *group</code></em>,
|
2615
|
-
<em class="parameter"><code><a href="
|
2616
|
-
<em class="parameter"><code>const <a href="
|
2617
|
-
<em class="parameter"><code><a href="
|
2753
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> source_specific</code></em>,
|
2754
|
+
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *iface</code></em>,
|
2755
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2618
2756
|
<p>
|
2619
2757
|
Registers <em class="parameter"><code>socket</code></em> to receive multicast messages sent to <em class="parameter"><code>group</code></em>.
|
2620
2758
|
<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
|
@@ -2622,11 +2760,11 @@ been bound to an appropriate interface and port with
|
|
2622
2760
|
<a class="link" href="GSocket.html#g-socket-bind" title="g_socket_bind ()"><code class="function">g_socket_bind()</code></a>.
|
2623
2761
|
</p>
|
2624
2762
|
<p>
|
2625
|
-
If <em class="parameter"><code>iface</code></em> is <a href="
|
2763
|
+
If <em class="parameter"><code>iface</code></em> is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the system will automatically pick an interface
|
2626
2764
|
to bind to based on <em class="parameter"><code>group</code></em>.
|
2627
2765
|
</p>
|
2628
2766
|
<p>
|
2629
|
-
If <em class="parameter"><code>source_specific</code></em> is <a href="
|
2767
|
+
If <em class="parameter"><code>source_specific</code></em> is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, source-specific multicast as defined
|
2630
2768
|
in RFC 4604 is used. Note that on older platforms this may fail
|
2631
2769
|
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.
|
2632
2770
|
</p>
|
@@ -2646,23 +2784,23 @@ with a <a class="link" href="gio-GIOError.html#G-IO-ERROR-NOT-SUPPORTED:CAPS"><c
|
|
2646
2784
|
</tr>
|
2647
2785
|
<tr>
|
2648
2786
|
<td><p><span class="term"><em class="parameter"><code>iface</code></em> :</span></p></td>
|
2649
|
-
<td>Name of the interface to use, or <a href="
|
2787
|
+
<td>Name of the interface to use, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2650
2788
|
</td>
|
2651
2789
|
</tr>
|
2652
2790
|
<tr>
|
2653
2791
|
<td><p><span class="term"><em class="parameter"><code>source_specific</code></em> :</span></p></td>
|
2654
2792
|
<td>
|
2655
|
-
<a href="
|
2793
|
+
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if source-specific multicast should be used</td>
|
2656
2794
|
</tr>
|
2657
2795
|
<tr>
|
2658
2796
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2659
2797
|
<td>
|
2660
|
-
<a href="
|
2798
|
+
<a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
2661
2799
|
</tr>
|
2662
2800
|
<tr>
|
2663
2801
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2664
2802
|
<td>
|
2665
|
-
<a href="
|
2803
|
+
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error.</td>
|
2666
2804
|
</tr>
|
2667
2805
|
</tbody>
|
2668
2806
|
</table></div>
|
@@ -2671,11 +2809,11 @@ with a <a class="link" href="gio-GIOError.html#G-IO-ERROR-NOT-SUPPORTED:CAPS"><c
|
|
2671
2809
|
<hr>
|
2672
2810
|
<div class="refsect2">
|
2673
2811
|
<a name="g-socket-leave-multicast-group"></a><h3>g_socket_leave_multicast_group ()</h3>
|
2674
|
-
<pre class="programlisting"><a href="
|
2812
|
+
<pre class="programlisting"><a href="../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>,
|
2675
2813
|
<em class="parameter"><code><a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> *group</code></em>,
|
2676
|
-
<em class="parameter"><code><a href="
|
2677
|
-
<em class="parameter"><code>const <a href="
|
2678
|
-
<em class="parameter"><code><a href="
|
2814
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> source_specific</code></em>,
|
2815
|
+
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *iface</code></em>,
|
2816
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2679
2817
|
<p>
|
2680
2818
|
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>,
|
2681
2819
|
and <em class="parameter"><code>source_specific</code></em> (which must all have the same values they had
|
@@ -2707,17 +2845,17 @@ unicast messages after calling this.
|
|
2707
2845
|
<tr>
|
2708
2846
|
<td><p><span class="term"><em class="parameter"><code>source_specific</code></em> :</span></p></td>
|
2709
2847
|
<td>
|
2710
|
-
<a href="
|
2848
|
+
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if source-specific multicast was used</td>
|
2711
2849
|
</tr>
|
2712
2850
|
<tr>
|
2713
2851
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2714
2852
|
<td>
|
2715
|
-
<a href="
|
2853
|
+
<a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
2716
2854
|
</tr>
|
2717
2855
|
<tr>
|
2718
2856
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2719
2857
|
<td>
|
2720
|
-
<a href="
|
2858
|
+
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error.</td>
|
2721
2859
|
</tr>
|
2722
2860
|
</tbody>
|
2723
2861
|
</table></div>
|
@@ -2726,9 +2864,9 @@ unicast messages after calling this.
|
|
2726
2864
|
<hr>
|
2727
2865
|
<div class="refsect2">
|
2728
2866
|
<a name="g-socket-get-multicast-loopback"></a><h3>g_socket_get_multicast_loopback ()</h3>
|
2729
|
-
<pre class="programlisting"><a href="
|
2867
|
+
<pre class="programlisting"><a href="../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>
|
2730
2868
|
<p>
|
2731
|
-
Gets the multicast loopback setting on <em class="parameter"><code>socket</code></em>; if <a href="
|
2869
|
+
Gets the multicast loopback setting on <em class="parameter"><code>socket</code></em>; if <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> (the
|
2732
2870
|
default), outgoing multicast packets will be looped back to
|
2733
2871
|
multicast listeners on the same host.
|
2734
2872
|
</p>
|
@@ -2755,10 +2893,10 @@ multicast listeners on the same host.
|
|
2755
2893
|
<div class="refsect2">
|
2756
2894
|
<a name="g-socket-set-multicast-loopback"></a><h3>g_socket_set_multicast_loopback ()</h3>
|
2757
2895
|
<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>,
|
2758
|
-
<em class="parameter"><code><a href="
|
2896
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> loopback</code></em>);</pre>
|
2759
2897
|
<p>
|
2760
2898
|
Sets whether outgoing multicast packets will be received by sockets
|
2761
|
-
listening on that multicast address on the same host. This is <a href="
|
2899
|
+
listening on that multicast address on the same host. This is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
|
2762
2900
|
by default.
|
2763
2901
|
</p>
|
2764
2902
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -2783,7 +2921,7 @@ multicast groups from the local host</td>
|
|
2783
2921
|
<hr>
|
2784
2922
|
<div class="refsect2">
|
2785
2923
|
<a name="g-socket-get-multicast-ttl"></a><h3>g_socket_get_multicast_ttl ()</h3>
|
2786
|
-
<pre class="programlisting"><a href="
|
2924
|
+
<pre class="programlisting"><a href="../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>
|
2787
2925
|
<p>
|
2788
2926
|
Gets the multicast time-to-live setting on <em class="parameter"><code>socket</code></em>; see
|
2789
2927
|
<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.
|
@@ -2811,7 +2949,7 @@ Gets the multicast time-to-live setting on <em class="parameter"><code>socket</c
|
|
2811
2949
|
<div class="refsect2">
|
2812
2950
|
<a name="g-socket-set-multicast-ttl"></a><h3>g_socket_set_multicast_ttl ()</h3>
|
2813
2951
|
<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>,
|
2814
|
-
<em class="parameter"><code><a href="
|
2952
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> ttl</code></em>);</pre>
|
2815
2953
|
<p>
|
2816
2954
|
Sets the time-to-live for outgoing multicast datagrams on <em class="parameter"><code>socket</code></em>.
|
2817
2955
|
By default, this is 1, meaning that multicast packets will not leave
|
@@ -2841,14 +2979,14 @@ the local network.
|
|
2841
2979
|
<a name="GSocket.property-details"></a><h2>Property Details</h2>
|
2842
2980
|
<div class="refsect2">
|
2843
2981
|
<a name="GSocket--blocking"></a><h3>The <code class="literal">"blocking"</code> property</h3>
|
2844
|
-
<pre class="programlisting"> "blocking" <a href="
|
2982
|
+
<pre class="programlisting"> "blocking" <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
2845
2983
|
<p>Whether or not I/O on this socket is blocking.</p>
|
2846
2984
|
<p>Default value: TRUE</p>
|
2847
2985
|
</div>
|
2848
2986
|
<hr>
|
2849
2987
|
<div class="refsect2">
|
2850
2988
|
<a name="GSocket--broadcast"></a><h3>The <code class="literal">"broadcast"</code> property</h3>
|
2851
|
-
<pre class="programlisting"> "broadcast" <a href="
|
2989
|
+
<pre class="programlisting"> "broadcast" <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
2852
2990
|
<p>
|
2853
2991
|
Whether the socket should allow sending to and receiving from broadcast addresses.
|
2854
2992
|
</p>
|
@@ -2865,21 +3003,21 @@ Whether the socket should allow sending to and receiving from broadcast addresse
|
|
2865
3003
|
<hr>
|
2866
3004
|
<div class="refsect2">
|
2867
3005
|
<a name="GSocket--fd"></a><h3>The <code class="literal">"fd"</code> property</h3>
|
2868
|
-
<pre class="programlisting"> "fd" <a href="
|
3006
|
+
<pre class="programlisting"> "fd" <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write / Construct Only</pre>
|
2869
3007
|
<p>The sockets file descriptor.</p>
|
2870
3008
|
<p>Default value: -1</p>
|
2871
3009
|
</div>
|
2872
3010
|
<hr>
|
2873
3011
|
<div class="refsect2">
|
2874
3012
|
<a name="GSocket--keepalive"></a><h3>The <code class="literal">"keepalive"</code> property</h3>
|
2875
|
-
<pre class="programlisting"> "keepalive" <a href="
|
3013
|
+
<pre class="programlisting"> "keepalive" <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
2876
3014
|
<p>Keep connection alive by sending periodic pings.</p>
|
2877
3015
|
<p>Default value: FALSE</p>
|
2878
3016
|
</div>
|
2879
3017
|
<hr>
|
2880
3018
|
<div class="refsect2">
|
2881
3019
|
<a name="GSocket--listen-backlog"></a><h3>The <code class="literal">"listen-backlog"</code> property</h3>
|
2882
|
-
<pre class="programlisting"> "listen-backlog" <a href="
|
3020
|
+
<pre class="programlisting"> "listen-backlog" <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
|
2883
3021
|
<p>Outstanding connections in the listen queue.</p>
|
2884
3022
|
<p>Allowed values: [0,128]</p>
|
2885
3023
|
<p>Default value: 10</p>
|
@@ -2893,7 +3031,7 @@ Whether the socket should allow sending to and receiving from broadcast addresse
|
|
2893
3031
|
<hr>
|
2894
3032
|
<div class="refsect2">
|
2895
3033
|
<a name="GSocket--multicast-loopback"></a><h3>The <code class="literal">"multicast-loopback"</code> property</h3>
|
2896
|
-
<pre class="programlisting"> "multicast-loopback" <a href="
|
3034
|
+
<pre class="programlisting"> "multicast-loopback" <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
2897
3035
|
<p>
|
2898
3036
|
Whether outgoing multicast packets loop back to the local host.
|
2899
3037
|
</p>
|
@@ -2903,7 +3041,7 @@ Whether outgoing multicast packets loop back to the local host.
|
|
2903
3041
|
<hr>
|
2904
3042
|
<div class="refsect2">
|
2905
3043
|
<a name="GSocket--multicast-ttl"></a><h3>The <code class="literal">"multicast-ttl"</code> property</h3>
|
2906
|
-
<pre class="programlisting"> "multicast-ttl" <a href="
|
3044
|
+
<pre class="programlisting"> "multicast-ttl" <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write</pre>
|
2907
3045
|
<p>
|
2908
3046
|
Time-to-live out outgoing multicast packets
|
2909
3047
|
</p>
|
@@ -2926,7 +3064,7 @@ Time-to-live out outgoing multicast packets
|
|
2926
3064
|
<hr>
|
2927
3065
|
<div class="refsect2">
|
2928
3066
|
<a name="GSocket--timeout"></a><h3>The <code class="literal">"timeout"</code> property</h3>
|
2929
|
-
<pre class="programlisting"> "timeout" <a href="
|
3067
|
+
<pre class="programlisting"> "timeout" <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write</pre>
|
2930
3068
|
<p>
|
2931
3069
|
The timeout in seconds on socket I/O
|
2932
3070
|
</p>
|
@@ -2936,7 +3074,7 @@ The timeout in seconds on socket I/O
|
|
2936
3074
|
<hr>
|
2937
3075
|
<div class="refsect2">
|
2938
3076
|
<a name="GSocket--ttl"></a><h3>The <code class="literal">"ttl"</code> property</h3>
|
2939
|
-
<pre class="programlisting"> "ttl" <a href="
|
3077
|
+
<pre class="programlisting"> "ttl" <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write</pre>
|
2940
3078
|
<p>
|
2941
3079
|
Time-to-live for outgoing unicast packets
|
2942
3080
|
</p>
|
@@ -2953,11 +3091,11 @@ Time-to-live for outgoing unicast packets
|
|
2953
3091
|
</div>
|
2954
3092
|
<div class="refsect1">
|
2955
3093
|
<a name="GSocket.see-also"></a><h2>See Also</h2>
|
2956
|
-
<a class="link" href="GInitable.html" title="GInitable"><span class="type">GInitable</span></a>
|
3094
|
+
<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>
|
2957
3095
|
</div>
|
2958
3096
|
</div>
|
2959
3097
|
<div class="footer">
|
2960
3098
|
<hr>
|
2961
|
-
Generated by GTK-Doc V1.18</div>
|
3099
|
+
Generated by GTK-Doc V1.18.1</div>
|
2962
3100
|
</body>
|
2963
3101
|
</html>
|