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
@@ -7,8 +7,8 @@
|
|
7
7
|
<link rel="home" href="index.html" title="GIO Reference Manual">
|
8
8
|
<link rel="up" href="permissions.html" title="Permissions">
|
9
9
|
<link rel="prev" href="GPermission.html" title="GPermission">
|
10
|
-
<link rel="next" href="
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
10
|
+
<link rel="next" href="application.html" title="Application support">
|
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">
|
@@ -18,7 +18,7 @@
|
|
18
18
|
<td><a accesskey="u" href="permissions.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
19
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
20
|
<th width="100%" align="center">GIO Reference Manual</th>
|
21
|
-
<td><a accesskey="n" href="
|
21
|
+
<td><a accesskey="n" href="application.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
22
|
</tr>
|
23
23
|
<tr><td colspan="5" class="shortcuts">
|
24
24
|
<a href="#GSimplePermission.synopsis" class="shortcut">Top</a>
|
@@ -28,22 +28,22 @@
|
|
28
28
|
<a href="#GSimplePermission.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
29
|
</td></tr>
|
30
30
|
</table>
|
31
|
-
<div class="refentry"
|
31
|
+
<div class="refentry">
|
32
32
|
<a name="GSimplePermission"></a><div class="titlepage"></div>
|
33
33
|
<div class="refnamediv"><table width="100%"><tr>
|
34
34
|
<td valign="top">
|
35
35
|
<h2><span class="refentrytitle"><a name="GSimplePermission.top_of_page"></a>GSimplePermission</span></h2>
|
36
|
-
<p>GSimplePermission —
|
36
|
+
<p>GSimplePermission — A GPermission that doesn't change value</p>
|
37
37
|
</td>
|
38
38
|
<td valign="top" align="right"></td>
|
39
39
|
</tr></table></div>
|
40
|
-
<div class="refsynopsisdiv"
|
40
|
+
<div class="refsynopsisdiv">
|
41
41
|
<a name="GSimplePermission.synopsis"></a><h2>Synopsis</h2>
|
42
42
|
<pre class="synopsis"> <a class="link" href="GSimplePermission.html#GSimplePermission-struct" title="GSimplePermission">GSimplePermission</a>;
|
43
|
-
<a class="link" href="GPermission.html" title="GPermission"><span class="returnvalue">GPermission</span></a> *
|
43
|
+
<a class="link" href="GPermission.html" title="GPermission"><span class="returnvalue">GPermission</span></a> * <a class="link" href="GSimplePermission.html#g-simple-permission-new" title="g_simple_permission_new ()">g_simple_permission_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> allowed</code></em>);
|
44
44
|
</pre>
|
45
45
|
</div>
|
46
|
-
<div class="refsect1"
|
46
|
+
<div class="refsect1">
|
47
47
|
<a name="GSimplePermission.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
48
48
|
<pre class="synopsis">
|
49
49
|
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
@@ -51,7 +51,7 @@
|
|
51
51
|
+----GSimplePermission
|
52
52
|
</pre>
|
53
53
|
</div>
|
54
|
-
<div class="refsect1"
|
54
|
+
<div class="refsect1">
|
55
55
|
<a name="GSimplePermission.description"></a><h2>Description</h2>
|
56
56
|
<p>
|
57
57
|
<a class="link" href="GSimplePermission.html" title="GSimplePermission"><span class="type">GSimplePermission</span></a> is a trivial implementation of <a class="link" href="GPermission.html" title="GPermission"><span class="type">GPermission</span></a> that
|
@@ -62,9 +62,9 @@ value is given at constuction and doesn't change.
|
|
62
62
|
Calling request or release will result in errors.
|
63
63
|
</p>
|
64
64
|
</div>
|
65
|
-
<div class="refsect1"
|
65
|
+
<div class="refsect1">
|
66
66
|
<a name="GSimplePermission.details"></a><h2>Details</h2>
|
67
|
-
<div class="refsect2"
|
67
|
+
<div class="refsect2">
|
68
68
|
<a name="GSimplePermission-struct"></a><h3>GSimplePermission</h3>
|
69
69
|
<pre class="programlisting">typedef struct _GSimplePermission GSimplePermission;</pre>
|
70
70
|
<p>
|
@@ -73,9 +73,9 @@ except for those defined by <a class="link" href="GPermission.html" title="GPerm
|
|
73
73
|
</p>
|
74
74
|
</div>
|
75
75
|
<hr>
|
76
|
-
<div class="refsect2"
|
76
|
+
<div class="refsect2">
|
77
77
|
<a name="g-simple-permission-new"></a><h3>g_simple_permission_new ()</h3>
|
78
|
-
<pre class="programlisting"><a class="link" href="GPermission.html" title="GPermission"><span class="returnvalue">GPermission</span></a> *
|
78
|
+
<pre class="programlisting"><a class="link" href="GPermission.html" title="GPermission"><span class="returnvalue">GPermission</span></a> * g_simple_permission_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> allowed</code></em>);</pre>
|
79
79
|
<p>
|
80
80
|
Creates a new <a class="link" href="GPermission.html" title="GPermission"><span class="type">GPermission</span></a> instance that represents an action that is
|
81
81
|
either always or never allowed.
|
@@ -86,8 +86,7 @@ either always or never allowed.
|
|
86
86
|
<tr>
|
87
87
|
<td><p><span class="term"><em class="parameter"><code>allowed</code></em> :</span></p></td>
|
88
88
|
<td>
|
89
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the action is allowed
|
90
|
-
</td>
|
89
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the action is allowed</td>
|
91
90
|
</tr>
|
92
91
|
<tr>
|
93
92
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -102,6 +101,6 @@ either always or never allowed.
|
|
102
101
|
</div>
|
103
102
|
<div class="footer">
|
104
103
|
<hr>
|
105
|
-
Generated by GTK-Doc V1.
|
104
|
+
Generated by GTK-Doc V1.16.1</div>
|
106
105
|
</body>
|
107
106
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="networking.html" title="Lowlevel network support">
|
9
9
|
<link rel="prev" href="networking.html" title="Lowlevel network support">
|
10
10
|
<link rel="next" href="GInetAddress.html" title="GInetAddress">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.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="#GSocket.properties" class="shortcut">Properties</a>
|
33
33
|
</td></tr>
|
34
34
|
</table>
|
35
|
-
<div class="refentry"
|
35
|
+
<div class="refentry">
|
36
36
|
<a name="GSocket"></a><div class="titlepage"></div>
|
37
37
|
<div class="refnamediv"><table width="100%"><tr>
|
38
38
|
<td valign="top">
|
@@ -41,25 +41,25 @@
|
|
41
41
|
</td>
|
42
42
|
<td valign="top" align="right"></td>
|
43
43
|
</tr></table></div>
|
44
|
-
<div class="refsynopsisdiv"
|
44
|
+
<div class="refsynopsisdiv">
|
45
45
|
<a name="GSocket.synopsis"></a><h2>Synopsis</h2>
|
46
|
-
<pre class="synopsis">
|
46
|
+
<a name="GSocketType"></a><a name="GSocketProtocol"></a><a name="GSocketMsgFlags"></a><pre class="synopsis">
|
47
47
|
#include <gio/gio.h>
|
48
48
|
|
49
49
|
<a class="link" href="GSocket.html#GSocket-struct" title="GSocket">GSocket</a>;
|
50
50
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (<a class="link" href="GSocket.html#GSocketSourceFunc" title="GSocketSourceFunc ()">*GSocketSourceFunc</a>) (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
51
51
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>,
|
52
52
|
<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>);
|
53
|
-
enum <a class="link" href="GSocket.html#GSocketType"
|
54
|
-
enum <a class="link" href="GSocket.html#GSocketProtocol"
|
55
|
-
enum <a class="link" href="GSocket.html#GSocketMsgFlags"
|
56
|
-
|
57
|
-
|
58
|
-
<a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> *
|
59
|
-
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketType"
|
60
|
-
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketProtocol"
|
53
|
+
enum <a class="link" href="GSocket.html#GSocketType">GSocketType</a>;
|
54
|
+
enum <a class="link" href="GSocket.html#GSocketProtocol">GSocketProtocol</a>;
|
55
|
+
enum <a class="link" href="GSocket.html#GSocketMsgFlags">GSocketMsgFlags</a>;
|
56
|
+
struct <a class="link" href="GSocket.html#GInputVector" title="struct GInputVector">GInputVector</a>;
|
57
|
+
struct <a class="link" href="GSocket.html#GOutputVector" title="struct GOutputVector">GOutputVector</a>;
|
58
|
+
<a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> * <a class="link" href="GSocket.html#g-socket-new" title="g_socket_new ()">g_socket_new</a> (<em class="parameter"><code><a class="link" href="GSocketAddress.html#GSocketFamily"><span class="type">GSocketFamily</span></a> family</code></em>,
|
59
|
+
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketType"><span class="type">GSocketType</span></a> type</code></em>,
|
60
|
+
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketProtocol"><span class="type">GSocketProtocol</span></a> protocol</code></em>,
|
61
61
|
<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>);
|
62
|
-
<a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> *
|
62
|
+
<a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> * <a class="link" href="GSocket.html#g-socket-new-from-fd" title="g_socket_new_from_fd ()">g_socket_new_from_fd</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> fd</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
64
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocket.html#g-socket-bind" title="g_socket_bind ()">g_socket_bind</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
65
65
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>,
|
@@ -67,7 +67,7 @@ enum <a class="link" href="GSocket.html#GSocketMsgFlags" title="e
|
|
67
67
|
<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>);
|
68
68
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocket.html#g-socket-listen" title="g_socket_listen ()">g_socket_listen</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
69
69
|
<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>);
|
70
|
-
<a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> *
|
70
|
+
<a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> * <a class="link" href="GSocket.html#g-socket-accept" title="g_socket_accept ()">g_socket_accept</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
71
71
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
72
72
|
<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>);
|
73
73
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocket.html#g-socket-connect" title="g_socket_connect ()">g_socket_connect</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
@@ -89,7 +89,7 @@ enum <a class="link" href="GSocket.html#GSocketMsgFlags" title="e
|
|
89
89
|
<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>);
|
90
90
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> <a class="link" href="GSocket.html#g-socket-receive-message" title="g_socket_receive_message ()">g_socket_receive_message</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
91
91
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> **address</code></em>,
|
92
|
-
<em class="parameter"><code><a class="link" href="GSocket.html#GInputVector" title="GInputVector"><span class="type">GInputVector</span></a> *vectors</code></em>,
|
92
|
+
<em class="parameter"><code><a class="link" href="GSocket.html#GInputVector" title="struct GInputVector"><span class="type">GInputVector</span></a> *vectors</code></em>,
|
93
93
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_vectors</code></em>,
|
94
94
|
<em class="parameter"><code><a class="link" href="GSocketControlMessage.html" title="GSocketControlMessage"><span class="type">GSocketControlMessage</span></a> ***messages</code></em>,
|
95
95
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *num_messages</code></em>,
|
@@ -115,7 +115,7 @@ enum <a class="link" href="GSocket.html#GSocketMsgFlags" title="e
|
|
115
115
|
<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>);
|
116
116
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a> <a class="link" href="GSocket.html#g-socket-send-message" title="g_socket_send_message ()">g_socket_send_message</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
117
117
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>,
|
118
|
-
<em class="parameter"><code><a class="link" href="GSocket.html#GOutputVector" title="GOutputVector"><span class="type">GOutputVector</span></a> *vectors</code></em>,
|
118
|
+
<em class="parameter"><code><a class="link" href="GSocket.html#GOutputVector" title="struct GOutputVector"><span class="type">GOutputVector</span></a> *vectors</code></em>,
|
119
119
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_vectors</code></em>,
|
120
120
|
<em class="parameter"><code><a class="link" href="GSocketControlMessage.html" title="GSocketControlMessage"><span class="type">GSocketControlMessage</span></a> **messages</code></em>,
|
121
121
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_messages</code></em>,
|
@@ -136,7 +136,7 @@ enum <a class="link" href="GSocket.html#GSocketMsgFlags" title="e
|
|
136
136
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> shutdown_write</code></em>,
|
137
137
|
<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>);
|
138
138
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocket.html#g-socket-is-connected" title="g_socket_is_connected ()">g_socket_is_connected</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);
|
139
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GSource"><span class="returnvalue">GSource</span></a> *
|
139
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GSource"><span class="returnvalue">GSource</span></a> * <a class="link" href="GSocket.html#g-socket-create-source" title="g_socket_create_source ()">g_socket_create_source</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
140
140
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>,
|
141
141
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>);
|
142
142
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-IO-Channels.html#GIOCondition"><span class="returnvalue">GIOCondition</span></a> <a class="link" href="GSocket.html#g-socket-condition-check" title="g_socket_condition_check ()">g_socket_condition_check</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
@@ -157,48 +157,60 @@ enum <a class="link" href="GSocket.html#GSocketMsgFlags" title="e
|
|
157
157
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="GSocket.html#g-socket-get-timeout" title="g_socket_get_timeout ()">g_socket_get_timeout</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);
|
158
158
|
<span class="returnvalue">void</span> <a class="link" href="GSocket.html#g-socket-set-timeout" title="g_socket_set_timeout ()">g_socket_set_timeout</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
159
159
|
<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>);
|
160
|
-
<a class="link" href="GSocketAddress.html#GSocketFamily"
|
160
|
+
<a class="link" href="GSocketAddress.html#GSocketFamily"><span class="returnvalue">GSocketFamily</span></a> <a class="link" href="GSocket.html#g-socket-get-family" title="g_socket_get_family ()">g_socket_get_family</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);
|
161
161
|
<span class="returnvalue">int</span> <a class="link" href="GSocket.html#g-socket-get-fd" title="g_socket_get_fd ()">g_socket_get_fd</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);
|
162
|
-
<a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> *
|
162
|
+
<a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> * <a class="link" href="GSocket.html#g-socket-get-local-address" title="g_socket_get_local_address ()">g_socket_get_local_address</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
163
163
|
<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>);
|
164
|
-
<a class="link" href="GSocket.html#GSocketProtocol"
|
165
|
-
<a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> *
|
164
|
+
<a class="link" href="GSocket.html#GSocketProtocol"><span class="returnvalue">GSocketProtocol</span></a> <a class="link" href="GSocket.html#g-socket-get-protocol" title="g_socket_get_protocol ()">g_socket_get_protocol</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);
|
165
|
+
<a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> * <a class="link" href="GSocket.html#g-socket-get-remote-address" title="g_socket_get_remote_address ()">g_socket_get_remote_address</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
166
166
|
<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>);
|
167
|
-
<a class="link" href="GSocket.html#GSocketType"
|
167
|
+
<a class="link" href="GSocket.html#GSocketType"><span class="returnvalue">GSocketType</span></a> <a class="link" href="GSocket.html#g-socket-get-socket-type" title="g_socket_get_socket_type ()">g_socket_get_socket_type</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);
|
168
168
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GSocket.html#g-socket-speaks-ipv4" title="g_socket_speaks_ipv4 ()">g_socket_speaks_ipv4</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);
|
169
169
|
<a class="link" href="GCredentials.html" title="GCredentials"><span class="returnvalue">GCredentials</span></a> * <a class="link" href="GSocket.html#g-socket-get-credentials" title="g_socket_get_credentials ()">g_socket_get_credentials</a> (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
170
170
|
<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>);
|
171
171
|
</pre>
|
172
172
|
</div>
|
173
|
-
<div class="refsect1"
|
173
|
+
<div class="refsect1">
|
174
174
|
<a name="GSocket.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
175
175
|
<pre class="synopsis">
|
176
176
|
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
177
177
|
+----GSocket
|
178
178
|
</pre>
|
179
|
+
<pre class="synopsis">
|
180
|
+
GEnum
|
181
|
+
+----GSocketType
|
182
|
+
</pre>
|
183
|
+
<pre class="synopsis">
|
184
|
+
GEnum
|
185
|
+
+----GSocketProtocol
|
186
|
+
</pre>
|
187
|
+
<pre class="synopsis">
|
188
|
+
GEnum
|
189
|
+
+----GSocketMsgFlags
|
190
|
+
</pre>
|
179
191
|
</div>
|
180
|
-
<div class="refsect1"
|
192
|
+
<div class="refsect1">
|
181
193
|
<a name="GSocket.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
182
194
|
<p>
|
183
195
|
GSocket implements
|
184
196
|
<a class="link" href="GInitable.html" title="GInitable">GInitable</a>.</p>
|
185
197
|
</div>
|
186
|
-
<div class="refsect1"
|
198
|
+
<div class="refsect1">
|
187
199
|
<a name="GSocket.properties"></a><h2>Properties</h2>
|
188
200
|
<pre class="synopsis">
|
189
201
|
"<a class="link" href="GSocket.html#GSocket--blocking" title='The "blocking" property'>blocking</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
190
|
-
"<a class="link" href="GSocket.html#GSocket--family" title='The "family" property'>family</a>" <a class="link" href="GSocketAddress.html#GSocketFamily"
|
202
|
+
"<a class="link" href="GSocket.html#GSocket--family" title='The "family" property'>family</a>" <a class="link" href="GSocketAddress.html#GSocketFamily"><span class="type">GSocketFamily</span></a> : Read / Write / Construct Only
|
191
203
|
"<a class="link" href="GSocket.html#GSocket--fd" title='The "fd" property'>fd</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write / Construct Only
|
192
204
|
"<a class="link" href="GSocket.html#GSocket--keepalive" title='The "keepalive" property'>keepalive</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
193
205
|
"<a class="link" href="GSocket.html#GSocket--listen-backlog" title='The "listen-backlog" property'>listen-backlog</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
|
194
206
|
"<a class="link" href="GSocket.html#GSocket--local-address" title='The "local-address" property'>local-address</a>" <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>* : Read
|
195
|
-
"<a class="link" href="GSocket.html#GSocket--protocol" title='The "protocol" property'>protocol</a>" <a class="link" href="GSocket.html#GSocketProtocol"
|
207
|
+
"<a class="link" href="GSocket.html#GSocket--protocol" title='The "protocol" property'>protocol</a>" <a class="link" href="GSocket.html#GSocketProtocol"><span class="type">GSocketProtocol</span></a> : Read / Write / Construct Only
|
196
208
|
"<a class="link" href="GSocket.html#GSocket--remote-address" title='The "remote-address" property'>remote-address</a>" <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>* : Read
|
197
209
|
"<a class="link" href="GSocket.html#GSocket--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
|
198
|
-
"<a class="link" href="GSocket.html#GSocket--type" title='The "type" property'>type</a>" <a class="link" href="GSocket.html#GSocketType"
|
210
|
+
"<a class="link" href="GSocket.html#GSocket--type" title='The "type" property'>type</a>" <a class="link" href="GSocket.html#GSocketType"><span class="type">GSocketType</span></a> : Read / Write / Construct Only
|
199
211
|
</pre>
|
200
212
|
</div>
|
201
|
-
<div class="refsect1"
|
213
|
+
<div class="refsect1">
|
202
214
|
<a name="GSocket.description"></a><h2>Description</h2>
|
203
215
|
<p>
|
204
216
|
A <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> is a low-level networking primitive. It is a more or less
|
@@ -256,9 +268,9 @@ account the fact that your program will not automatically be killed
|
|
256
268
|
if it tries to write to <code class="literal">stdout</code> after it has been closed.
|
257
269
|
</p>
|
258
270
|
</div>
|
259
|
-
<div class="refsect1"
|
271
|
+
<div class="refsect1">
|
260
272
|
<a name="GSocket.details"></a><h2>Details</h2>
|
261
|
-
<div class="refsect2"
|
273
|
+
<div class="refsect2">
|
262
274
|
<a name="GSocket-struct"></a><h3>GSocket</h3>
|
263
275
|
<pre class="programlisting">typedef struct _GSocket GSocket;</pre>
|
264
276
|
<p>
|
@@ -267,7 +279,7 @@ A lowlevel network socket object.
|
|
267
279
|
<p class="since">Since 2.22</p>
|
268
280
|
</div>
|
269
281
|
<hr>
|
270
|
-
<div class="refsect2"
|
282
|
+
<div class="refsect2">
|
271
283
|
<a name="GSocketSourceFunc"></a><h3>GSocketSourceFunc ()</h3>
|
272
284
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (*GSocketSourceFunc) (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
273
285
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>,
|
@@ -286,26 +298,22 @@ returned by <a class="link" href="GSocket.html#g-socket-create-source" title="g_
|
|
286
298
|
</tr>
|
287
299
|
<tr>
|
288
300
|
<td><p><span class="term"><em class="parameter"><code>condition</code></em> :</span></p></td>
|
289
|
-
<td>the current condition at the source fired
|
290
|
-
</td>
|
301
|
+
<td>the current condition at the source fired.</td>
|
291
302
|
</tr>
|
292
303
|
<tr>
|
293
304
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
294
|
-
<td>data passed in by the user
|
295
|
-
</td>
|
305
|
+
<td>data passed in by the user.</td>
|
296
306
|
</tr>
|
297
307
|
<tr>
|
298
308
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
299
|
-
<td>
|
300
|
-
|
301
|
-
</td>
|
309
|
+
<td>it should return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the source should be removed.</td>
|
302
310
|
</tr>
|
303
311
|
</tbody>
|
304
312
|
</table></div>
|
305
313
|
<p class="since">Since 2.22</p>
|
306
314
|
</div>
|
307
315
|
<hr>
|
308
|
-
<div class="refsect2"
|
316
|
+
<div class="refsect2">
|
309
317
|
<a name="GSocketType"></a><h3>enum GSocketType</h3>
|
310
318
|
<pre class="programlisting">typedef enum
|
311
319
|
{
|
@@ -349,7 +357,7 @@ all the socket types.
|
|
349
357
|
<p class="since">Since 2.22</p>
|
350
358
|
</div>
|
351
359
|
<hr>
|
352
|
-
<div class="refsect2"
|
360
|
+
<div class="refsect2">
|
353
361
|
<a name="GSocketProtocol"></a><h3>enum GSocketProtocol</h3>
|
354
362
|
<pre class="programlisting">typedef enum {
|
355
363
|
G_SOCKET_PROTOCOL_UNKNOWN = -1,
|
@@ -402,7 +410,7 @@ use protocols not listed here.
|
|
402
410
|
<p class="since">Since 2.22</p>
|
403
411
|
</div>
|
404
412
|
<hr>
|
405
|
-
<div class="refsect2"
|
413
|
+
<div class="refsect2">
|
406
414
|
<a name="GSocketMsgFlags"></a><h3>enum GSocketMsgFlags</h3>
|
407
415
|
<pre class="programlisting">typedef enum
|
408
416
|
{
|
@@ -449,16 +457,16 @@ the right system header and pass in the flag.
|
|
449
457
|
<p class="since">Since 2.22</p>
|
450
458
|
</div>
|
451
459
|
<hr>
|
452
|
-
<div class="refsect2"
|
453
|
-
<a name="GInputVector"></a><h3>GInputVector</h3>
|
454
|
-
<pre class="programlisting">
|
460
|
+
<div class="refsect2">
|
461
|
+
<a name="GInputVector"></a><h3>struct GInputVector</h3>
|
462
|
+
<pre class="programlisting">struct GInputVector {
|
455
463
|
gpointer buffer;
|
456
464
|
gsize size;
|
457
|
-
}
|
465
|
+
};
|
458
466
|
</pre>
|
459
467
|
<p>
|
460
468
|
Structure used for scatter/gather data input.
|
461
|
-
You generally pass in an array of <a class="link" href="GSocket.html#GInputVector" title="GInputVector"><span class="type">GInputVector</span></a>s
|
469
|
+
You generally pass in an array of <a class="link" href="GSocket.html#GInputVector" title="struct GInputVector"><span class="type">GInputVector</span></a>s
|
462
470
|
and the operation will store the read data starting in the
|
463
471
|
first buffer, switching to the next as needed.
|
464
472
|
</p>
|
@@ -467,29 +475,27 @@ first buffer, switching to the next as needed.
|
|
467
475
|
<tbody>
|
468
476
|
<tr>
|
469
477
|
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> <em class="structfield"><code><a name="GInputVector.buffer"></a>buffer</code></em>;</span></p></td>
|
470
|
-
<td>Pointer to a buffer where data will be written
|
471
|
-
</td>
|
478
|
+
<td>Pointer to a buffer where data will be written.</td>
|
472
479
|
</tr>
|
473
480
|
<tr>
|
474
481
|
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> <em class="structfield"><code><a name="GInputVector.size"></a>size</code></em>;</span></p></td>
|
475
|
-
<td>the available size in <em class="parameter"><code>buffer</code></em
|
476
|
-
</td>
|
482
|
+
<td>the available size in <em class="parameter"><code>buffer</code></em>.</td>
|
477
483
|
</tr>
|
478
484
|
</tbody>
|
479
485
|
</table></div>
|
480
486
|
<p class="since">Since 2.22</p>
|
481
487
|
</div>
|
482
488
|
<hr>
|
483
|
-
<div class="refsect2"
|
484
|
-
<a name="GOutputVector"></a><h3>GOutputVector</h3>
|
485
|
-
<pre class="programlisting">
|
489
|
+
<div class="refsect2">
|
490
|
+
<a name="GOutputVector"></a><h3>struct GOutputVector</h3>
|
491
|
+
<pre class="programlisting">struct GOutputVector {
|
486
492
|
gconstpointer buffer;
|
487
493
|
gsize size;
|
488
|
-
}
|
494
|
+
};
|
489
495
|
</pre>
|
490
496
|
<p>
|
491
497
|
Structure used for scatter/gather data output.
|
492
|
-
You generally pass in an array of <a class="link" href="GSocket.html#GOutputVector" title="GOutputVector"><span class="type">GOutputVector</span></a>s
|
498
|
+
You generally pass in an array of <a class="link" href="GSocket.html#GOutputVector" title="struct GOutputVector"><span class="type">GOutputVector</span></a>s
|
493
499
|
and the operation will use all the buffers as if they were
|
494
500
|
one buffer.
|
495
501
|
</p>
|
@@ -498,24 +504,22 @@ one buffer.
|
|
498
504
|
<tbody>
|
499
505
|
<tr>
|
500
506
|
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> <em class="structfield"><code><a name="GOutputVector.buffer"></a>buffer</code></em>;</span></p></td>
|
501
|
-
<td>Pointer to a buffer of data to read
|
502
|
-
</td>
|
507
|
+
<td>Pointer to a buffer of data to read.</td>
|
503
508
|
</tr>
|
504
509
|
<tr>
|
505
510
|
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> <em class="structfield"><code><a name="GOutputVector.size"></a>size</code></em>;</span></p></td>
|
506
|
-
<td>the size of <em class="parameter"><code>buffer</code></em
|
507
|
-
</td>
|
511
|
+
<td>the size of <em class="parameter"><code>buffer</code></em>.</td>
|
508
512
|
</tr>
|
509
513
|
</tbody>
|
510
514
|
</table></div>
|
511
515
|
<p class="since">Since 2.22</p>
|
512
516
|
</div>
|
513
517
|
<hr>
|
514
|
-
<div class="refsect2"
|
518
|
+
<div class="refsect2">
|
515
519
|
<a name="g-socket-new"></a><h3>g_socket_new ()</h3>
|
516
|
-
<pre class="programlisting"><a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> *
|
517
|
-
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketType"
|
518
|
-
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketProtocol"
|
520
|
+
<pre class="programlisting"><a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> * g_socket_new (<em class="parameter"><code><a class="link" href="GSocketAddress.html#GSocketFamily"><span class="type">GSocketFamily</span></a> family</code></em>,
|
521
|
+
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketType"><span class="type">GSocketType</span></a> type</code></em>,
|
522
|
+
<em class="parameter"><code><a class="link" href="GSocket.html#GSocketProtocol"><span class="type">GSocketProtocol</span></a> protocol</code></em>,
|
519
523
|
<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>
|
520
524
|
<p>
|
521
525
|
Creates a new <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> with the defined family, type and protocol.
|
@@ -524,14 +528,14 @@ for the family and type is used.
|
|
524
528
|
</p>
|
525
529
|
<p>
|
526
530
|
The <em class="parameter"><code>protocol</code></em> is a family and type specific int that specifies what
|
527
|
-
kind of protocol to use. <a class="link" href="GSocket.html#GSocketProtocol"
|
531
|
+
kind of protocol to use. <a class="link" href="GSocket.html#GSocketProtocol"><span class="type">GSocketProtocol</span></a> lists several common ones.
|
528
532
|
Many families only support one protocol, and use 0 for this, others
|
529
533
|
support several and using 0 means to use the default protocol for
|
530
534
|
the family and type.
|
531
535
|
</p>
|
532
536
|
<p>
|
533
537
|
The protocol id is passed directly to the operating
|
534
|
-
system, so you can use protocols not listed in <a class="link" href="GSocket.html#GSocketProtocol"
|
538
|
+
system, so you can use protocols not listed in <a class="link" href="GSocket.html#GSocketProtocol"><span class="type">GSocketProtocol</span></a> if you
|
535
539
|
know the protocol number used for it.
|
536
540
|
</p>
|
537
541
|
<div class="variablelist"><table border="0">
|
@@ -539,40 +543,34 @@ know the protocol number used for it.
|
|
539
543
|
<tbody>
|
540
544
|
<tr>
|
541
545
|
<td><p><span class="term"><em class="parameter"><code>family</code></em> :</span></p></td>
|
542
|
-
<td>the socket family to use, e.g. <a class="link" href="GSocketAddress.html#G-SOCKET-FAMILY-IPV4:CAPS"><code class="literal">G_SOCKET_FAMILY_IPV4</code></a
|
543
|
-
</td>
|
546
|
+
<td>the socket family to use, e.g. <a class="link" href="GSocketAddress.html#G-SOCKET-FAMILY-IPV4:CAPS"><code class="literal">G_SOCKET_FAMILY_IPV4</code></a>.</td>
|
544
547
|
</tr>
|
545
548
|
<tr>
|
546
549
|
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
547
|
-
<td>the socket type to use
|
548
|
-
</td>
|
550
|
+
<td>the socket type to use.</td>
|
549
551
|
</tr>
|
550
552
|
<tr>
|
551
553
|
<td><p><span class="term"><em class="parameter"><code>protocol</code></em> :</span></p></td>
|
552
|
-
<td>the id of the protocol to use, or 0 for default
|
553
|
-
</td>
|
554
|
+
<td>the id of the protocol to use, or 0 for default.</td>
|
554
555
|
</tr>
|
555
556
|
<tr>
|
556
557
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
557
558
|
<td>
|
558
|
-
<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
|
559
|
-
</td>
|
559
|
+
<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>
|
560
560
|
</tr>
|
561
561
|
<tr>
|
562
562
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
563
|
-
<td>
|
564
|
-
|
565
|
-
|
566
|
-
</td>
|
563
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
|
564
|
+
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>
|
567
565
|
</tr>
|
568
566
|
</tbody>
|
569
567
|
</table></div>
|
570
568
|
<p class="since">Since 2.22</p>
|
571
569
|
</div>
|
572
570
|
<hr>
|
573
|
-
<div class="refsect2"
|
571
|
+
<div class="refsect2">
|
574
572
|
<a name="g-socket-new-from-fd"></a><h3>g_socket_new_from_fd ()</h3>
|
575
|
-
<pre class="programlisting"><a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> *
|
573
|
+
<pre class="programlisting"><a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> * g_socket_new_from_fd (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> fd</code></em>,
|
576
574
|
<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>
|
577
575
|
<p>
|
578
576
|
Creates a new <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> from a native file descriptor
|
@@ -589,28 +587,24 @@ mode of the <a class="link" href="GSocket.html" title="GSocket"><span class="typ
|
|
589
587
|
<tbody>
|
590
588
|
<tr>
|
591
589
|
<td><p><span class="term"><em class="parameter"><code>fd</code></em> :</span></p></td>
|
592
|
-
<td>a native socket file descriptor
|
593
|
-
</td>
|
590
|
+
<td>a native socket file descriptor.</td>
|
594
591
|
</tr>
|
595
592
|
<tr>
|
596
593
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
597
594
|
<td>
|
598
|
-
<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
|
599
|
-
</td>
|
595
|
+
<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>
|
600
596
|
</tr>
|
601
597
|
<tr>
|
602
598
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
603
|
-
<td>
|
604
|
-
|
605
|
-
|
606
|
-
</td>
|
599
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
|
600
|
+
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>
|
607
601
|
</tr>
|
608
602
|
</tbody>
|
609
603
|
</table></div>
|
610
604
|
<p class="since">Since 2.22</p>
|
611
605
|
</div>
|
612
606
|
<hr>
|
613
|
-
<div class="refsect2"
|
607
|
+
<div class="refsect2">
|
614
608
|
<a name="g-socket-bind"></a><h3>g_socket_bind ()</h3>
|
615
609
|
<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_bind (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
616
610
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>,
|
@@ -642,37 +636,32 @@ the server program is stopped and then immediately restarted.)
|
|
642
636
|
<tbody>
|
643
637
|
<tr>
|
644
638
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
645
|
-
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a
|
646
|
-
</td>
|
639
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
647
640
|
</tr>
|
648
641
|
<tr>
|
649
642
|
<td><p><span class="term"><em class="parameter"><code>address</code></em> :</span></p></td>
|
650
|
-
<td>a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> specifying the local address
|
651
|
-
</td>
|
643
|
+
<td>a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> specifying the local address.</td>
|
652
644
|
</tr>
|
653
645
|
<tr>
|
654
646
|
<td><p><span class="term"><em class="parameter"><code>allow_reuse</code></em> :</span></p></td>
|
655
|
-
<td>whether to allow reusing this address
|
656
|
-
</td>
|
647
|
+
<td>whether to allow reusing this address</td>
|
657
648
|
</tr>
|
658
649
|
<tr>
|
659
650
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
660
651
|
<td>
|
661
|
-
<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
|
662
|
-
</td>
|
652
|
+
<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>
|
663
653
|
</tr>
|
664
654
|
<tr>
|
665
655
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
666
|
-
<td>
|
667
|
-
|
668
|
-
</td>
|
656
|
+
<td>
|
657
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error.</td>
|
669
658
|
</tr>
|
670
659
|
</tbody>
|
671
660
|
</table></div>
|
672
661
|
<p class="since">Since 2.22</p>
|
673
662
|
</div>
|
674
663
|
<hr>
|
675
|
-
<div class="refsect2"
|
664
|
+
<div class="refsect2">
|
676
665
|
<a name="g-socket-listen"></a><h3>g_socket_listen ()</h3>
|
677
666
|
<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_listen (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
678
667
|
<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>
|
@@ -693,29 +682,26 @@ To set the maximum amount of outstanding clients, use
|
|
693
682
|
<tbody>
|
694
683
|
<tr>
|
695
684
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
696
|
-
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a
|
697
|
-
</td>
|
685
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
698
686
|
</tr>
|
699
687
|
<tr>
|
700
688
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
701
689
|
<td>
|
702
|
-
<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
|
703
|
-
</td>
|
690
|
+
<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>
|
704
691
|
</tr>
|
705
692
|
<tr>
|
706
693
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
707
|
-
<td>
|
708
|
-
|
709
|
-
</td>
|
694
|
+
<td>
|
695
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error.</td>
|
710
696
|
</tr>
|
711
697
|
</tbody>
|
712
698
|
</table></div>
|
713
699
|
<p class="since">Since 2.22</p>
|
714
700
|
</div>
|
715
701
|
<hr>
|
716
|
-
<div class="refsect2"
|
702
|
+
<div class="refsect2">
|
717
703
|
<a name="g-socket-accept"></a><h3>g_socket_accept ()</h3>
|
718
|
-
<pre class="programlisting"><a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> *
|
704
|
+
<pre class="programlisting"><a class="link" href="GSocket.html" title="GSocket"><span class="returnvalue">GSocket</span></a> * g_socket_accept (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
719
705
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
720
706
|
<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>
|
721
707
|
<p>
|
@@ -737,25 +723,22 @@ To be notified of an incoming connection, wait for the <a href="http://library.g
|
|
737
723
|
<tbody>
|
738
724
|
<tr>
|
739
725
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
740
|
-
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a
|
741
|
-
</td>
|
726
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
742
727
|
</tr>
|
743
728
|
<tr>
|
744
729
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
745
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
730
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></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>
|
746
731
|
</td>
|
747
732
|
</tr>
|
748
733
|
<tr>
|
749
734
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
750
735
|
<td>
|
751
|
-
<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
|
752
|
-
</td>
|
736
|
+
<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>
|
753
737
|
</tr>
|
754
738
|
<tr>
|
755
739
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
756
|
-
<td>
|
757
|
-
|
758
|
-
|
740
|
+
<td>a new <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
|
741
|
+
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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
759
742
|
</td>
|
760
743
|
</tr>
|
761
744
|
</tbody>
|
@@ -763,7 +746,7 @@ To be notified of an incoming connection, wait for the <a href="http://library.g
|
|
763
746
|
<p class="since">Since 2.22</p>
|
764
747
|
</div>
|
765
748
|
<hr>
|
766
|
-
<div class="refsect2"
|
749
|
+
<div class="refsect2">
|
767
750
|
<a name="g-socket-connect"></a><h3>g_socket_connect ()</h3>
|
768
751
|
<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_connect (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
769
752
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>,
|
@@ -795,37 +778,33 @@ checked with <a class="link" href="GSocket.html#g-socket-check-connect-result" t
|
|
795
778
|
<tbody>
|
796
779
|
<tr>
|
797
780
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
798
|
-
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a
|
799
|
-
</td>
|
781
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
800
782
|
</tr>
|
801
783
|
<tr>
|
802
784
|
<td><p><span class="term"><em class="parameter"><code>address</code></em> :</span></p></td>
|
803
|
-
<td>a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> specifying the remote address
|
804
|
-
</td>
|
785
|
+
<td>a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> specifying the remote address.</td>
|
805
786
|
</tr>
|
806
787
|
<tr>
|
807
788
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
808
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
789
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></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>
|
809
790
|
</td>
|
810
791
|
</tr>
|
811
792
|
<tr>
|
812
793
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
813
794
|
<td>
|
814
|
-
<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
|
815
|
-
</td>
|
795
|
+
<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>
|
816
796
|
</tr>
|
817
797
|
<tr>
|
818
798
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
819
|
-
<td>
|
820
|
-
|
821
|
-
</td>
|
799
|
+
<td>
|
800
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if connected, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error.</td>
|
822
801
|
</tr>
|
823
802
|
</tbody>
|
824
803
|
</table></div>
|
825
804
|
<p class="since">Since 2.22</p>
|
826
805
|
</div>
|
827
806
|
<hr>
|
828
|
-
<div class="refsect2"
|
807
|
+
<div class="refsect2">
|
829
808
|
<a name="g-socket-check-connect-result"></a><h3>g_socket_check_connect_result ()</h3>
|
830
809
|
<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_check_connect_result (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
831
810
|
<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>
|
@@ -845,21 +824,19 @@ used in non-blocking mode.
|
|
845
824
|
<tr>
|
846
825
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
847
826
|
<td>
|
848
|
-
<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
|
849
|
-
</td>
|
827
|
+
<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>
|
850
828
|
</tr>
|
851
829
|
<tr>
|
852
830
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
853
|
-
<td>
|
854
|
-
|
855
|
-
</td>
|
831
|
+
<td>
|
832
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if no error, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise, setting <em class="parameter"><code>error</code></em> to the error</td>
|
856
833
|
</tr>
|
857
834
|
</tbody>
|
858
835
|
</table></div>
|
859
836
|
<p class="since">Since 2.22</p>
|
860
837
|
</div>
|
861
838
|
<hr>
|
862
|
-
<div class="refsect2"
|
839
|
+
<div class="refsect2">
|
863
840
|
<a name="g-socket-receive"></a><h3>g_socket_receive ()</h3>
|
864
841
|
<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_receive (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
865
842
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
@@ -905,37 +882,32 @@ On error -1 is returned and <em class="parameter"><code>error</code></em> is set
|
|
905
882
|
<tr>
|
906
883
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
907
884
|
<td>a buffer to read data into (which should be at least <em class="parameter"><code>size</code></em>
|
908
|
-
|
909
|
-
</td>
|
885
|
+
bytes long).</td>
|
910
886
|
</tr>
|
911
887
|
<tr>
|
912
888
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
913
|
-
<td>the number of bytes you want to read from the socket
|
914
|
-
</td>
|
889
|
+
<td>the number of bytes you want to read from the socket</td>
|
915
890
|
</tr>
|
916
891
|
<tr>
|
917
892
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
918
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
893
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></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>
|
919
894
|
</td>
|
920
895
|
</tr>
|
921
896
|
<tr>
|
922
897
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
923
898
|
<td>
|
924
|
-
<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
|
925
|
-
</td>
|
899
|
+
<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>
|
926
900
|
</tr>
|
927
901
|
<tr>
|
928
902
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
929
|
-
<td>
|
930
|
-
|
931
|
-
</td>
|
903
|
+
<td>Number of bytes read, or -1 on error</td>
|
932
904
|
</tr>
|
933
905
|
</tbody>
|
934
906
|
</table></div>
|
935
907
|
<p class="since">Since 2.22</p>
|
936
908
|
</div>
|
937
909
|
<hr>
|
938
|
-
<div class="refsect2"
|
910
|
+
<div class="refsect2">
|
939
911
|
<a name="g-socket-receive-from"></a><h3>g_socket_receive_from ()</h3>
|
940
912
|
<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_receive_from (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
941
913
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> **address</code></em>,
|
@@ -970,41 +942,36 @@ See <a class="link" href="GSocket.html#g-socket-receive" title="g_socket_receive
|
|
970
942
|
<tr>
|
971
943
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
972
944
|
<td>a buffer to read data into (which should be at least <em class="parameter"><code>size</code></em>
|
973
|
-
|
974
|
-
</td>
|
945
|
+
bytes long).</td>
|
975
946
|
</tr>
|
976
947
|
<tr>
|
977
948
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
978
|
-
<td>the number of bytes you want to read from the socket
|
979
|
-
</td>
|
949
|
+
<td>the number of bytes you want to read from the socket</td>
|
980
950
|
</tr>
|
981
951
|
<tr>
|
982
952
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
983
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
953
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></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>
|
984
954
|
</td>
|
985
955
|
</tr>
|
986
956
|
<tr>
|
987
957
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
988
958
|
<td>
|
989
|
-
<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
|
990
|
-
</td>
|
959
|
+
<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>
|
991
960
|
</tr>
|
992
961
|
<tr>
|
993
962
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
994
|
-
<td>
|
995
|
-
|
996
|
-
</td>
|
963
|
+
<td>Number of bytes read, or -1 on error</td>
|
997
964
|
</tr>
|
998
965
|
</tbody>
|
999
966
|
</table></div>
|
1000
967
|
<p class="since">Since 2.22</p>
|
1001
968
|
</div>
|
1002
969
|
<hr>
|
1003
|
-
<div class="refsect2"
|
970
|
+
<div class="refsect2">
|
1004
971
|
<a name="g-socket-receive-message"></a><h3>g_socket_receive_message ()</h3>
|
1005
972
|
<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_receive_message (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1006
973
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> **address</code></em>,
|
1007
|
-
<em class="parameter"><code><a class="link" href="GSocket.html#GInputVector" title="GInputVector"><span class="type">GInputVector</span></a> *vectors</code></em>,
|
974
|
+
<em class="parameter"><code><a class="link" href="GSocket.html#GInputVector" title="struct GInputVector"><span class="type">GInputVector</span></a> *vectors</code></em>,
|
1008
975
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_vectors</code></em>,
|
1009
976
|
<em class="parameter"><code><a class="link" href="GSocketControlMessage.html" title="GSocketControlMessage"><span class="type">GSocketControlMessage</span></a> ***messages</code></em>,
|
1010
977
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *num_messages</code></em>,
|
@@ -1022,11 +989,11 @@ source address of the received packet.
|
|
1022
989
|
<em class="parameter"><code>address</code></em> is owned by the caller.
|
1023
990
|
</p>
|
1024
991
|
<p>
|
1025
|
-
<em class="parameter"><code>vector</code></em> must point to an array of <a class="link" href="GSocket.html#GInputVector" title="GInputVector"><span class="type">GInputVector</span></a> structs and
|
992
|
+
<em class="parameter"><code>vector</code></em> must point to an array of <a class="link" href="GSocket.html#GInputVector" title="struct GInputVector"><span class="type">GInputVector</span></a> structs and
|
1026
993
|
<em class="parameter"><code>num_vectors</code></em> must be the length of this array. These structs
|
1027
994
|
describe the buffers that received data will be scattered into.
|
1028
995
|
If <em class="parameter"><code>num_vectors</code></em> is -1, then <em class="parameter"><code>vectors</code></em> is assumed to be terminated
|
1029
|
-
by a <a class="link" href="GSocket.html#GInputVector" title="GInputVector"><span class="type">GInputVector</span></a> with a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> buffer pointer.
|
996
|
+
by a <a class="link" href="GSocket.html#GInputVector" title="struct GInputVector"><span class="type">GInputVector</span></a> with a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> buffer pointer.
|
1030
997
|
</p>
|
1031
998
|
<p>
|
1032
999
|
As a special case, if <em class="parameter"><code>num_vectors</code></em> is 0 (in which case, <em class="parameter"><code>vectors</code></em>
|
@@ -1055,7 +1022,7 @@ in <em class="parameter"><code>messages</code></em> (ie: not including the <a hr
|
|
1055
1022
|
</p>
|
1056
1023
|
<p>
|
1057
1024
|
<em class="parameter"><code>flags</code></em> is an in/out parameter. The commonly available arguments
|
1058
|
-
for this are available in the <a class="link" href="GSocket.html#GSocketMsgFlags"
|
1025
|
+
for this are available in the <a class="link" href="GSocket.html#GSocketMsgFlags"><span class="type">GSocketMsgFlags</span></a> enum, but the
|
1059
1026
|
values there are the same as the system values, and the flags
|
1060
1027
|
are passed in as-is, so you can pass in system-specific flags too
|
1061
1028
|
(and <a class="link" href="GSocket.html#g-socket-receive-message" title="g_socket_receive_message ()"><code class="function">g_socket_receive_message()</code></a> may pass system-specific flags out).
|
@@ -1094,34 +1061,32 @@ On error -1 is returned and <em class="parameter"><code>error</code></em> is set
|
|
1094
1061
|
</tr>
|
1095
1062
|
<tr>
|
1096
1063
|
<td><p><span class="term"><em class="parameter"><code>vectors</code></em> :</span></p></td>
|
1097
|
-
<td>an array of <a class="link" href="GSocket.html#GInputVector" title="GInputVector"><span class="type">GInputVector</span></a> structs
|
1064
|
+
<td>an array of <a class="link" href="GSocket.html#GInputVector" title="struct GInputVector"><span class="type">GInputVector</span></a> structs. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=num_vectors]</span>
|
1098
1065
|
</td>
|
1099
1066
|
</tr>
|
1100
1067
|
<tr>
|
1101
1068
|
<td><p><span class="term"><em class="parameter"><code>num_vectors</code></em> :</span></p></td>
|
1102
|
-
<td>the number of elements in <em class="parameter"><code>vectors</code></em>, or -1
|
1103
|
-
</td>
|
1069
|
+
<td>the number of elements in <em class="parameter"><code>vectors</code></em>, or -1</td>
|
1104
1070
|
</tr>
|
1105
1071
|
<tr>
|
1106
1072
|
<td><p><span class="term"><em class="parameter"><code>messages</code></em> :</span></p></td>
|
1107
|
-
<td>a pointer which
|
1108
|
-
|
1073
|
+
<td>a pointer which
|
1074
|
+
may be filled with an array of <a href="GSocketControlMessage.html"><span class="type">GSocketControlMessages</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=num_messages][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1109
1075
|
</td>
|
1110
1076
|
</tr>
|
1111
1077
|
<tr>
|
1112
1078
|
<td><p><span class="term"><em class="parameter"><code>num_messages</code></em> :</span></p></td>
|
1113
1079
|
<td>a pointer which will be filled with the number of
|
1114
|
-
|
1080
|
+
elements in <em class="parameter"><code>messages</code></em>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1115
1081
|
</td>
|
1116
1082
|
</tr>
|
1117
1083
|
<tr>
|
1118
1084
|
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
1119
|
-
<td>a pointer to an int containing <a class="link" href="GSocket.html#GSocketMsgFlags"
|
1120
|
-
</td>
|
1085
|
+
<td>a pointer to an int containing <a class="link" href="GSocket.html#GSocketMsgFlags"><span class="type">GSocketMsgFlags</span></a> flags</td>
|
1121
1086
|
</tr>
|
1122
1087
|
<tr>
|
1123
1088
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1124
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1089
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></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>
|
1125
1090
|
</td>
|
1126
1091
|
</tr>
|
1127
1092
|
<tr>
|
@@ -1131,16 +1096,14 @@ On error -1 is returned and <em class="parameter"><code>error</code></em> is set
|
|
1131
1096
|
</tr>
|
1132
1097
|
<tr>
|
1133
1098
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1134
|
-
<td>
|
1135
|
-
|
1136
|
-
</td>
|
1099
|
+
<td>Number of bytes read, or -1 on error</td>
|
1137
1100
|
</tr>
|
1138
1101
|
</tbody>
|
1139
1102
|
</table></div>
|
1140
1103
|
<p class="since">Since 2.22</p>
|
1141
1104
|
</div>
|
1142
1105
|
<hr>
|
1143
|
-
<div class="refsect2"
|
1106
|
+
<div class="refsect2">
|
1144
1107
|
<a name="g-socket-receive-with-blocking"></a><h3>g_socket_receive_with_blocking ()</h3>
|
1145
1108
|
<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_receive_with_blocking (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1146
1109
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
@@ -1164,42 +1127,36 @@ the <em class="parameter"><code>blocking</code></em> argument rather than by <em
|
|
1164
1127
|
<tr>
|
1165
1128
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
1166
1129
|
<td>a buffer to read data into (which should be at least <em class="parameter"><code>size</code></em>
|
1167
|
-
|
1168
|
-
</td>
|
1130
|
+
bytes long).</td>
|
1169
1131
|
</tr>
|
1170
1132
|
<tr>
|
1171
1133
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
1172
|
-
<td>the number of bytes you want to read from the socket
|
1173
|
-
</td>
|
1134
|
+
<td>the number of bytes you want to read from the socket</td>
|
1174
1135
|
</tr>
|
1175
1136
|
<tr>
|
1176
1137
|
<td><p><span class="term"><em class="parameter"><code>blocking</code></em> :</span></p></td>
|
1177
|
-
<td>whether to do blocking or non-blocking I/O
|
1178
|
-
</td>
|
1138
|
+
<td>whether to do blocking or non-blocking I/O</td>
|
1179
1139
|
</tr>
|
1180
1140
|
<tr>
|
1181
1141
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1182
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1142
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></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>
|
1183
1143
|
</td>
|
1184
1144
|
</tr>
|
1185
1145
|
<tr>
|
1186
1146
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1187
1147
|
<td>
|
1188
|
-
<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
|
1189
|
-
</td>
|
1148
|
+
<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>
|
1190
1149
|
</tr>
|
1191
1150
|
<tr>
|
1192
1151
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1193
|
-
<td>
|
1194
|
-
|
1195
|
-
</td>
|
1152
|
+
<td>Number of bytes read, or -1 on error</td>
|
1196
1153
|
</tr>
|
1197
1154
|
</tbody>
|
1198
1155
|
</table></div>
|
1199
1156
|
<p class="since">Since 2.26</p>
|
1200
1157
|
</div>
|
1201
1158
|
<hr>
|
1202
|
-
<div class="refsect2"
|
1159
|
+
<div class="refsect2">
|
1203
1160
|
<a name="g-socket-send"></a><h3>g_socket_send ()</h3>
|
1204
1161
|
<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_send (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1205
1162
|
<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> *buffer</code></em>,
|
@@ -1234,38 +1191,34 @@ On error -1 is returned and <em class="parameter"><code>error</code></em> is set
|
|
1234
1191
|
</tr>
|
1235
1192
|
<tr>
|
1236
1193
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
1237
|
-
<td>the buffer containing the data to send.
|
1194
|
+
<td>the buffer containing the data to send. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=size]</span>
|
1238
1195
|
</td>
|
1239
1196
|
</tr>
|
1240
1197
|
<tr>
|
1241
1198
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
1242
|
-
<td>the number of bytes to send
|
1243
|
-
</td>
|
1199
|
+
<td>the number of bytes to send</td>
|
1244
1200
|
</tr>
|
1245
1201
|
<tr>
|
1246
1202
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1247
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1203
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></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>
|
1248
1204
|
</td>
|
1249
1205
|
</tr>
|
1250
1206
|
<tr>
|
1251
1207
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1252
1208
|
<td>
|
1253
|
-
<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
|
1254
|
-
</td>
|
1209
|
+
<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>
|
1255
1210
|
</tr>
|
1256
1211
|
<tr>
|
1257
1212
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1258
|
-
<td>
|
1259
|
-
on error
|
1260
|
-
|
1261
|
-
</td>
|
1213
|
+
<td>Number of bytes written (which may be less than <em class="parameter"><code>size</code></em>), or -1
|
1214
|
+
on error</td>
|
1262
1215
|
</tr>
|
1263
1216
|
</tbody>
|
1264
1217
|
</table></div>
|
1265
1218
|
<p class="since">Since 2.22</p>
|
1266
1219
|
</div>
|
1267
1220
|
<hr>
|
1268
|
-
<div class="refsect2"
|
1221
|
+
<div class="refsect2">
|
1269
1222
|
<a name="g-socket-send-to"></a><h3>g_socket_send_to ()</h3>
|
1270
1223
|
<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_send_to (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1271
1224
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>,
|
@@ -1296,42 +1249,38 @@ See <a class="link" href="GSocket.html#g-socket-send" title="g_socket_send ()"><
|
|
1296
1249
|
</tr>
|
1297
1250
|
<tr>
|
1298
1251
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
1299
|
-
<td>the buffer containing the data to send.
|
1252
|
+
<td>the buffer containing the data to send. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=size]</span>
|
1300
1253
|
</td>
|
1301
1254
|
</tr>
|
1302
1255
|
<tr>
|
1303
1256
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
1304
|
-
<td>the number of bytes to send
|
1305
|
-
</td>
|
1257
|
+
<td>the number of bytes to send</td>
|
1306
1258
|
</tr>
|
1307
1259
|
<tr>
|
1308
1260
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1309
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1261
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></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>
|
1310
1262
|
</td>
|
1311
1263
|
</tr>
|
1312
1264
|
<tr>
|
1313
1265
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1314
1266
|
<td>
|
1315
|
-
<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
|
1316
|
-
</td>
|
1267
|
+
<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>
|
1317
1268
|
</tr>
|
1318
1269
|
<tr>
|
1319
1270
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1320
|
-
<td>
|
1321
|
-
on error
|
1322
|
-
|
1323
|
-
</td>
|
1271
|
+
<td>Number of bytes written (which may be less than <em class="parameter"><code>size</code></em>), or -1
|
1272
|
+
on error</td>
|
1324
1273
|
</tr>
|
1325
1274
|
</tbody>
|
1326
1275
|
</table></div>
|
1327
1276
|
<p class="since">Since 2.22</p>
|
1328
1277
|
</div>
|
1329
1278
|
<hr>
|
1330
|
-
<div class="refsect2"
|
1279
|
+
<div class="refsect2">
|
1331
1280
|
<a name="g-socket-send-message"></a><h3>g_socket_send_message ()</h3>
|
1332
1281
|
<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_send_message (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1333
1282
|
<em class="parameter"><code><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> *address</code></em>,
|
1334
|
-
<em class="parameter"><code><a class="link" href="GSocket.html#GOutputVector" title="GOutputVector"><span class="type">GOutputVector</span></a> *vectors</code></em>,
|
1283
|
+
<em class="parameter"><code><a class="link" href="GSocket.html#GOutputVector" title="struct GOutputVector"><span class="type">GOutputVector</span></a> *vectors</code></em>,
|
1335
1284
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_vectors</code></em>,
|
1336
1285
|
<em class="parameter"><code><a class="link" href="GSocketControlMessage.html" title="GSocketControlMessage"><span class="type">GSocketControlMessage</span></a> **messages</code></em>,
|
1337
1286
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_messages</code></em>,
|
@@ -1348,12 +1297,12 @@ If <em class="parameter"><code>address</code></em> is <a href="http://library.gn
|
|
1348
1297
|
(set by <a class="link" href="GSocket.html#g-socket-connect" title="g_socket_connect ()"><code class="function">g_socket_connect()</code></a>).
|
1349
1298
|
</p>
|
1350
1299
|
<p>
|
1351
|
-
<em class="parameter"><code>vectors</code></em> must point to an array of <a class="link" href="GSocket.html#GOutputVector" title="GOutputVector"><span class="type">GOutputVector</span></a> structs and
|
1300
|
+
<em class="parameter"><code>vectors</code></em> must point to an array of <a class="link" href="GSocket.html#GOutputVector" title="struct GOutputVector"><span class="type">GOutputVector</span></a> structs and
|
1352
1301
|
<em class="parameter"><code>num_vectors</code></em> must be the length of this array. (If <em class="parameter"><code>num_vectors</code></em> is -1,
|
1353
|
-
then <em class="parameter"><code>vectors</code></em> is assumed to be terminated by a <a class="link" href="GSocket.html#GOutputVector" title="GOutputVector"><span class="type">GOutputVector</span></a> with a
|
1354
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> buffer pointer.) The <a class="link" href="GSocket.html#GOutputVector" title="GOutputVector"><span class="type">GOutputVector</span></a> structs describe the buffers
|
1302
|
+
then <em class="parameter"><code>vectors</code></em> is assumed to be terminated by a <a class="link" href="GSocket.html#GOutputVector" title="struct GOutputVector"><span class="type">GOutputVector</span></a> with a
|
1303
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> buffer pointer.) The <a class="link" href="GSocket.html#GOutputVector" title="struct GOutputVector"><span class="type">GOutputVector</span></a> structs describe the buffers
|
1355
1304
|
that the sent data will be gathered from. Using multiple
|
1356
|
-
<a class="link" href="GSocket.html#GOutputVector" title="GOutputVector"><span class="type">GOutputVector</span></a>s is more memory-efficient than manually copying
|
1305
|
+
<a class="link" href="GSocket.html#GOutputVector" title="struct GOutputVector"><span class="type">GOutputVector</span></a>s is more memory-efficient than manually copying
|
1357
1306
|
data from multiple sources into a single buffer, and more
|
1358
1307
|
network-efficient than making multiple calls to <a class="link" href="GSocket.html#g-socket-send" title="g_socket_send ()"><code class="function">g_socket_send()</code></a>.
|
1359
1308
|
</p>
|
@@ -1366,7 +1315,7 @@ array.
|
|
1366
1315
|
</p>
|
1367
1316
|
<p>
|
1368
1317
|
<em class="parameter"><code>flags</code></em> modify how the message is sent. The commonly available arguments
|
1369
|
-
for this are available in the <a class="link" href="GSocket.html#GSocketMsgFlags"
|
1318
|
+
for this are available in the <a class="link" href="GSocket.html#GSocketMsgFlags"><span class="type">GSocketMsgFlags</span></a> enum, but the
|
1370
1319
|
values there are the same as the system values, and the flags
|
1371
1320
|
are passed in as-is, so you can pass in system-specific flags too.
|
1372
1321
|
</p>
|
@@ -1398,54 +1347,48 @@ On error -1 is returned and <em class="parameter"><code>error</code></em> is set
|
|
1398
1347
|
</tr>
|
1399
1348
|
<tr>
|
1400
1349
|
<td><p><span class="term"><em class="parameter"><code>vectors</code></em> :</span></p></td>
|
1401
|
-
<td>an array of <a class="link" href="GSocket.html#GOutputVector" title="GOutputVector"><span class="type">GOutputVector</span></a> structs
|
1350
|
+
<td>an array of <a class="link" href="GSocket.html#GOutputVector" title="struct GOutputVector"><span class="type">GOutputVector</span></a> structs. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=num_vectors]</span>
|
1402
1351
|
</td>
|
1403
1352
|
</tr>
|
1404
1353
|
<tr>
|
1405
1354
|
<td><p><span class="term"><em class="parameter"><code>num_vectors</code></em> :</span></p></td>
|
1406
|
-
<td>the number of elements in <em class="parameter"><code>vectors</code></em>, or -1
|
1407
|
-
</td>
|
1355
|
+
<td>the number of elements in <em class="parameter"><code>vectors</code></em>, or -1</td>
|
1408
1356
|
</tr>
|
1409
1357
|
<tr>
|
1410
1358
|
<td><p><span class="term"><em class="parameter"><code>messages</code></em> :</span></p></td>
|
1411
|
-
<td>a pointer to an
|
1412
|
-
|
1359
|
+
<td>a pointer to an
|
1360
|
+
array of <a href="GSocketControlMessage.html"><span class="type">GSocketControlMessages</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="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=num_messages][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1413
1361
|
</td>
|
1414
1362
|
</tr>
|
1415
1363
|
<tr>
|
1416
1364
|
<td><p><span class="term"><em class="parameter"><code>num_messages</code></em> :</span></p></td>
|
1417
|
-
<td>number of elements in <em class="parameter"><code>messages</code></em>, or -1
|
1418
|
-
</td>
|
1365
|
+
<td>number of elements in <em class="parameter"><code>messages</code></em>, or -1.</td>
|
1419
1366
|
</tr>
|
1420
1367
|
<tr>
|
1421
1368
|
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
1422
|
-
<td>an int containing <a class="link" href="GSocket.html#GSocketMsgFlags"
|
1423
|
-
</td>
|
1369
|
+
<td>an int containing <a class="link" href="GSocket.html#GSocketMsgFlags"><span class="type">GSocketMsgFlags</span></a> flags</td>
|
1424
1370
|
</tr>
|
1425
1371
|
<tr>
|
1426
1372
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1427
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1373
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></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>
|
1428
1374
|
</td>
|
1429
1375
|
</tr>
|
1430
1376
|
<tr>
|
1431
1377
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1432
1378
|
<td>
|
1433
|
-
<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
|
1434
|
-
</td>
|
1379
|
+
<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>
|
1435
1380
|
</tr>
|
1436
1381
|
<tr>
|
1437
1382
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1438
|
-
<td>
|
1439
|
-
on error
|
1440
|
-
|
1441
|
-
</td>
|
1383
|
+
<td>Number of bytes written (which may be less than <em class="parameter"><code>size</code></em>), or -1
|
1384
|
+
on error</td>
|
1442
1385
|
</tr>
|
1443
1386
|
</tbody>
|
1444
1387
|
</table></div>
|
1445
1388
|
<p class="since">Since 2.22</p>
|
1446
1389
|
</div>
|
1447
1390
|
<hr>
|
1448
|
-
<div class="refsect2"
|
1391
|
+
<div class="refsect2">
|
1449
1392
|
<a name="g-socket-send-with-blocking"></a><h3>g_socket_send_with_blocking ()</h3>
|
1450
1393
|
<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_send_with_blocking (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1451
1394
|
<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> *buffer</code></em>,
|
@@ -1468,43 +1411,38 @@ the <em class="parameter"><code>blocking</code></em> argument rather than by <em
|
|
1468
1411
|
</tr>
|
1469
1412
|
<tr>
|
1470
1413
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
1471
|
-
<td>the buffer containing the data to send.
|
1414
|
+
<td>the buffer containing the data to send. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=size]</span>
|
1472
1415
|
</td>
|
1473
1416
|
</tr>
|
1474
1417
|
<tr>
|
1475
1418
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
1476
|
-
<td>the number of bytes to send
|
1477
|
-
</td>
|
1419
|
+
<td>the number of bytes to send</td>
|
1478
1420
|
</tr>
|
1479
1421
|
<tr>
|
1480
1422
|
<td><p><span class="term"><em class="parameter"><code>blocking</code></em> :</span></p></td>
|
1481
|
-
<td>whether to do blocking or non-blocking I/O
|
1482
|
-
</td>
|
1423
|
+
<td>whether to do blocking or non-blocking I/O</td>
|
1483
1424
|
</tr>
|
1484
1425
|
<tr>
|
1485
1426
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1486
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1427
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></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>
|
1487
1428
|
</td>
|
1488
1429
|
</tr>
|
1489
1430
|
<tr>
|
1490
1431
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1491
1432
|
<td>
|
1492
|
-
<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
|
1493
|
-
</td>
|
1433
|
+
<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>
|
1494
1434
|
</tr>
|
1495
1435
|
<tr>
|
1496
1436
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1497
|
-
<td>
|
1498
|
-
on error
|
1499
|
-
|
1500
|
-
</td>
|
1437
|
+
<td>Number of bytes written (which may be less than <em class="parameter"><code>size</code></em>), or -1
|
1438
|
+
on error</td>
|
1501
1439
|
</tr>
|
1502
1440
|
</tbody>
|
1503
1441
|
</table></div>
|
1504
1442
|
<p class="since">Since 2.26</p>
|
1505
1443
|
</div>
|
1506
1444
|
<hr>
|
1507
|
-
<div class="refsect2"
|
1445
|
+
<div class="refsect2">
|
1508
1446
|
<a name="g-socket-close"></a><h3>g_socket_close ()</h3>
|
1509
1447
|
<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_close (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1510
1448
|
<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>
|
@@ -1554,21 +1492,19 @@ does.)
|
|
1554
1492
|
<tr>
|
1555
1493
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1556
1494
|
<td>
|
1557
|
-
<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
|
1558
|
-
</td>
|
1495
|
+
<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>
|
1559
1496
|
</tr>
|
1560
1497
|
<tr>
|
1561
1498
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1562
|
-
<td>
|
1563
|
-
|
1564
|
-
</td>
|
1499
|
+
<td>
|
1500
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error</td>
|
1565
1501
|
</tr>
|
1566
1502
|
</tbody>
|
1567
1503
|
</table></div>
|
1568
1504
|
<p class="since">Since 2.22</p>
|
1569
1505
|
</div>
|
1570
1506
|
<hr>
|
1571
|
-
<div class="refsect2"
|
1507
|
+
<div class="refsect2">
|
1572
1508
|
<a name="g-socket-is-closed"></a><h3>g_socket_is_closed ()</h3>
|
1573
1509
|
<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_is_closed (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
1574
1510
|
<p>
|
@@ -1584,16 +1520,15 @@ Checks whether a socket is closed.
|
|
1584
1520
|
</tr>
|
1585
1521
|
<tr>
|
1586
1522
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1587
|
-
<td>
|
1588
|
-
|
1589
|
-
</td>
|
1523
|
+
<td>
|
1524
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if socket is closed, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
|
1590
1525
|
</tr>
|
1591
1526
|
</tbody>
|
1592
1527
|
</table></div>
|
1593
1528
|
<p class="since">Since 2.22</p>
|
1594
1529
|
</div>
|
1595
1530
|
<hr>
|
1596
|
-
<div class="refsect2"
|
1531
|
+
<div class="refsect2">
|
1597
1532
|
<a name="g-socket-shutdown"></a><h3>g_socket_shutdown ()</h3>
|
1598
1533
|
<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_shutdown (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1599
1534
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> shutdown_read</code></em>,
|
@@ -1628,32 +1563,28 @@ the connection, thus ensuring that the other side saw all sent data.
|
|
1628
1563
|
</tr>
|
1629
1564
|
<tr>
|
1630
1565
|
<td><p><span class="term"><em class="parameter"><code>shutdown_read</code></em> :</span></p></td>
|
1631
|
-
<td>whether to shut down the read side
|
1632
|
-
</td>
|
1566
|
+
<td>whether to shut down the read side</td>
|
1633
1567
|
</tr>
|
1634
1568
|
<tr>
|
1635
1569
|
<td><p><span class="term"><em class="parameter"><code>shutdown_write</code></em> :</span></p></td>
|
1636
|
-
<td>whether to shut down the write side
|
1637
|
-
</td>
|
1570
|
+
<td>whether to shut down the write side</td>
|
1638
1571
|
</tr>
|
1639
1572
|
<tr>
|
1640
1573
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1641
1574
|
<td>
|
1642
|
-
<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
|
1643
|
-
</td>
|
1575
|
+
<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>
|
1644
1576
|
</tr>
|
1645
1577
|
<tr>
|
1646
1578
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1647
|
-
<td>
|
1648
|
-
|
1649
|
-
</td>
|
1579
|
+
<td>
|
1580
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on error</td>
|
1650
1581
|
</tr>
|
1651
1582
|
</tbody>
|
1652
1583
|
</table></div>
|
1653
1584
|
<p class="since">Since 2.22</p>
|
1654
1585
|
</div>
|
1655
1586
|
<hr>
|
1656
|
-
<div class="refsect2"
|
1587
|
+
<div class="refsect2">
|
1657
1588
|
<a name="g-socket-is-connected"></a><h3>g_socket_is_connected ()</h3>
|
1658
1589
|
<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_is_connected (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
1659
1590
|
<p>
|
@@ -1665,23 +1596,21 @@ connection-oriented sockets.
|
|
1665
1596
|
<tbody>
|
1666
1597
|
<tr>
|
1667
1598
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
1668
|
-
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a
|
1669
|
-
</td>
|
1599
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
1670
1600
|
</tr>
|
1671
1601
|
<tr>
|
1672
1602
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1673
|
-
<td>
|
1674
|
-
|
1675
|
-
</td>
|
1603
|
+
<td>
|
1604
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if socket is connected, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
1676
1605
|
</tr>
|
1677
1606
|
</tbody>
|
1678
1607
|
</table></div>
|
1679
1608
|
<p class="since">Since 2.22</p>
|
1680
1609
|
</div>
|
1681
1610
|
<hr>
|
1682
|
-
<div class="refsect2"
|
1611
|
+
<div class="refsect2">
|
1683
1612
|
<a name="g-socket-create-source"></a><h3>g_socket_create_source ()</h3>
|
1684
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GSource"><span class="returnvalue">GSource</span></a> *
|
1613
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GSource"><span class="returnvalue">GSource</span></a> * g_socket_create_source (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1685
1614
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>,
|
1686
1615
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>);</pre>
|
1687
1616
|
<p>
|
@@ -1719,18 +1648,16 @@ you call will then fail with a <a class="link" href="gio-GIOError.html#G-IO-ERRO
|
|
1719
1648
|
</tr>
|
1720
1649
|
<tr>
|
1721
1650
|
<td><p><span class="term"><em class="parameter"><code>condition</code></em> :</span></p></td>
|
1722
|
-
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> mask to monitor
|
1723
|
-
</td>
|
1651
|
+
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> mask to monitor</td>
|
1724
1652
|
</tr>
|
1725
1653
|
<tr>
|
1726
1654
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1727
|
-
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1655
|
+
<td>a <a class="link" href="GCancellable.html" title="GCancellable"><code class="literal">GCancellable</code></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>
|
1728
1656
|
</td>
|
1729
1657
|
</tr>
|
1730
1658
|
<tr>
|
1731
1659
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1732
|
-
<td>
|
1733
|
-
|
1660
|
+
<td>a newly allocated <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GSource"><code class="literal">GSource</code></a>, free with <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-source-unref"><code class="function">g_source_unref()</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1734
1661
|
</td>
|
1735
1662
|
</tr>
|
1736
1663
|
</tbody>
|
@@ -1738,7 +1665,7 @@ you call will then fail with a <a class="link" href="gio-GIOError.html#G-IO-ERRO
|
|
1738
1665
|
<p class="since">Since 2.22</p>
|
1739
1666
|
</div>
|
1740
1667
|
<hr>
|
1741
|
-
<div class="refsect2"
|
1668
|
+
<div class="refsect2">
|
1742
1669
|
<a name="g-socket-condition-check"></a><h3>g_socket_condition_check ()</h3>
|
1743
1670
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-IO-Channels.html#GIOCondition"><span class="returnvalue">GIOCondition</span></a> g_socket_condition_check (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1744
1671
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>);</pre>
|
@@ -1774,21 +1701,18 @@ This call never blocks.
|
|
1774
1701
|
</tr>
|
1775
1702
|
<tr>
|
1776
1703
|
<td><p><span class="term"><em class="parameter"><code>condition</code></em> :</span></p></td>
|
1777
|
-
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> mask to check
|
1778
|
-
</td>
|
1704
|
+
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> mask to check</td>
|
1779
1705
|
</tr>
|
1780
1706
|
<tr>
|
1781
1707
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1782
|
-
<td>
|
1783
|
-
|
1784
|
-
</td>
|
1708
|
+
<td>the <em class="parameter"><code>GIOCondition</code></em> mask of the current state</td>
|
1785
1709
|
</tr>
|
1786
1710
|
</tbody>
|
1787
1711
|
</table></div>
|
1788
1712
|
<p class="since">Since 2.22</p>
|
1789
1713
|
</div>
|
1790
1714
|
<hr>
|
1791
|
-
<div class="refsect2"
|
1715
|
+
<div class="refsect2">
|
1792
1716
|
<a name="g-socket-condition-wait"></a><h3>g_socket_condition_wait ()</h3>
|
1793
1717
|
<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_condition_wait (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1794
1718
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> condition</code></em>,
|
@@ -1815,12 +1739,11 @@ the appropriate value (<a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCEL
|
|
1815
1739
|
</tr>
|
1816
1740
|
<tr>
|
1817
1741
|
<td><p><span class="term"><em class="parameter"><code>condition</code></em> :</span></p></td>
|
1818
|
-
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> mask to wait for
|
1819
|
-
</td>
|
1742
|
+
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a> mask to wait for</td>
|
1820
1743
|
</tr>
|
1821
1744
|
<tr>
|
1822
1745
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1823
|
-
<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>
|
1746
|
+
<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>
|
1824
1747
|
</td>
|
1825
1748
|
</tr>
|
1826
1749
|
<tr>
|
@@ -1830,16 +1753,15 @@ the appropriate value (<a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCEL
|
|
1830
1753
|
</tr>
|
1831
1754
|
<tr>
|
1832
1755
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1833
|
-
<td>
|
1834
|
-
|
1835
|
-
</td>
|
1756
|
+
<td>
|
1757
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the condition was met, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
|
1836
1758
|
</tr>
|
1837
1759
|
</tbody>
|
1838
1760
|
</table></div>
|
1839
1761
|
<p class="since">Since 2.22</p>
|
1840
1762
|
</div>
|
1841
1763
|
<hr>
|
1842
|
-
<div class="refsect2"
|
1764
|
+
<div class="refsect2">
|
1843
1765
|
<a name="g-socket-set-listen-backlog"></a><h3>g_socket_set_listen_backlog ()</h3>
|
1844
1766
|
<pre class="programlisting"><span class="returnvalue">void</span> g_socket_set_listen_backlog (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1845
1767
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> backlog</code></em>);</pre>
|
@@ -1858,20 +1780,18 @@ effect if called after that.
|
|
1858
1780
|
<tbody>
|
1859
1781
|
<tr>
|
1860
1782
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
1861
|
-
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a
|
1862
|
-
</td>
|
1783
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
1863
1784
|
</tr>
|
1864
1785
|
<tr>
|
1865
1786
|
<td><p><span class="term"><em class="parameter"><code>backlog</code></em> :</span></p></td>
|
1866
|
-
<td>the maximum number of pending connections
|
1867
|
-
</td>
|
1787
|
+
<td>the maximum number of pending connections.</td>
|
1868
1788
|
</tr>
|
1869
1789
|
</tbody>
|
1870
1790
|
</table></div>
|
1871
1791
|
<p class="since">Since 2.22</p>
|
1872
1792
|
</div>
|
1873
1793
|
<hr>
|
1874
|
-
<div class="refsect2"
|
1794
|
+
<div class="refsect2">
|
1875
1795
|
<a name="g-socket-get-listen-backlog"></a><h3>g_socket_get_listen_backlog ()</h3>
|
1876
1796
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> g_socket_get_listen_backlog (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
1877
1797
|
<p>
|
@@ -1883,21 +1803,18 @@ see <a class="link" href="GSocket.html#g-socket-set-listen-backlog" title="g_soc
|
|
1883
1803
|
<tbody>
|
1884
1804
|
<tr>
|
1885
1805
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
1886
|
-
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a
|
1887
|
-
</td>
|
1806
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
1888
1807
|
</tr>
|
1889
1808
|
<tr>
|
1890
1809
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1891
|
-
<td>
|
1892
|
-
|
1893
|
-
</td>
|
1810
|
+
<td>the maximum number of pending connections.</td>
|
1894
1811
|
</tr>
|
1895
1812
|
</tbody>
|
1896
1813
|
</table></div>
|
1897
1814
|
<p class="since">Since 2.22</p>
|
1898
1815
|
</div>
|
1899
1816
|
<hr>
|
1900
|
-
<div class="refsect2"
|
1817
|
+
<div class="refsect2">
|
1901
1818
|
<a name="g-socket-get-blocking"></a><h3>g_socket_get_blocking ()</h3>
|
1902
1819
|
<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_get_blocking (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
1903
1820
|
<p>
|
@@ -1909,21 +1826,19 @@ see <a class="link" href="GSocket.html#g-socket-set-blocking" title="g_socket_se
|
|
1909
1826
|
<tbody>
|
1910
1827
|
<tr>
|
1911
1828
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
1912
|
-
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a
|
1913
|
-
</td>
|
1829
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
1914
1830
|
</tr>
|
1915
1831
|
<tr>
|
1916
1832
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1917
|
-
<td>
|
1918
|
-
|
1919
|
-
</td>
|
1833
|
+
<td>
|
1834
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if blocking I/O is used, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
1920
1835
|
</tr>
|
1921
1836
|
</tbody>
|
1922
1837
|
</table></div>
|
1923
1838
|
<p class="since">Since 2.22</p>
|
1924
1839
|
</div>
|
1925
1840
|
<hr>
|
1926
|
-
<div class="refsect2"
|
1841
|
+
<div class="refsect2">
|
1927
1842
|
<a name="g-socket-set-blocking"></a><h3>g_socket_set_blocking ()</h3>
|
1928
1843
|
<pre class="programlisting"><span class="returnvalue">void</span> g_socket_set_blocking (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1929
1844
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> blocking</code></em>);</pre>
|
@@ -1943,20 +1858,18 @@ is a GSocket level feature.
|
|
1943
1858
|
<tbody>
|
1944
1859
|
<tr>
|
1945
1860
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
1946
|
-
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a
|
1947
|
-
</td>
|
1861
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
1948
1862
|
</tr>
|
1949
1863
|
<tr>
|
1950
1864
|
<td><p><span class="term"><em class="parameter"><code>blocking</code></em> :</span></p></td>
|
1951
|
-
<td>Whether to use blocking I/O or not
|
1952
|
-
</td>
|
1865
|
+
<td>Whether to use blocking I/O or not.</td>
|
1953
1866
|
</tr>
|
1954
1867
|
</tbody>
|
1955
1868
|
</table></div>
|
1956
1869
|
<p class="since">Since 2.22</p>
|
1957
1870
|
</div>
|
1958
1871
|
<hr>
|
1959
|
-
<div class="refsect2"
|
1872
|
+
<div class="refsect2">
|
1960
1873
|
<a name="g-socket-get-keepalive"></a><h3>g_socket_get_keepalive ()</h3>
|
1961
1874
|
<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_get_keepalive (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
1962
1875
|
<p>
|
@@ -1968,21 +1881,19 @@ see <a class="link" href="GSocket.html#g-socket-set-keepalive" title="g_socket_s
|
|
1968
1881
|
<tbody>
|
1969
1882
|
<tr>
|
1970
1883
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
1971
|
-
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a
|
1972
|
-
</td>
|
1884
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
1973
1885
|
</tr>
|
1974
1886
|
<tr>
|
1975
1887
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1976
|
-
<td>
|
1977
|
-
|
1978
|
-
</td>
|
1888
|
+
<td>
|
1889
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if keepalive is active, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
1979
1890
|
</tr>
|
1980
1891
|
</tbody>
|
1981
1892
|
</table></div>
|
1982
1893
|
<p class="since">Since 2.22</p>
|
1983
1894
|
</div>
|
1984
1895
|
<hr>
|
1985
|
-
<div class="refsect2"
|
1896
|
+
<div class="refsect2">
|
1986
1897
|
<a name="g-socket-set-keepalive"></a><h3>g_socket_set_keepalive ()</h3>
|
1987
1898
|
<pre class="programlisting"><span class="returnvalue">void</span> g_socket_set_keepalive (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
1988
1899
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> keepalive</code></em>);</pre>
|
@@ -2010,20 +1921,18 @@ garbage-collected if clients crash or become unreachable.
|
|
2010
1921
|
<tbody>
|
2011
1922
|
<tr>
|
2012
1923
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
2013
|
-
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a
|
2014
|
-
</td>
|
1924
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
2015
1925
|
</tr>
|
2016
1926
|
<tr>
|
2017
1927
|
<td><p><span class="term"><em class="parameter"><code>keepalive</code></em> :</span></p></td>
|
2018
|
-
<td>Value for the keepalive flag
|
2019
|
-
</td>
|
1928
|
+
<td>Value for the keepalive flag</td>
|
2020
1929
|
</tr>
|
2021
1930
|
</tbody>
|
2022
1931
|
</table></div>
|
2023
1932
|
<p class="since">Since 2.22</p>
|
2024
1933
|
</div>
|
2025
1934
|
<hr>
|
2026
|
-
<div class="refsect2"
|
1935
|
+
<div class="refsect2">
|
2027
1936
|
<a name="g-socket-get-timeout"></a><h3>g_socket_get_timeout ()</h3>
|
2028
1937
|
<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_get_timeout (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2029
1938
|
<p>
|
@@ -2035,21 +1944,18 @@ Gets the timeout setting of the socket. For details on this, see
|
|
2035
1944
|
<tbody>
|
2036
1945
|
<tr>
|
2037
1946
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
2038
|
-
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a
|
2039
|
-
</td>
|
1947
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
2040
1948
|
</tr>
|
2041
1949
|
<tr>
|
2042
1950
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2043
|
-
<td>
|
2044
|
-
|
2045
|
-
</td>
|
1951
|
+
<td>the timeout in seconds</td>
|
2046
1952
|
</tr>
|
2047
1953
|
</tbody>
|
2048
1954
|
</table></div>
|
2049
1955
|
<p class="since">Since 2.26</p>
|
2050
1956
|
</div>
|
2051
1957
|
<hr>
|
2052
|
-
<div class="refsect2"
|
1958
|
+
<div class="refsect2">
|
2053
1959
|
<a name="g-socket-set-timeout"></a><h3>g_socket_set_timeout ()</h3>
|
2054
1960
|
<pre class="programlisting"><span class="returnvalue">void</span> g_socket_set_timeout (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2055
1961
|
<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>
|
@@ -2084,22 +1990,20 @@ cause the timeout to be reset.
|
|
2084
1990
|
<tbody>
|
2085
1991
|
<tr>
|
2086
1992
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
2087
|
-
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a
|
2088
|
-
</td>
|
1993
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
2089
1994
|
</tr>
|
2090
1995
|
<tr>
|
2091
1996
|
<td><p><span class="term"><em class="parameter"><code>timeout</code></em> :</span></p></td>
|
2092
|
-
<td>the timeout for <em class="parameter"><code>socket</code></em>, in seconds, or 0 for none
|
2093
|
-
</td>
|
1997
|
+
<td>the timeout for <em class="parameter"><code>socket</code></em>, in seconds, or 0 for none</td>
|
2094
1998
|
</tr>
|
2095
1999
|
</tbody>
|
2096
2000
|
</table></div>
|
2097
2001
|
<p class="since">Since 2.26</p>
|
2098
2002
|
</div>
|
2099
2003
|
<hr>
|
2100
|
-
<div class="refsect2"
|
2004
|
+
<div class="refsect2">
|
2101
2005
|
<a name="g-socket-get-family"></a><h3>g_socket_get_family ()</h3>
|
2102
|
-
<pre class="programlisting"><a class="link" href="GSocketAddress.html#GSocketFamily"
|
2006
|
+
<pre class="programlisting"><a class="link" href="GSocketAddress.html#GSocketFamily"><span class="returnvalue">GSocketFamily</span></a> g_socket_get_family (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2103
2007
|
<p>
|
2104
2008
|
Gets the socket family of the socket.
|
2105
2009
|
</p>
|
@@ -2108,13 +2012,11 @@ Gets the socket family of the socket.
|
|
2108
2012
|
<tbody>
|
2109
2013
|
<tr>
|
2110
2014
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
2111
|
-
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a
|
2112
|
-
</td>
|
2015
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
2113
2016
|
</tr>
|
2114
2017
|
<tr>
|
2115
2018
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2116
|
-
<td>
|
2117
|
-
|
2019
|
+
<td>a <a class="link" href="GSocketAddress.html#GSocketFamily"><span class="type">GSocketFamily</span></a>
|
2118
2020
|
</td>
|
2119
2021
|
</tr>
|
2120
2022
|
</tbody>
|
@@ -2122,7 +2024,7 @@ Gets the socket family of the socket.
|
|
2122
2024
|
<p class="since">Since 2.22</p>
|
2123
2025
|
</div>
|
2124
2026
|
<hr>
|
2125
|
-
<div class="refsect2"
|
2027
|
+
<div class="refsect2">
|
2126
2028
|
<a name="g-socket-get-fd"></a><h3>g_socket_get_fd ()</h3>
|
2127
2029
|
<pre class="programlisting"><span class="returnvalue">int</span> g_socket_get_fd (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2128
2030
|
<p>
|
@@ -2137,23 +2039,20 @@ on the socket.
|
|
2137
2039
|
<tbody>
|
2138
2040
|
<tr>
|
2139
2041
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
2140
|
-
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a
|
2141
|
-
</td>
|
2042
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
2142
2043
|
</tr>
|
2143
2044
|
<tr>
|
2144
2045
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2145
|
-
<td>
|
2146
|
-
|
2147
|
-
</td>
|
2046
|
+
<td>the file descriptor of the socket.</td>
|
2148
2047
|
</tr>
|
2149
2048
|
</tbody>
|
2150
2049
|
</table></div>
|
2151
2050
|
<p class="since">Since 2.22</p>
|
2152
2051
|
</div>
|
2153
2052
|
<hr>
|
2154
|
-
<div class="refsect2"
|
2053
|
+
<div class="refsect2">
|
2155
2054
|
<a name="g-socket-get-local-address"></a><h3>g_socket_get_local_address ()</h3>
|
2156
|
-
<pre class="programlisting"><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> *
|
2055
|
+
<pre class="programlisting"><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> * g_socket_get_local_address (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2157
2056
|
<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>
|
2158
2057
|
<p>
|
2159
2058
|
Try to get the local address of a bound socket. This is only
|
@@ -2165,20 +2064,17 @@ either explicitly or implicitly when connecting.
|
|
2165
2064
|
<tbody>
|
2166
2065
|
<tr>
|
2167
2066
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
2168
|
-
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a
|
2169
|
-
</td>
|
2067
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
2170
2068
|
</tr>
|
2171
2069
|
<tr>
|
2172
2070
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2173
2071
|
<td>
|
2174
|
-
<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
|
2175
|
-
</td>
|
2072
|
+
<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>
|
2176
2073
|
</tr>
|
2177
2074
|
<tr>
|
2178
2075
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2179
|
-
<td>
|
2180
|
-
|
2181
|
-
|
2076
|
+
<td>a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
|
2077
|
+
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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2182
2078
|
</td>
|
2183
2079
|
</tr>
|
2184
2080
|
</tbody>
|
@@ -2186,9 +2082,9 @@ either explicitly or implicitly when connecting.
|
|
2186
2082
|
<p class="since">Since 2.22</p>
|
2187
2083
|
</div>
|
2188
2084
|
<hr>
|
2189
|
-
<div class="refsect2"
|
2085
|
+
<div class="refsect2">
|
2190
2086
|
<a name="g-socket-get-protocol"></a><h3>g_socket_get_protocol ()</h3>
|
2191
|
-
<pre class="programlisting"><a class="link" href="GSocket.html#GSocketProtocol"
|
2087
|
+
<pre class="programlisting"><a class="link" href="GSocket.html#GSocketProtocol"><span class="returnvalue">GSocketProtocol</span></a> g_socket_get_protocol (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2192
2088
|
<p>
|
2193
2089
|
Gets the socket protocol id the socket was created with.
|
2194
2090
|
In case the protocol is unknown, -1 is returned.
|
@@ -2198,23 +2094,20 @@ In case the protocol is unknown, -1 is returned.
|
|
2198
2094
|
<tbody>
|
2199
2095
|
<tr>
|
2200
2096
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
2201
|
-
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a
|
2202
|
-
</td>
|
2097
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
2203
2098
|
</tr>
|
2204
2099
|
<tr>
|
2205
2100
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2206
|
-
<td>
|
2207
|
-
|
2208
|
-
</td>
|
2101
|
+
<td>a protocol id, or -1 if unknown</td>
|
2209
2102
|
</tr>
|
2210
2103
|
</tbody>
|
2211
2104
|
</table></div>
|
2212
2105
|
<p class="since">Since 2.22</p>
|
2213
2106
|
</div>
|
2214
2107
|
<hr>
|
2215
|
-
<div class="refsect2"
|
2108
|
+
<div class="refsect2">
|
2216
2109
|
<a name="g-socket-get-remote-address"></a><h3>g_socket_get_remote_address ()</h3>
|
2217
|
-
<pre class="programlisting"><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> *
|
2110
|
+
<pre class="programlisting"><a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="returnvalue">GSocketAddress</span></a> * g_socket_get_remote_address (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2218
2111
|
<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>
|
2219
2112
|
<p>
|
2220
2113
|
Try to get the remove address of a connected socket. This is only
|
@@ -2225,20 +2118,17 @@ useful for connection oriented sockets that have been connected.
|
|
2225
2118
|
<tbody>
|
2226
2119
|
<tr>
|
2227
2120
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
2228
|
-
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a
|
2229
|
-
</td>
|
2121
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
2230
2122
|
</tr>
|
2231
2123
|
<tr>
|
2232
2124
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2233
2125
|
<td>
|
2234
|
-
<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
|
2235
|
-
</td>
|
2126
|
+
<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>
|
2236
2127
|
</tr>
|
2237
2128
|
<tr>
|
2238
2129
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2239
|
-
<td>
|
2240
|
-
|
2241
|
-
|
2130
|
+
<td>a <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error.
|
2131
|
+
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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2242
2132
|
</td>
|
2243
2133
|
</tr>
|
2244
2134
|
</tbody>
|
@@ -2246,9 +2136,9 @@ useful for connection oriented sockets that have been connected.
|
|
2246
2136
|
<p class="since">Since 2.22</p>
|
2247
2137
|
</div>
|
2248
2138
|
<hr>
|
2249
|
-
<div class="refsect2"
|
2139
|
+
<div class="refsect2">
|
2250
2140
|
<a name="g-socket-get-socket-type"></a><h3>g_socket_get_socket_type ()</h3>
|
2251
|
-
<pre class="programlisting"><a class="link" href="GSocket.html#GSocketType"
|
2141
|
+
<pre class="programlisting"><a class="link" href="GSocket.html#GSocketType"><span class="returnvalue">GSocketType</span></a> g_socket_get_socket_type (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2252
2142
|
<p>
|
2253
2143
|
Gets the socket type of the socket.
|
2254
2144
|
</p>
|
@@ -2257,13 +2147,11 @@ Gets the socket type of the socket.
|
|
2257
2147
|
<tbody>
|
2258
2148
|
<tr>
|
2259
2149
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
2260
|
-
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a
|
2261
|
-
</td>
|
2150
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
2262
2151
|
</tr>
|
2263
2152
|
<tr>
|
2264
2153
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2265
|
-
<td>
|
2266
|
-
|
2154
|
+
<td>a <a class="link" href="GSocket.html#GSocketType"><span class="type">GSocketType</span></a>
|
2267
2155
|
</td>
|
2268
2156
|
</tr>
|
2269
2157
|
</tbody>
|
@@ -2271,7 +2159,7 @@ Gets the socket type of the socket.
|
|
2271
2159
|
<p class="since">Since 2.22</p>
|
2272
2160
|
</div>
|
2273
2161
|
<hr>
|
2274
|
-
<div class="refsect2"
|
2162
|
+
<div class="refsect2">
|
2275
2163
|
<a name="g-socket-speaks-ipv4"></a><h3>g_socket_speaks_ipv4 ()</h3>
|
2276
2164
|
<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_speaks_ipv4 (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>);</pre>
|
2277
2165
|
<p>
|
@@ -2297,16 +2185,15 @@ of speaking IPv4.
|
|
2297
2185
|
</tr>
|
2298
2186
|
<tr>
|
2299
2187
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2300
|
-
<td>
|
2301
|
-
|
2302
|
-
</td>
|
2188
|
+
<td>
|
2189
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if this socket can be used with IPv4.</td>
|
2303
2190
|
</tr>
|
2304
2191
|
</tbody>
|
2305
2192
|
</table></div>
|
2306
2193
|
<p class="since">Since 2.22</p>
|
2307
2194
|
</div>
|
2308
2195
|
<hr>
|
2309
|
-
<div class="refsect2"
|
2196
|
+
<div class="refsect2">
|
2310
2197
|
<a name="g-socket-get-credentials"></a><h3>g_socket_get_credentials ()</h3>
|
2311
2198
|
<pre class="programlisting"><a class="link" href="GCredentials.html" title="GCredentials"><span class="returnvalue">GCredentials</span></a> * g_socket_get_credentials (<em class="parameter"><code><a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a> *socket</code></em>,
|
2312
2199
|
<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>
|
@@ -2331,20 +2218,18 @@ Other ways to obtain credentials from a foreign peer includes the
|
|
2331
2218
|
<tbody>
|
2332
2219
|
<tr>
|
2333
2220
|
<td><p><span class="term"><em class="parameter"><code>socket</code></em> :</span></p></td>
|
2334
|
-
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a
|
2335
|
-
</td>
|
2221
|
+
<td>a <a class="link" href="GSocket.html" title="GSocket"><span class="type">GSocket</span></a>.</td>
|
2336
2222
|
</tr>
|
2337
2223
|
<tr>
|
2338
2224
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2339
2225
|
<td>
|
2340
|
-
<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
|
2341
|
-
</td>
|
2226
|
+
<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>
|
2342
2227
|
</tr>
|
2343
2228
|
<tr>
|
2344
2229
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2345
|
-
<td>
|
2346
|
-
|
2347
|
-
|
2230
|
+
<td>
|
2231
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em> is set, otherwise a <a class="link" href="GCredentials.html" title="GCredentials"><span class="type">GCredentials</span></a> object
|
2232
|
+
that must be freed 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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2348
2233
|
</td>
|
2349
2234
|
</tr>
|
2350
2235
|
</tbody>
|
@@ -2352,37 +2237,37 @@ that must be freed with <a href="http://library.gnome.org/devel/gobject/unstable
|
|
2352
2237
|
<p class="since">Since 2.26</p>
|
2353
2238
|
</div>
|
2354
2239
|
</div>
|
2355
|
-
<div class="refsect1"
|
2240
|
+
<div class="refsect1">
|
2356
2241
|
<a name="GSocket.property-details"></a><h2>Property Details</h2>
|
2357
|
-
<div class="refsect2"
|
2242
|
+
<div class="refsect2">
|
2358
2243
|
<a name="GSocket--blocking"></a><h3>The <code class="literal">"blocking"</code> property</h3>
|
2359
2244
|
<pre class="programlisting"> "blocking" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
2360
2245
|
<p>Whether or not I/O on this socket is blocking.</p>
|
2361
2246
|
<p>Default value: TRUE</p>
|
2362
2247
|
</div>
|
2363
2248
|
<hr>
|
2364
|
-
<div class="refsect2"
|
2249
|
+
<div class="refsect2">
|
2365
2250
|
<a name="GSocket--family"></a><h3>The <code class="literal">"family"</code> property</h3>
|
2366
|
-
<pre class="programlisting"> "family" <a class="link" href="GSocketAddress.html#GSocketFamily"
|
2251
|
+
<pre class="programlisting"> "family" <a class="link" href="GSocketAddress.html#GSocketFamily"><span class="type">GSocketFamily</span></a> : Read / Write / Construct Only</pre>
|
2367
2252
|
<p>The sockets address family.</p>
|
2368
2253
|
<p>Default value: G_SOCKET_FAMILY_INVALID</p>
|
2369
2254
|
</div>
|
2370
2255
|
<hr>
|
2371
|
-
<div class="refsect2"
|
2256
|
+
<div class="refsect2">
|
2372
2257
|
<a name="GSocket--fd"></a><h3>The <code class="literal">"fd"</code> property</h3>
|
2373
2258
|
<pre class="programlisting"> "fd" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write / Construct Only</pre>
|
2374
2259
|
<p>The sockets file descriptor.</p>
|
2375
2260
|
<p>Default value: -1</p>
|
2376
2261
|
</div>
|
2377
2262
|
<hr>
|
2378
|
-
<div class="refsect2"
|
2263
|
+
<div class="refsect2">
|
2379
2264
|
<a name="GSocket--keepalive"></a><h3>The <code class="literal">"keepalive"</code> property</h3>
|
2380
2265
|
<pre class="programlisting"> "keepalive" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
2381
2266
|
<p>Keep connection alive by sending periodic pings.</p>
|
2382
2267
|
<p>Default value: FALSE</p>
|
2383
2268
|
</div>
|
2384
2269
|
<hr>
|
2385
|
-
<div class="refsect2"
|
2270
|
+
<div class="refsect2">
|
2386
2271
|
<a name="GSocket--listen-backlog"></a><h3>The <code class="literal">"listen-backlog"</code> property</h3>
|
2387
2272
|
<pre class="programlisting"> "listen-backlog" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
|
2388
2273
|
<p>Outstanding connections in the listen queue.</p>
|
@@ -2390,26 +2275,26 @@ that must be freed with <a href="http://library.gnome.org/devel/gobject/unstable
|
|
2390
2275
|
<p>Default value: 10</p>
|
2391
2276
|
</div>
|
2392
2277
|
<hr>
|
2393
|
-
<div class="refsect2"
|
2278
|
+
<div class="refsect2">
|
2394
2279
|
<a name="GSocket--local-address"></a><h3>The <code class="literal">"local-address"</code> property</h3>
|
2395
2280
|
<pre class="programlisting"> "local-address" <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>* : Read</pre>
|
2396
2281
|
<p>The local address the socket is bound to.</p>
|
2397
2282
|
</div>
|
2398
2283
|
<hr>
|
2399
|
-
<div class="refsect2"
|
2284
|
+
<div class="refsect2">
|
2400
2285
|
<a name="GSocket--protocol"></a><h3>The <code class="literal">"protocol"</code> property</h3>
|
2401
|
-
<pre class="programlisting"> "protocol" <a class="link" href="GSocket.html#GSocketProtocol"
|
2286
|
+
<pre class="programlisting"> "protocol" <a class="link" href="GSocket.html#GSocketProtocol"><span class="type">GSocketProtocol</span></a> : Read / Write / Construct Only</pre>
|
2402
2287
|
<p>The id of the protocol to use, or -1 for unknown.</p>
|
2403
2288
|
<p>Default value: G_SOCKET_PROTOCOL_UNKNOWN</p>
|
2404
2289
|
</div>
|
2405
2290
|
<hr>
|
2406
|
-
<div class="refsect2"
|
2291
|
+
<div class="refsect2">
|
2407
2292
|
<a name="GSocket--remote-address"></a><h3>The <code class="literal">"remote-address"</code> property</h3>
|
2408
2293
|
<pre class="programlisting"> "remote-address" <a class="link" href="GSocketAddress.html" title="GSocketAddress"><span class="type">GSocketAddress</span></a>* : Read</pre>
|
2409
2294
|
<p>The remote address the socket is connected to.</p>
|
2410
2295
|
</div>
|
2411
2296
|
<hr>
|
2412
|
-
<div class="refsect2"
|
2297
|
+
<div class="refsect2">
|
2413
2298
|
<a name="GSocket--timeout"></a><h3>The <code class="literal">"timeout"</code> property</h3>
|
2414
2299
|
<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</pre>
|
2415
2300
|
<p>
|
@@ -2419,20 +2304,20 @@ The timeout in seconds on socket I/O
|
|
2419
2304
|
<p class="since">Since 2.26</p>
|
2420
2305
|
</div>
|
2421
2306
|
<hr>
|
2422
|
-
<div class="refsect2"
|
2307
|
+
<div class="refsect2">
|
2423
2308
|
<a name="GSocket--type"></a><h3>The <code class="literal">"type"</code> property</h3>
|
2424
|
-
<pre class="programlisting"> "type" <a class="link" href="GSocket.html#GSocketType"
|
2309
|
+
<pre class="programlisting"> "type" <a class="link" href="GSocket.html#GSocketType"><span class="type">GSocketType</span></a> : Read / Write / Construct Only</pre>
|
2425
2310
|
<p>The sockets type.</p>
|
2426
2311
|
<p>Default value: G_SOCKET_TYPE_STREAM</p>
|
2427
2312
|
</div>
|
2428
2313
|
</div>
|
2429
|
-
<div class="refsect1"
|
2314
|
+
<div class="refsect1">
|
2430
2315
|
<a name="GSocket.see-also"></a><h2>See Also</h2>
|
2431
2316
|
<a class="link" href="GInitable.html" title="GInitable"><span class="type">GInitable</span></a>
|
2432
2317
|
</div>
|
2433
2318
|
</div>
|
2434
2319
|
<div class="footer">
|
2435
2320
|
<hr>
|
2436
|
-
Generated by GTK-Doc V1.
|
2321
|
+
Generated by GTK-Doc V1.16.1</div>
|
2437
2322
|
</body>
|
2438
2323
|
</html>
|