glib2 0.90.8-x86-mingw32 → 0.90.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +46 -0
- data/Rakefile +1 -0
- data/ext/glib2/rbglib.h +1 -1
- data/ext/glib2/rbglib_iochannel.c +15 -6
- data/ext/glib2/rbgobj_signal.c +1 -1
- data/ext/glib2/rbgobject.h +1 -1
- data/lib/1.8/glib2.so +0 -0
- data/lib/1.9/glib2.so +0 -0
- data/lib/gnome2-raketask.rb +3 -2
- data/lib/mkmf-gnome2.rb +47 -23
- data/test/glib-test-init.rb +1 -3
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +2 -2
- data/vendor/local/bin/glib-mkenums +3 -2
- data/vendor/local/bin/gobject-query.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/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/include/glib-2.0/gio/gaction.h +91 -0
- data/vendor/local/include/glib-2.0/gio/gactiongroup.h +151 -0
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +11 -1
- data/vendor/local/include/glib-2.0/gio/gapplication.h +165 -0
- data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +118 -0
- data/vendor/local/include/glib-2.0/gio/gasyncresult.h +2 -2
- data/vendor/local/include/glib-2.0/gio/gcancellable.h +2 -0
- data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +15 -0
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +2 -2
- data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfileiostream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gio.h +14 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +158 -2
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +12 -0
- data/vendor/local/include/glib-2.0/gio/giomodule.h +1 -1
- data/vendor/local/include/glib-2.0/gio/giostream.h +11 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +48 -0
- data/vendor/local/include/glib-2.0/gio/goutputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gpollableinputstream.h +101 -0
- data/vendor/local/include/glib-2.0/gio/gpollableoutputstream.h +98 -0
- data/vendor/local/include/glib-2.0/gio/gsettings.h +9 -2
- data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +6 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +95 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +87 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +11 -1
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +7 -0
- data/vendor/local/include/glib-2.0/gio/gtcpwrapperconnection.h +68 -0
- data/vendor/local/include/glib-2.0/gio/gtlsbackend.h +92 -0
- data/vendor/local/include/glib-2.0/gio/gtlscertificate.h +83 -0
- data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +72 -0
- data/vendor/local/include/glib-2.0/gio/gtlsconnection.h +136 -0
- data/vendor/local/include/glib-2.0/gio/gtlsserverconnection.h +61 -0
- data/vendor/local/include/glib-2.0/glib/glist.h +2 -0
- data/vendor/local/include/glib-2.0/glib/gmain.h +27 -6
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +80 -5
- data/vendor/local/include/glib-2.0/glib/grand.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gsequence.h +8 -0
- data/vendor/local/include/glib-2.0/glib/gslist.h +2 -0
- data/vendor/local/include/glib-2.0/glib/gtimezone.h +37 -0
- data/vendor/local/include/glib-2.0/glib/gtypes.h +1 -0
- data/vendor/local/include/glib-2.0/glib/gunicode.h +22 -16
- data/vendor/local/include/glib-2.0/glib/gutils.h +5 -0
- data/vendor/local/include/glib-2.0/glib/gvariant.h +35 -11
- data/vendor/local/include/glib-2.0/gobject/gobject.h +15 -0
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +5 -0
- data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +4 -2
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +1 -1
- data/vendor/local/lib/gio-2.0.def +142 -0
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.def +21 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.def +3 -0
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +2 -2
- 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-no-export-2.0.pc +1 -1
- 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/manifest/{glib-dev_2.26.1-1_win32.mft → glib-dev_2.28.1-1_win32.mft} +55 -19
- data/vendor/local/manifest/{glib_2.26.1-1_win32.mft → glib_2.28.1-1_win32.mft} +3 -2
- data/vendor/local/share/aclocal/glib-2.0.m4 +4 -4
- data/vendor/local/share/doc/{glib-2.26.1 → glib-2.28.1}/COPYING +0 -0
- data/vendor/local/share/doc/{glib-dev-2.26.1 → glib-dev-2.28.1}/COPYING +0 -0
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +72 -21
- data/vendor/local/share/glib-2.0/schemas/gschema.dtd +21 -8
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +469 -0
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +754 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +296 -249
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +1458 -0
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +815 -0
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +61 -97
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +31 -38
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +52 -68
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +38 -50
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +120 -77
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +26 -34
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +49 -51
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +39 -62
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +26 -35
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +415 -650
- data/vendor/local/share/gtk-doc/html/gio/{gio-GDBusError.html → GDBusError.html} +118 -147
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +204 -347
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +66 -111
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +210 -309
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +68 -87
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +190 -232
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +89 -118
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +196 -270
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +40 -46
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +56 -24
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +1090 -1443
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +13 -16
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +66 -86
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +31 -45
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +19 -21
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +466 -602
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +32 -40
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +60 -59
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +32 -47
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +37 -45
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +22 -26
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +22 -26
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +32 -38
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +184 -52
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +45 -54
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +96 -125
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +21 -25
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +49 -71
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +102 -134
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +43 -54
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +21 -24
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +34 -41
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +223 -294
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +127 -153
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +35 -46
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +37 -46
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +138 -174
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +46 -68
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +398 -0
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +340 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +89 -32
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +42 -56
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +59 -34
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +82 -95
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +58 -72
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +597 -357
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +125 -75
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +339 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +200 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +232 -167
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +15 -16
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +291 -406
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +39 -45
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +301 -223
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +41 -44
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +41 -49
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +22 -32
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +88 -107
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +26 -32
- data/vendor/local/share/gtk-doc/html/gio/{gio-GSrvTarget.html → GSrvTarget.html} +74 -77
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +21 -22
- data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +156 -0
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +40 -46
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +29 -35
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +260 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +396 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +428 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +869 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +158 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +32 -41
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +28 -34
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +44 -54
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +36 -41
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +35 -32
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +35 -32
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +59 -67
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +49 -57
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +142 -187
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +99 -132
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +33 -32
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +22 -24
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +43 -13
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +10 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +36 -28
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +744 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +915 -107
- data/vendor/local/share/gtk-doc/html/gio/application.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/async.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +23 -24
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +54 -36
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +188 -41
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +19 -108
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +16 -179
- data/vendor/local/share/gtk-doc/html/gio/ch28.html +57 -0
- data/vendor/local/share/gtk-doc/html/gio/{ch26s02.html → ch28s02.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s03.html → ch28s03.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s04.html → ch28s04.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s05.html → ch28s05.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s06.html → ch28s06.html} +17 -15
- data/vendor/local/share/gtk-doc/html/gio/{ch26s07.html → ch28s07.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/ch29.html +70 -0
- data/vendor/local/share/gtk-doc/html/gio/ch29s02.html +130 -0
- data/vendor/local/share/gtk-doc/html/gio/ch29s03.html +202 -0
- data/vendor/local/share/gtk-doc/html/gio/{ch27s04.html → ch29s04.html} +11 -11
- data/vendor/local/share/gtk-doc/html/gio/{ch27s05.html → ch29s05.html} +12 -12
- data/vendor/local/share/gtk-doc/html/gio/{ch27s06.html → ch29s06.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +27 -14
- data/vendor/local/share/gtk-doc/html/gio/extending.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +39 -62
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +141 -248
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +28 -40
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +29 -112
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +45 -57
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +58 -68
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +16 -18
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +18 -20
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +82 -76
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +34 -28
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +25 -33
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +87 -113
- data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +287 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +119 -151
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +62 -95
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +66 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +312 -91
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +386 -133
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +162 -0
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +7 -4
- data/vendor/local/share/gtk-doc/html/gio/icons.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/index.html +88 -36
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +506 -95
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/networking.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +68 -17
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/settings.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +9 -3
- data/vendor/local/share/gtk-doc/html/gio/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gio/tls.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/tools.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/types.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/utils.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +8 -11
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +25 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +112 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +15 -11
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +9 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +201 -89
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +144 -210
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +97 -136
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +40 -58
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +99 -128
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +104 -155
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +42 -71
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +40 -43
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +224 -314
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +104 -142
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +193 -308
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +51 -76
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +170 -307
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +154 -198
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +45 -67
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +60 -97
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +390 -428
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +265 -333
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +306 -330
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +60 -99
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +122 -152
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +241 -571
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +233 -330
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +310 -34
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +739 -590
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +136 -143
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +22 -29
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +210 -297
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +294 -355
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +27 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +102 -95
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +402 -486
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +308 -442
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +75 -116
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +229 -297
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +36 -36
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +121 -187
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +23 -27
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +80 -107
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +46 -69
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +63 -99
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +121 -115
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +304 -327
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +307 -366
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +39 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +230 -343
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +121 -167
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +31 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +73 -113
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +75 -106
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +229 -184
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +31 -40
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +247 -286
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +281 -283
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +83 -337
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +65 -80
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +36 -42
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +408 -621
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +253 -322
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +161 -252
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +677 -590
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +88 -111
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +378 -475
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +27 -48
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +39 -48
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +19 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +57 -93
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +413 -534
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +117 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +38 -53
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +60 -114
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +38 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +7 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +6 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +82 -82
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +9 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +26 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +144 -103
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +170 -105
- data/vendor/local/share/gtk-doc/html/glib/glib.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +48 -43
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +660 -0
- data/vendor/local/share/gtk-doc/html/glib/index.html +8 -4
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +67 -2
- data/vendor/local/share/gtk-doc/html/glib/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/glib/tools.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +72 -90
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +79 -108
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +67 -85
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +63 -9
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +47 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +65 -53
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +8 -11
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +19 -19
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +18 -18
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +22 -22
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +16 -16
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +40 -54
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +405 -512
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +170 -213
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +242 -292
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +91 -127
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +407 -573
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +951 -1268
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +383 -441
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +648 -829
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +82 -95
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +31 -49
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +15 -14
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +62 -58
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +62 -58
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +11 -11
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +14 -14
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/index.html +11 -10
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +13 -1
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +13 -13
- data/vendor/local/share/gtk-doc/html/gobject/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +3 -3
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.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/glib20.mo +0 -0
- data/vendor/local/share/man/man1/glib-genmarshal.1 +2 -2
- data/vendor/local/share/man/man1/glib-mkenums.1 +2 -2
- data/vendor/local/share/man/man1/gobject-query.1 +2 -2
- data/vendor/local/src/tml/packaging/{glib_2.26.1-1_win32.log → glib_2.28.1-1_win32.log} +690 -773
- data/vendor/local/src/tml/packaging/{glib_2.26.1-1_win32.sh → glib_2.28.1-1_win32.sh} +2 -4
- metadata +78 -146
- data/ext/glib2/Makefile +0 -169
- data/ext/glib2/glib-enum-types.c +0 -1065
- data/ext/glib2/glib-enum-types.h +0 -144
- data/ext/glib2/ruby-glib2.pc +0 -3
- data/test-unit/COPYING +0 -56
- data/test-unit/GPL +0 -340
- data/test-unit/History.txt +0 -279
- data/test-unit/Manifest.txt +0 -110
- data/test-unit/PSFL +0 -271
- data/test-unit/README.txt +0 -75
- data/test-unit/Rakefile +0 -53
- data/test-unit/TODO +0 -5
- data/test-unit/bin/testrb +0 -5
- data/test-unit/html/bar.png +0 -0
- data/test-unit/html/bar.svg +0 -153
- data/test-unit/html/developer.png +0 -0
- data/test-unit/html/developer.svg +0 -469
- data/test-unit/html/famfamfam-logo.png +0 -0
- data/test-unit/html/favicon.ico +0 -0
- data/test-unit/html/favicon.png +0 -0
- data/test-unit/html/favicon.svg +0 -82
- data/test-unit/html/heading-mark.png +0 -0
- data/test-unit/html/heading-mark.svg +0 -393
- data/test-unit/html/index.html +0 -285
- data/test-unit/html/index.html.ja +0 -299
- data/test-unit/html/install.png +0 -0
- data/test-unit/html/install.svg +0 -636
- data/test-unit/html/jp.png +0 -0
- data/test-unit/html/kinotan-failure.png +0 -0
- data/test-unit/html/kinotan-pass.png +0 -0
- data/test-unit/html/logo.png +0 -0
- data/test-unit/html/logo.svg +0 -483
- data/test-unit/html/reference.png +0 -0
- data/test-unit/html/rubyforge.png +0 -0
- data/test-unit/html/tango-logo.png +0 -0
- data/test-unit/html/test-unit.css +0 -339
- data/test-unit/html/tutorial.png +0 -0
- data/test-unit/html/tutorial.svg +0 -559
- data/test-unit/html/us.png +0 -0
- data/test-unit/images/color-diff.png +0 -0
- data/test-unit/lib/test/unit.rb +0 -328
- data/test-unit/lib/test/unit/assertionfailederror.rb +0 -25
- data/test-unit/lib/test/unit/assertions.rb +0 -1792
- data/test-unit/lib/test/unit/attribute.rb +0 -125
- data/test-unit/lib/test/unit/autorunner.rb +0 -415
- data/test-unit/lib/test/unit/collector.rb +0 -38
- data/test-unit/lib/test/unit/collector/descendant.rb +0 -23
- data/test-unit/lib/test/unit/collector/dir.rb +0 -108
- data/test-unit/lib/test/unit/collector/load.rb +0 -187
- data/test-unit/lib/test/unit/collector/objectspace.rb +0 -34
- data/test-unit/lib/test/unit/collector/xml.rb +0 -250
- data/test-unit/lib/test/unit/color-scheme.rb +0 -106
- data/test-unit/lib/test/unit/color.rb +0 -96
- data/test-unit/lib/test/unit/diff.rb +0 -740
- data/test-unit/lib/test/unit/error.rb +0 -131
- data/test-unit/lib/test/unit/exceptionhandler.rb +0 -39
- data/test-unit/lib/test/unit/failure.rb +0 -136
- data/test-unit/lib/test/unit/fixture.rb +0 -185
- data/test-unit/lib/test/unit/notification.rb +0 -129
- data/test-unit/lib/test/unit/omission.rb +0 -191
- data/test-unit/lib/test/unit/pending.rb +0 -150
- data/test-unit/lib/test/unit/priority.rb +0 -180
- data/test-unit/lib/test/unit/runner/console.rb +0 -52
- data/test-unit/lib/test/unit/runner/emacs.rb +0 -8
- data/test-unit/lib/test/unit/runner/tap.rb +0 -8
- data/test-unit/lib/test/unit/runner/xml.rb +0 -15
- data/test-unit/lib/test/unit/testcase.rb +0 -515
- data/test-unit/lib/test/unit/testresult.rb +0 -125
- data/test-unit/lib/test/unit/testsuite.rb +0 -134
- data/test-unit/lib/test/unit/ui/console/outputlevel.rb +0 -14
- data/test-unit/lib/test/unit/ui/console/testrunner.rb +0 -467
- data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +0 -63
- data/test-unit/lib/test/unit/ui/tap/testrunner.rb +0 -82
- data/test-unit/lib/test/unit/ui/testrunner.rb +0 -53
- data/test-unit/lib/test/unit/ui/testrunnermediator.rb +0 -86
- data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +0 -41
- data/test-unit/lib/test/unit/ui/xml/testrunner.rb +0 -224
- data/test-unit/lib/test/unit/util/backtracefilter.rb +0 -42
- data/test-unit/lib/test/unit/util/method-owner-finder.rb +0 -28
- data/test-unit/lib/test/unit/util/observable.rb +0 -90
- data/test-unit/lib/test/unit/util/output.rb +0 -31
- data/test-unit/lib/test/unit/util/procwrapper.rb +0 -48
- data/test-unit/lib/test/unit/version.rb +0 -7
- data/test-unit/sample/adder.rb +0 -13
- data/test-unit/sample/subtracter.rb +0 -12
- data/test-unit/sample/test_adder.rb +0 -20
- data/test-unit/sample/test_subtracter.rb +0 -20
- data/test-unit/sample/test_user.rb +0 -23
- data/test-unit/test/collector/test-descendant.rb +0 -133
- data/test-unit/test/collector/test-load.rb +0 -442
- data/test-unit/test/collector/test_dir.rb +0 -406
- data/test-unit/test/collector/test_objectspace.rb +0 -100
- data/test-unit/test/run-test.rb +0 -22
- data/test-unit/test/test-assertions.rb +0 -1849
- data/test-unit/test/test-attribute.rb +0 -86
- data/test-unit/test/test-color-scheme.rb +0 -69
- data/test-unit/test/test-color.rb +0 -47
- data/test-unit/test/test-diff.rb +0 -518
- data/test-unit/test/test-emacs-runner.rb +0 -60
- data/test-unit/test/test-fixture.rb +0 -324
- data/test-unit/test/test-notification.rb +0 -33
- data/test-unit/test/test-omission.rb +0 -81
- data/test-unit/test/test-pending.rb +0 -70
- data/test-unit/test/test-priority.rb +0 -119
- data/test-unit/test/test-testcase.rb +0 -569
- data/test-unit/test/test_error.rb +0 -26
- data/test-unit/test/test_failure.rb +0 -33
- data/test-unit/test/test_testresult.rb +0 -113
- data/test-unit/test/test_testsuite.rb +0 -137
- data/test-unit/test/testunit-test-util.rb +0 -14
- data/test-unit/test/ui/test_tap.rb +0 -33
- data/test-unit/test/ui/test_testrunmediator.rb +0 -20
- data/test-unit/test/util/test-method-owner-finder.rb +0 -38
- data/test-unit/test/util/test-output.rb +0 -11
- data/test-unit/test/util/test_backtracefilter.rb +0 -41
- data/test-unit/test/util/test_observable.rb +0 -102
- data/test-unit/test/util/test_procwrapper.rb +0 -36
- data/vendor/local/share/gtk-doc/html/gio/ch24.html +0 -75
- data/vendor/local/share/gtk-doc/html/gio/ch25.html +0 -217
- data/vendor/local/share/gtk-doc/html/gio/ch25s02.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/ch25s03.html +0 -39
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="networking.html" title="Lowlevel network support">
|
9
9
|
<link rel="prev" href="GInetAddress.html" title="GInetAddress">
|
10
10
|
<link rel="next" href="GInetSocketAddress.html" title="GInetSocketAddress">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.16.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">
|
@@ -32,7 +32,7 @@
|
|
32
32
|
<a href="#GSocketAddress.properties" class="shortcut">Properties</a>
|
33
33
|
</td></tr>
|
34
34
|
</table>
|
35
|
-
<div class="refentry"
|
35
|
+
<div class="refentry">
|
36
36
|
<a name="GSocketAddress"></a><div class="titlepage"></div>
|
37
37
|
<div class="refnamediv"><table width="100%"><tr>
|
38
38
|
<td valign="top">
|
@@ -42,13 +42,13 @@ socket communication</p>
|
|
42
42
|
</td>
|
43
43
|
<td valign="top" align="right"></td>
|
44
44
|
</tr></table></div>
|
45
|
-
<div class="refsynopsisdiv"
|
45
|
+
<div class="refsynopsisdiv">
|
46
46
|
<a name="GSocketAddress.synopsis"></a><h2>Synopsis</h2>
|
47
|
-
<pre class="synopsis"> <a class="link" href="GSocketAddress.html#GSocketAddress-struct" title="GSocketAddress">GSocketAddress</a>;
|
48
|
-
enum <a class="link" href="GSocketAddress.html#GSocketFamily"
|
49
|
-
<a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> *
|
47
|
+
<a name="GSocketFamily"></a><pre class="synopsis"> <a class="link" href="GSocketAddress.html#GSocketAddress-struct" title="GSocketAddress">GSocketAddress</a>;
|
48
|
+
enum <a class="link" href="GSocketAddress.html#GSocketFamily">GSocketFamily</a>;
|
49
|
+
<a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> * <a class="link" href="GSocketAddress.html#g-socket-address-new-from-native" title="g_socket_address_new_from_native ()">g_socket_address_new_from_native</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> native</code></em>,
|
50
50
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> len</code></em>);
|
51
|
-
<a class="link" href="GSocketAddress.html#GSocketFamily"
|
51
|
+
<a class="link" href="GSocketAddress.html#GSocketFamily"><span class="returnvalue">GSocketFamily</span></a> <a class="link" href="GSocketAddress.html#g-socket-address-get-family" title="g_socket_address_get_family ()">g_socket_address_get_family</a> (<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>);
|
52
52
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocketAddress.html#g-socket-address-to-native" title="g_socket_address_to_native ()">g_socket_address_to_native</a> (<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>,
|
53
53
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> dest</code></em>,
|
54
54
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> destlen</code></em>,
|
@@ -56,7 +56,7 @@ enum <a class="link" href="GSocketAddress.html#GSocketFamily" tit
|
|
56
56
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> <a class="link" href="GSocketAddress.html#g-socket-address-get-native-size" title="g_socket_address_get_native_size ()">g_socket_address_get_native_size</a> (<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>);
|
57
57
|
</pre>
|
58
58
|
</div>
|
59
|
-
<div class="refsect1"
|
59
|
+
<div class="refsect1">
|
60
60
|
<a name="GSocketAddress.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
61
61
|
<pre class="synopsis">
|
62
62
|
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
@@ -64,20 +64,24 @@ enum <a class="link" href="GSocketAddress.html#GSocketFamily" tit
|
|
64
64
|
+----<a class="link" href="GInetSocketAddress.html" title="GInetSocketAddress">GInetSocketAddress</a>
|
65
65
|
+----<a class="link" href="GUnixSocketAddress.html" title="GUnixSocketAddress">GUnixSocketAddress</a>
|
66
66
|
</pre>
|
67
|
+
<pre class="synopsis">
|
68
|
+
GEnum
|
69
|
+
+----GSocketFamily
|
70
|
+
</pre>
|
67
71
|
</div>
|
68
|
-
<div class="refsect1"
|
72
|
+
<div class="refsect1">
|
69
73
|
<a name="GSocketAddress.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
70
74
|
<p>
|
71
75
|
GSocketAddress implements
|
72
76
|
<a class="link" href="GSocketConnectable.html" title="GSocketConnectable">GSocketConnectable</a>.</p>
|
73
77
|
</div>
|
74
|
-
<div class="refsect1"
|
78
|
+
<div class="refsect1">
|
75
79
|
<a name="GSocketAddress.properties"></a><h2>Properties</h2>
|
76
80
|
<pre class="synopsis">
|
77
|
-
"<a class="link" href="GSocketAddress.html#GSocketAddress--family" title='The "family" property'>family</a>" <a class="link" href="GSocketAddress.html#GSocketFamily"
|
81
|
+
"<a class="link" href="GSocketAddress.html#GSocketAddress--family" title='The "family" property'>family</a>" <a class="link" href="GSocketAddress.html#GSocketFamily"><span class="type">GSocketFamily</span></a> : Read
|
78
82
|
</pre>
|
79
83
|
</div>
|
80
|
-
<div class="refsect1"
|
84
|
+
<div class="refsect1">
|
81
85
|
<a name="GSocketAddress.description"></a><h2>Description</h2>
|
82
86
|
<p>
|
83
87
|
<a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> is the equivalent of <span class="type">struct sockaddr</span>
|
@@ -86,9 +90,9 @@ in the BSD sockets API. This is an abstract class; use
|
|
86
90
|
for UNIX domain sockets.
|
87
91
|
</p>
|
88
92
|
</div>
|
89
|
-
<div class="refsect1"
|
93
|
+
<div class="refsect1">
|
90
94
|
<a name="GSocketAddress.details"></a><h2>Details</h2>
|
91
|
-
<div class="refsect2"
|
95
|
+
<div class="refsect2">
|
92
96
|
<a name="GSocketAddress-struct"></a><h3>GSocketAddress</h3>
|
93
97
|
<pre class="programlisting">typedef struct _GSocketAddress GSocketAddress;</pre>
|
94
98
|
<p>
|
@@ -97,7 +101,7 @@ or one of its subtypes.
|
|
97
101
|
</p>
|
98
102
|
</div>
|
99
103
|
<hr>
|
100
|
-
<div class="refsect2"
|
104
|
+
<div class="refsect2">
|
101
105
|
<a name="GSocketFamily"></a><h3>enum GSocketFamily</h3>
|
102
106
|
<pre class="programlisting">typedef enum {
|
103
107
|
G_SOCKET_FAMILY_INVALID,
|
@@ -141,9 +145,9 @@ if available.)
|
|
141
145
|
<p class="since">Since 2.22</p>
|
142
146
|
</div>
|
143
147
|
<hr>
|
144
|
-
<div class="refsect2"
|
148
|
+
<div class="refsect2">
|
145
149
|
<a name="g-socket-address-new-from-native"></a><h3>g_socket_address_new_from_native ()</h3>
|
146
|
-
<pre class="programlisting"><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> *
|
150
|
+
<pre class="programlisting"><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> * g_socket_address_new_from_native (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> native</code></em>,
|
147
151
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> len</code></em>);</pre>
|
148
152
|
<p>
|
149
153
|
Creates a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> subclass corresponding to the native
|
@@ -164,19 +168,17 @@ Creates a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><spa
|
|
164
168
|
</tr>
|
165
169
|
<tr>
|
166
170
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
167
|
-
<td>
|
168
|
-
otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a
|
169
|
-
|
170
|
-
</td>
|
171
|
+
<td>a new <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> if <em class="parameter"><code>native</code></em> could successfully be converted,
|
172
|
+
otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
171
173
|
</tr>
|
172
174
|
</tbody>
|
173
175
|
</table></div>
|
174
176
|
<p class="since">Since 2.22</p>
|
175
177
|
</div>
|
176
178
|
<hr>
|
177
|
-
<div class="refsect2"
|
179
|
+
<div class="refsect2">
|
178
180
|
<a name="g-socket-address-get-family"></a><h3>g_socket_address_get_family ()</h3>
|
179
|
-
<pre class="programlisting"><a class="link" href="GSocketAddress.html#GSocketFamily"
|
181
|
+
<pre class="programlisting"><a class="link" href="GSocketAddress.html#GSocketFamily"><span class="returnvalue">GSocketFamily</span></a> g_socket_address_get_family (<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>);</pre>
|
180
182
|
<p>
|
181
183
|
Gets the socket family type of <em class="parameter"><code>address</code></em>.
|
182
184
|
</p>
|
@@ -190,16 +192,14 @@ Gets the socket family type of <em class="parameter"><code>address</code></em>.
|
|
190
192
|
</tr>
|
191
193
|
<tr>
|
192
194
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
193
|
-
<td>
|
194
|
-
|
195
|
-
</td>
|
195
|
+
<td>the socket family type of <em class="parameter"><code>address</code></em>.</td>
|
196
196
|
</tr>
|
197
197
|
</tbody>
|
198
198
|
</table></div>
|
199
199
|
<p class="since">Since 2.22</p>
|
200
200
|
</div>
|
201
201
|
<hr>
|
202
|
-
<div class="refsect2"
|
202
|
+
<div class="refsect2">
|
203
203
|
<a name="g-socket-address-to-native"></a><h3>g_socket_address_to_native ()</h3>
|
204
204
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_socket_address_to_native (<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>,
|
205
205
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> dest</code></em>,
|
@@ -226,33 +226,29 @@ then a <a class="link" href="gio-GIOError.html#G-IO-ERROR-NOT-SUPPORTED:CAPS"><c
|
|
226
226
|
<tr>
|
227
227
|
<td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
|
228
228
|
<td>a pointer to a memory location that will contain the native
|
229
|
-
<span class="type">struct sockaddr</span
|
230
|
-
</td>
|
229
|
+
<span class="type">struct sockaddr</span>.</td>
|
231
230
|
</tr>
|
232
231
|
<tr>
|
233
232
|
<td><p><span class="term"><em class="parameter"><code>destlen</code></em> :</span></p></td>
|
234
233
|
<td>the size of <em class="parameter"><code>dest</code></em>. Must be at least as large as
|
235
|
-
<a class="link" href="GSocketAddress.html#g-socket-address-get-native-size" title="g_socket_address_get_native_size ()"><code class="function">g_socket_address_get_native_size()</code></a
|
236
|
-
</td>
|
234
|
+
<a class="link" href="GSocketAddress.html#g-socket-address-get-native-size" title="g_socket_address_get_native_size ()"><code class="function">g_socket_address_get_native_size()</code></a>.</td>
|
237
235
|
</tr>
|
238
236
|
<tr>
|
239
237
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
240
238
|
<td>
|
241
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore
|
242
|
-
</td>
|
239
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
243
240
|
</tr>
|
244
241
|
<tr>
|
245
242
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
246
|
-
<td>
|
247
|
-
|
248
|
-
</td>
|
243
|
+
<td>
|
244
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>dest</code></em> was filled in, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error</td>
|
249
245
|
</tr>
|
250
246
|
</tbody>
|
251
247
|
</table></div>
|
252
248
|
<p class="since">Since 2.22</p>
|
253
249
|
</div>
|
254
250
|
<hr>
|
255
|
-
<div class="refsect2"
|
251
|
+
<div class="refsect2">
|
256
252
|
<a name="g-socket-address-get-native-size"></a><h3>g_socket_address_get_native_size ()</h3>
|
257
253
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> g_socket_address_get_native_size (<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>);</pre>
|
258
254
|
<p>
|
@@ -270,21 +266,19 @@ You can use this to allocate memory to pass to
|
|
270
266
|
</tr>
|
271
267
|
<tr>
|
272
268
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
273
|
-
<td>
|
274
|
-
|
275
|
-
|
276
|
-
</td>
|
269
|
+
<td>the size of the native <span class="type">struct sockaddr</span> that
|
270
|
+
<em class="parameter"><code>address</code></em> represents</td>
|
277
271
|
</tr>
|
278
272
|
</tbody>
|
279
273
|
</table></div>
|
280
274
|
<p class="since">Since 2.22</p>
|
281
275
|
</div>
|
282
276
|
</div>
|
283
|
-
<div class="refsect1"
|
277
|
+
<div class="refsect1">
|
284
278
|
<a name="GSocketAddress.property-details"></a><h2>Property Details</h2>
|
285
|
-
<div class="refsect2"
|
279
|
+
<div class="refsect2">
|
286
280
|
<a name="GSocketAddress--family"></a><h3>The <code class="literal">"family"</code> property</h3>
|
287
|
-
<pre class="programlisting"> "family" <a class="link" href="GSocketAddress.html#GSocketFamily"
|
281
|
+
<pre class="programlisting"> "family" <a class="link" href="GSocketAddress.html#GSocketFamily"><span class="type">GSocketFamily</span></a> : Read</pre>
|
288
282
|
<p>The family of the socket address.</p>
|
289
283
|
<p>Default value: G_SOCKET_FAMILY_INVALID</p>
|
290
284
|
</div>
|
@@ -292,6 +286,6 @@ You can use this to allocate memory to pass to
|
|
292
286
|
</div>
|
293
287
|
<div class="footer">
|
294
288
|
<hr>
|
295
|
-
Generated by GTK-Doc V1.
|
289
|
+
Generated by GTK-Doc V1.16.1</div>
|
296
290
|
</body>
|
297
291
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="highlevel-socket.html" title="Highlevel network functionallity">
|
9
9
|
<link rel="prev" href="highlevel-socket.html" title="Highlevel network functionallity">
|
10
10
|
<link rel="next" href="GSocketConnection.html" title="GSocketConnection">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.16.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">
|
@@ -30,7 +30,7 @@
|
|
30
30
|
<a href="#GSocketClient.properties" class="shortcut">Properties</a>
|
31
31
|
</td></tr>
|
32
32
|
</table>
|
33
|
-
<div class="refentry"
|
33
|
+
<div class="refentry">
|
34
34
|
<a name="GSocketClient"></a><div class="titlepage"></div>
|
35
35
|
<div class="refnamediv"><table width="100%"><tr>
|
36
36
|
<td valign="top">
|
@@ -39,7 +39,7 @@
|
|
39
39
|
</td>
|
40
40
|
<td valign="top" align="right"></td>
|
41
41
|
</tr></table></div>
|
42
|
-
<div class="refsynopsisdiv"
|
42
|
+
<div class="refsynopsisdiv">
|
43
43
|
<a name="GSocketClient.synopsis"></a><h2>Synopsis</h2>
|
44
44
|
<pre class="synopsis">
|
45
45
|
#include <gio/gio.h>
|
@@ -49,7 +49,7 @@
|
|
49
49
|
(<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
50
50
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *protocol</code></em>);
|
51
51
|
<a class="link" href="GSocketClient.html" title="GSocketClient"><span class="returnvalue">GSocketClient</span></a> * <a class="link" href="GSocketClient.html#g-socket-client-new" title="g_socket_client_new ()">g_socket_client_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
52
|
-
<a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> *
|
52
|
+
<a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> * <a class="link" href="GSocketClient.html#g-socket-client-connect" title="g_socket_client_connect ()">g_socket_client_connect</a> (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
53
53
|
<em class="parameter"><code><a class="link" href="GSocketConnectable.html" title="GSocketConnectable"><span class="type">GSocketConnectable</span></a> *connectable</code></em>,
|
54
54
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
55
55
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
@@ -58,10 +58,11 @@
|
|
58
58
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
59
59
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
60
60
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
|
61
|
-
<a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> *
|
61
|
+
<a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> * <a class="link" href="GSocketClient.html#g-socket-client-connect-finish" title="g_socket_client_connect_finish ()">g_socket_client_connect_finish</a> (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
62
62
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
63
63
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
64
|
-
<a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> *
|
64
|
+
<a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> * <a class="link" href="GSocketClient.html#g-socket-client-connect-to-host" title="g_socket_client_connect_to_host ()">g_socket_client_connect_to_host</a>
|
65
|
+
(<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
65
66
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *host_and_port</code></em>,
|
66
67
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> default_port</code></em>,
|
67
68
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
@@ -73,11 +74,12 @@
|
|
73
74
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
74
75
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
75
76
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
|
76
|
-
<a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> *
|
77
|
+
<a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> * <a class="link" href="GSocketClient.html#g-socket-client-connect-to-host-finish" title="g_socket_client_connect_to_host_finish ()">g_socket_client_connect_to_host_finish</a>
|
77
78
|
(<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
78
79
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
79
80
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
80
|
-
<a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> *
|
81
|
+
<a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> * <a class="link" href="GSocketClient.html#g-socket-client-connect-to-service" title="g_socket_client_connect_to_service ()">g_socket_client_connect_to_service</a>
|
82
|
+
(<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
81
83
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *domain</code></em>,
|
82
84
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *service</code></em>,
|
83
85
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
@@ -89,11 +91,11 @@
|
|
89
91
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
90
92
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
91
93
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
|
92
|
-
<a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> *
|
94
|
+
<a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> * <a class="link" href="GSocketClient.html#g-socket-client-connect-to-service-finish" title="g_socket_client_connect_to_service_finish ()">g_socket_client_connect_to_service_finish</a>
|
93
95
|
(<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
94
96
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
95
97
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
96
|
-
<a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> *
|
98
|
+
<a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> * <a class="link" href="GSocketClient.html#g-socket-client-connect-to-uri" title="g_socket_client_connect_to_uri ()">g_socket_client_connect_to_uri</a> (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
97
99
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
98
100
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> default_port</code></em>,
|
99
101
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
@@ -105,49 +107,59 @@
|
|
105
107
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
106
108
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
107
109
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
|
108
|
-
<a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> *
|
110
|
+
<a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> * <a class="link" href="GSocketClient.html#g-socket-client-connect-to-uri-finish" title="g_socket_client_connect_to_uri_finish ()">g_socket_client_connect_to_uri_finish</a>
|
109
111
|
(<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
110
112
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
111
113
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
112
114
|
<span class="returnvalue">void</span> <a class="link" href="GSocketClient.html#g-socket-client-set-family" title="g_socket_client_set_family ()">g_socket_client_set_family</a> (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
113
|
-
<em class="parameter"><code><a class="link" href="GSocketAddress.html#GSocketFamily"
|
115
|
+
<em class="parameter"><code><a class="link" href="GSocketAddress.html#GSocketFamily"><span class="type">GSocketFamily</span></a> family</code></em>);
|
114
116
|
<span class="returnvalue">void</span> <a class="link" href="GSocketClient.html#g-socket-client-set-local-address" title="g_socket_client_set_local_address ()">g_socket_client_set_local_address</a> (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
115
117
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>);
|
116
118
|
<span class="returnvalue">void</span> <a class="link" href="GSocketClient.html#g-socket-client-set-protocol" title="g_socket_client_set_protocol ()">g_socket_client_set_protocol</a> (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
117
|
-
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketProtocol"
|
119
|
+
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketProtocol"><span class="type">GSocketProtocol</span></a> protocol</code></em>);
|
118
120
|
<span class="returnvalue">void</span> <a class="link" href="GSocketClient.html#g-socket-client-set-socket-type" title="g_socket_client_set_socket_type ()">g_socket_client_set_socket_type</a> (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
119
|
-
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketType"
|
121
|
+
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketType"><span class="type">GSocketType</span></a> type</code></em>);
|
120
122
|
<span class="returnvalue">void</span> <a class="link" href="GSocketClient.html#g-socket-client-set-timeout" title="g_socket_client_set_timeout ()">g_socket_client_set_timeout</a> (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
121
123
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> timeout</code></em>);
|
122
|
-
<
|
124
|
+
<span class="returnvalue">void</span> <a class="link" href="GSocketClient.html#g-socket-client-set-enable-proxy" title="g_socket_client_set_enable_proxy ()">g_socket_client_set_enable_proxy</a> (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
125
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);
|
126
|
+
<span class="returnvalue">void</span> <a class="link" href="GSocketClient.html#g-socket-client-set-tls" title="g_socket_client_set_tls ()">g_socket_client_set_tls</a> (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
127
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> tls</code></em>);
|
128
|
+
<span class="returnvalue">void</span> <a class="link" href="GSocketClient.html#g-socket-client-set-tls-validation-flags" title="g_socket_client_set_tls_validation_flags ()">g_socket_client_set_tls_validation_flags</a>
|
129
|
+
(<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
130
|
+
<em class="parameter"><code><a class="link" href="gio-TLS-Overview.html#GTlsCertificateFlags"><span class="type">GTlsCertificateFlags</span></a> flags</code></em>);
|
131
|
+
<a class="link" href="GSocketAddress.html#GSocketFamily"><span class="returnvalue">GSocketFamily</span></a> <a class="link" href="GSocketClient.html#g-socket-client-get-family" title="g_socket_client_get_family ()">g_socket_client_get_family</a> (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>);
|
123
132
|
<a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> * <a class="link" href="GSocketClient.html#g-socket-client-get-local-address" title="g_socket_client_get_local_address ()">g_socket_client_get_local_address</a> (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>);
|
124
|
-
<a class="link" href="GSocket.html#GSocketProtocol"
|
125
|
-
<a class="link" href="GSocket.html#GSocketType"
|
133
|
+
<a class="link" href="GSocket.html#GSocketProtocol"><span class="returnvalue">GSocketProtocol</span></a> <a class="link" href="GSocketClient.html#g-socket-client-get-protocol" title="g_socket_client_get_protocol ()">g_socket_client_get_protocol</a> (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>);
|
134
|
+
<a class="link" href="GSocket.html#GSocketType"><span class="returnvalue">GSocketType</span></a> <a class="link" href="GSocketClient.html#g-socket-client-get-socket-type" title="g_socket_client_get_socket_type ()">g_socket_client_get_socket_type</a> (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>);
|
126
135
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="GSocketClient.html#g-socket-client-get-timeout" title="g_socket_client_get_timeout ()">g_socket_client_get_timeout</a> (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>);
|
127
136
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocketClient.html#g-socket-client-get-enable-proxy" title="g_socket_client_get_enable_proxy ()">g_socket_client_get_enable_proxy</a> (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>);
|
128
|
-
<span class="returnvalue">
|
129
|
-
|
137
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocketClient.html#g-socket-client-get-tls" title="g_socket_client_get_tls ()">g_socket_client_get_tls</a> (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>);
|
138
|
+
<a class="link" href="gio-TLS-Overview.html#GTlsCertificateFlags"><span class="returnvalue">GTlsCertificateFlags</span></a> <a class="link" href="GSocketClient.html#g-socket-client-get-tls-validation-flags" title="g_socket_client_get_tls_validation_flags ()">g_socket_client_get_tls_validation_flags</a>
|
139
|
+
(<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>);
|
130
140
|
</pre>
|
131
141
|
</div>
|
132
|
-
<div class="refsect1"
|
142
|
+
<div class="refsect1">
|
133
143
|
<a name="GSocketClient.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
134
144
|
<pre class="synopsis">
|
135
145
|
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
136
146
|
+----GSocketClient
|
137
147
|
</pre>
|
138
148
|
</div>
|
139
|
-
<div class="refsect1"
|
149
|
+
<div class="refsect1">
|
140
150
|
<a name="GSocketClient.properties"></a><h2>Properties</h2>
|
141
151
|
<pre class="synopsis">
|
142
152
|
"<a class="link" href="GSocketClient.html#GSocketClient--enable-proxy" title='The "enable-proxy" property'>enable-proxy</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct
|
143
|
-
"<a class="link" href="GSocketClient.html#GSocketClient--family" title='The "family" property'>family</a>" <a class="link" href="GSocketAddress.html#GSocketFamily"
|
153
|
+
"<a class="link" href="GSocketClient.html#GSocketClient--family" title='The "family" property'>family</a>" <a class="link" href="GSocketAddress.html#GSocketFamily"><span class="type">GSocketFamily</span></a> : Read / Write / Construct
|
144
154
|
"<a class="link" href="GSocketClient.html#GSocketClient--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 / Write / Construct
|
145
|
-
"<a class="link" href="GSocketClient.html#GSocketClient--protocol" title='The "protocol" property'>protocol</a>" <a class="link" href="GSocket.html#GSocketProtocol"
|
155
|
+
"<a class="link" href="GSocketClient.html#GSocketClient--protocol" title='The "protocol" property'>protocol</a>" <a class="link" href="GSocket.html#GSocketProtocol"><span class="type">GSocketProtocol</span></a> : Read / Write / Construct
|
146
156
|
"<a class="link" href="GSocketClient.html#GSocketClient--timeout" title='The "timeout" property'>timeout</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct
|
147
|
-
"<a class="link" href="GSocketClient.html#GSocketClient--
|
157
|
+
"<a class="link" href="GSocketClient.html#GSocketClient--tls" title='The "tls" property'>tls</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct
|
158
|
+
"<a class="link" href="GSocketClient.html#GSocketClient--tls-validation-flags" title='The "tls-validation-flags" property'>tls-validation-flags</a>" <a class="link" href="gio-TLS-Overview.html#GTlsCertificateFlags"><span class="type">GTlsCertificateFlags</span></a> : Read / Write / Construct
|
159
|
+
"<a class="link" href="GSocketClient.html#GSocketClient--type" title='The "type" property'>type</a>" <a class="link" href="GSocket.html#GSocketType"><span class="type">GSocketType</span></a> : Read / Write / Construct
|
148
160
|
</pre>
|
149
161
|
</div>
|
150
|
-
<div class="refsect1"
|
162
|
+
<div class="refsect1">
|
151
163
|
<a name="GSocketClient.description"></a><h2>Description</h2>
|
152
164
|
<p>
|
153
165
|
<a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> is a high-level utility class for connecting to a
|
@@ -164,9 +176,9 @@ the underlying socket that is in use. For instance, for a TCP/IP connection
|
|
164
176
|
it will be a <a class="link" href="GTcpConnection.html" title="GTcpConnection"><span class="type">GTcpConnection</span></a>.
|
165
177
|
</p>
|
166
178
|
</div>
|
167
|
-
<div class="refsect1"
|
179
|
+
<div class="refsect1">
|
168
180
|
<a name="GSocketClient.details"></a><h2>Details</h2>
|
169
|
-
<div class="refsect2"
|
181
|
+
<div class="refsect2">
|
170
182
|
<a name="GSocketClient-struct"></a><h3>GSocketClient</h3>
|
171
183
|
<pre class="programlisting">typedef struct _GSocketClient GSocketClient;</pre>
|
172
184
|
<p>
|
@@ -175,7 +187,7 @@ A helper class for network servers to listen for and accept connections.
|
|
175
187
|
<p class="since">Since 2.22</p>
|
176
188
|
</div>
|
177
189
|
<hr>
|
178
|
-
<div class="refsect2"
|
190
|
+
<div class="refsect2">
|
179
191
|
<a name="g-socket-client-add-application-proxy"></a><h3>g_socket_client_add_application_proxy ()</h3>
|
180
192
|
<pre class="programlisting"><span class="returnvalue">void</span> g_socket_client_add_application_proxy
|
181
193
|
(<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
@@ -208,14 +220,13 @@ be use as generic socket proxy through the HTTP CONNECT method.
|
|
208
220
|
</tr>
|
209
221
|
<tr>
|
210
222
|
<td><p><span class="term"><em class="parameter"><code>protocol</code></em> :</span></p></td>
|
211
|
-
<td>The proxy protocol
|
212
|
-
</td>
|
223
|
+
<td>The proxy protocol</td>
|
213
224
|
</tr>
|
214
225
|
</tbody>
|
215
226
|
</table></div>
|
216
227
|
</div>
|
217
228
|
<hr>
|
218
|
-
<div class="refsect2"
|
229
|
+
<div class="refsect2">
|
219
230
|
<a name="g-socket-client-new"></a><h3>g_socket_client_new ()</h3>
|
220
231
|
<pre class="programlisting"><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="returnvalue">GSocketClient</span></a> * g_socket_client_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
221
232
|
<p>
|
@@ -225,18 +236,16 @@ Creates a new <a class="link" href="GSocketClient.html" title="GSocketClient"><s
|
|
225
236
|
<col align="left" valign="top">
|
226
237
|
<tbody><tr>
|
227
238
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
228
|
-
<td>
|
229
|
-
|
230
|
-
|
231
|
-
</td>
|
239
|
+
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a>.
|
240
|
+
Free the returned object with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</td>
|
232
241
|
</tr></tbody>
|
233
242
|
</table></div>
|
234
243
|
<p class="since">Since 2.22</p>
|
235
244
|
</div>
|
236
245
|
<hr>
|
237
|
-
<div class="refsect2"
|
246
|
+
<div class="refsect2">
|
238
247
|
<a name="g-socket-client-connect"></a><h3>g_socket_client_connect ()</h3>
|
239
|
-
<pre class="programlisting"><a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> *
|
248
|
+
<pre class="programlisting"><a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> * g_socket_client_connect (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
240
249
|
<em class="parameter"><code><a class="link" href="GSocketConnectable.html" title="GSocketConnectable"><span class="type">GSocketConnectable</span></a> *connectable</code></em>,
|
241
250
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
242
251
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
@@ -269,29 +278,25 @@ socket will be bound to this address before connecting.
|
|
269
278
|
<tbody>
|
270
279
|
<tr>
|
271
280
|
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
|
272
|
-
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a
|
273
|
-
</td>
|
281
|
+
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a>.</td>
|
274
282
|
</tr>
|
275
283
|
<tr>
|
276
284
|
<td><p><span class="term"><em class="parameter"><code>connectable</code></em> :</span></p></td>
|
277
|
-
<td>a <a class="link" href="GSocketConnectable.html" title="GSocketConnectable"><span class="type">GSocketConnectable</span></a> specifying the remote address
|
278
|
-
</td>
|
285
|
+
<td>a <a class="link" href="GSocketConnectable.html" title="GSocketConnectable"><span class="type">GSocketConnectable</span></a> specifying the remote address.</td>
|
279
286
|
</tr>
|
280
287
|
<tr>
|
281
288
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
282
|
-
<td>optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.
|
289
|
+
<td>optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
283
290
|
</td>
|
284
291
|
</tr>
|
285
292
|
<tr>
|
286
293
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
287
294
|
<td>
|
288
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore
|
289
|
-
</td>
|
295
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for error reporting, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.</td>
|
290
296
|
</tr>
|
291
297
|
<tr>
|
292
298
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
293
|
-
<td>
|
294
|
-
|
299
|
+
<td>a <a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="type">GSocketConnection</span></a> on success, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
295
300
|
</td>
|
296
301
|
</tr>
|
297
302
|
</tbody>
|
@@ -299,7 +304,7 @@ socket will be bound to this address before connecting.
|
|
299
304
|
<p class="since">Since 2.22</p>
|
300
305
|
</div>
|
301
306
|
<hr>
|
302
|
-
<div class="refsect2"
|
307
|
+
<div class="refsect2">
|
303
308
|
<a name="g-socket-client-connect-async"></a><h3>g_socket_client_connect_async ()</h3>
|
304
309
|
<pre class="programlisting"><span class="returnvalue">void</span> g_socket_client_connect_async (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
305
310
|
<em class="parameter"><code><a class="link" href="GSocketConnectable.html" title="GSocketConnectable"><span class="type">GSocketConnectable</span></a> *connectable</code></em>,
|
@@ -324,22 +329,21 @@ the result of the operation.
|
|
324
329
|
</tr>
|
325
330
|
<tr>
|
326
331
|
<td><p><span class="term"><em class="parameter"><code>connectable</code></em> :</span></p></td>
|
327
|
-
<td>a <a class="link" href="GSocketConnectable.html" title="GSocketConnectable"><span class="type">GSocketConnectable</span></a> specifying the remote address
|
328
|
-
</td>
|
332
|
+
<td>a <a class="link" href="GSocketConnectable.html" title="GSocketConnectable"><span class="type">GSocketConnectable</span></a> specifying the remote address.</td>
|
329
333
|
</tr>
|
330
334
|
<tr>
|
331
335
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
332
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
336
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/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>
|
333
337
|
</td>
|
334
338
|
</tr>
|
335
339
|
<tr>
|
336
340
|
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
|
337
|
-
<td>a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>
|
341
|
+
<td>a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>. <span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span>
|
338
342
|
</td>
|
339
343
|
</tr>
|
340
344
|
<tr>
|
341
345
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
342
|
-
<td>user data for the callback
|
346
|
+
<td>user data for the callback. <span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span>
|
343
347
|
</td>
|
344
348
|
</tr>
|
345
349
|
</tbody>
|
@@ -347,9 +351,9 @@ the result of the operation.
|
|
347
351
|
<p class="since">Since 2.22</p>
|
348
352
|
</div>
|
349
353
|
<hr>
|
350
|
-
<div class="refsect2"
|
354
|
+
<div class="refsect2">
|
351
355
|
<a name="g-socket-client-connect-finish"></a><h3>g_socket_client_connect_finish ()</h3>
|
352
|
-
<pre class="programlisting"><a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> *
|
356
|
+
<pre class="programlisting"><a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> * g_socket_client_connect_finish (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
353
357
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
354
358
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
355
359
|
<p>
|
@@ -360,24 +364,20 @@ Finishes an async connect operation. See <a class="link" href="GSocketClient.htm
|
|
360
364
|
<tbody>
|
361
365
|
<tr>
|
362
366
|
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
|
363
|
-
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a
|
364
|
-
</td>
|
367
|
+
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a>.</td>
|
365
368
|
</tr>
|
366
369
|
<tr>
|
367
370
|
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
|
368
|
-
<td>a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a
|
369
|
-
</td>
|
371
|
+
<td>a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>.</td>
|
370
372
|
</tr>
|
371
373
|
<tr>
|
372
374
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
373
375
|
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to store the error occuring, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
|
374
|
-
ignore
|
375
|
-
</td>
|
376
|
+
ignore.</td>
|
376
377
|
</tr>
|
377
378
|
<tr>
|
378
379
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
379
|
-
<td>
|
380
|
-
|
380
|
+
<td>a <a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="type">GSocketConnection</span></a> on success, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
381
381
|
</td>
|
382
382
|
</tr>
|
383
383
|
</tbody>
|
@@ -385,9 +385,10 @@ ignore.
|
|
385
385
|
<p class="since">Since 2.22</p>
|
386
386
|
</div>
|
387
387
|
<hr>
|
388
|
-
<div class="refsect2"
|
388
|
+
<div class="refsect2">
|
389
389
|
<a name="g-socket-client-connect-to-host"></a><h3>g_socket_client_connect_to_host ()</h3>
|
390
|
-
<pre class="programlisting"><a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> *
|
390
|
+
<pre class="programlisting"><a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> * g_socket_client_connect_to_host
|
391
|
+
(<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
391
392
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *host_and_port</code></em>,
|
392
393
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> default_port</code></em>,
|
393
394
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
@@ -399,7 +400,7 @@ This is a helper function for <a class="link" href="GSocketClient.html#g-socket-
|
|
399
400
|
Attempts to create a TCP connection to the named host.
|
400
401
|
</p>
|
401
402
|
<p>
|
402
|
-
<em class="parameter"><code>host_and_port</code></em> may be in any of a number of recognised formats
|
403
|
+
<em class="parameter"><code>host_and_port</code></em> may be in any of a number of recognised formats; an IPv6
|
403
404
|
address, an IPv4 address, or a domain name (in which case a DNS
|
404
405
|
lookup is performed). Quoting with [] is supported for all address
|
405
406
|
types. A port override may be specified in the usual way with a
|
@@ -441,17 +442,15 @@ accordingly.
|
|
441
442
|
</tr>
|
442
443
|
<tr>
|
443
444
|
<td><p><span class="term"><em class="parameter"><code>host_and_port</code></em> :</span></p></td>
|
444
|
-
<td>the name and optionally port of the host to connect to
|
445
|
-
</td>
|
445
|
+
<td>the name and optionally port of the host to connect to</td>
|
446
446
|
</tr>
|
447
447
|
<tr>
|
448
448
|
<td><p><span class="term"><em class="parameter"><code>default_port</code></em> :</span></p></td>
|
449
|
-
<td>the default port to connect to
|
450
|
-
</td>
|
449
|
+
<td>the default port to connect to</td>
|
451
450
|
</tr>
|
452
451
|
<tr>
|
453
452
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
454
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
453
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/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>
|
455
454
|
</td>
|
456
455
|
</tr>
|
457
456
|
<tr>
|
@@ -461,8 +460,7 @@ accordingly.
|
|
461
460
|
</tr>
|
462
461
|
<tr>
|
463
462
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
464
|
-
<td>
|
465
|
-
|
463
|
+
<td>a <a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="type">GSocketConnection</span></a> on success, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
466
464
|
</td>
|
467
465
|
</tr>
|
468
466
|
</tbody>
|
@@ -470,7 +468,7 @@ accordingly.
|
|
470
468
|
<p class="since">Since 2.22</p>
|
471
469
|
</div>
|
472
470
|
<hr>
|
473
|
-
<div class="refsect2"
|
471
|
+
<div class="refsect2">
|
474
472
|
<a name="g-socket-client-connect-to-host-async"></a><h3>g_socket_client_connect_to_host_async ()</h3>
|
475
473
|
<pre class="programlisting"><span class="returnvalue">void</span> g_socket_client_connect_to_host_async
|
476
474
|
(<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
@@ -497,27 +495,25 @@ the result of the operation.
|
|
497
495
|
</tr>
|
498
496
|
<tr>
|
499
497
|
<td><p><span class="term"><em class="parameter"><code>host_and_port</code></em> :</span></p></td>
|
500
|
-
<td>the name and optionally the port of the host to connect to
|
501
|
-
</td>
|
498
|
+
<td>the name and optionally the port of the host to connect to</td>
|
502
499
|
</tr>
|
503
500
|
<tr>
|
504
501
|
<td><p><span class="term"><em class="parameter"><code>default_port</code></em> :</span></p></td>
|
505
|
-
<td>the default port to connect to
|
506
|
-
</td>
|
502
|
+
<td>the default port to connect to</td>
|
507
503
|
</tr>
|
508
504
|
<tr>
|
509
505
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
510
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
506
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/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>
|
511
507
|
</td>
|
512
508
|
</tr>
|
513
509
|
<tr>
|
514
510
|
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
|
515
|
-
<td>a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>
|
511
|
+
<td>a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>. <span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span>
|
516
512
|
</td>
|
517
513
|
</tr>
|
518
514
|
<tr>
|
519
515
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
520
|
-
<td>user data for the callback
|
516
|
+
<td>user data for the callback. <span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span>
|
521
517
|
</td>
|
522
518
|
</tr>
|
523
519
|
</tbody>
|
@@ -525,9 +521,9 @@ the result of the operation.
|
|
525
521
|
<p class="since">Since 2.22</p>
|
526
522
|
</div>
|
527
523
|
<hr>
|
528
|
-
<div class="refsect2"
|
524
|
+
<div class="refsect2">
|
529
525
|
<a name="g-socket-client-connect-to-host-finish"></a><h3>g_socket_client_connect_to_host_finish ()</h3>
|
530
|
-
<pre class="programlisting"><a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> *
|
526
|
+
<pre class="programlisting"><a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> * g_socket_client_connect_to_host_finish
|
531
527
|
(<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
532
528
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
533
529
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
@@ -539,24 +535,20 @@ Finishes an async connect operation. See <a class="link" href="GSocketClient.htm
|
|
539
535
|
<tbody>
|
540
536
|
<tr>
|
541
537
|
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
|
542
|
-
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a
|
543
|
-
</td>
|
538
|
+
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a>.</td>
|
544
539
|
</tr>
|
545
540
|
<tr>
|
546
541
|
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
|
547
|
-
<td>a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a
|
548
|
-
</td>
|
542
|
+
<td>a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>.</td>
|
549
543
|
</tr>
|
550
544
|
<tr>
|
551
545
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
552
546
|
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to store the error occuring, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
|
553
|
-
ignore
|
554
|
-
</td>
|
547
|
+
ignore.</td>
|
555
548
|
</tr>
|
556
549
|
<tr>
|
557
550
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
558
|
-
<td>
|
559
|
-
|
551
|
+
<td>a <a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="type">GSocketConnection</span></a> on success, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
560
552
|
</td>
|
561
553
|
</tr>
|
562
554
|
</tbody>
|
@@ -564,9 +556,10 @@ ignore.
|
|
564
556
|
<p class="since">Since 2.22</p>
|
565
557
|
</div>
|
566
558
|
<hr>
|
567
|
-
<div class="refsect2"
|
559
|
+
<div class="refsect2">
|
568
560
|
<a name="g-socket-client-connect-to-service"></a><h3>g_socket_client_connect_to_service ()</h3>
|
569
|
-
<pre class="programlisting"><a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> *
|
561
|
+
<pre class="programlisting"><a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> * g_socket_client_connect_to_service
|
562
|
+
(<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
570
563
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *domain</code></em>,
|
571
564
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *service</code></em>,
|
572
565
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
@@ -600,17 +593,15 @@ accordingly.
|
|
600
593
|
</tr>
|
601
594
|
<tr>
|
602
595
|
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
|
603
|
-
<td>a domain name
|
604
|
-
</td>
|
596
|
+
<td>a domain name</td>
|
605
597
|
</tr>
|
606
598
|
<tr>
|
607
599
|
<td><p><span class="term"><em class="parameter"><code>service</code></em> :</span></p></td>
|
608
|
-
<td>the name of the service to connect to
|
609
|
-
</td>
|
600
|
+
<td>the name of the service to connect to</td>
|
610
601
|
</tr>
|
611
602
|
<tr>
|
612
603
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
613
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
604
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/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>
|
614
605
|
</td>
|
615
606
|
</tr>
|
616
607
|
<tr>
|
@@ -620,14 +611,14 @@ accordingly.
|
|
620
611
|
</tr>
|
621
612
|
<tr>
|
622
613
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
623
|
-
<td>a <a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="type">GSocketConnection</span></a> if successful, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error
|
614
|
+
<td>a <a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="type">GSocketConnection</span></a> if successful, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
624
615
|
</td>
|
625
616
|
</tr>
|
626
617
|
</tbody>
|
627
618
|
</table></div>
|
628
619
|
</div>
|
629
620
|
<hr>
|
630
|
-
<div class="refsect2"
|
621
|
+
<div class="refsect2">
|
631
622
|
<a name="g-socket-client-connect-to-service-async"></a><h3>g_socket_client_connect_to_service_async ()</h3>
|
632
623
|
<pre class="programlisting"><span class="returnvalue">void</span> g_socket_client_connect_to_service_async
|
633
624
|
(<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
@@ -650,27 +641,25 @@ This is the asynchronous version of
|
|
650
641
|
</tr>
|
651
642
|
<tr>
|
652
643
|
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
|
653
|
-
<td>a domain name
|
654
|
-
</td>
|
644
|
+
<td>a domain name</td>
|
655
645
|
</tr>
|
656
646
|
<tr>
|
657
647
|
<td><p><span class="term"><em class="parameter"><code>service</code></em> :</span></p></td>
|
658
|
-
<td>the name of the service to connect to
|
659
|
-
</td>
|
648
|
+
<td>the name of the service to connect to</td>
|
660
649
|
</tr>
|
661
650
|
<tr>
|
662
651
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
663
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
652
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/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>
|
664
653
|
</td>
|
665
654
|
</tr>
|
666
655
|
<tr>
|
667
656
|
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
|
668
|
-
<td>a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>
|
657
|
+
<td>a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>. <span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span>
|
669
658
|
</td>
|
670
659
|
</tr>
|
671
660
|
<tr>
|
672
661
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
673
|
-
<td>user data for the callback
|
662
|
+
<td>user data for the callback. <span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span>
|
674
663
|
</td>
|
675
664
|
</tr>
|
676
665
|
</tbody>
|
@@ -678,9 +667,9 @@ This is the asynchronous version of
|
|
678
667
|
<p class="since">Since 2.22</p>
|
679
668
|
</div>
|
680
669
|
<hr>
|
681
|
-
<div class="refsect2"
|
670
|
+
<div class="refsect2">
|
682
671
|
<a name="g-socket-client-connect-to-service-finish"></a><h3>g_socket_client_connect_to_service_finish ()</h3>
|
683
|
-
<pre class="programlisting"><a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> *
|
672
|
+
<pre class="programlisting"><a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> * g_socket_client_connect_to_service_finish
|
684
673
|
(<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
685
674
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
686
675
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
@@ -692,24 +681,20 @@ Finishes an async connect operation. See <a class="link" href="GSocketClient.htm
|
|
692
681
|
<tbody>
|
693
682
|
<tr>
|
694
683
|
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
|
695
|
-
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a
|
696
|
-
</td>
|
684
|
+
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a>.</td>
|
697
685
|
</tr>
|
698
686
|
<tr>
|
699
687
|
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
|
700
|
-
<td>a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a
|
701
|
-
</td>
|
688
|
+
<td>a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>.</td>
|
702
689
|
</tr>
|
703
690
|
<tr>
|
704
691
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
705
692
|
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to store the error occuring, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
|
706
|
-
ignore
|
707
|
-
</td>
|
693
|
+
ignore.</td>
|
708
694
|
</tr>
|
709
695
|
<tr>
|
710
696
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
711
|
-
<td>
|
712
|
-
|
697
|
+
<td>a <a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="type">GSocketConnection</span></a> on success, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
713
698
|
</td>
|
714
699
|
</tr>
|
715
700
|
</tbody>
|
@@ -717,9 +702,9 @@ ignore.
|
|
717
702
|
<p class="since">Since 2.22</p>
|
718
703
|
</div>
|
719
704
|
<hr>
|
720
|
-
<div class="refsect2"
|
705
|
+
<div class="refsect2">
|
721
706
|
<a name="g-socket-client-connect-to-uri"></a><h3>g_socket_client_connect_to_uri ()</h3>
|
722
|
-
<pre class="programlisting"><a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> *
|
707
|
+
<pre class="programlisting"><a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> * g_socket_client_connect_to_uri (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
723
708
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
724
709
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> default_port</code></em>,
|
725
710
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
@@ -733,7 +718,9 @@ Attempts to create a TCP connection with a network URI.
|
|
733
718
|
<p>
|
734
719
|
<em class="parameter"><code>uri</code></em> may be any valid URI containing an "authority" (hostname/port)
|
735
720
|
component. If a port is not specified in the URI, <em class="parameter"><code>default_port</code></em>
|
736
|
-
will be used.
|
721
|
+
will be used. TLS will be negotiated if <a class="link" href="GSocketClient.html#GSocketClient--tls" title='The "tls" property'><span class="type">"tls"</span></a> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
|
722
|
+
(<a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> does not know to automatically assume TLS for
|
723
|
+
certain URI schemes.)
|
737
724
|
</p>
|
738
725
|
<p>
|
739
726
|
Using this rather than <a class="link" href="GSocketClient.html#g-socket-client-connect" title="g_socket_client_connect ()"><code class="function">g_socket_client_connect()</code></a> or
|
@@ -760,17 +747,15 @@ accordingly.
|
|
760
747
|
</tr>
|
761
748
|
<tr>
|
762
749
|
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
763
|
-
<td>A network URI
|
764
|
-
</td>
|
750
|
+
<td>A network URI</td>
|
765
751
|
</tr>
|
766
752
|
<tr>
|
767
753
|
<td><p><span class="term"><em class="parameter"><code>default_port</code></em> :</span></p></td>
|
768
|
-
<td>the default port to connect to
|
769
|
-
</td>
|
754
|
+
<td>the default port to connect to</td>
|
770
755
|
</tr>
|
771
756
|
<tr>
|
772
757
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
773
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
758
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/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>
|
774
759
|
</td>
|
775
760
|
</tr>
|
776
761
|
<tr>
|
@@ -780,8 +765,7 @@ accordingly.
|
|
780
765
|
</tr>
|
781
766
|
<tr>
|
782
767
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
783
|
-
<td>
|
784
|
-
|
768
|
+
<td>a <a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="type">GSocketConnection</span></a> on success, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
785
769
|
</td>
|
786
770
|
</tr>
|
787
771
|
</tbody>
|
@@ -789,7 +773,7 @@ accordingly.
|
|
789
773
|
<p class="since">Since 2.26</p>
|
790
774
|
</div>
|
791
775
|
<hr>
|
792
|
-
<div class="refsect2"
|
776
|
+
<div class="refsect2">
|
793
777
|
<a name="g-socket-client-connect-to-uri-async"></a><h3>g_socket_client_connect_to_uri_async ()</h3>
|
794
778
|
<pre class="programlisting"><span class="returnvalue">void</span> g_socket_client_connect_to_uri_async
|
795
779
|
(<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
@@ -816,27 +800,25 @@ the result of the operation.
|
|
816
800
|
</tr>
|
817
801
|
<tr>
|
818
802
|
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
819
|
-
<td>a network uri
|
820
|
-
</td>
|
803
|
+
<td>a network uri</td>
|
821
804
|
</tr>
|
822
805
|
<tr>
|
823
806
|
<td><p><span class="term"><em class="parameter"><code>default_port</code></em> :</span></p></td>
|
824
|
-
<td>the default port to connect to
|
825
|
-
</td>
|
807
|
+
<td>the default port to connect to</td>
|
826
808
|
</tr>
|
827
809
|
<tr>
|
828
810
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
829
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
811
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/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>
|
830
812
|
</td>
|
831
813
|
</tr>
|
832
814
|
<tr>
|
833
815
|
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
|
834
|
-
<td>a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>
|
816
|
+
<td>a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a>. <span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span>
|
835
817
|
</td>
|
836
818
|
</tr>
|
837
819
|
<tr>
|
838
820
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
839
|
-
<td>user data for the callback
|
821
|
+
<td>user data for the callback. <span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span>
|
840
822
|
</td>
|
841
823
|
</tr>
|
842
824
|
</tbody>
|
@@ -844,9 +826,9 @@ the result of the operation.
|
|
844
826
|
<p class="since">Since 2.26</p>
|
845
827
|
</div>
|
846
828
|
<hr>
|
847
|
-
<div class="refsect2"
|
829
|
+
<div class="refsect2">
|
848
830
|
<a name="g-socket-client-connect-to-uri-finish"></a><h3>g_socket_client_connect_to_uri_finish ()</h3>
|
849
|
-
<pre class="programlisting"><a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> *
|
831
|
+
<pre class="programlisting"><a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="returnvalue">GSocketConnection</span></a> * g_socket_client_connect_to_uri_finish
|
850
832
|
(<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
851
833
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
852
834
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
@@ -858,24 +840,20 @@ Finishes an async connect operation. See <a class="link" href="GSocketClient.htm
|
|
858
840
|
<tbody>
|
859
841
|
<tr>
|
860
842
|
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
|
861
|
-
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a
|
862
|
-
</td>
|
843
|
+
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a>.</td>
|
863
844
|
</tr>
|
864
845
|
<tr>
|
865
846
|
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
|
866
|
-
<td>a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a
|
867
|
-
</td>
|
847
|
+
<td>a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>.</td>
|
868
848
|
</tr>
|
869
849
|
<tr>
|
870
850
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
871
851
|
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to store the error occuring, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
|
872
|
-
ignore
|
873
|
-
</td>
|
852
|
+
ignore.</td>
|
874
853
|
</tr>
|
875
854
|
<tr>
|
876
855
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
877
|
-
<td>
|
878
|
-
|
856
|
+
<td>a <a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="type">GSocketConnection</span></a> on success, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
879
857
|
</td>
|
880
858
|
</tr>
|
881
859
|
</tbody>
|
@@ -883,10 +861,10 @@ ignore.
|
|
883
861
|
<p class="since">Since 2.26</p>
|
884
862
|
</div>
|
885
863
|
<hr>
|
886
|
-
<div class="refsect2"
|
864
|
+
<div class="refsect2">
|
887
865
|
<a name="g-socket-client-set-family"></a><h3>g_socket_client_set_family ()</h3>
|
888
866
|
<pre class="programlisting"><span class="returnvalue">void</span> g_socket_client_set_family (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
889
|
-
<em class="parameter"><code><a class="link" href="GSocketAddress.html#GSocketFamily"
|
867
|
+
<em class="parameter"><code><a class="link" href="GSocketAddress.html#GSocketFamily"><span class="type">GSocketFamily</span></a> family</code></em>);</pre>
|
890
868
|
<p>
|
891
869
|
Sets the socket family of the socket client.
|
892
870
|
If this is set to something other than <a class="link" href="GSocketAddress.html#G-SOCKET-FAMILY-INVALID:CAPS"><code class="literal">G_SOCKET_FAMILY_INVALID</code></a>
|
@@ -903,12 +881,11 @@ be an ipv6 mapped to ipv4 address.
|
|
903
881
|
<tbody>
|
904
882
|
<tr>
|
905
883
|
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
|
906
|
-
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a
|
907
|
-
</td>
|
884
|
+
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a>.</td>
|
908
885
|
</tr>
|
909
886
|
<tr>
|
910
887
|
<td><p><span class="term"><em class="parameter"><code>family</code></em> :</span></p></td>
|
911
|
-
<td>a <a class="link" href="GSocketAddress.html#GSocketFamily"
|
888
|
+
<td>a <a class="link" href="GSocketAddress.html#GSocketFamily"><span class="type">GSocketFamily</span></a>
|
912
889
|
</td>
|
913
890
|
</tr>
|
914
891
|
</tbody>
|
@@ -916,7 +893,7 @@ be an ipv6 mapped to ipv4 address.
|
|
916
893
|
<p class="since">Since 2.22</p>
|
917
894
|
</div>
|
918
895
|
<hr>
|
919
|
-
<div class="refsect2"
|
896
|
+
<div class="refsect2">
|
920
897
|
<a name="g-socket-client-set-local-address"></a><h3>g_socket_client_set_local_address ()</h3>
|
921
898
|
<pre class="programlisting"><span class="returnvalue">void</span> g_socket_client_set_local_address (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
922
899
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>);</pre>
|
@@ -935,8 +912,7 @@ a specific interface.
|
|
935
912
|
<tbody>
|
936
913
|
<tr>
|
937
914
|
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
|
938
|
-
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a
|
939
|
-
</td>
|
915
|
+
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a>.</td>
|
940
916
|
</tr>
|
941
917
|
<tr>
|
942
918
|
<td><p><span class="term"><em class="parameter"><code>address</code></em> :</span></p></td>
|
@@ -948,10 +924,10 @@ a specific interface.
|
|
948
924
|
<p class="since">Since 2.22</p>
|
949
925
|
</div>
|
950
926
|
<hr>
|
951
|
-
<div class="refsect2"
|
927
|
+
<div class="refsect2">
|
952
928
|
<a name="g-socket-client-set-protocol"></a><h3>g_socket_client_set_protocol ()</h3>
|
953
929
|
<pre class="programlisting"><span class="returnvalue">void</span> g_socket_client_set_protocol (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
954
|
-
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketProtocol"
|
930
|
+
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketProtocol"><span class="type">GSocketProtocol</span></a> protocol</code></em>);</pre>
|
955
931
|
<p>
|
956
932
|
Sets the protocol of the socket client.
|
957
933
|
The sockets created by this object will use of the specified
|
@@ -966,12 +942,11 @@ protocol for the socket family and type.
|
|
966
942
|
<tbody>
|
967
943
|
<tr>
|
968
944
|
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
|
969
|
-
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a
|
970
|
-
</td>
|
945
|
+
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a>.</td>
|
971
946
|
</tr>
|
972
947
|
<tr>
|
973
948
|
<td><p><span class="term"><em class="parameter"><code>protocol</code></em> :</span></p></td>
|
974
|
-
<td>a <a class="link" href="GSocket.html#GSocketProtocol"
|
949
|
+
<td>a <a class="link" href="GSocket.html#GSocketProtocol"><span class="type">GSocketProtocol</span></a>
|
975
950
|
</td>
|
976
951
|
</tr>
|
977
952
|
</tbody>
|
@@ -979,10 +954,10 @@ protocol for the socket family and type.
|
|
979
954
|
<p class="since">Since 2.22</p>
|
980
955
|
</div>
|
981
956
|
<hr>
|
982
|
-
<div class="refsect2"
|
957
|
+
<div class="refsect2">
|
983
958
|
<a name="g-socket-client-set-socket-type"></a><h3>g_socket_client_set_socket_type ()</h3>
|
984
959
|
<pre class="programlisting"><span class="returnvalue">void</span> g_socket_client_set_socket_type (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
985
|
-
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketType"
|
960
|
+
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketType"><span class="type">GSocketType</span></a> type</code></em>);</pre>
|
986
961
|
<p>
|
987
962
|
Sets the socket type of the socket client.
|
988
963
|
The sockets created by this object will be of the specified
|
@@ -997,12 +972,11 @@ as GSocketClient is used for connection oriented services.
|
|
997
972
|
<tbody>
|
998
973
|
<tr>
|
999
974
|
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
|
1000
|
-
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a
|
1001
|
-
</td>
|
975
|
+
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a>.</td>
|
1002
976
|
</tr>
|
1003
977
|
<tr>
|
1004
978
|
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1005
|
-
<td>a <a class="link" href="GSocket.html#GSocketType"
|
979
|
+
<td>a <a class="link" href="GSocket.html#GSocketType"><span class="type">GSocketType</span></a>
|
1006
980
|
</td>
|
1007
981
|
</tr>
|
1008
982
|
</tbody>
|
@@ -1010,7 +984,7 @@ as GSocketClient is used for connection oriented services.
|
|
1010
984
|
<p class="since">Since 2.22</p>
|
1011
985
|
</div>
|
1012
986
|
<hr>
|
1013
|
-
<div class="refsect2"
|
987
|
+
<div class="refsect2">
|
1014
988
|
<a name="g-socket-client-set-timeout"></a><h3>g_socket_client_set_timeout ()</h3>
|
1015
989
|
<pre class="programlisting"><span class="returnvalue">void</span> g_socket_client_set_timeout (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
1016
990
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> timeout</code></em>);</pre>
|
@@ -1028,22 +1002,104 @@ to fail with <a class="link" href="gio-GIOError.html#G-IO-ERROR-TIMED-OUT:CAPS">
|
|
1028
1002
|
<tbody>
|
1029
1003
|
<tr>
|
1030
1004
|
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
|
1031
|
-
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a
|
1032
|
-
</td>
|
1005
|
+
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a>.</td>
|
1033
1006
|
</tr>
|
1034
1007
|
<tr>
|
1035
1008
|
<td><p><span class="term"><em class="parameter"><code>timeout</code></em> :</span></p></td>
|
1036
|
-
<td>the timeout
|
1037
|
-
</td>
|
1009
|
+
<td>the timeout</td>
|
1038
1010
|
</tr>
|
1039
1011
|
</tbody>
|
1040
1012
|
</table></div>
|
1041
1013
|
<p class="since">Since 2.26</p>
|
1042
1014
|
</div>
|
1043
1015
|
<hr>
|
1044
|
-
<div class="refsect2"
|
1016
|
+
<div class="refsect2">
|
1017
|
+
<a name="g-socket-client-set-enable-proxy"></a><h3>g_socket_client_set_enable_proxy ()</h3>
|
1018
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_socket_client_set_enable_proxy (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
1019
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);</pre>
|
1020
|
+
<p>
|
1021
|
+
Sets whether or not <em class="parameter"><code>client</code></em> attempts to make connections via a
|
1022
|
+
proxy server. When enabled (the default), <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> will use a
|
1023
|
+
<a class="link" href="GProxyResolver.html" title="GProxyResolver"><span class="type">GProxyResolver</span></a> to determine if a proxy protocol such as SOCKS is
|
1024
|
+
needed, and automatically do the necessary proxy negotiation.
|
1025
|
+
</p>
|
1026
|
+
<div class="variablelist"><table border="0">
|
1027
|
+
<col align="left" valign="top">
|
1028
|
+
<tbody>
|
1029
|
+
<tr>
|
1030
|
+
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
|
1031
|
+
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a>.</td>
|
1032
|
+
</tr>
|
1033
|
+
<tr>
|
1034
|
+
<td><p><span class="term"><em class="parameter"><code>enable</code></em> :</span></p></td>
|
1035
|
+
<td>whether to enable proxies</td>
|
1036
|
+
</tr>
|
1037
|
+
</tbody>
|
1038
|
+
</table></div>
|
1039
|
+
<p class="since">Since 2.26</p>
|
1040
|
+
</div>
|
1041
|
+
<hr>
|
1042
|
+
<div class="refsect2">
|
1043
|
+
<a name="g-socket-client-set-tls"></a><h3>g_socket_client_set_tls ()</h3>
|
1044
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_socket_client_set_tls (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
1045
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> tls</code></em>);</pre>
|
1046
|
+
<p>
|
1047
|
+
Sets whether <em class="parameter"><code>client</code></em> creates TLS (aka SSL) connections. If <em class="parameter"><code>tls</code></em> is
|
1048
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, <em class="parameter"><code>client</code></em> will wrap its connections in a <a class="link" href="GTlsClientConnection.html" title="GTlsClientConnection"><span class="type">GTlsClientConnection</span></a>
|
1049
|
+
and perform a TLS handshake when connecting.
|
1050
|
+
</p>
|
1051
|
+
<p>
|
1052
|
+
Note that since <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> must return a <a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="type">GSocketConnection</span></a>,
|
1053
|
+
but <a class="link" href="GTlsClientConnection.html" title="GTlsClientConnection"><span class="type">GTlsClientConnection</span></a> is not a <a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="type">GSocketConnection</span></a>, this
|
1054
|
+
actually wraps the resulting <a class="link" href="GTlsClientConnection.html" title="GTlsClientConnection"><span class="type">GTlsClientConnection</span></a> in a
|
1055
|
+
<a class="link" href="GTcpWrapperConnection.html" title="GTcpWrapperConnection"><span class="type">GTcpWrapperConnection</span></a> when returning it. You can use
|
1056
|
+
<a class="link" href="GTcpWrapperConnection.html#g-tcp-wrapper-connection-get-base-io-stream" title="g_tcp_wrapper_connection_get_base_io_stream ()"><code class="function">g_tcp_wrapper_connection_get_base_io_stream()</code></a> on the return value
|
1057
|
+
to extract the <a class="link" href="GTlsClientConnection.html" title="GTlsClientConnection"><span class="type">GTlsClientConnection</span></a>.
|
1058
|
+
</p>
|
1059
|
+
<div class="variablelist"><table border="0">
|
1060
|
+
<col align="left" valign="top">
|
1061
|
+
<tbody>
|
1062
|
+
<tr>
|
1063
|
+
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
|
1064
|
+
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a>.</td>
|
1065
|
+
</tr>
|
1066
|
+
<tr>
|
1067
|
+
<td><p><span class="term"><em class="parameter"><code>tls</code></em> :</span></p></td>
|
1068
|
+
<td>whether to use TLS</td>
|
1069
|
+
</tr>
|
1070
|
+
</tbody>
|
1071
|
+
</table></div>
|
1072
|
+
<p class="since">Since 2.28</p>
|
1073
|
+
</div>
|
1074
|
+
<hr>
|
1075
|
+
<div class="refsect2">
|
1076
|
+
<a name="g-socket-client-set-tls-validation-flags"></a><h3>g_socket_client_set_tls_validation_flags ()</h3>
|
1077
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_socket_client_set_tls_validation_flags
|
1078
|
+
(<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>,
|
1079
|
+
<em class="parameter"><code><a class="link" href="gio-TLS-Overview.html#GTlsCertificateFlags"><span class="type">GTlsCertificateFlags</span></a> flags</code></em>);</pre>
|
1080
|
+
<p>
|
1081
|
+
Sets the TLS validation flags used when creating TLS connections
|
1082
|
+
via <em class="parameter"><code>client</code></em>. The default value is <a class="link" href="gio-TLS-Overview.html#G-TLS-CERTIFICATE-VALIDATE-ALL:CAPS"><code class="literal">G_TLS_CERTIFICATE_VALIDATE_ALL</code></a>.
|
1083
|
+
</p>
|
1084
|
+
<div class="variablelist"><table border="0">
|
1085
|
+
<col align="left" valign="top">
|
1086
|
+
<tbody>
|
1087
|
+
<tr>
|
1088
|
+
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
|
1089
|
+
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a>.</td>
|
1090
|
+
</tr>
|
1091
|
+
<tr>
|
1092
|
+
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
1093
|
+
<td>the validation flags</td>
|
1094
|
+
</tr>
|
1095
|
+
</tbody>
|
1096
|
+
</table></div>
|
1097
|
+
<p class="since">Since 2.28</p>
|
1098
|
+
</div>
|
1099
|
+
<hr>
|
1100
|
+
<div class="refsect2">
|
1045
1101
|
<a name="g-socket-client-get-family"></a><h3>g_socket_client_get_family ()</h3>
|
1046
|
-
<pre class="programlisting"><a class="link" href="GSocketAddress.html#GSocketFamily"
|
1102
|
+
<pre class="programlisting"><a class="link" href="GSocketAddress.html#GSocketFamily"><span class="returnvalue">GSocketFamily</span></a> g_socket_client_get_family (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>);</pre>
|
1047
1103
|
<p>
|
1048
1104
|
Gets the socket family of the socket client.
|
1049
1105
|
</p>
|
@@ -1055,13 +1111,11 @@ See <a class="link" href="GSocketClient.html#g-socket-client-set-family" title="
|
|
1055
1111
|
<tbody>
|
1056
1112
|
<tr>
|
1057
1113
|
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
|
1058
|
-
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a
|
1059
|
-
</td>
|
1114
|
+
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a>.</td>
|
1060
1115
|
</tr>
|
1061
1116
|
<tr>
|
1062
1117
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1063
|
-
<td>
|
1064
|
-
|
1118
|
+
<td>a <a class="link" href="GSocketAddress.html#GSocketFamily"><span class="type">GSocketFamily</span></a>
|
1065
1119
|
</td>
|
1066
1120
|
</tr>
|
1067
1121
|
</tbody>
|
@@ -1069,7 +1123,7 @@ See <a class="link" href="GSocketClient.html#g-socket-client-set-family" title="
|
|
1069
1123
|
<p class="since">Since 2.22</p>
|
1070
1124
|
</div>
|
1071
1125
|
<hr>
|
1072
|
-
<div class="refsect2"
|
1126
|
+
<div class="refsect2">
|
1073
1127
|
<a name="g-socket-client-get-local-address"></a><h3>g_socket_client_get_local_address ()</h3>
|
1074
1128
|
<pre class="programlisting"><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> * g_socket_client_get_local_address (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>);</pre>
|
1075
1129
|
<p>
|
@@ -1083,12 +1137,11 @@ See <a class="link" href="GSocketClient.html#g-socket-client-set-local-address"
|
|
1083
1137
|
<tbody>
|
1084
1138
|
<tr>
|
1085
1139
|
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
|
1086
|
-
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a
|
1087
|
-
</td>
|
1140
|
+
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a>.</td>
|
1088
1141
|
</tr>
|
1089
1142
|
<tr>
|
1090
1143
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1091
|
-
<td>
|
1144
|
+
<td>a <span class="type">GSocketAddres</span> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. don't free. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1092
1145
|
</td>
|
1093
1146
|
</tr>
|
1094
1147
|
</tbody>
|
@@ -1096,9 +1149,9 @@ See <a class="link" href="GSocketClient.html#g-socket-client-set-local-address"
|
|
1096
1149
|
<p class="since">Since 2.22</p>
|
1097
1150
|
</div>
|
1098
1151
|
<hr>
|
1099
|
-
<div class="refsect2"
|
1152
|
+
<div class="refsect2">
|
1100
1153
|
<a name="g-socket-client-get-protocol"></a><h3>g_socket_client_get_protocol ()</h3>
|
1101
|
-
<pre class="programlisting"><a class="link" href="GSocket.html#GSocketProtocol"
|
1154
|
+
<pre class="programlisting"><a class="link" href="GSocket.html#GSocketProtocol"><span class="returnvalue">GSocketProtocol</span></a> g_socket_client_get_protocol (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>);</pre>
|
1102
1155
|
<p>
|
1103
1156
|
Gets the protocol name type of the socket client.
|
1104
1157
|
</p>
|
@@ -1115,8 +1168,7 @@ See <a class="link" href="GSocketClient.html#g-socket-client-set-protocol" title
|
|
1115
1168
|
</tr>
|
1116
1169
|
<tr>
|
1117
1170
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1118
|
-
<td>
|
1119
|
-
|
1171
|
+
<td>a <a class="link" href="GSocket.html#GSocketProtocol"><span class="type">GSocketProtocol</span></a>
|
1120
1172
|
</td>
|
1121
1173
|
</tr>
|
1122
1174
|
</tbody>
|
@@ -1124,9 +1176,9 @@ See <a class="link" href="GSocketClient.html#g-socket-client-set-protocol" title
|
|
1124
1176
|
<p class="since">Since 2.22</p>
|
1125
1177
|
</div>
|
1126
1178
|
<hr>
|
1127
|
-
<div class="refsect2"
|
1179
|
+
<div class="refsect2">
|
1128
1180
|
<a name="g-socket-client-get-socket-type"></a><h3>g_socket_client_get_socket_type ()</h3>
|
1129
|
-
<pre class="programlisting"><a class="link" href="GSocket.html#GSocketType"
|
1181
|
+
<pre class="programlisting"><a class="link" href="GSocket.html#GSocketType"><span class="returnvalue">GSocketType</span></a> g_socket_client_get_socket_type (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>);</pre>
|
1130
1182
|
<p>
|
1131
1183
|
Gets the socket type of the socket client.
|
1132
1184
|
</p>
|
@@ -1138,13 +1190,11 @@ See <a class="link" href="GSocketClient.html#g-socket-client-set-socket-type" ti
|
|
1138
1190
|
<tbody>
|
1139
1191
|
<tr>
|
1140
1192
|
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
|
1141
|
-
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a
|
1142
|
-
</td>
|
1193
|
+
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a>.</td>
|
1143
1194
|
</tr>
|
1144
1195
|
<tr>
|
1145
1196
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1146
|
-
<td>
|
1147
|
-
|
1197
|
+
<td>a <a class="link" href="GSocketAddress.html#GSocketFamily"><span class="type">GSocketFamily</span></a>
|
1148
1198
|
</td>
|
1149
1199
|
</tr>
|
1150
1200
|
</tbody>
|
@@ -1152,7 +1202,7 @@ See <a class="link" href="GSocketClient.html#g-socket-client-set-socket-type" ti
|
|
1152
1202
|
<p class="since">Since 2.22</p>
|
1153
1203
|
</div>
|
1154
1204
|
<hr>
|
1155
|
-
<div class="refsect2"
|
1205
|
+
<div class="refsect2">
|
1156
1206
|
<a name="g-socket-client-get-timeout"></a><h3>g_socket_client_get_timeout ()</h3>
|
1157
1207
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_socket_client_get_timeout (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>);</pre>
|
1158
1208
|
<p>
|
@@ -1171,16 +1221,14 @@ See <a class="link" href="GSocketClient.html#g-socket-client-set-timeout" title=
|
|
1171
1221
|
</tr>
|
1172
1222
|
<tr>
|
1173
1223
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1174
|
-
<td>
|
1175
|
-
|
1176
|
-
</td>
|
1224
|
+
<td>the timeout in seconds</td>
|
1177
1225
|
</tr>
|
1178
1226
|
</tbody>
|
1179
1227
|
</table></div>
|
1180
1228
|
<p class="since">Since 2.26</p>
|
1181
1229
|
</div>
|
1182
1230
|
<hr>
|
1183
|
-
<div class="refsect2"
|
1231
|
+
<div class="refsect2">
|
1184
1232
|
<a name="g-socket-client-get-enable-proxy"></a><h3>g_socket_client_get_enable_proxy ()</h3>
|
1185
1233
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_socket_client_get_enable_proxy (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>);</pre>
|
1186
1234
|
<p>
|
@@ -1191,98 +1239,128 @@ Gets the proxy enable state; see <a class="link" href="GSocketClient.html#g-sock
|
|
1191
1239
|
<tbody>
|
1192
1240
|
<tr>
|
1193
1241
|
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
|
1194
|
-
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a
|
1195
|
-
</td>
|
1242
|
+
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a>.</td>
|
1196
1243
|
</tr>
|
1197
1244
|
<tr>
|
1198
1245
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1199
|
-
<td>
|
1200
|
-
|
1201
|
-
</td>
|
1246
|
+
<td>whether proxying is enabled</td>
|
1202
1247
|
</tr>
|
1203
1248
|
</tbody>
|
1204
1249
|
</table></div>
|
1205
1250
|
<p class="since">Since 2.26</p>
|
1206
1251
|
</div>
|
1207
1252
|
<hr>
|
1208
|
-
<div class="refsect2"
|
1209
|
-
<a name="g-socket-client-
|
1210
|
-
<pre class="programlisting"><span class="returnvalue">
|
1211
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);</pre>
|
1253
|
+
<div class="refsect2">
|
1254
|
+
<a name="g-socket-client-get-tls"></a><h3>g_socket_client_get_tls ()</h3>
|
1255
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_socket_client_get_tls (<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>);</pre>
|
1212
1256
|
<p>
|
1213
|
-
|
1214
|
-
|
1215
|
-
<a class="link" href="GProxyResolver.html" title="GProxyResolver"><span class="type">GProxyResolver</span></a> to determine if a proxy protocol such as SOCKS is
|
1216
|
-
needed, and automatically do the necessary proxy negotiation.
|
1257
|
+
Gets whether <em class="parameter"><code>client</code></em> creates TLS connections. See
|
1258
|
+
<a class="link" href="GSocketClient.html#g-socket-client-set-tls" title="g_socket_client_set_tls ()"><code class="function">g_socket_client_set_tls()</code></a> for details.
|
1217
1259
|
</p>
|
1218
1260
|
<div class="variablelist"><table border="0">
|
1219
1261
|
<col align="left" valign="top">
|
1220
1262
|
<tbody>
|
1221
1263
|
<tr>
|
1222
1264
|
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
|
1223
|
-
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a
|
1224
|
-
</td>
|
1265
|
+
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a>.</td>
|
1225
1266
|
</tr>
|
1226
1267
|
<tr>
|
1227
|
-
<td><p><span class="term"><
|
1228
|
-
<td>whether
|
1229
|
-
</td>
|
1268
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1269
|
+
<td>whether <em class="parameter"><code>client</code></em> uses TLS</td>
|
1230
1270
|
</tr>
|
1231
1271
|
</tbody>
|
1232
1272
|
</table></div>
|
1233
|
-
<p class="since">Since 2.
|
1273
|
+
<p class="since">Since 2.28</p>
|
1274
|
+
</div>
|
1275
|
+
<hr>
|
1276
|
+
<div class="refsect2">
|
1277
|
+
<a name="g-socket-client-get-tls-validation-flags"></a><h3>g_socket_client_get_tls_validation_flags ()</h3>
|
1278
|
+
<pre class="programlisting"><a class="link" href="gio-TLS-Overview.html#GTlsCertificateFlags"><span class="returnvalue">GTlsCertificateFlags</span></a> g_socket_client_get_tls_validation_flags
|
1279
|
+
(<em class="parameter"><code><a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a> *client</code></em>);</pre>
|
1280
|
+
<p>
|
1281
|
+
Gets the TLS validation flags used creating TLS connections via
|
1282
|
+
<em class="parameter"><code>client</code></em>.
|
1283
|
+
</p>
|
1284
|
+
<div class="variablelist"><table border="0">
|
1285
|
+
<col align="left" valign="top">
|
1286
|
+
<tbody>
|
1287
|
+
<tr>
|
1288
|
+
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
|
1289
|
+
<td>a <a class="link" href="GSocketClient.html" title="GSocketClient"><span class="type">GSocketClient</span></a>.</td>
|
1290
|
+
</tr>
|
1291
|
+
<tr>
|
1292
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1293
|
+
<td>the TLS validation flags</td>
|
1294
|
+
</tr>
|
1295
|
+
</tbody>
|
1296
|
+
</table></div>
|
1297
|
+
<p class="since">Since 2.28</p>
|
1234
1298
|
</div>
|
1235
1299
|
</div>
|
1236
|
-
<div class="refsect1"
|
1300
|
+
<div class="refsect1">
|
1237
1301
|
<a name="GSocketClient.property-details"></a><h2>Property Details</h2>
|
1238
|
-
<div class="refsect2"
|
1302
|
+
<div class="refsect2">
|
1239
1303
|
<a name="GSocketClient--enable-proxy"></a><h3>The <code class="literal">"enable-proxy"</code> property</h3>
|
1240
1304
|
<pre class="programlisting"> "enable-proxy" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct</pre>
|
1241
1305
|
<p>Enable proxy support.</p>
|
1242
1306
|
<p>Default value: TRUE</p>
|
1243
1307
|
</div>
|
1244
1308
|
<hr>
|
1245
|
-
<div class="refsect2"
|
1309
|
+
<div class="refsect2">
|
1246
1310
|
<a name="GSocketClient--family"></a><h3>The <code class="literal">"family"</code> property</h3>
|
1247
|
-
<pre class="programlisting"> "family" <a class="link" href="GSocketAddress.html#GSocketFamily"
|
1311
|
+
<pre class="programlisting"> "family" <a class="link" href="GSocketAddress.html#GSocketFamily"><span class="type">GSocketFamily</span></a> : Read / Write / Construct</pre>
|
1248
1312
|
<p>The sockets address family to use for socket construction.</p>
|
1249
1313
|
<p>Default value: G_SOCKET_FAMILY_INVALID</p>
|
1250
1314
|
</div>
|
1251
1315
|
<hr>
|
1252
|
-
<div class="refsect2"
|
1316
|
+
<div class="refsect2">
|
1253
1317
|
<a name="GSocketClient--local-address"></a><h3>The <code class="literal">"local-address"</code> property</h3>
|
1254
1318
|
<pre class="programlisting"> "local-address" <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>* : Read / Write / Construct</pre>
|
1255
1319
|
<p>The local address constructed sockets will be bound to.</p>
|
1256
1320
|
</div>
|
1257
1321
|
<hr>
|
1258
|
-
<div class="refsect2"
|
1322
|
+
<div class="refsect2">
|
1259
1323
|
<a name="GSocketClient--protocol"></a><h3>The <code class="literal">"protocol"</code> property</h3>
|
1260
|
-
<pre class="programlisting"> "protocol" <a class="link" href="GSocket.html#GSocketProtocol"
|
1324
|
+
<pre class="programlisting"> "protocol" <a class="link" href="GSocket.html#GSocketProtocol"><span class="type">GSocketProtocol</span></a> : Read / Write / Construct</pre>
|
1261
1325
|
<p>The protocol to use for socket construction, or 0 for default.</p>
|
1262
1326
|
<p>Default value: G_SOCKET_PROTOCOL_DEFAULT</p>
|
1263
1327
|
</div>
|
1264
1328
|
<hr>
|
1265
|
-
<div class="refsect2"
|
1329
|
+
<div class="refsect2">
|
1266
1330
|
<a name="GSocketClient--timeout"></a><h3>The <code class="literal">"timeout"</code> property</h3>
|
1267
1331
|
<pre class="programlisting"> "timeout" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct</pre>
|
1268
1332
|
<p>The I/O timeout for sockets, or 0 for none.</p>
|
1269
1333
|
<p>Default value: 0</p>
|
1270
1334
|
</div>
|
1271
1335
|
<hr>
|
1272
|
-
<div class="refsect2"
|
1336
|
+
<div class="refsect2">
|
1337
|
+
<a name="GSocketClient--tls"></a><h3>The <code class="literal">"tls"</code> property</h3>
|
1338
|
+
<pre class="programlisting"> "tls" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct</pre>
|
1339
|
+
<p>Whether to create TLS connections.</p>
|
1340
|
+
<p>Default value: FALSE</p>
|
1341
|
+
</div>
|
1342
|
+
<hr>
|
1343
|
+
<div class="refsect2">
|
1344
|
+
<a name="GSocketClient--tls-validation-flags"></a><h3>The <code class="literal">"tls-validation-flags"</code> property</h3>
|
1345
|
+
<pre class="programlisting"> "tls-validation-flags" <a class="link" href="gio-TLS-Overview.html#GTlsCertificateFlags"><span class="type">GTlsCertificateFlags</span></a> : Read / Write / Construct</pre>
|
1346
|
+
<p>TLS validation flags to use.</p>
|
1347
|
+
<p>Default value: G_TLS_CERTIFICATE_UNKNOWN_CA|G_TLS_CERTIFICATE_BAD_IDENTITY|G_TLS_CERTIFICATE_NOT_ACTIVATED|G_TLS_CERTIFICATE_EXPIRED|G_TLS_CERTIFICATE_REVOKED|G_TLS_CERTIFICATE_INSECURE|G_TLS_CERTIFICATE_GENERIC_ERROR</p>
|
1348
|
+
</div>
|
1349
|
+
<hr>
|
1350
|
+
<div class="refsect2">
|
1273
1351
|
<a name="GSocketClient--type"></a><h3>The <code class="literal">"type"</code> property</h3>
|
1274
|
-
<pre class="programlisting"> "type" <a class="link" href="GSocket.html#GSocketType"
|
1352
|
+
<pre class="programlisting"> "type" <a class="link" href="GSocket.html#GSocketType"><span class="type">GSocketType</span></a> : Read / Write / Construct</pre>
|
1275
1353
|
<p>The sockets type to use for socket construction.</p>
|
1276
1354
|
<p>Default value: G_SOCKET_TYPE_STREAM</p>
|
1277
1355
|
</div>
|
1278
1356
|
</div>
|
1279
|
-
<div class="refsect1"
|
1357
|
+
<div class="refsect1">
|
1280
1358
|
<a name="GSocketClient.see-also"></a><h2>See Also</h2>
|
1281
1359
|
<a class="link" href="GSocketConnection.html" title="GSocketConnection"><span class="type">GSocketConnection</span></a>, <a class="link" href="GSocketListener.html" title="GSocketListener"><span class="type">GSocketListener</span></a>
|
1282
1360
|
</div>
|
1283
1361
|
</div>
|
1284
1362
|
<div class="footer">
|
1285
1363
|
<hr>
|
1286
|
-
Generated by GTK-Doc V1.
|
1364
|
+
Generated by GTK-Doc V1.16.1</div>
|
1287
1365
|
</body>
|
1288
1366
|
</html>
|