glib2 3.0.8-x64-mingw32 → 3.0.9-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -2
- data/ext/glib2/extconf.rb +0 -1
- data/ext/glib2/rbglib-variant-type.c +5 -1
- data/ext/glib2/rbglib-variant.c +21 -7
- data/ext/glib2/rbglib.c +0 -38
- data/ext/glib2/rbglib.h +2 -2
- data/ext/glib2/rbglib_convert.c +3 -9
- data/ext/glib2/rbglib_matchinfo.c +4 -0
- data/ext/glib2/rbglib_regex.c +12 -1
- data/ext/glib2/rbgobj_object.c +112 -10
- data/ext/glib2/rbgobj_signal.c +12 -1
- data/ext/glib2/rbgobj_type.c +7 -1
- data/ext/glib2/rbgobject.c +0 -6
- data/ext/glib2/rbgprivate.h +0 -4
- data/ext/glib2/rbgutil.c +0 -2
- data/ext/glib2/rbgutil.h +1 -3
- data/lib/2.2/glib2.so +0 -0
- data/lib/2.3/glib2.so +0 -0
- data/lib/glib2.rb +7 -0
- data/lib/gnome2/rake/external-package.rb +119 -2
- data/lib/gnome2/rake/package-task.rb +63 -3
- data/lib/gnome2/rake/windows-binary-build-task.rb +343 -337
- data/lib/gnome2/rake/windows-binary-download-task.rb +151 -148
- data/lib/mkmf-gnome2.rb +11 -30
- data/test/test-binding.rb +157 -66
- data/test/test_glib2.rb +21 -6
- data/vendor/local/bin/asn1Coding.exe +0 -0
- data/vendor/local/bin/asn1Decoding.exe +0 -0
- data/vendor/local/bin/asn1Parser.exe +0 -0
- data/vendor/local/bin/gdbus.exe +0 -0
- data/vendor/local/bin/gio-querymodules.exe +0 -0
- data/vendor/local/bin/glib-compile-resources.exe +0 -0
- data/vendor/local/bin/glib-compile-schemas.exe +0 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +1 -1
- data/vendor/local/bin/glib-mkenums +1 -1
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gresource.exe +0 -0
- data/vendor/local/bin/gsettings.exe +0 -0
- data/vendor/local/bin/gspawn-win64-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win64-helper.exe +0 -0
- data/vendor/local/bin/iconv.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/bin/libnettle-6-2.dll +0 -0
- data/vendor/local/bin/nettle-pbkdf2.exe +0 -0
- data/vendor/local/bin/pkcs1-conv.exe +0 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gmacros.h +21 -6
- data/vendor/local/include/glib-2.0/glib/gregex.h +1 -1
- data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
- data/vendor/local/lib/libasprintf.dll.a +0 -0
- data/vendor/local/lib/libcharset.dll.a +0 -0
- data/vendor/local/lib/libffi.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.la +1 -1
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.la +1 -1
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.la +1 -1
- data/vendor/local/lib/libgmp.dll.a +0 -0
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.la +1 -1
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.la +1 -1
- data/vendor/local/lib/libhogweed.dll.a +0 -0
- data/vendor/local/lib/libiconv.dll.a +0 -0
- data/vendor/local/lib/libidn.dll.a +0 -0
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/libnettle.dll.a +0 -0
- data/vendor/local/lib/libp11-kit.dll.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libtasn1.dll.a +0 -0
- data/vendor/local/lib/p11-kit/p11-kit-remote.exe +0 -0
- data/vendor/local/lib/pkcs11/p11-kit-trust.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/{libglib-2.0.so.0.4800.0-gdb.py → libglib-2.0.so.0.4800.1-gdb.py} +0 -0
- data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/{libgobject-2.0.so.0.4800.0-gdb.py → libgobject-2.0.so.0.4800.1-gdb.py} +0 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.py +1 -1
- data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +98 -104
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +116 -121
- data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +28 -33
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +206 -211
- data/vendor/local/share/gtk-doc/html/gio/GAppInfoMonitor.html +9 -9
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +219 -221
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +87 -87
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +63 -68
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +36 -41
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +62 -62
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GBytesIcon.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +81 -81
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +28 -28
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +16 -21
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +43 -43
- data/vendor/local/share/gtk-doc/html/gio/GDBusActionGroup.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +526 -526
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +66 -71
- data/vendor/local/share/gtk-doc/html/gio/GDBusMenuModel.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +202 -202
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +76 -76
- data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +43 -43
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +141 -146
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +32 -36
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectProxy.html +12 -16
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectSkeleton.html +28 -35
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +229 -229
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +51 -51
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +160 -160
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +86 -86
- data/vendor/local/share/gtk-doc/html/gio/GDatagramBased.html +73 -78
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +181 -186
- data/vendor/local/share/gtk-doc/html/gio/GDtlsClientConnection.html +29 -33
- data/vendor/local/share/gtk-doc/html/gio/GDtlsConnection.html +122 -122
- data/vendor/local/share/gtk-doc/html/gio/GDtlsServerConnection.html +12 -16
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +14 -14
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +890 -895
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +9 -16
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +78 -78
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +9 -9
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +239 -239
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +39 -39
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +60 -60
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +48 -53
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +110 -110
- data/vendor/local/share/gtk-doc/html/gio/GInetAddressMask.html +37 -37
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +31 -31
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +68 -75
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +142 -142
- data/vendor/local/share/gtk-doc/html/gio/GListModel.html +44 -49
- data/vendor/local/share/gtk-doc/html/gio/GListStore.html +35 -35
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +19 -24
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +57 -57
- data/vendor/local/share/gtk-doc/html/gio/GMenu.html +143 -143
- data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +107 -107
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +161 -166
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +83 -83
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +45 -45
- data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +54 -59
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +34 -34
- data/vendor/local/share/gtk-doc/html/gio/GNotification.html +51 -51
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +186 -186
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +71 -71
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +40 -45
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +40 -45
- data/vendor/local/share/gtk-doc/html/gio/GPropertyAction.html +36 -36
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +25 -30
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +59 -59
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +32 -37
- data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +18 -23
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +147 -147
- data/vendor/local/share/gtk-doc/html/gio/GResource.html +114 -114
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +46 -51
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +354 -354
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +47 -52
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +46 -46
- data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +146 -146
- data/vendor/local/share/gtk-doc/html/gio/GSimpleIOStream.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/GSimpleProxyResolver.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +454 -454
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +26 -26
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +138 -138
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +37 -42
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +54 -54
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +91 -91
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +22 -22
- data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GSubprocess.html +139 -139
- data/vendor/local/share/gtk-doc/html/gio/GSubprocessLauncher.html +63 -63
- data/vendor/local/share/gtk-doc/html/gio/GTask.html +219 -219
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +53 -58
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +57 -57
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +40 -47
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +84 -84
- data/vendor/local/share/gtk-doc/html/gio/GTlsDatabase.html +79 -84
- data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +13 -17
- data/vendor/local/share/gtk-doc/html/gio/GTlsInteraction.html +32 -32
- data/vendor/local/share/gtk-doc/html/gio/GTlsPassword.html +41 -46
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +11 -15
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +52 -52
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +43 -43
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +25 -25
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +25 -25
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +25 -25
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +117 -122
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +87 -87
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +14 -14
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +10 -10
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +4 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-30.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-32.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-34.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-36.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-38.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-40.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-42.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-44.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-46.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-48.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/application.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/async.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch32.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch33.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/ch33s02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch33s03.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch34.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch34s02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch34s03.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch34s04.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch34s05.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch34s06.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/ch34s07.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch35.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch35s02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch35s03.html +10 -10
- data/vendor/local/share/gtk-doc/html/gio/ch35s04.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/data-models.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/extending.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gapplication-tool.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +55 -55
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus-example-gdbus-codegen.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +51 -51
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +188 -188
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +72 -72
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +110 -117
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +48 -48
- data/vendor/local/share/gtk-doc/html/gio/gio-GActionGroup-exporter.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +86 -86
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +103 -103
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +22 -22
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +41 -41
- data/vendor/local/share/gtk-doc/html/gio/gio-GMenuModel-exporter.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +108 -108
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32InputStream.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32OutputStream.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32RegistryKey.html +221 -221
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +63 -63
- data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +16 -23
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +128 -128
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +57 -57
- data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-gpollableutils.html +71 -71
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +450 -10
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/icons.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/networking.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/registry.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/resources.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/settings.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/subprocesses.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/testing.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/tls.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/tools.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/types.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/utils.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +4 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-30.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-32.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-36.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-38.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +3 -10
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-40.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-42.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-44.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-46.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-48.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +3 -10
- data/vendor/local/share/gtk-doc/html/glib/deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +42 -42
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +44 -44
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +40 -40
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +18 -18
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +32 -32
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +14 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +68 -68
- data/vendor/local/share/gtk-doc/html/glib/glib-Bounds-checked-integer-arithmetic.html +14 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +56 -56
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +120 -120
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +35 -35
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +72 -72
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +17 -17
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +24 -24
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +93 -93
- data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +50 -50
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +64 -64
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +69 -69
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +80 -80
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +157 -157
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +292 -266
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +423 -421
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +13 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +92 -92
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +62 -62
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +12 -12
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +27 -56
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +84 -84
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +81 -81
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +31 -31
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +45 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +55 -55
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +22 -22
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +80 -78
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +36 -36
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +83 -83
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +81 -81
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +84 -84
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +34 -34
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +30 -30
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +67 -67
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +9 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +34 -34
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +58 -58
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +30 -30
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +12 -12
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +195 -189
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +65 -65
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +91 -91
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +166 -166
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +24 -24
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +86 -86
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +8 -8
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +46 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +16 -16
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +134 -134
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +128 -128
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +189 -51
- data/vendor/local/share/gtk-doc/html/glib/glib.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +17 -17
- data/vendor/local/share/gtk-doc/html/glib/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/tools.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +55 -55
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +28 -33
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +12 -12
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +4 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-30.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-32.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-34.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-36.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-38.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-40.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-42.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-44.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-46.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +72 -62
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +301 -301
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +71 -71
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +139 -139
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +92 -92
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +304 -304
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +570 -682
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +276 -276
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +349 -349
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +54 -54
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +15 -15
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +153 -8
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +4 -4
- 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 +15 -15
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-override.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-prerequisite.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +2 -2
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Future.html +4 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Modules.html +12 -12
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-PIN-Callbacks.html +15 -15
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-URIs.html +2 -2
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Utilities.html +2 -2
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/gd/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib-networking.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/man/man1/gapplication.1 +1 -1
- data/vendor/local/share/man/man1/gdbus-codegen.1 +1 -1
- data/vendor/local/share/man/man1/gdbus.1 +1 -1
- data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
- data/vendor/local/share/man/man1/glib-compile-resources.1 +1 -1
- data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
- data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
- data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
- data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
- data/vendor/local/share/man/man1/gobject-query.1 +1 -1
- data/vendor/local/share/man/man1/gresource.1 +1 -1
- data/vendor/local/share/man/man1/gsettings.1 +1 -1
- data/vendor/local/share/man/man1/gtester-report.1 +1 -1
- data/vendor/local/share/man/man1/gtester.1 +1 -1
- metadata +6 -8
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +0 -4612
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +0 -3447
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +0 -924
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="application.html" title="Application support">
|
9
9
|
<link rel="prev" href="gio-GActionGroup-exporter.html" title="GActionGroup exporter">
|
10
10
|
<link rel="next" href="GMenuModel.html" title="GMenuModel">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25.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">
|
@@ -65,7 +65,7 @@
|
|
65
65
|
</div>
|
66
66
|
<div class="refsect1">
|
67
67
|
<a name="GDBusActionGroup.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
68
|
-
<pre class="screen"> <a href="../gobject
|
68
|
+
<pre class="screen"> <a href="../gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
69
69
|
<span class="lineart">╰──</span> GDBusActionGroup
|
70
70
|
</pre>
|
71
71
|
</div>
|
@@ -92,8 +92,8 @@ that is exported over D-Bus with <a class="link" href="gio-GActionGroup-exporter
|
|
92
92
|
<a name="g-dbus-action-group-get"></a><h3>g_dbus_action_group_get ()</h3>
|
93
93
|
<pre class="programlisting"><a class="link" href="GDBusActionGroup.html" title="GDBusActionGroup"><span class="returnvalue">GDBusActionGroup</span></a> *
|
94
94
|
g_dbus_action_group_get (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
95
|
-
<em class="parameter"><code>const <a href="../glib
|
96
|
-
<em class="parameter"><code>const <a href="../glib
|
95
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *bus_name</code></em>,
|
96
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>);</pre>
|
97
97
|
<p>Obtains a <a class="link" href="GDBusActionGroup.html" title="GDBusActionGroup"><span class="type">GDBusActionGroup</span></a> for the action group which is exported at
|
98
98
|
the given <em class="parameter"><code>bus_name</code></em>
|
99
99
|
and <em class="parameter"><code>object_path</code></em>
|
@@ -108,7 +108,7 @@ already be filled in. The correct thing to do is connect the signals
|
|
108
108
|
for the action group to monitor for changes and then to call
|
109
109
|
<a class="link" href="GActionGroup.html#g-action-group-list-actions" title="g_action_group_list_actions ()"><code class="function">g_action_group_list_actions()</code></a> to get the initial list.</p>
|
110
110
|
<div class="refsect3">
|
111
|
-
<a name="
|
111
|
+
<a name="g-dbus-action-group-get.parameters"></a><h4>Parameters</h4>
|
112
112
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
113
113
|
<colgroup>
|
114
114
|
<col width="150px" class="parameters_name">
|
@@ -135,7 +135,7 @@ for the action group to monitor for changes and then to call
|
|
135
135
|
</table></div>
|
136
136
|
</div>
|
137
137
|
<div class="refsect3">
|
138
|
-
<a name="
|
138
|
+
<a name="g-dbus-action-group-get.returns"></a><h4>Returns</h4>
|
139
139
|
<p> a <a class="link" href="GDBusActionGroup.html" title="GDBusActionGroup"><span class="type">GDBusActionGroup</span></a>. </p>
|
140
140
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
141
141
|
</div>
|
@@ -157,6 +157,6 @@ using the following functions.</p>
|
|
157
157
|
</div>
|
158
158
|
</div>
|
159
159
|
<div class="footer">
|
160
|
-
<hr>Generated by GTK-Doc V1.
|
160
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
161
161
|
</body>
|
162
162
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="gdbus-lowlevel.html" title="Low-level D-Bus Support">
|
9
9
|
<link rel="prev" href="GDBusServer.html" title="GDBusServer">
|
10
10
|
<link rel="next" href="gdbus-convenience.html" title="High-level D-Bus Support">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25.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">
|
@@ -51,7 +51,7 @@
|
|
51
51
|
</tr>
|
52
52
|
<tr>
|
53
53
|
<td class="function_type">
|
54
|
-
<a href="../glib
|
54
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
55
55
|
</td>
|
56
56
|
<td class="function_name">
|
57
57
|
<a class="link" href="GDBusAuthObserver.html#g-dbus-auth-observer-authorize-authenticated-peer" title="g_dbus_auth_observer_authorize_authenticated_peer ()">g_dbus_auth_observer_authorize_authenticated_peer</a> <span class="c_punctuation">()</span>
|
@@ -59,7 +59,7 @@
|
|
59
59
|
</tr>
|
60
60
|
<tr>
|
61
61
|
<td class="function_type">
|
62
|
-
<a href="../glib
|
62
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
63
63
|
</td>
|
64
64
|
<td class="function_name">
|
65
65
|
<a class="link" href="GDBusAuthObserver.html#g-dbus-auth-observer-allow-mechanism" title="g_dbus_auth_observer_allow_mechanism ()">g_dbus_auth_observer_allow_mechanism</a> <span class="c_punctuation">()</span>
|
@@ -78,14 +78,14 @@
|
|
78
78
|
</colgroup>
|
79
79
|
<tbody>
|
80
80
|
<tr>
|
81
|
-
<td class="signal_type"><a href="../glib
|
81
|
+
<td class="signal_type"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td>
|
82
82
|
<td class="signal_name"><a class="link" href="GDBusAuthObserver.html#GDBusAuthObserver-allow-mechanism" title="The “allow-mechanism” signal">allow-mechanism</a></td>
|
83
|
-
<td class="signal_flags"><a href="../gobject
|
83
|
+
<td class="signal_flags"><a href="../gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
84
84
|
</tr>
|
85
85
|
<tr>
|
86
|
-
<td class="signal_type"><a href="../glib
|
86
|
+
<td class="signal_type"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td>
|
87
87
|
<td class="signal_name"><a class="link" href="GDBusAuthObserver.html#GDBusAuthObserver-authorize-authenticated-peer" title="The “authorize-authenticated-peer” signal">authorize-authenticated-peer</a></td>
|
88
|
-
<td class="signal_flags"><a href="../gobject
|
88
|
+
<td class="signal_flags"><a href="../gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
89
89
|
</tr>
|
90
90
|
</tbody>
|
91
91
|
</table></div>
|
@@ -105,7 +105,7 @@
|
|
105
105
|
</div>
|
106
106
|
<div class="refsect1">
|
107
107
|
<a name="GDBusAuthObserver.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
108
|
-
<pre class="screen"> <a href="../gobject
|
108
|
+
<pre class="screen"> <a href="../gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
109
109
|
<span class="lineart">╰──</span> GDBusAuthObserver
|
110
110
|
</pre>
|
111
111
|
</div>
|
@@ -165,7 +165,7 @@ signal handler like the following:</p>
|
|
165
165
|
own_credentials <span class="gtkdoc opt">=</span> <span class="function"><a href="GCredentials.html#g-credentials-new">g_credentials_new</a></span> <span class="gtkdoc opt">();</span>
|
166
166
|
<span class="keyword">if</span> <span class="gtkdoc opt">(</span><span class="function"><a href="GCredentials.html#g-credentials-is-same-user">g_credentials_is_same_user</a></span> <span class="gtkdoc opt">(</span>credentials<span class="gtkdoc opt">,</span> own_credentials<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">))</span>
|
167
167
|
authorized <span class="gtkdoc opt">=</span> TRUE<span class="gtkdoc opt">;</span>
|
168
|
-
<span class="function"><a href="../gobject
|
168
|
+
<span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> <span class="gtkdoc opt">(</span>own_credentials<span class="gtkdoc opt">);</span>
|
169
169
|
<span class="gtkdoc opt">}</span>
|
170
170
|
|
171
171
|
<span class="keyword">return</span> authorized<span class="gtkdoc opt">;</span>
|
@@ -186,15 +186,15 @@ signal handler like the following:</p>
|
|
186
186
|
g_dbus_auth_observer_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
187
187
|
<p>Creates a new <a class="link" href="GDBusAuthObserver.html" title="GDBusAuthObserver"><span class="type">GDBusAuthObserver</span></a> object.</p>
|
188
188
|
<div class="refsect3">
|
189
|
-
<a name="
|
190
|
-
<p> A <a class="link" href="GDBusAuthObserver.html" title="GDBusAuthObserver"><span class="type">GDBusAuthObserver</span></a>. Free with <a href="../gobject
|
189
|
+
<a name="g-dbus-auth-observer-new.returns"></a><h4>Returns</h4>
|
190
|
+
<p> A <a class="link" href="GDBusAuthObserver.html" title="GDBusAuthObserver"><span class="type">GDBusAuthObserver</span></a>. Free with <a href="../gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
|
191
191
|
</div>
|
192
192
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
193
193
|
</div>
|
194
194
|
<hr>
|
195
195
|
<div class="refsect2">
|
196
196
|
<a name="g-dbus-auth-observer-authorize-authenticated-peer"></a><h3>g_dbus_auth_observer_authorize_authenticated_peer ()</h3>
|
197
|
-
<pre class="programlisting"><a href="../glib
|
197
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
198
198
|
g_dbus_auth_observer_authorize_authenticated_peer
|
199
199
|
(<em class="parameter"><code><a class="link" href="GDBusAuthObserver.html" title="GDBusAuthObserver"><span class="type">GDBusAuthObserver</span></a> *observer</code></em>,
|
200
200
|
<em class="parameter"><code><a class="link" href="GIOStream.html" title="GIOStream"><span class="type">GIOStream</span></a> *stream</code></em>,
|
@@ -202,7 +202,7 @@ g_dbus_auth_observer_authorize_authenticated_peer
|
|
202
202
|
<p>Emits the <a class="link" href="GDBusAuthObserver.html#GDBusAuthObserver-authorize-authenticated-peer" title="The “authorize-authenticated-peer” signal"><span class="type">“authorize-authenticated-peer”</span></a> signal on <em class="parameter"><code>observer</code></em>
|
203
203
|
.</p>
|
204
204
|
<div class="refsect3">
|
205
|
-
<a name="
|
205
|
+
<a name="g-dbus-auth-observer-authorize-authenticated-peer.parameters"></a><h4>Parameters</h4>
|
206
206
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
207
207
|
<colgroup>
|
208
208
|
<col width="150px" class="parameters_name">
|
@@ -222,28 +222,28 @@ g_dbus_auth_observer_authorize_authenticated_peer
|
|
222
222
|
</tr>
|
223
223
|
<tr>
|
224
224
|
<td class="parameter_name"><p>credentials</p></td>
|
225
|
-
<td class="parameter_description"><p> Credentials received from the peer or <a href="../glib
|
225
|
+
<td class="parameter_description"><p> Credentials received from the peer or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
226
226
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
227
227
|
</tr>
|
228
228
|
</tbody>
|
229
229
|
</table></div>
|
230
230
|
</div>
|
231
231
|
<div class="refsect3">
|
232
|
-
<a name="
|
233
|
-
<p> <a href="../glib
|
232
|
+
<a name="g-dbus-auth-observer-authorize-authenticated-peer.returns"></a><h4>Returns</h4>
|
233
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the peer is authorized, <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if not.</p>
|
234
234
|
</div>
|
235
235
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
236
236
|
</div>
|
237
237
|
<hr>
|
238
238
|
<div class="refsect2">
|
239
239
|
<a name="g-dbus-auth-observer-allow-mechanism"></a><h3>g_dbus_auth_observer_allow_mechanism ()</h3>
|
240
|
-
<pre class="programlisting"><a href="../glib
|
240
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
241
241
|
g_dbus_auth_observer_allow_mechanism (<em class="parameter"><code><a class="link" href="GDBusAuthObserver.html" title="GDBusAuthObserver"><span class="type">GDBusAuthObserver</span></a> *observer</code></em>,
|
242
|
-
<em class="parameter"><code>const <a href="../glib
|
242
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *mechanism</code></em>);</pre>
|
243
243
|
<p>Emits the <a class="link" href="GDBusAuthObserver.html#GDBusAuthObserver-allow-mechanism" title="The “allow-mechanism” signal"><span class="type">“allow-mechanism”</span></a> signal on <em class="parameter"><code>observer</code></em>
|
244
244
|
.</p>
|
245
245
|
<div class="refsect3">
|
246
|
-
<a name="
|
246
|
+
<a name="g-dbus-auth-observer-allow-mechanism.parameters"></a><h4>Parameters</h4>
|
247
247
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
248
248
|
<colgroup>
|
249
249
|
<col width="150px" class="parameters_name">
|
@@ -265,9 +265,9 @@ g_dbus_auth_observer_allow_mechanism (<em class="parameter"><code><a class="link
|
|
265
265
|
</table></div>
|
266
266
|
</div>
|
267
267
|
<div class="refsect3">
|
268
|
-
<a name="
|
269
|
-
<p> <a href="../glib
|
270
|
-
can be used to authenticate the other peer, <a href="../glib
|
268
|
+
<a name="g-dbus-auth-observer-allow-mechanism.returns"></a><h4>Returns</h4>
|
269
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>mechanism</code></em>
|
270
|
+
can be used to authenticate the other peer, <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if not.</p>
|
271
271
|
</div>
|
272
272
|
<p class="since">Since: <a class="link" href="api-index-2-34.html#api-index-2.34">2.34</a></p>
|
273
273
|
</div>
|
@@ -286,14 +286,14 @@ should only be accessed using the provided API.</p>
|
|
286
286
|
<a name="GDBusAuthObserver.signal-details"></a><h2>Signal Details</h2>
|
287
287
|
<div class="refsect2">
|
288
288
|
<a name="GDBusAuthObserver-allow-mechanism"></a><h3>The <code class="literal">“allow-mechanism”</code> signal</h3>
|
289
|
-
<pre class="programlisting"><a href="../glib
|
289
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
290
290
|
user_function (<a class="link" href="GDBusAuthObserver.html" title="GDBusAuthObserver"><span class="type">GDBusAuthObserver</span></a> *observer,
|
291
|
-
<a href="../glib
|
292
|
-
<a href="../glib
|
291
|
+
<a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *mechanism,
|
292
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
293
293
|
<p>Emitted to check if <em class="parameter"><code>mechanism</code></em>
|
294
294
|
is allowed to be used.</p>
|
295
295
|
<div class="refsect3">
|
296
|
-
<a name="
|
296
|
+
<a name="GDBusAuthObserver-allow-mechanism.parameters"></a><h4>Parameters</h4>
|
297
297
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
298
298
|
<colgroup>
|
299
299
|
<col width="150px" class="parameters_name">
|
@@ -320,25 +320,25 @@ user_function (<a class="link" href="GDBusAuthObserver.html" title="GDBusAuthObs
|
|
320
320
|
</table></div>
|
321
321
|
</div>
|
322
322
|
<div class="refsect3">
|
323
|
-
<a name="
|
324
|
-
<p> <a href="../glib
|
325
|
-
can be used to authenticate the other peer, <a href="../glib
|
323
|
+
<a name="GDBusAuthObserver-allow-mechanism.returns"></a><h4>Returns</h4>
|
324
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>mechanism</code></em>
|
325
|
+
can be used to authenticate the other peer, <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if not.</p>
|
326
326
|
</div>
|
327
|
-
<p>Flags: <a href="../gobject
|
327
|
+
<p>Flags: <a href="../gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
328
328
|
<p class="since">Since: <a class="link" href="api-index-2-34.html#api-index-2.34">2.34</a></p>
|
329
329
|
</div>
|
330
330
|
<hr>
|
331
331
|
<div class="refsect2">
|
332
332
|
<a name="GDBusAuthObserver-authorize-authenticated-peer"></a><h3>The <code class="literal">“authorize-authenticated-peer”</code> signal</h3>
|
333
|
-
<pre class="programlisting"><a href="../glib
|
333
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
334
334
|
user_function (<a class="link" href="GDBusAuthObserver.html" title="GDBusAuthObserver"><span class="type">GDBusAuthObserver</span></a> *observer,
|
335
335
|
<a class="link" href="GIOStream.html" title="GIOStream"><span class="type">GIOStream</span></a> *stream,
|
336
336
|
<a class="link" href="GCredentials.html" title="GCredentials"><span class="type">GCredentials</span></a> *credentials,
|
337
|
-
<a href="../glib
|
337
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
338
338
|
<p>Emitted to check if a peer that is successfully authenticated
|
339
339
|
is authorized.</p>
|
340
340
|
<div class="refsect3">
|
341
|
-
<a name="
|
341
|
+
<a name="GDBusAuthObserver-authorize-authenticated-peer.parameters"></a><h4>Parameters</h4>
|
342
342
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
343
343
|
<colgroup>
|
344
344
|
<col width="150px" class="parameters_name">
|
@@ -358,7 +358,7 @@ is authorized.</p>
|
|
358
358
|
</tr>
|
359
359
|
<tr>
|
360
360
|
<td class="parameter_name"><p>credentials</p></td>
|
361
|
-
<td class="parameter_description"><p> Credentials received from the peer or <a href="../glib
|
361
|
+
<td class="parameter_description"><p> Credentials received from the peer or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
362
362
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
363
363
|
</tr>
|
364
364
|
<tr>
|
@@ -370,15 +370,15 @@ is authorized.</p>
|
|
370
370
|
</table></div>
|
371
371
|
</div>
|
372
372
|
<div class="refsect3">
|
373
|
-
<a name="
|
374
|
-
<p> <a href="../glib
|
373
|
+
<a name="GDBusAuthObserver-authorize-authenticated-peer.returns"></a><h4>Returns</h4>
|
374
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the peer is authorized, <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if not.</p>
|
375
375
|
</div>
|
376
|
-
<p>Flags: <a href="../gobject
|
376
|
+
<p>Flags: <a href="../gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
377
377
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
378
378
|
</div>
|
379
379
|
</div>
|
380
380
|
</div>
|
381
381
|
<div class="footer">
|
382
|
-
<hr>Generated by GTK-Doc V1.
|
382
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
383
383
|
</body>
|
384
384
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="gdbus-lowlevel.html" title="Low-level D-Bus Support">
|
9
9
|
<link rel="prev" href="GDBusMessage.html" title="GDBusMessage">
|
10
10
|
<link rel="next" href="GDBusMethodInvocation.html" title="GDBusMethodInvocation">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25.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">
|
@@ -133,7 +133,7 @@
|
|
133
133
|
</tr>
|
134
134
|
<tr>
|
135
135
|
<td class="function_type">
|
136
|
-
<a href="../glib
|
136
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
137
137
|
</td>
|
138
138
|
<td class="function_name">
|
139
139
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-close-finish" title="g_dbus_connection_close_finish ()">g_dbus_connection_close_finish</a> <span class="c_punctuation">()</span>
|
@@ -141,7 +141,7 @@
|
|
141
141
|
</tr>
|
142
142
|
<tr>
|
143
143
|
<td class="function_type">
|
144
|
-
<a href="../glib
|
144
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
145
145
|
</td>
|
146
146
|
<td class="function_name">
|
147
147
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-close-sync" title="g_dbus_connection_close_sync ()">g_dbus_connection_close_sync</a> <span class="c_punctuation">()</span>
|
@@ -149,7 +149,7 @@
|
|
149
149
|
</tr>
|
150
150
|
<tr>
|
151
151
|
<td class="function_type">
|
152
|
-
<a href="../glib
|
152
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
153
153
|
</td>
|
154
154
|
<td class="function_name">
|
155
155
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-is-closed" title="g_dbus_connection_is_closed ()">g_dbus_connection_is_closed</a> <span class="c_punctuation">()</span>
|
@@ -165,7 +165,7 @@
|
|
165
165
|
</tr>
|
166
166
|
<tr>
|
167
167
|
<td class="function_type">
|
168
|
-
<a href="../glib
|
168
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
169
169
|
</td>
|
170
170
|
<td class="function_name">
|
171
171
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-flush-finish" title="g_dbus_connection_flush_finish ()">g_dbus_connection_flush_finish</a> <span class="c_punctuation">()</span>
|
@@ -173,7 +173,7 @@
|
|
173
173
|
</tr>
|
174
174
|
<tr>
|
175
175
|
<td class="function_type">
|
176
|
-
<a href="../glib
|
176
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
177
177
|
</td>
|
178
178
|
<td class="function_name">
|
179
179
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-flush-sync" title="g_dbus_connection_flush_sync ()">g_dbus_connection_flush_sync</a> <span class="c_punctuation">()</span>
|
@@ -181,7 +181,7 @@
|
|
181
181
|
</tr>
|
182
182
|
<tr>
|
183
183
|
<td class="function_type">
|
184
|
-
<a href="../glib
|
184
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
185
185
|
</td>
|
186
186
|
<td class="function_name">
|
187
187
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-get-exit-on-close" title="g_dbus_connection_get_exit_on_close ()">g_dbus_connection_get_exit_on_close</a> <span class="c_punctuation">()</span>
|
@@ -204,14 +204,14 @@
|
|
204
204
|
</td>
|
205
205
|
</tr>
|
206
206
|
<tr>
|
207
|
-
<td class="function_type">const <a href="../glib
|
207
|
+
<td class="function_type">const <a href="../glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
208
208
|
</td>
|
209
209
|
<td class="function_name">
|
210
210
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-get-guid" title="g_dbus_connection_get_guid ()">g_dbus_connection_get_guid</a> <span class="c_punctuation">()</span>
|
211
211
|
</td>
|
212
212
|
</tr>
|
213
213
|
<tr>
|
214
|
-
<td class="function_type">const <a href="../glib
|
214
|
+
<td class="function_type">const <a href="../glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
215
215
|
</td>
|
216
216
|
<td class="function_name">
|
217
217
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-get-unique-name" title="g_dbus_connection_get_unique_name ()">g_dbus_connection_get_unique_name</a> <span class="c_punctuation">()</span>
|
@@ -235,7 +235,7 @@
|
|
235
235
|
</tr>
|
236
236
|
<tr>
|
237
237
|
<td class="function_type">
|
238
|
-
<a href="../glib
|
238
|
+
<a href="../glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
|
239
239
|
</td>
|
240
240
|
<td class="function_name">
|
241
241
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-get-last-serial" title="g_dbus_connection_get_last_serial ()">g_dbus_connection_get_last_serial</a> <span class="c_punctuation">()</span>
|
@@ -251,7 +251,7 @@
|
|
251
251
|
</tr>
|
252
252
|
<tr>
|
253
253
|
<td class="function_type">
|
254
|
-
<a href="../glib
|
254
|
+
<a href="../glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
|
255
255
|
</td>
|
256
256
|
<td class="function_name">
|
257
257
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-call-finish" title="g_dbus_connection_call_finish ()">g_dbus_connection_call_finish</a> <span class="c_punctuation">()</span>
|
@@ -259,7 +259,7 @@
|
|
259
259
|
</tr>
|
260
260
|
<tr>
|
261
261
|
<td class="function_type">
|
262
|
-
<a href="../glib
|
262
|
+
<a href="../glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
|
263
263
|
</td>
|
264
264
|
<td class="function_name">
|
265
265
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-call-sync" title="g_dbus_connection_call_sync ()">g_dbus_connection_call_sync</a> <span class="c_punctuation">()</span>
|
@@ -275,7 +275,7 @@
|
|
275
275
|
</tr>
|
276
276
|
<tr>
|
277
277
|
<td class="function_type">
|
278
|
-
<a href="../glib
|
278
|
+
<a href="../glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
|
279
279
|
</td>
|
280
280
|
<td class="function_name">
|
281
281
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-call-with-unix-fd-list-finish" title="g_dbus_connection_call_with_unix_fd_list_finish ()">g_dbus_connection_call_with_unix_fd_list_finish</a> <span class="c_punctuation">()</span>
|
@@ -283,7 +283,7 @@
|
|
283
283
|
</tr>
|
284
284
|
<tr>
|
285
285
|
<td class="function_type">
|
286
|
-
<a href="../glib
|
286
|
+
<a href="../glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
|
287
287
|
</td>
|
288
288
|
<td class="function_name">
|
289
289
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-call-with-unix-fd-list-sync" title="g_dbus_connection_call_with_unix_fd_list_sync ()">g_dbus_connection_call_with_unix_fd_list_sync</a> <span class="c_punctuation">()</span>
|
@@ -291,7 +291,7 @@
|
|
291
291
|
</tr>
|
292
292
|
<tr>
|
293
293
|
<td class="function_type">
|
294
|
-
<a href="../glib
|
294
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
295
295
|
</td>
|
296
296
|
<td class="function_name">
|
297
297
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-emit-signal" title="g_dbus_connection_emit_signal ()">g_dbus_connection_emit_signal</a> <span class="c_punctuation">()</span>
|
@@ -307,7 +307,7 @@
|
|
307
307
|
</tr>
|
308
308
|
<tr>
|
309
309
|
<td class="function_type">
|
310
|
-
<a href="../glib
|
310
|
+
<a href="../glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
311
311
|
</td>
|
312
312
|
<td class="function_name">
|
313
313
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-signal-subscribe" title="g_dbus_connection_signal_subscribe ()">g_dbus_connection_signal_subscribe</a> <span class="c_punctuation">()</span>
|
@@ -323,7 +323,7 @@
|
|
323
323
|
</tr>
|
324
324
|
<tr>
|
325
325
|
<td class="function_type">
|
326
|
-
<a href="../glib
|
326
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
327
327
|
</td>
|
328
328
|
<td class="function_name">
|
329
329
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-send-message" title="g_dbus_connection_send_message ()">g_dbus_connection_send_message</a> <span class="c_punctuation">()</span>
|
@@ -363,7 +363,7 @@
|
|
363
363
|
</tr>
|
364
364
|
<tr>
|
365
365
|
<td class="function_type">
|
366
|
-
<a href="../glib
|
366
|
+
<a href="../glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
367
367
|
</td>
|
368
368
|
<td class="function_name">
|
369
369
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-add-filter" title="g_dbus_connection_add_filter ()">g_dbus_connection_add_filter</a> <span class="c_punctuation">()</span>
|
@@ -387,7 +387,7 @@
|
|
387
387
|
</tr>
|
388
388
|
<tr>
|
389
389
|
<td class="function_type">
|
390
|
-
<a href="../glib
|
390
|
+
<a href="../glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
|
391
391
|
</td>
|
392
392
|
<td class="function_name">
|
393
393
|
<span class="c_punctuation">(</span><a class="link" href="GDBusConnection.html#GDBusInterfaceGetPropertyFunc" title="GDBusInterfaceGetPropertyFunc ()">*GDBusInterfaceGetPropertyFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
|
@@ -395,7 +395,7 @@
|
|
395
395
|
</tr>
|
396
396
|
<tr>
|
397
397
|
<td class="function_type">
|
398
|
-
<a href="../glib
|
398
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
399
399
|
</td>
|
400
400
|
<td class="function_name">
|
401
401
|
<span class="c_punctuation">(</span><a class="link" href="GDBusConnection.html#GDBusInterfaceSetPropertyFunc" title="GDBusInterfaceSetPropertyFunc ()">*GDBusInterfaceSetPropertyFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
|
@@ -403,7 +403,7 @@
|
|
403
403
|
</tr>
|
404
404
|
<tr>
|
405
405
|
<td class="function_type">
|
406
|
-
<a href="../glib
|
406
|
+
<a href="../glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
407
407
|
</td>
|
408
408
|
<td class="function_name">
|
409
409
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-register-object" title="g_dbus_connection_register_object ()">g_dbus_connection_register_object</a> <span class="c_punctuation">()</span>
|
@@ -411,7 +411,7 @@
|
|
411
411
|
</tr>
|
412
412
|
<tr>
|
413
413
|
<td class="function_type">
|
414
|
-
<a href="../glib
|
414
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
415
415
|
</td>
|
416
416
|
<td class="function_name">
|
417
417
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-unregister-object" title="g_dbus_connection_unregister_object ()">g_dbus_connection_unregister_object</a> <span class="c_punctuation">()</span>
|
@@ -419,7 +419,7 @@
|
|
419
419
|
</tr>
|
420
420
|
<tr>
|
421
421
|
<td class="function_type">
|
422
|
-
<a href="../glib
|
422
|
+
<a href="../glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
423
423
|
</td>
|
424
424
|
<td class="function_name">
|
425
425
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-register-object-with-closures" title="g_dbus_connection_register_object_with_closures ()">g_dbus_connection_register_object_with_closures</a> <span class="c_punctuation">()</span>
|
@@ -427,7 +427,7 @@
|
|
427
427
|
</tr>
|
428
428
|
<tr>
|
429
429
|
<td class="function_type">
|
430
|
-
<a href="../glib
|
430
|
+
<a href="../glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
431
431
|
</td>
|
432
432
|
<td class="function_name">
|
433
433
|
<span class="c_punctuation">(</span><a class="link" href="GDBusConnection.html#GDBusSubtreeEnumerateFunc" title="GDBusSubtreeEnumerateFunc ()">*GDBusSubtreeEnumerateFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
|
@@ -450,7 +450,7 @@
|
|
450
450
|
</tr>
|
451
451
|
<tr>
|
452
452
|
<td class="function_type">
|
453
|
-
<a href="../glib
|
453
|
+
<a href="../glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
454
454
|
</td>
|
455
455
|
<td class="function_name">
|
456
456
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-register-subtree" title="g_dbus_connection_register_subtree ()">g_dbus_connection_register_subtree</a> <span class="c_punctuation">()</span>
|
@@ -458,7 +458,7 @@
|
|
458
458
|
</tr>
|
459
459
|
<tr>
|
460
460
|
<td class="function_type">
|
461
|
-
<a href="../glib
|
461
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
462
462
|
</td>
|
463
463
|
<td class="function_name">
|
464
464
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-unregister-subtree" title="g_dbus_connection_unregister_subtree ()">g_dbus_connection_unregister_subtree</a> <span class="c_punctuation">()</span>
|
@@ -478,7 +478,7 @@
|
|
478
478
|
<tbody>
|
479
479
|
<tr>
|
480
480
|
<td class="property_type">
|
481
|
-
<a href="../glib
|
481
|
+
<a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
482
482
|
<td class="property_name"><a class="link" href="GDBusConnection.html#GDBusConnection--address" title="The “address” property">address</a></td>
|
483
483
|
<td class="property_flags">Write / Construct Only</td>
|
484
484
|
</tr>
|
@@ -494,12 +494,12 @@
|
|
494
494
|
<td class="property_flags">Read</td>
|
495
495
|
</tr>
|
496
496
|
<tr>
|
497
|
-
<td class="property_type"><a href="../glib
|
497
|
+
<td class="property_type"><a href="../glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
498
498
|
<td class="property_name"><a class="link" href="GDBusConnection.html#GDBusConnection--closed" title="The “closed” property">closed</a></td>
|
499
499
|
<td class="property_flags">Read</td>
|
500
500
|
</tr>
|
501
501
|
<tr>
|
502
|
-
<td class="property_type"><a href="../glib
|
502
|
+
<td class="property_type"><a href="../glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
503
503
|
<td class="property_name"><a class="link" href="GDBusConnection.html#GDBusConnection--exit-on-close" title="The “exit-on-close” property">exit-on-close</a></td>
|
504
504
|
<td class="property_flags">Read / Write</td>
|
505
505
|
</tr>
|
@@ -510,7 +510,7 @@
|
|
510
510
|
</tr>
|
511
511
|
<tr>
|
512
512
|
<td class="property_type">
|
513
|
-
<a href="../glib
|
513
|
+
<a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
514
514
|
<td class="property_name"><a class="link" href="GDBusConnection.html#GDBusConnection--guid" title="The “guid” property">guid</a></td>
|
515
515
|
<td class="property_flags">Read / Write / Construct Only</td>
|
516
516
|
</tr>
|
@@ -522,7 +522,7 @@
|
|
522
522
|
</tr>
|
523
523
|
<tr>
|
524
524
|
<td class="property_type">
|
525
|
-
<a href="../glib
|
525
|
+
<a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
526
526
|
<td class="property_name"><a class="link" href="GDBusConnection.html#GDBusConnection--unique-name" title="The “unique-name” property">unique-name</a></td>
|
527
527
|
<td class="property_flags">Read</td>
|
528
528
|
</tr>
|
@@ -540,7 +540,7 @@
|
|
540
540
|
<tbody><tr>
|
541
541
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
542
542
|
<td class="signal_name"><a class="link" href="GDBusConnection.html#GDBusConnection-closed" title="The “closed” signal">closed</a></td>
|
543
|
-
<td class="signal_flags"><a href="../gobject
|
543
|
+
<td class="signal_flags"><a href="../gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
544
544
|
</tr></tbody>
|
545
545
|
</table></div>
|
546
546
|
</div>
|
@@ -597,7 +597,7 @@
|
|
597
597
|
</div>
|
598
598
|
<div class="refsect1">
|
599
599
|
<a name="GDBusConnection.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
600
|
-
<pre class="screen"> <a href="../gobject
|
600
|
+
<pre class="screen"> <a href="../gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
601
601
|
<span class="lineart">╰──</span> GDBusConnection
|
602
602
|
</pre>
|
603
603
|
</div>
|
@@ -632,13 +632,13 @@ initialized connection. Language bindings for GIO should use
|
|
632
632
|
<a class="link" href="GInitable.html#g-initable-new" title="g_initable_new ()"><code class="function">g_initable_new()</code></a> or <a class="link" href="GAsyncInitable.html#g-async-initable-new-async" title="g_async_initable_new_async ()"><code class="function">g_async_initable_new_async()</code></a>, which also initialize the
|
633
633
|
connection.</p>
|
634
634
|
<p>If you construct an uninitialized <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a>, such as via
|
635
|
-
<a href="../gobject
|
635
|
+
<a href="../gobject-The-Base-Object-Type.html#g-object-new"><code class="function">g_object_new()</code></a>, you must initialize it via <a class="link" href="GInitable.html#g-initable-init" title="g_initable_init ()"><code class="function">g_initable_init()</code></a> or
|
636
636
|
<a class="link" href="GAsyncInitable.html#g-async-initable-init-async" title="g_async_initable_init_async ()"><code class="function">g_async_initable_init_async()</code></a> before using its methods or properties.
|
637
637
|
Calling methods or accessing properties on a <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> that has not
|
638
638
|
completed initialization successfully is considered to be invalid, and leads
|
639
639
|
to undefined behaviour. In particular, if initialization fails with a
|
640
|
-
<a href="../glib
|
641
|
-
free it with <a href="../gobject
|
640
|
+
<a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, the only valid thing you can do with that <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> is to
|
641
|
+
free it with <a href="../gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
|
642
642
|
<div class="refsect3">
|
643
643
|
<a name="gdbus-server"></a><h4>An example D-Bus server</h4>
|
644
644
|
<p>Here is an example for a D-Bus server:
|
@@ -656,7 +656,7 @@ free it with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unre
|
|
656
656
|
</div>
|
657
657
|
<div class="refsect3">
|
658
658
|
<a name="gdbus-export"></a><h4>An example for exporting a GObject</h4>
|
659
|
-
<p>Here is an example for exporting a <a href="../gobject
|
659
|
+
<p>Here is an example for exporting a <a href="../gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a>:
|
660
660
|
<a class="ulink" href="https://git.gnome.org/browse/glib/tree/gio/tests/gdbus-example-export.c" target="_top">gdbus-example-export.c</a></p>
|
661
661
|
</div>
|
662
662
|
</div>
|
@@ -668,7 +668,7 @@ free it with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unre
|
|
668
668
|
g_bus_get (<em class="parameter"><code><a class="link" href="GDBusConnection.html#GBusType" title="enum GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
|
669
669
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
670
670
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
671
|
-
<em class="parameter"><code><a href="../glib
|
671
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
672
672
|
<p>Asynchronously connects to the message bus specified by <em class="parameter"><code>bus_type</code></em>
|
673
673
|
.</p>
|
674
674
|
<p>When the operation is finished, <em class="parameter"><code>callback</code></em>
|
@@ -677,7 +677,7 @@ then call <a class="link" href="GDBusConnection.html#g-bus-get-finish" title="g_
|
|
677
677
|
<p>This is a asynchronous failable function. See <a class="link" href="GDBusConnection.html#g-bus-get-sync" title="g_bus_get_sync ()"><code class="function">g_bus_get_sync()</code></a> for
|
678
678
|
the synchronous version.</p>
|
679
679
|
<div class="refsect3">
|
680
|
-
<a name="
|
680
|
+
<a name="g-bus-get.parameters"></a><h4>Parameters</h4>
|
681
681
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
682
682
|
<colgroup>
|
683
683
|
<col width="150px" class="parameters_name">
|
@@ -692,7 +692,7 @@ the synchronous version.</p>
|
|
692
692
|
</tr>
|
693
693
|
<tr>
|
694
694
|
<td class="parameter_name"><p>cancellable</p></td>
|
695
|
-
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib
|
695
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
696
696
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
697
697
|
</tr>
|
698
698
|
<tr>
|
@@ -716,7 +716,7 @@ the synchronous version.</p>
|
|
716
716
|
<a name="g-bus-get-finish"></a><h3>g_bus_get_finish ()</h3>
|
717
717
|
<pre class="programlisting"><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="returnvalue">GDBusConnection</span></a> *
|
718
718
|
g_bus_get_finish (<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *res</code></em>,
|
719
|
-
<em class="parameter"><code><a href="../glib
|
719
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
720
720
|
<p>Finishes an operation started with <a class="link" href="GDBusConnection.html#g-bus-get" title="g_bus_get ()"><code class="function">g_bus_get()</code></a>.</p>
|
721
721
|
<p>The returned object is a singleton, that is, shared with other
|
722
722
|
callers of <a class="link" href="GDBusConnection.html#g-bus-get" title="g_bus_get ()"><code class="function">g_bus_get()</code></a> and <a class="link" href="GDBusConnection.html#g-bus-get-sync" title="g_bus_get_sync ()"><code class="function">g_bus_get_sync()</code></a> for <em class="parameter"><code>bus_type</code></em>
|
@@ -725,9 +725,9 @@ event that you need a private message bus connection, use
|
|
725
725
|
<a class="link" href="gio-D-Bus-Addresses.html#g-dbus-address-get-for-bus-sync" title="g_dbus_address_get_for_bus_sync ()"><code class="function">g_dbus_address_get_for_bus_sync()</code></a> and
|
726
726
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-new-for-address" title="g_dbus_connection_new_for_address ()"><code class="function">g_dbus_connection_new_for_address()</code></a>.</p>
|
727
727
|
<p>Note that the returned <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> object will (usually) have
|
728
|
-
the <a class="link" href="GDBusConnection.html#GDBusConnection--exit-on-close" title="The “exit-on-close” property"><span class="type">“exit-on-close”</span></a> property set to <a href="../glib
|
728
|
+
the <a class="link" href="GDBusConnection.html#GDBusConnection--exit-on-close" title="The “exit-on-close” property"><span class="type">“exit-on-close”</span></a> property set to <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
|
729
729
|
<div class="refsect3">
|
730
|
-
<a name="
|
730
|
+
<a name="g-bus-get-finish.parameters"></a><h4>Parameters</h4>
|
731
731
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
732
732
|
<colgroup>
|
733
733
|
<col width="150px" class="parameters_name">
|
@@ -743,17 +743,17 @@ to <a class="link" href="GDBusConnection.html#g-bus-get" title="g_bus_get ()"><
|
|
743
743
|
</tr>
|
744
744
|
<tr>
|
745
745
|
<td class="parameter_name"><p>error</p></td>
|
746
|
-
<td class="parameter_description"><p>return location for error or <a href="../glib
|
746
|
+
<td class="parameter_description"><p>return location for error or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
747
747
|
<td class="parameter_annotations"> </td>
|
748
748
|
</tr>
|
749
749
|
</tbody>
|
750
750
|
</table></div>
|
751
751
|
</div>
|
752
752
|
<div class="refsect3">
|
753
|
-
<a name="
|
754
|
-
<p> a <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> or <a href="../glib
|
753
|
+
<a name="g-bus-get-finish.returns"></a><h4>Returns</h4>
|
754
|
+
<p> a <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
|
755
755
|
is set.
|
756
|
-
Free with <a href="../gobject
|
756
|
+
Free with <a href="../gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
|
757
757
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
758
758
|
</div>
|
759
759
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
@@ -764,7 +764,7 @@ Free with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">
|
|
764
764
|
<pre class="programlisting"><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="returnvalue">GDBusConnection</span></a> *
|
765
765
|
g_bus_get_sync (<em class="parameter"><code><a class="link" href="GDBusConnection.html#GBusType" title="enum GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
|
766
766
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
767
|
-
<em class="parameter"><code><a href="../glib
|
767
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
768
768
|
<p>Synchronously connects to the message bus specified by <em class="parameter"><code>bus_type</code></em>
|
769
769
|
.
|
770
770
|
Note that the returned object may shared with other callers,
|
@@ -780,9 +780,9 @@ event that you need a private message bus connection, use
|
|
780
780
|
<a class="link" href="gio-D-Bus-Addresses.html#g-dbus-address-get-for-bus-sync" title="g_dbus_address_get_for_bus_sync ()"><code class="function">g_dbus_address_get_for_bus_sync()</code></a> and
|
781
781
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-new-for-address" title="g_dbus_connection_new_for_address ()"><code class="function">g_dbus_connection_new_for_address()</code></a>.</p>
|
782
782
|
<p>Note that the returned <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> object will (usually) have
|
783
|
-
the <a class="link" href="GDBusConnection.html#GDBusConnection--exit-on-close" title="The “exit-on-close” property"><span class="type">“exit-on-close”</span></a> property set to <a href="../glib
|
783
|
+
the <a class="link" href="GDBusConnection.html#GDBusConnection--exit-on-close" title="The “exit-on-close” property"><span class="type">“exit-on-close”</span></a> property set to <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
|
784
784
|
<div class="refsect3">
|
785
|
-
<a name="
|
785
|
+
<a name="g-bus-get-sync.parameters"></a><h4>Parameters</h4>
|
786
786
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
787
787
|
<colgroup>
|
788
788
|
<col width="150px" class="parameters_name">
|
@@ -797,22 +797,22 @@ the <a class="link" href="GDBusConnection.html#GDBusConnection--exit-on-close" t
|
|
797
797
|
</tr>
|
798
798
|
<tr>
|
799
799
|
<td class="parameter_name"><p>cancellable</p></td>
|
800
|
-
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib
|
800
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
801
801
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
802
802
|
</tr>
|
803
803
|
<tr>
|
804
804
|
<td class="parameter_name"><p>error</p></td>
|
805
|
-
<td class="parameter_description"><p>return location for error or <a href="../glib
|
805
|
+
<td class="parameter_description"><p>return location for error or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
806
806
|
<td class="parameter_annotations"> </td>
|
807
807
|
</tr>
|
808
808
|
</tbody>
|
809
809
|
</table></div>
|
810
810
|
</div>
|
811
811
|
<div class="refsect3">
|
812
|
-
<a name="
|
813
|
-
<p> a <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> or <a href="../glib
|
812
|
+
<a name="g-bus-get-sync.returns"></a><h4>Returns</h4>
|
813
|
+
<p> a <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
|
814
814
|
is set.
|
815
|
-
Free with <a href="../gobject
|
815
|
+
Free with <a href="../gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
|
816
816
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
817
817
|
</div>
|
818
818
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
@@ -822,12 +822,12 @@ Free with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">
|
|
822
822
|
<a name="g-dbus-connection-new"></a><h3>g_dbus_connection_new ()</h3>
|
823
823
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
824
824
|
g_dbus_connection_new (<em class="parameter"><code><a class="link" href="GIOStream.html" title="GIOStream"><span class="type">GIOStream</span></a> *stream</code></em>,
|
825
|
-
<em class="parameter"><code>const <a href="../glib
|
825
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *guid</code></em>,
|
826
826
|
<em class="parameter"><code><a class="link" href="GDBusConnection.html#GDBusConnectionFlags" title="enum GDBusConnectionFlags"><span class="type">GDBusConnectionFlags</span></a> flags</code></em>,
|
827
827
|
<em class="parameter"><code><a class="link" href="GDBusAuthObserver.html" title="GDBusAuthObserver"><span class="type">GDBusAuthObserver</span></a> *observer</code></em>,
|
828
828
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
829
829
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
830
|
-
<em class="parameter"><code><a href="../glib
|
830
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
831
831
|
<p>Asynchronously sets up a D-Bus connection for exchanging D-Bus messages
|
832
832
|
with the end represented by <em class="parameter"><code>stream</code></em>
|
833
833
|
.</p>
|
@@ -838,9 +838,9 @@ will be put into non-blocking mode.</p>
|
|
838
838
|
from a worker thread.
|
839
839
|
As a result, the caller should not interact with <em class="parameter"><code>stream</code></em>
|
840
840
|
after this
|
841
|
-
method has been called, except by calling <a href="../gobject
|
841
|
+
method has been called, except by calling <a href="../gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> on it.</p>
|
842
842
|
<p>If <em class="parameter"><code>observer</code></em>
|
843
|
-
is not <a href="../glib
|
843
|
+
is not <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> it may be used to control the
|
844
844
|
authentication process.</p>
|
845
845
|
<p>When the operation is finished, <em class="parameter"><code>callback</code></em>
|
846
846
|
will be invoked. You can
|
@@ -850,7 +850,7 @@ operation.</p>
|
|
850
850
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-new-sync" title="g_dbus_connection_new_sync ()"><code class="function">g_dbus_connection_new_sync()</code></a> for the synchronous
|
851
851
|
version.</p>
|
852
852
|
<div class="refsect3">
|
853
|
-
<a name="
|
853
|
+
<a name="g-dbus-connection-new.parameters"></a><h4>Parameters</h4>
|
854
854
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
855
855
|
<colgroup>
|
856
856
|
<col width="150px" class="parameters_name">
|
@@ -865,7 +865,7 @@ version.</p>
|
|
865
865
|
</tr>
|
866
866
|
<tr>
|
867
867
|
<td class="parameter_name"><p>guid</p></td>
|
868
|
-
<td class="parameter_description"><p> the GUID to use if a authenticating as a server or <a href="../glib
|
868
|
+
<td class="parameter_description"><p> the GUID to use if a authenticating as a server or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
869
869
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
870
870
|
</tr>
|
871
871
|
<tr>
|
@@ -875,12 +875,12 @@ version.</p>
|
|
875
875
|
</tr>
|
876
876
|
<tr>
|
877
877
|
<td class="parameter_name"><p>observer</p></td>
|
878
|
-
<td class="parameter_description"><p> a <a class="link" href="GDBusAuthObserver.html" title="GDBusAuthObserver"><span class="type">GDBusAuthObserver</span></a> or <a href="../glib
|
878
|
+
<td class="parameter_description"><p> a <a class="link" href="GDBusAuthObserver.html" title="GDBusAuthObserver"><span class="type">GDBusAuthObserver</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
879
879
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
880
880
|
</tr>
|
881
881
|
<tr>
|
882
882
|
<td class="parameter_name"><p>cancellable</p></td>
|
883
|
-
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib
|
883
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
884
884
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
885
885
|
</tr>
|
886
886
|
<tr>
|
@@ -904,10 +904,10 @@ version.</p>
|
|
904
904
|
<a name="g-dbus-connection-new-finish"></a><h3>g_dbus_connection_new_finish ()</h3>
|
905
905
|
<pre class="programlisting"><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="returnvalue">GDBusConnection</span></a> *
|
906
906
|
g_dbus_connection_new_finish (<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *res</code></em>,
|
907
|
-
<em class="parameter"><code><a href="../glib
|
907
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
908
908
|
<p>Finishes an operation started with <a class="link" href="GDBusConnection.html#g-dbus-connection-new" title="g_dbus_connection_new ()"><code class="function">g_dbus_connection_new()</code></a>.</p>
|
909
909
|
<div class="refsect3">
|
910
|
-
<a name="
|
910
|
+
<a name="g-dbus-connection-new-finish.parameters"></a><h4>Parameters</h4>
|
911
911
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
912
912
|
<colgroup>
|
913
913
|
<col width="150px" class="parameters_name">
|
@@ -923,17 +923,17 @@ passed to <a class="link" href="GDBusConnection.html#g-dbus-connection-new" titl
|
|
923
923
|
</tr>
|
924
924
|
<tr>
|
925
925
|
<td class="parameter_name"><p>error</p></td>
|
926
|
-
<td class="parameter_description"><p>return location for error or <a href="../glib
|
926
|
+
<td class="parameter_description"><p>return location for error or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
927
927
|
<td class="parameter_annotations"> </td>
|
928
928
|
</tr>
|
929
929
|
</tbody>
|
930
930
|
</table></div>
|
931
931
|
</div>
|
932
932
|
<div class="refsect3">
|
933
|
-
<a name="
|
934
|
-
<p> a <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> or <a href="../glib
|
933
|
+
<a name="g-dbus-connection-new-finish.returns"></a><h4>Returns</h4>
|
934
|
+
<p> a <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
|
935
935
|
is set. Free
|
936
|
-
with <a href="../gobject
|
936
|
+
with <a href="../gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
|
937
937
|
</div>
|
938
938
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
939
939
|
</div>
|
@@ -942,11 +942,11 @@ with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code
|
|
942
942
|
<a name="g-dbus-connection-new-sync"></a><h3>g_dbus_connection_new_sync ()</h3>
|
943
943
|
<pre class="programlisting"><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="returnvalue">GDBusConnection</span></a> *
|
944
944
|
g_dbus_connection_new_sync (<em class="parameter"><code><a class="link" href="GIOStream.html" title="GIOStream"><span class="type">GIOStream</span></a> *stream</code></em>,
|
945
|
-
<em class="parameter"><code>const <a href="../glib
|
945
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *guid</code></em>,
|
946
946
|
<em class="parameter"><code><a class="link" href="GDBusConnection.html#GDBusConnectionFlags" title="enum GDBusConnectionFlags"><span class="type">GDBusConnectionFlags</span></a> flags</code></em>,
|
947
947
|
<em class="parameter"><code><a class="link" href="GDBusAuthObserver.html" title="GDBusAuthObserver"><span class="type">GDBusAuthObserver</span></a> *observer</code></em>,
|
948
948
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
949
|
-
<em class="parameter"><code><a href="../glib
|
949
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
950
950
|
<p>Synchronously sets up a D-Bus connection for exchanging D-Bus messages
|
951
951
|
with the end represented by <em class="parameter"><code>stream</code></em>
|
952
952
|
.</p>
|
@@ -957,14 +957,14 @@ will be put into non-blocking mode.</p>
|
|
957
957
|
from a worker thread.
|
958
958
|
As a result, the caller should not interact with <em class="parameter"><code>stream</code></em>
|
959
959
|
after this
|
960
|
-
method has been called, except by calling <a href="../gobject
|
960
|
+
method has been called, except by calling <a href="../gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> on it.</p>
|
961
961
|
<p>If <em class="parameter"><code>observer</code></em>
|
962
|
-
is not <a href="../glib
|
962
|
+
is not <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> it may be used to control the
|
963
963
|
authentication process.</p>
|
964
964
|
<p>This is a synchronous failable constructor. See
|
965
965
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-new" title="g_dbus_connection_new ()"><code class="function">g_dbus_connection_new()</code></a> for the asynchronous version.</p>
|
966
966
|
<div class="refsect3">
|
967
|
-
<a name="
|
967
|
+
<a name="g-dbus-connection-new-sync.parameters"></a><h4>Parameters</h4>
|
968
968
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
969
969
|
<colgroup>
|
970
970
|
<col width="150px" class="parameters_name">
|
@@ -979,7 +979,7 @@ authentication process.</p>
|
|
979
979
|
</tr>
|
980
980
|
<tr>
|
981
981
|
<td class="parameter_name"><p>guid</p></td>
|
982
|
-
<td class="parameter_description"><p> the GUID to use if a authenticating as a server or <a href="../glib
|
982
|
+
<td class="parameter_description"><p> the GUID to use if a authenticating as a server or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
983
983
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
984
984
|
</tr>
|
985
985
|
<tr>
|
@@ -989,26 +989,26 @@ authentication process.</p>
|
|
989
989
|
</tr>
|
990
990
|
<tr>
|
991
991
|
<td class="parameter_name"><p>observer</p></td>
|
992
|
-
<td class="parameter_description"><p> a <a class="link" href="GDBusAuthObserver.html" title="GDBusAuthObserver"><span class="type">GDBusAuthObserver</span></a> or <a href="../glib
|
992
|
+
<td class="parameter_description"><p> a <a class="link" href="GDBusAuthObserver.html" title="GDBusAuthObserver"><span class="type">GDBusAuthObserver</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
993
993
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
994
994
|
</tr>
|
995
995
|
<tr>
|
996
996
|
<td class="parameter_name"><p>cancellable</p></td>
|
997
|
-
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib
|
997
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
998
998
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
999
999
|
</tr>
|
1000
1000
|
<tr>
|
1001
1001
|
<td class="parameter_name"><p>error</p></td>
|
1002
|
-
<td class="parameter_description"><p>return location for error or <a href="../glib
|
1002
|
+
<td class="parameter_description"><p>return location for error or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
1003
1003
|
<td class="parameter_annotations"> </td>
|
1004
1004
|
</tr>
|
1005
1005
|
</tbody>
|
1006
1006
|
</table></div>
|
1007
1007
|
</div>
|
1008
1008
|
<div class="refsect3">
|
1009
|
-
<a name="
|
1010
|
-
<p> a <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> or <a href="../glib
|
1011
|
-
is set. Free with <a href="../gobject
|
1009
|
+
<a name="g-dbus-connection-new-sync.returns"></a><h4>Returns</h4>
|
1010
|
+
<p> a <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
|
1011
|
+
is set. Free with <a href="../gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
|
1012
1012
|
</div>
|
1013
1013
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
1014
1014
|
</div>
|
@@ -1016,12 +1016,12 @@ is set. Free with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object
|
|
1016
1016
|
<div class="refsect2">
|
1017
1017
|
<a name="g-dbus-connection-new-for-address"></a><h3>g_dbus_connection_new_for_address ()</h3>
|
1018
1018
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1019
|
-
g_dbus_connection_new_for_address (<em class="parameter"><code>const <a href="../glib
|
1019
|
+
g_dbus_connection_new_for_address (<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *address</code></em>,
|
1020
1020
|
<em class="parameter"><code><a class="link" href="GDBusConnection.html#GDBusConnectionFlags" title="enum GDBusConnectionFlags"><span class="type">GDBusConnectionFlags</span></a> flags</code></em>,
|
1021
1021
|
<em class="parameter"><code><a class="link" href="GDBusAuthObserver.html" title="GDBusAuthObserver"><span class="type">GDBusAuthObserver</span></a> *observer</code></em>,
|
1022
1022
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1023
1023
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
1024
|
-
<em class="parameter"><code><a href="../glib
|
1024
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
1025
1025
|
<p>Asynchronously connects and sets up a D-Bus client connection for
|
1026
1026
|
exchanging D-Bus messages with an endpoint specified by <em class="parameter"><code>address</code></em>
|
1027
1027
|
|
@@ -1037,13 +1037,13 @@ server. In particular, <em class="parameter"><code>flags</code></em>
|
|
1037
1037
|
then call <a class="link" href="GDBusConnection.html#g-dbus-connection-new-finish" title="g_dbus_connection_new_finish ()"><code class="function">g_dbus_connection_new_finish()</code></a> to get the result of the
|
1038
1038
|
operation.</p>
|
1039
1039
|
<p>If <em class="parameter"><code>observer</code></em>
|
1040
|
-
is not <a href="../glib
|
1040
|
+
is not <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> it may be used to control the
|
1041
1041
|
authentication process.</p>
|
1042
1042
|
<p>This is a asynchronous failable constructor. See
|
1043
1043
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-new-for-address-sync" title="g_dbus_connection_new_for_address_sync ()"><code class="function">g_dbus_connection_new_for_address_sync()</code></a> for the synchronous
|
1044
1044
|
version.</p>
|
1045
1045
|
<div class="refsect3">
|
1046
|
-
<a name="
|
1046
|
+
<a name="g-dbus-connection-new-for-address.parameters"></a><h4>Parameters</h4>
|
1047
1047
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1048
1048
|
<colgroup>
|
1049
1049
|
<col width="150px" class="parameters_name">
|
@@ -1063,12 +1063,12 @@ version.</p>
|
|
1063
1063
|
</tr>
|
1064
1064
|
<tr>
|
1065
1065
|
<td class="parameter_name"><p>observer</p></td>
|
1066
|
-
<td class="parameter_description"><p> a <a class="link" href="GDBusAuthObserver.html" title="GDBusAuthObserver"><span class="type">GDBusAuthObserver</span></a> or <a href="../glib
|
1066
|
+
<td class="parameter_description"><p> a <a class="link" href="GDBusAuthObserver.html" title="GDBusAuthObserver"><span class="type">GDBusAuthObserver</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1067
1067
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1068
1068
|
</tr>
|
1069
1069
|
<tr>
|
1070
1070
|
<td class="parameter_name"><p>cancellable</p></td>
|
1071
|
-
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib
|
1071
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1072
1072
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1073
1073
|
</tr>
|
1074
1074
|
<tr>
|
@@ -1093,10 +1093,10 @@ version.</p>
|
|
1093
1093
|
<pre class="programlisting"><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="returnvalue">GDBusConnection</span></a> *
|
1094
1094
|
g_dbus_connection_new_for_address_finish
|
1095
1095
|
(<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *res</code></em>,
|
1096
|
-
<em class="parameter"><code><a href="../glib
|
1096
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1097
1097
|
<p>Finishes an operation started with <a class="link" href="GDBusConnection.html#g-dbus-connection-new-for-address" title="g_dbus_connection_new_for_address ()"><code class="function">g_dbus_connection_new_for_address()</code></a>.</p>
|
1098
1098
|
<div class="refsect3">
|
1099
|
-
<a name="
|
1099
|
+
<a name="g-dbus-connection-new-for-address-finish.parameters"></a><h4>Parameters</h4>
|
1100
1100
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1101
1101
|
<colgroup>
|
1102
1102
|
<col width="150px" class="parameters_name">
|
@@ -1112,17 +1112,17 @@ to <a class="link" href="GDBusConnection.html#g-dbus-connection-new" title="g_db
|
|
1112
1112
|
</tr>
|
1113
1113
|
<tr>
|
1114
1114
|
<td class="parameter_name"><p>error</p></td>
|
1115
|
-
<td class="parameter_description"><p>return location for error or <a href="../glib
|
1115
|
+
<td class="parameter_description"><p>return location for error or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
1116
1116
|
<td class="parameter_annotations"> </td>
|
1117
1117
|
</tr>
|
1118
1118
|
</tbody>
|
1119
1119
|
</table></div>
|
1120
1120
|
</div>
|
1121
1121
|
<div class="refsect3">
|
1122
|
-
<a name="
|
1123
|
-
<p> a <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> or <a href="../glib
|
1122
|
+
<a name="g-dbus-connection-new-for-address-finish.returns"></a><h4>Returns</h4>
|
1123
|
+
<p> a <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
|
1124
1124
|
is set. Free with
|
1125
|
-
<a href="../gobject
|
1125
|
+
<a href="../gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
|
1126
1126
|
</div>
|
1127
1127
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
1128
1128
|
</div>
|
@@ -1131,11 +1131,11 @@ is set. Free with
|
|
1131
1131
|
<a name="g-dbus-connection-new-for-address-sync"></a><h3>g_dbus_connection_new_for_address_sync ()</h3>
|
1132
1132
|
<pre class="programlisting"><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="returnvalue">GDBusConnection</span></a> *
|
1133
1133
|
g_dbus_connection_new_for_address_sync
|
1134
|
-
(<em class="parameter"><code>const <a href="../glib
|
1134
|
+
(<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *address</code></em>,
|
1135
1135
|
<em class="parameter"><code><a class="link" href="GDBusConnection.html#GDBusConnectionFlags" title="enum GDBusConnectionFlags"><span class="type">GDBusConnectionFlags</span></a> flags</code></em>,
|
1136
1136
|
<em class="parameter"><code><a class="link" href="GDBusAuthObserver.html" title="GDBusAuthObserver"><span class="type">GDBusAuthObserver</span></a> *observer</code></em>,
|
1137
1137
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1138
|
-
<em class="parameter"><code><a href="../glib
|
1138
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1139
1139
|
<p>Synchronously connects and sets up a D-Bus client connection for
|
1140
1140
|
exchanging D-Bus messages with an endpoint specified by <em class="parameter"><code>address</code></em>
|
1141
1141
|
|
@@ -1149,10 +1149,10 @@ as the server. In particular, <em class="parameter"><code>flags</code></em>
|
|
1149
1149
|
<p>This is a synchronous failable constructor. See
|
1150
1150
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-new-for-address" title="g_dbus_connection_new_for_address ()"><code class="function">g_dbus_connection_new_for_address()</code></a> for the asynchronous version.</p>
|
1151
1151
|
<p>If <em class="parameter"><code>observer</code></em>
|
1152
|
-
is not <a href="../glib
|
1152
|
+
is not <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> it may be used to control the
|
1153
1153
|
authentication process.</p>
|
1154
1154
|
<div class="refsect3">
|
1155
|
-
<a name="
|
1155
|
+
<a name="g-dbus-connection-new-for-address-sync.parameters"></a><h4>Parameters</h4>
|
1156
1156
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1157
1157
|
<colgroup>
|
1158
1158
|
<col width="150px" class="parameters_name">
|
@@ -1172,27 +1172,27 @@ authentication process.</p>
|
|
1172
1172
|
</tr>
|
1173
1173
|
<tr>
|
1174
1174
|
<td class="parameter_name"><p>observer</p></td>
|
1175
|
-
<td class="parameter_description"><p> a <a class="link" href="GDBusAuthObserver.html" title="GDBusAuthObserver"><span class="type">GDBusAuthObserver</span></a> or <a href="../glib
|
1175
|
+
<td class="parameter_description"><p> a <a class="link" href="GDBusAuthObserver.html" title="GDBusAuthObserver"><span class="type">GDBusAuthObserver</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1176
1176
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1177
1177
|
</tr>
|
1178
1178
|
<tr>
|
1179
1179
|
<td class="parameter_name"><p>cancellable</p></td>
|
1180
|
-
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib
|
1180
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1181
1181
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1182
1182
|
</tr>
|
1183
1183
|
<tr>
|
1184
1184
|
<td class="parameter_name"><p>error</p></td>
|
1185
|
-
<td class="parameter_description"><p>return location for error or <a href="../glib
|
1185
|
+
<td class="parameter_description"><p>return location for error or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
1186
1186
|
<td class="parameter_annotations"> </td>
|
1187
1187
|
</tr>
|
1188
1188
|
</tbody>
|
1189
1189
|
</table></div>
|
1190
1190
|
</div>
|
1191
1191
|
<div class="refsect3">
|
1192
|
-
<a name="
|
1193
|
-
<p> a <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> or <a href="../glib
|
1192
|
+
<a name="g-dbus-connection-new-for-address-sync.returns"></a><h4>Returns</h4>
|
1193
|
+
<p> a <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
|
1194
1194
|
is set. Free with
|
1195
|
-
<a href="../gobject
|
1195
|
+
<a href="../gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
|
1196
1196
|
</div>
|
1197
1197
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
1198
1198
|
</div>
|
@@ -1209,7 +1209,7 @@ starts processing messages. Does nothing on if <em class="parameter"><code>conne
|
|
1209
1209
|
wasn't
|
1210
1210
|
created with this flag or if the method has already been called.</p>
|
1211
1211
|
<div class="refsect3">
|
1212
|
-
<a name="
|
1212
|
+
<a name="g-dbus-connection-start-message-processing.parameters"></a><h4>Parameters</h4>
|
1213
1213
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1214
1214
|
<colgroup>
|
1215
1215
|
<col width="150px" class="parameters_name">
|
@@ -1232,7 +1232,7 @@ created with this flag or if the method has already been called.</p>
|
|
1232
1232
|
g_dbus_connection_close (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
1233
1233
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1234
1234
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
1235
|
-
<em class="parameter"><code><a href="../glib
|
1235
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
1236
1236
|
<p>Closes <em class="parameter"><code>connection</code></em>
|
1237
1237
|
. Note that this never causes the process to
|
1238
1238
|
exit (this might only happen if the other end of a shared message
|
@@ -1247,19 +1247,19 @@ be lost. Use <a class="link" href="GDBusConnection.html#g-dbus-connection-flush"
|
|
1247
1247
|
<p>When <em class="parameter"><code>connection</code></em>
|
1248
1248
|
has been closed, the <a class="link" href="GDBusConnection.html#GDBusConnection-closed" title="The “closed” signal"><span class="type">“closed”</span></a>
|
1249
1249
|
signal is emitted in the
|
1250
|
-
<a href="../glib
|
1250
|
+
<a href="../glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main context</a>
|
1251
1251
|
of the thread that <em class="parameter"><code>connection</code></em>
|
1252
1252
|
was constructed in.</p>
|
1253
1253
|
<p>This is an asynchronous method. When the operation is finished,
|
1254
1254
|
<em class="parameter"><code>callback</code></em>
|
1255
1255
|
will be invoked in the
|
1256
|
-
<a href="../glib
|
1256
|
+
<a href="../glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main context</a>
|
1257
1257
|
of the thread you are calling this method from. You can
|
1258
1258
|
then call <a class="link" href="GDBusConnection.html#g-dbus-connection-close-finish" title="g_dbus_connection_close_finish ()"><code class="function">g_dbus_connection_close_finish()</code></a> to get the result of the
|
1259
1259
|
operation. See <a class="link" href="GDBusConnection.html#g-dbus-connection-close-sync" title="g_dbus_connection_close_sync ()"><code class="function">g_dbus_connection_close_sync()</code></a> for the synchronous
|
1260
1260
|
version.</p>
|
1261
1261
|
<div class="refsect3">
|
1262
|
-
<a name="
|
1262
|
+
<a name="g-dbus-connection-close.parameters"></a><h4>Parameters</h4>
|
1263
1263
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1264
1264
|
<colgroup>
|
1265
1265
|
<col width="150px" class="parameters_name">
|
@@ -1274,13 +1274,13 @@ version.</p>
|
|
1274
1274
|
</tr>
|
1275
1275
|
<tr>
|
1276
1276
|
<td class="parameter_name"><p>cancellable</p></td>
|
1277
|
-
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib
|
1277
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1278
1278
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1279
1279
|
</tr>
|
1280
1280
|
<tr>
|
1281
1281
|
<td class="parameter_name"><p>callback</p></td>
|
1282
1282
|
<td class="parameter_description"><p> a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> to call when the request is
|
1283
|
-
satisfied or <a href="../glib
|
1283
|
+
satisfied or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if you don't care about the result. </p></td>
|
1284
1284
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1285
1285
|
</tr>
|
1286
1286
|
<tr>
|
@@ -1297,13 +1297,13 @@ satisfied or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="
|
|
1297
1297
|
<hr>
|
1298
1298
|
<div class="refsect2">
|
1299
1299
|
<a name="g-dbus-connection-close-finish"></a><h3>g_dbus_connection_close_finish ()</h3>
|
1300
|
-
<pre class="programlisting"><a href="../glib
|
1300
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1301
1301
|
g_dbus_connection_close_finish (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
1302
1302
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *res</code></em>,
|
1303
|
-
<em class="parameter"><code><a href="../glib
|
1303
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1304
1304
|
<p>Finishes an operation started with <a class="link" href="GDBusConnection.html#g-dbus-connection-close" title="g_dbus_connection_close ()"><code class="function">g_dbus_connection_close()</code></a>.</p>
|
1305
1305
|
<div class="refsect3">
|
1306
|
-
<a name="
|
1306
|
+
<a name="g-dbus-connection-close-finish.parameters"></a><h4>Parameters</h4>
|
1307
1307
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1308
1308
|
<colgroup>
|
1309
1309
|
<col width="150px" class="parameters_name">
|
@@ -1324,15 +1324,15 @@ to <a class="link" href="GDBusConnection.html#g-dbus-connection-close" title="g_
|
|
1324
1324
|
</tr>
|
1325
1325
|
<tr>
|
1326
1326
|
<td class="parameter_name"><p>error</p></td>
|
1327
|
-
<td class="parameter_description"><p>return location for error or <a href="../glib
|
1327
|
+
<td class="parameter_description"><p>return location for error or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
1328
1328
|
<td class="parameter_annotations"> </td>
|
1329
1329
|
</tr>
|
1330
1330
|
</tbody>
|
1331
1331
|
</table></div>
|
1332
1332
|
</div>
|
1333
1333
|
<div class="refsect3">
|
1334
|
-
<a name="
|
1335
|
-
<p> <a href="../glib
|
1334
|
+
<a name="g-dbus-connection-close-finish.returns"></a><h4>Returns</h4>
|
1335
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the operation succeeded, <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>error</code></em>
|
1336
1336
|
is set</p>
|
1337
1337
|
</div>
|
1338
1338
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
@@ -1340,17 +1340,17 @@ is set</p>
|
|
1340
1340
|
<hr>
|
1341
1341
|
<div class="refsect2">
|
1342
1342
|
<a name="g-dbus-connection-close-sync"></a><h3>g_dbus_connection_close_sync ()</h3>
|
1343
|
-
<pre class="programlisting"><a href="../glib
|
1343
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1344
1344
|
g_dbus_connection_close_sync (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
1345
1345
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1346
|
-
<em class="parameter"><code><a href="../glib
|
1346
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1347
1347
|
<p>Synchronously closees <em class="parameter"><code>connection</code></em>
|
1348
1348
|
. The calling thread is blocked
|
1349
1349
|
until this is done. See <a class="link" href="GDBusConnection.html#g-dbus-connection-close" title="g_dbus_connection_close ()"><code class="function">g_dbus_connection_close()</code></a> for the
|
1350
1350
|
asynchronous version of this method and more details about what it
|
1351
1351
|
does.</p>
|
1352
1352
|
<div class="refsect3">
|
1353
|
-
<a name="
|
1353
|
+
<a name="g-dbus-connection-close-sync.parameters"></a><h4>Parameters</h4>
|
1354
1354
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1355
1355
|
<colgroup>
|
1356
1356
|
<col width="150px" class="parameters_name">
|
@@ -1365,20 +1365,20 @@ does.</p>
|
|
1365
1365
|
</tr>
|
1366
1366
|
<tr>
|
1367
1367
|
<td class="parameter_name"><p>cancellable</p></td>
|
1368
|
-
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib
|
1368
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1369
1369
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1370
1370
|
</tr>
|
1371
1371
|
<tr>
|
1372
1372
|
<td class="parameter_name"><p>error</p></td>
|
1373
|
-
<td class="parameter_description"><p>return location for error or <a href="../glib
|
1373
|
+
<td class="parameter_description"><p>return location for error or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
1374
1374
|
<td class="parameter_annotations"> </td>
|
1375
1375
|
</tr>
|
1376
1376
|
</tbody>
|
1377
1377
|
</table></div>
|
1378
1378
|
</div>
|
1379
1379
|
<div class="refsect3">
|
1380
|
-
<a name="
|
1381
|
-
<p> <a href="../glib
|
1380
|
+
<a name="g-dbus-connection-close-sync.returns"></a><h4>Returns</h4>
|
1381
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the operation succeeded, <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>error</code></em>
|
1382
1382
|
is set</p>
|
1383
1383
|
</div>
|
1384
1384
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
@@ -1386,12 +1386,12 @@ is set</p>
|
|
1386
1386
|
<hr>
|
1387
1387
|
<div class="refsect2">
|
1388
1388
|
<a name="g-dbus-connection-is-closed"></a><h3>g_dbus_connection_is_closed ()</h3>
|
1389
|
-
<pre class="programlisting"><a href="../glib
|
1389
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1390
1390
|
g_dbus_connection_is_closed (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>);</pre>
|
1391
1391
|
<p>Gets whether <em class="parameter"><code>connection</code></em>
|
1392
1392
|
is closed.</p>
|
1393
1393
|
<div class="refsect3">
|
1394
|
-
<a name="
|
1394
|
+
<a name="g-dbus-connection-is-closed.parameters"></a><h4>Parameters</h4>
|
1395
1395
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1396
1396
|
<colgroup>
|
1397
1397
|
<col width="150px" class="parameters_name">
|
@@ -1406,8 +1406,8 @@ g_dbus_connection_is_closed (<em class="parameter"><code><a class="link" href="G
|
|
1406
1406
|
</table></div>
|
1407
1407
|
</div>
|
1408
1408
|
<div class="refsect3">
|
1409
|
-
<a name="
|
1410
|
-
<p> <a href="../glib
|
1409
|
+
<a name="g-dbus-connection-is-closed.returns"></a><h4>Returns</h4>
|
1410
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the connection is closed, <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
1411
1411
|
</div>
|
1412
1412
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
1413
1413
|
</div>
|
@@ -1418,7 +1418,7 @@ g_dbus_connection_is_closed (<em class="parameter"><code><a class="link" href="G
|
|
1418
1418
|
g_dbus_connection_flush (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
1419
1419
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1420
1420
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
1421
|
-
<em class="parameter"><code><a href="../glib
|
1421
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
1422
1422
|
<p>Asynchronously flushes <em class="parameter"><code>connection</code></em>
|
1423
1423
|
, that is, writes all queued
|
1424
1424
|
outgoing message to the transport and then flushes the transport
|
@@ -1429,13 +1429,13 @@ been sent to the networking buffers in the OS kernel.</p>
|
|
1429
1429
|
<p>This is an asynchronous method. When the operation is finished,
|
1430
1430
|
<em class="parameter"><code>callback</code></em>
|
1431
1431
|
will be invoked in the
|
1432
|
-
<a href="../glib
|
1432
|
+
<a href="../glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main context</a>
|
1433
1433
|
of the thread you are calling this method from. You can
|
1434
1434
|
then call <a class="link" href="GDBusConnection.html#g-dbus-connection-flush-finish" title="g_dbus_connection_flush_finish ()"><code class="function">g_dbus_connection_flush_finish()</code></a> to get the result of the
|
1435
1435
|
operation. See <a class="link" href="GDBusConnection.html#g-dbus-connection-flush-sync" title="g_dbus_connection_flush_sync ()"><code class="function">g_dbus_connection_flush_sync()</code></a> for the synchronous
|
1436
1436
|
version.</p>
|
1437
1437
|
<div class="refsect3">
|
1438
|
-
<a name="
|
1438
|
+
<a name="g-dbus-connection-flush.parameters"></a><h4>Parameters</h4>
|
1439
1439
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1440
1440
|
<colgroup>
|
1441
1441
|
<col width="150px" class="parameters_name">
|
@@ -1450,13 +1450,13 @@ version.</p>
|
|
1450
1450
|
</tr>
|
1451
1451
|
<tr>
|
1452
1452
|
<td class="parameter_name"><p>cancellable</p></td>
|
1453
|
-
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib
|
1453
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1454
1454
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1455
1455
|
</tr>
|
1456
1456
|
<tr>
|
1457
1457
|
<td class="parameter_name"><p>callback</p></td>
|
1458
1458
|
<td class="parameter_description"><p> a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> to call when the
|
1459
|
-
request is satisfied or <a href="../glib
|
1459
|
+
request is satisfied or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if you don't care about the result. </p></td>
|
1460
1460
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1461
1461
|
</tr>
|
1462
1462
|
<tr>
|
@@ -1473,13 +1473,13 @@ request is satisfied or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><c
|
|
1473
1473
|
<hr>
|
1474
1474
|
<div class="refsect2">
|
1475
1475
|
<a name="g-dbus-connection-flush-finish"></a><h3>g_dbus_connection_flush_finish ()</h3>
|
1476
|
-
<pre class="programlisting"><a href="../glib
|
1476
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1477
1477
|
g_dbus_connection_flush_finish (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
1478
1478
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *res</code></em>,
|
1479
|
-
<em class="parameter"><code><a href="../glib
|
1479
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1480
1480
|
<p>Finishes an operation started with <a class="link" href="GDBusConnection.html#g-dbus-connection-flush" title="g_dbus_connection_flush ()"><code class="function">g_dbus_connection_flush()</code></a>.</p>
|
1481
1481
|
<div class="refsect3">
|
1482
|
-
<a name="
|
1482
|
+
<a name="g-dbus-connection-flush-finish.parameters"></a><h4>Parameters</h4>
|
1483
1483
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1484
1484
|
<colgroup>
|
1485
1485
|
<col width="150px" class="parameters_name">
|
@@ -1500,15 +1500,15 @@ to <a class="link" href="GDBusConnection.html#g-dbus-connection-flush" title="g_
|
|
1500
1500
|
</tr>
|
1501
1501
|
<tr>
|
1502
1502
|
<td class="parameter_name"><p>error</p></td>
|
1503
|
-
<td class="parameter_description"><p>return location for error or <a href="../glib
|
1503
|
+
<td class="parameter_description"><p>return location for error or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
1504
1504
|
<td class="parameter_annotations"> </td>
|
1505
1505
|
</tr>
|
1506
1506
|
</tbody>
|
1507
1507
|
</table></div>
|
1508
1508
|
</div>
|
1509
1509
|
<div class="refsect3">
|
1510
|
-
<a name="
|
1511
|
-
<p> <a href="../glib
|
1510
|
+
<a name="g-dbus-connection-flush-finish.returns"></a><h4>Returns</h4>
|
1511
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the operation succeeded, <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>error</code></em>
|
1512
1512
|
is set</p>
|
1513
1513
|
</div>
|
1514
1514
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
@@ -1516,17 +1516,17 @@ is set</p>
|
|
1516
1516
|
<hr>
|
1517
1517
|
<div class="refsect2">
|
1518
1518
|
<a name="g-dbus-connection-flush-sync"></a><h3>g_dbus_connection_flush_sync ()</h3>
|
1519
|
-
<pre class="programlisting"><a href="../glib
|
1519
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1520
1520
|
g_dbus_connection_flush_sync (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
1521
1521
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1522
|
-
<em class="parameter"><code><a href="../glib
|
1522
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1523
1523
|
<p>Synchronously flushes <em class="parameter"><code>connection</code></em>
|
1524
1524
|
. The calling thread is blocked
|
1525
1525
|
until this is done. See <a class="link" href="GDBusConnection.html#g-dbus-connection-flush" title="g_dbus_connection_flush ()"><code class="function">g_dbus_connection_flush()</code></a> for the
|
1526
1526
|
asynchronous version of this method and more details about what it
|
1527
1527
|
does.</p>
|
1528
1528
|
<div class="refsect3">
|
1529
|
-
<a name="
|
1529
|
+
<a name="g-dbus-connection-flush-sync.parameters"></a><h4>Parameters</h4>
|
1530
1530
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1531
1531
|
<colgroup>
|
1532
1532
|
<col width="150px" class="parameters_name">
|
@@ -1541,20 +1541,20 @@ does.</p>
|
|
1541
1541
|
</tr>
|
1542
1542
|
<tr>
|
1543
1543
|
<td class="parameter_name"><p>cancellable</p></td>
|
1544
|
-
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib
|
1544
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1545
1545
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1546
1546
|
</tr>
|
1547
1547
|
<tr>
|
1548
1548
|
<td class="parameter_name"><p>error</p></td>
|
1549
|
-
<td class="parameter_description"><p>return location for error or <a href="../glib
|
1549
|
+
<td class="parameter_description"><p>return location for error or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
1550
1550
|
<td class="parameter_annotations"> </td>
|
1551
1551
|
</tr>
|
1552
1552
|
</tbody>
|
1553
1553
|
</table></div>
|
1554
1554
|
</div>
|
1555
1555
|
<div class="refsect3">
|
1556
|
-
<a name="
|
1557
|
-
<p> <a href="../glib
|
1556
|
+
<a name="g-dbus-connection-flush-sync.returns"></a><h4>Returns</h4>
|
1557
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the operation succeeded, <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>error</code></em>
|
1558
1558
|
is set</p>
|
1559
1559
|
</div>
|
1560
1560
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
@@ -1562,14 +1562,14 @@ is set</p>
|
|
1562
1562
|
<hr>
|
1563
1563
|
<div class="refsect2">
|
1564
1564
|
<a name="g-dbus-connection-get-exit-on-close"></a><h3>g_dbus_connection_get_exit_on_close ()</h3>
|
1565
|
-
<pre class="programlisting"><a href="../glib
|
1565
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1566
1566
|
g_dbus_connection_get_exit_on_close (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>);</pre>
|
1567
1567
|
<p>Gets whether the process is terminated when <em class="parameter"><code>connection</code></em>
|
1568
1568
|
is
|
1569
1569
|
closed by the remote peer. See
|
1570
1570
|
<a class="link" href="GDBusConnection.html#GDBusConnection--exit-on-close" title="The “exit-on-close” property"><span class="type">“exit-on-close”</span></a> for more details.</p>
|
1571
1571
|
<div class="refsect3">
|
1572
|
-
<a name="
|
1572
|
+
<a name="g-dbus-connection-get-exit-on-close.parameters"></a><h4>Parameters</h4>
|
1573
1573
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1574
1574
|
<colgroup>
|
1575
1575
|
<col width="150px" class="parameters_name">
|
@@ -1584,7 +1584,7 @@ closed by the remote peer. See
|
|
1584
1584
|
</table></div>
|
1585
1585
|
</div>
|
1586
1586
|
<div class="refsect3">
|
1587
|
-
<a name="
|
1587
|
+
<a name="g-dbus-connection-get-exit-on-close.returns"></a><h4>Returns</h4>
|
1588
1588
|
<p> whether the process is terminated when <em class="parameter"><code>connection</code></em>
|
1589
1589
|
is
|
1590
1590
|
closed by the remote peer</p>
|
@@ -1596,7 +1596,7 @@ closed by the remote peer</p>
|
|
1596
1596
|
<a name="g-dbus-connection-set-exit-on-close"></a><h3>g_dbus_connection_set_exit_on_close ()</h3>
|
1597
1597
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1598
1598
|
g_dbus_connection_set_exit_on_close (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
1599
|
-
<em class="parameter"><code><a href="../glib
|
1599
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> exit_on_close</code></em>);</pre>
|
1600
1600
|
<p>Sets whether the process should be terminated when <em class="parameter"><code>connection</code></em>
|
1601
1601
|
is
|
1602
1602
|
closed by the remote peer. See <a class="link" href="GDBusConnection.html#GDBusConnection--exit-on-close" title="The “exit-on-close” property"><span class="type">“exit-on-close”</span></a> for
|
@@ -1605,11 +1605,11 @@ more details.</p>
|
|
1605
1605
|
desktops tie the notion of a user session the session bus, and expect
|
1606
1606
|
all of a users applications to quit when their bus connection goes away.
|
1607
1607
|
If you are setting <em class="parameter"><code>exit_on_close</code></em>
|
1608
|
-
to <a href="../glib
|
1608
|
+
to <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> for the shared session
|
1609
1609
|
bus connection, you should make sure that your application exits
|
1610
1610
|
when the user session ends.</p>
|
1611
1611
|
<div class="refsect3">
|
1612
|
-
<a name="
|
1612
|
+
<a name="g-dbus-connection-set-exit-on-close.parameters"></a><h4>Parameters</h4>
|
1613
1613
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1614
1614
|
<colgroup>
|
1615
1615
|
<col width="150px" class="parameters_name">
|
@@ -1644,7 +1644,7 @@ g_dbus_connection_get_stream (<em class="parameter"><code><a class="link" href="
|
|
1644
1644
|
stream from a worker thread, so it is not safe to interact with
|
1645
1645
|
the stream directly.</p>
|
1646
1646
|
<div class="refsect3">
|
1647
|
-
<a name="
|
1647
|
+
<a name="g-dbus-connection-get-stream.parameters"></a><h4>Parameters</h4>
|
1648
1648
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1649
1649
|
<colgroup>
|
1650
1650
|
<col width="150px" class="parameters_name">
|
@@ -1659,7 +1659,7 @@ the stream directly.</p>
|
|
1659
1659
|
</table></div>
|
1660
1660
|
</div>
|
1661
1661
|
<div class="refsect3">
|
1662
|
-
<a name="
|
1662
|
+
<a name="g-dbus-connection-get-stream.returns"></a><h4>Returns</h4>
|
1663
1663
|
<p> the stream used for IO. </p>
|
1664
1664
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1665
1665
|
</div>
|
@@ -1668,12 +1668,12 @@ the stream directly.</p>
|
|
1668
1668
|
<hr>
|
1669
1669
|
<div class="refsect2">
|
1670
1670
|
<a name="g-dbus-connection-get-guid"></a><h3>g_dbus_connection_get_guid ()</h3>
|
1671
|
-
<pre class="programlisting">const <a href="../glib
|
1671
|
+
<pre class="programlisting">const <a href="../glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
1672
1672
|
g_dbus_connection_get_guid (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>);</pre>
|
1673
1673
|
<p>The GUID of the peer performing the role of server when
|
1674
1674
|
authenticating. See <a class="link" href="GDBusConnection.html#GDBusConnection--guid" title="The “guid” property"><span class="type">“guid”</span></a> for more details.</p>
|
1675
1675
|
<div class="refsect3">
|
1676
|
-
<a name="
|
1676
|
+
<a name="g-dbus-connection-get-guid.parameters"></a><h4>Parameters</h4>
|
1677
1677
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1678
1678
|
<colgroup>
|
1679
1679
|
<col width="150px" class="parameters_name">
|
@@ -1688,7 +1688,7 @@ authenticating. See <a class="link" href="GDBusConnection.html#GDBusConnection--
|
|
1688
1688
|
</table></div>
|
1689
1689
|
</div>
|
1690
1690
|
<div class="refsect3">
|
1691
|
-
<a name="
|
1691
|
+
<a name="g-dbus-connection-get-guid.returns"></a><h4>Returns</h4>
|
1692
1692
|
<p> The GUID. Do not free this string, it is owned by
|
1693
1693
|
<em class="parameter"><code>connection</code></em>
|
1694
1694
|
.</p>
|
@@ -1698,7 +1698,7 @@ authenticating. See <a class="link" href="GDBusConnection.html#GDBusConnection--
|
|
1698
1698
|
<hr>
|
1699
1699
|
<div class="refsect2">
|
1700
1700
|
<a name="g-dbus-connection-get-unique-name"></a><h3>g_dbus_connection_get_unique_name ()</h3>
|
1701
|
-
<pre class="programlisting">const <a href="../glib
|
1701
|
+
<pre class="programlisting">const <a href="../glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
1702
1702
|
g_dbus_connection_get_unique_name (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>);</pre>
|
1703
1703
|
<p>Gets the unique name of <em class="parameter"><code>connection</code></em>
|
1704
1704
|
as assigned by the message
|
@@ -1706,7 +1706,7 @@ bus. This can also be used to figure out if <em class="parameter"><code>connecti
|
|
1706
1706
|
is a
|
1707
1707
|
message bus connection.</p>
|
1708
1708
|
<div class="refsect3">
|
1709
|
-
<a name="
|
1709
|
+
<a name="g-dbus-connection-get-unique-name.parameters"></a><h4>Parameters</h4>
|
1710
1710
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1711
1711
|
<colgroup>
|
1712
1712
|
<col width="150px" class="parameters_name">
|
@@ -1721,8 +1721,8 @@ message bus connection.</p>
|
|
1721
1721
|
</table></div>
|
1722
1722
|
</div>
|
1723
1723
|
<div class="refsect3">
|
1724
|
-
<a name="
|
1725
|
-
<p> the unique name or <a href="../glib
|
1724
|
+
<a name="g-dbus-connection-get-unique-name.returns"></a><h4>Returns</h4>
|
1725
|
+
<p> the unique name or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>connection</code></em>
|
1726
1726
|
is not a message
|
1727
1727
|
bus connection. Do not free this string, it is owned by
|
1728
1728
|
<em class="parameter"><code>connection</code></em>
|
@@ -1737,7 +1737,7 @@ bus connection. Do not free this string, it is owned by
|
|
1737
1737
|
g_dbus_connection_get_capabilities (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>);</pre>
|
1738
1738
|
<p>Gets the capabilities negotiated with the remote peer</p>
|
1739
1739
|
<div class="refsect3">
|
1740
|
-
<a name="
|
1740
|
+
<a name="g-dbus-connection-get-capabilities.parameters"></a><h4>Parameters</h4>
|
1741
1741
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1742
1742
|
<colgroup>
|
1743
1743
|
<col width="150px" class="parameters_name">
|
@@ -1752,7 +1752,7 @@ g_dbus_connection_get_capabilities (<em class="parameter"><code><a class="link"
|
|
1752
1752
|
</table></div>
|
1753
1753
|
</div>
|
1754
1754
|
<div class="refsect3">
|
1755
|
-
<a name="
|
1755
|
+
<a name="g-dbus-connection-get-capabilities.returns"></a><h4>Returns</h4>
|
1756
1756
|
<p> zero or more flags from the <a class="link" href="GDBusConnection.html#GDBusCapabilityFlags" title="enum GDBusCapabilityFlags"><span class="type">GDBusCapabilityFlags</span></a> enumeration</p>
|
1757
1757
|
</div>
|
1758
1758
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
@@ -1764,16 +1764,16 @@ g_dbus_connection_get_capabilities (<em class="parameter"><code><a class="link"
|
|
1764
1764
|
g_dbus_connection_get_peer_credentials
|
1765
1765
|
(<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>);</pre>
|
1766
1766
|
<p>Gets the credentials of the authenticated peer. This will always
|
1767
|
-
return <a href="../glib
|
1767
|
+
return <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> unless <em class="parameter"><code>connection</code></em>
|
1768
1768
|
acted as a server
|
1769
1769
|
(e.g. <a class="link" href="GDBusConnection.html#G-DBUS-CONNECTION-FLAGS-AUTHENTICATION-SERVER:CAPS"><code class="literal">G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_SERVER</code></a> was passed)
|
1770
1770
|
when set up and the client passed credentials as part of the
|
1771
1771
|
authentication process.</p>
|
1772
1772
|
<p>In a message bus setup, the message bus is always the server and
|
1773
1773
|
each application is a client. So this method will always return
|
1774
|
-
<a href="../glib
|
1774
|
+
<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for message bus clients.</p>
|
1775
1775
|
<div class="refsect3">
|
1776
|
-
<a name="
|
1776
|
+
<a name="g-dbus-connection-get-peer-credentials.parameters"></a><h4>Parameters</h4>
|
1777
1777
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1778
1778
|
<colgroup>
|
1779
1779
|
<col width="150px" class="parameters_name">
|
@@ -1788,8 +1788,8 @@ each application is a client. So this method will always return
|
|
1788
1788
|
</table></div>
|
1789
1789
|
</div>
|
1790
1790
|
<div class="refsect3">
|
1791
|
-
<a name="
|
1792
|
-
<p> a <a class="link" href="GCredentials.html" title="GCredentials"><span class="type">GCredentials</span></a> or <a href="../glib
|
1791
|
+
<a name="g-dbus-connection-get-peer-credentials.returns"></a><h4>Returns</h4>
|
1792
|
+
<p> a <a class="link" href="GCredentials.html" title="GCredentials"><span class="type">GCredentials</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not
|
1793
1793
|
available. Do not free this object, it is owned by <em class="parameter"><code>connection</code></em>
|
1794
1794
|
. </p>
|
1795
1795
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
@@ -1799,7 +1799,7 @@ available. Do not free this object, it is owned by <em class="parameter"><code>c
|
|
1799
1799
|
<hr>
|
1800
1800
|
<div class="refsect2">
|
1801
1801
|
<a name="g-dbus-connection-get-last-serial"></a><h3>g_dbus_connection_get_last_serial ()</h3>
|
1802
|
-
<pre class="programlisting"><a href="../glib
|
1802
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
|
1803
1803
|
g_dbus_connection_get_last_serial (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>);</pre>
|
1804
1804
|
<p>Retrieves the last serial number assigned to a <a class="link" href="GDBusMessage.html" title="GDBusMessage"><span class="type">GDBusMessage</span></a> on
|
1805
1805
|
the current thread. This includes messages sent via both low-level
|
@@ -1807,7 +1807,7 @@ API such as <a class="link" href="GDBusConnection.html#g-dbus-connection-send-me
|
|
1807
1807
|
high-level API such as <a class="link" href="GDBusConnection.html#g-dbus-connection-emit-signal" title="g_dbus_connection_emit_signal ()"><code class="function">g_dbus_connection_emit_signal()</code></a>,
|
1808
1808
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-call" title="g_dbus_connection_call ()"><code class="function">g_dbus_connection_call()</code></a> or <a class="link" href="GDBusProxy.html#g-dbus-proxy-call" title="g_dbus_proxy_call ()"><code class="function">g_dbus_proxy_call()</code></a>.</p>
|
1809
1809
|
<div class="refsect3">
|
1810
|
-
<a name="
|
1810
|
+
<a name="g-dbus-connection-get-last-serial.parameters"></a><h4>Parameters</h4>
|
1811
1811
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1812
1812
|
<colgroup>
|
1813
1813
|
<col width="150px" class="parameters_name">
|
@@ -1822,7 +1822,7 @@ high-level API such as <a class="link" href="GDBusConnection.html#g-dbus-connect
|
|
1822
1822
|
</table></div>
|
1823
1823
|
</div>
|
1824
1824
|
<div class="refsect3">
|
1825
|
-
<a name="
|
1825
|
+
<a name="g-dbus-connection-get-last-serial.returns"></a><h4>Returns</h4>
|
1826
1826
|
<p> the last used serial or zero when no message has been sent
|
1827
1827
|
within the current thread</p>
|
1828
1828
|
</div>
|
@@ -1833,17 +1833,17 @@ within the current thread</p>
|
|
1833
1833
|
<a name="g-dbus-connection-call"></a><h3>g_dbus_connection_call ()</h3>
|
1834
1834
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1835
1835
|
g_dbus_connection_call (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
1836
|
-
<em class="parameter"><code>const <a href="../glib
|
1837
|
-
<em class="parameter"><code>const <a href="../glib
|
1838
|
-
<em class="parameter"><code>const <a href="../glib
|
1839
|
-
<em class="parameter"><code>const <a href="../glib
|
1840
|
-
<em class="parameter"><code><a href="../glib
|
1841
|
-
<em class="parameter"><code>const <a href="../glib
|
1836
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *bus_name</code></em>,
|
1837
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
|
1838
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *interface_name</code></em>,
|
1839
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *method_name</code></em>,
|
1840
|
+
<em class="parameter"><code><a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *parameters</code></em>,
|
1841
|
+
<em class="parameter"><code>const <a href="../glib-GVariantType.html#GVariantType"><span class="type">GVariantType</span></a> *reply_type</code></em>,
|
1842
1842
|
<em class="parameter"><code><a class="link" href="GDBusConnection.html#GDBusCallFlags" title="enum GDBusCallFlags"><span class="type">GDBusCallFlags</span></a> flags</code></em>,
|
1843
|
-
<em class="parameter"><code><a href="../glib
|
1843
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_msec</code></em>,
|
1844
1844
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1845
1845
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
1846
|
-
<em class="parameter"><code><a href="../glib
|
1846
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
1847
1847
|
<p>Asynchronously invokes the <em class="parameter"><code>method_name</code></em>
|
1848
1848
|
method on the
|
1849
1849
|
<em class="parameter"><code>interface_name</code></em>
|
@@ -1860,13 +1860,13 @@ fail with <a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><co
|
|
1860
1860
|
not compatible with the D-Bus protocol, the operation fails with
|
1861
1861
|
<a class="link" href="gio-GIOError.html#G-IO-ERROR-INVALID-ARGUMENT:CAPS"><code class="literal">G_IO_ERROR_INVALID_ARGUMENT</code></a>.</p>
|
1862
1862
|
<p>If <em class="parameter"><code>reply_type</code></em>
|
1863
|
-
is non-<a href="../glib
|
1863
|
+
is non-<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then the reply will be checked for having this type and an
|
1864
1864
|
error will be raised if it does not match. Said another way, if you give a <em class="parameter"><code>reply_type</code></em>
|
1865
1865
|
|
1866
|
-
then any non-<a href="../glib
|
1866
|
+
then any non-<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> return value will be of this type.</p>
|
1867
1867
|
<p>If the <em class="parameter"><code>parameters</code></em>
|
1868
|
-
<a href="../glib
|
1869
|
-
convenient 'inline' use of <a href="../glib
|
1868
|
+
<a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> is floating, it is consumed. This allows
|
1869
|
+
convenient 'inline' use of <a href="../glib-GVariant.html#g-variant-new"><code class="function">g_variant_new()</code></a>, e.g.:</p>
|
1870
1870
|
<div class="informalexample">
|
1871
1871
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1872
1872
|
<tbody>
|
@@ -1890,7 +1890,7 @@ convenient 'inline' use of <a href="../glib/glib-GVariant.html#g-variant-new"><c
|
|
1890
1890
|
<span class="string">"/org/freedesktop/StringThings"</span><span class="gtkdoc opt">,</span>
|
1891
1891
|
<span class="string">"org.freedesktop.StringThings"</span><span class="gtkdoc opt">,</span>
|
1892
1892
|
<span class="string">"TwoStrings"</span><span class="gtkdoc opt">,</span>
|
1893
|
-
<span class="function"><a href="../glib
|
1893
|
+
<span class="function"><a href="../glib-GVariant.html#g-variant-new">g_variant_new</a></span> <span class="gtkdoc opt">(</span><span class="string">"(ss)"</span><span class="gtkdoc opt">,</span>
|
1894
1894
|
<span class="string">"Thing One"</span><span class="gtkdoc opt">,</span>
|
1895
1895
|
<span class="string">"Thing Two"</span><span class="gtkdoc opt">),</span>
|
1896
1896
|
NULL<span class="gtkdoc opt">,</span>
|
@@ -1908,16 +1908,16 @@ convenient 'inline' use of <a href="../glib/glib-GVariant.html#g-variant-new"><c
|
|
1908
1908
|
<p>This is an asynchronous method. When the operation is finished,
|
1909
1909
|
<em class="parameter"><code>callback</code></em>
|
1910
1910
|
will be invoked in the
|
1911
|
-
<a href="../glib
|
1911
|
+
<a href="../glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main context</a>
|
1912
1912
|
of the thread you are calling this method from. You can then call
|
1913
1913
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-call-finish" title="g_dbus_connection_call_finish ()"><code class="function">g_dbus_connection_call_finish()</code></a> to get the result of the operation.
|
1914
1914
|
See <a class="link" href="GDBusConnection.html#g-dbus-connection-call-sync" title="g_dbus_connection_call_sync ()"><code class="function">g_dbus_connection_call_sync()</code></a> for the synchronous version of this
|
1915
1915
|
function.</p>
|
1916
1916
|
<p>If <em class="parameter"><code>callback</code></em>
|
1917
|
-
is <a href="../glib
|
1917
|
+
is <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then the D-Bus method call message will be sent with
|
1918
1918
|
the <a class="link" href="GDBusMessage.html#G-DBUS-MESSAGE-FLAGS-NO-REPLY-EXPECTED:CAPS"><code class="literal">G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED</code></a> flag set.</p>
|
1919
1919
|
<div class="refsect3">
|
1920
|
-
<a name="
|
1920
|
+
<a name="g-dbus-connection-call.parameters"></a><h4>Parameters</h4>
|
1921
1921
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1922
1922
|
<colgroup>
|
1923
1923
|
<col width="150px" class="parameters_name">
|
@@ -1932,7 +1932,7 @@ the <a class="link" href="GDBusMessage.html#G-DBUS-MESSAGE-FLAGS-NO-REPLY-EXPECT
|
|
1932
1932
|
</tr>
|
1933
1933
|
<tr>
|
1934
1934
|
<td class="parameter_name"><p>bus_name</p></td>
|
1935
|
-
<td class="parameter_description"><p> a unique or well-known bus name or <a href="../glib
|
1935
|
+
<td class="parameter_description"><p> a unique or well-known bus name or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
1936
1936
|
<em class="parameter"><code>connection</code></em>
|
1937
1937
|
is not a message bus connection. </p></td>
|
1938
1938
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
@@ -1954,13 +1954,13 @@ is not a message bus connection. </p></td>
|
|
1954
1954
|
</tr>
|
1955
1955
|
<tr>
|
1956
1956
|
<td class="parameter_name"><p>parameters</p></td>
|
1957
|
-
<td class="parameter_description"><p> a <a href="../glib
|
1958
|
-
or <a href="../glib
|
1957
|
+
<td class="parameter_description"><p> a <a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> tuple with parameters for the method
|
1958
|
+
or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not passing parameters. </p></td>
|
1959
1959
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1960
1960
|
</tr>
|
1961
1961
|
<tr>
|
1962
1962
|
<td class="parameter_name"><p>reply_type</p></td>
|
1963
|
-
<td class="parameter_description"><p> the expected type of the reply, or <a href="../glib
|
1963
|
+
<td class="parameter_description"><p> the expected type of the reply, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1964
1964
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1965
1965
|
</tr>
|
1966
1966
|
<tr>
|
@@ -1971,18 +1971,18 @@ or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">N
|
|
1971
1971
|
<tr>
|
1972
1972
|
<td class="parameter_name"><p>timeout_msec</p></td>
|
1973
1973
|
<td class="parameter_description"><p>the timeout in milliseconds, -1 to use the default
|
1974
|
-
timeout or <a href="../glib
|
1974
|
+
timeout or <a href="../glib-Basic-Types.html#G-MAXINT:CAPS"><code class="literal">G_MAXINT</code></a> for no timeout</p></td>
|
1975
1975
|
<td class="parameter_annotations"> </td>
|
1976
1976
|
</tr>
|
1977
1977
|
<tr>
|
1978
1978
|
<td class="parameter_name"><p>cancellable</p></td>
|
1979
|
-
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib
|
1979
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1980
1980
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1981
1981
|
</tr>
|
1982
1982
|
<tr>
|
1983
1983
|
<td class="parameter_name"><p>callback</p></td>
|
1984
1984
|
<td class="parameter_description"><p> a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> to call when the request
|
1985
|
-
is satisfied or <a href="../glib
|
1985
|
+
is satisfied or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if you don't care about the result of the
|
1986
1986
|
method invocation. </p></td>
|
1987
1987
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1988
1988
|
</tr>
|
@@ -2000,13 +2000,13 @@ method invocation. </p></td>
|
|
2000
2000
|
<hr>
|
2001
2001
|
<div class="refsect2">
|
2002
2002
|
<a name="g-dbus-connection-call-finish"></a><h3>g_dbus_connection_call_finish ()</h3>
|
2003
|
-
<pre class="programlisting"><a href="../glib
|
2003
|
+
<pre class="programlisting"><a href="../glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
|
2004
2004
|
g_dbus_connection_call_finish (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
2005
2005
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *res</code></em>,
|
2006
|
-
<em class="parameter"><code><a href="../glib
|
2006
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2007
2007
|
<p>Finishes an operation started with <a class="link" href="GDBusConnection.html#g-dbus-connection-call" title="g_dbus_connection_call ()"><code class="function">g_dbus_connection_call()</code></a>.</p>
|
2008
2008
|
<div class="refsect3">
|
2009
|
-
<a name="
|
2009
|
+
<a name="g-dbus-connection-call-finish.parameters"></a><h4>Parameters</h4>
|
2010
2010
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2011
2011
|
<colgroup>
|
2012
2012
|
<col width="150px" class="parameters_name">
|
@@ -2026,35 +2026,35 @@ g_dbus_connection_call_finish (<em class="parameter"><code><a class="link" href=
|
|
2026
2026
|
</tr>
|
2027
2027
|
<tr>
|
2028
2028
|
<td class="parameter_name"><p>error</p></td>
|
2029
|
-
<td class="parameter_description"><p>return location for error or <a href="../glib
|
2029
|
+
<td class="parameter_description"><p>return location for error or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
2030
2030
|
<td class="parameter_annotations"> </td>
|
2031
2031
|
</tr>
|
2032
2032
|
</tbody>
|
2033
2033
|
</table></div>
|
2034
2034
|
</div>
|
2035
2035
|
<div class="refsect3">
|
2036
|
-
<a name="
|
2037
|
-
<p> <a href="../glib
|
2038
|
-
is set. Otherwise a <a href="../glib
|
2039
|
-
return values. Free with <a href="../glib
|
2036
|
+
<a name="g-dbus-connection-call-finish.returns"></a><h4>Returns</h4>
|
2037
|
+
<p> <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
|
2038
|
+
is set. Otherwise a <a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> tuple with
|
2039
|
+
return values. Free with <a href="../glib-GVariant.html#g-variant-unref"><code class="function">g_variant_unref()</code></a>.</p>
|
2040
2040
|
</div>
|
2041
2041
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
2042
2042
|
</div>
|
2043
2043
|
<hr>
|
2044
2044
|
<div class="refsect2">
|
2045
2045
|
<a name="g-dbus-connection-call-sync"></a><h3>g_dbus_connection_call_sync ()</h3>
|
2046
|
-
<pre class="programlisting"><a href="../glib
|
2046
|
+
<pre class="programlisting"><a href="../glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
|
2047
2047
|
g_dbus_connection_call_sync (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
2048
|
-
<em class="parameter"><code>const <a href="../glib
|
2049
|
-
<em class="parameter"><code>const <a href="../glib
|
2050
|
-
<em class="parameter"><code>const <a href="../glib
|
2051
|
-
<em class="parameter"><code>const <a href="../glib
|
2052
|
-
<em class="parameter"><code><a href="../glib
|
2053
|
-
<em class="parameter"><code>const <a href="../glib
|
2048
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *bus_name</code></em>,
|
2049
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
|
2050
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *interface_name</code></em>,
|
2051
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *method_name</code></em>,
|
2052
|
+
<em class="parameter"><code><a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *parameters</code></em>,
|
2053
|
+
<em class="parameter"><code>const <a href="../glib-GVariantType.html#GVariantType"><span class="type">GVariantType</span></a> *reply_type</code></em>,
|
2054
2054
|
<em class="parameter"><code><a class="link" href="GDBusConnection.html#GDBusCallFlags" title="enum GDBusCallFlags"><span class="type">GDBusCallFlags</span></a> flags</code></em>,
|
2055
|
-
<em class="parameter"><code><a href="../glib
|
2055
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_msec</code></em>,
|
2056
2056
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
2057
|
-
<em class="parameter"><code><a href="../glib
|
2057
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2058
2058
|
<p>Synchronously invokes the <em class="parameter"><code>method_name</code></em>
|
2059
2059
|
method on the
|
2060
2060
|
<em class="parameter"><code>interface_name</code></em>
|
@@ -2071,14 +2071,14 @@ operation will fail with <a class="link" href="gio-GIOError.html#G-IO-ERROR-CANC
|
|
2071
2071
|
contains a value not compatible with the D-Bus protocol, the operation
|
2072
2072
|
fails with <a class="link" href="gio-GIOError.html#G-IO-ERROR-INVALID-ARGUMENT:CAPS"><code class="literal">G_IO_ERROR_INVALID_ARGUMENT</code></a>.</p>
|
2073
2073
|
<p>If <em class="parameter"><code>reply_type</code></em>
|
2074
|
-
is non-<a href="../glib
|
2074
|
+
is non-<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then the reply will be checked for having
|
2075
2075
|
this type and an error will be raised if it does not match. Said
|
2076
2076
|
another way, if you give a <em class="parameter"><code>reply_type</code></em>
|
2077
|
-
then any non-<a href="../glib
|
2077
|
+
then any non-<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> return
|
2078
2078
|
value will be of this type.</p>
|
2079
2079
|
<p>If the <em class="parameter"><code>parameters</code></em>
|
2080
|
-
<a href="../glib
|
2081
|
-
This allows convenient 'inline' use of <a href="../glib
|
2080
|
+
<a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> is floating, it is consumed.
|
2081
|
+
This allows convenient 'inline' use of <a href="../glib-GVariant.html#g-variant-new"><code class="function">g_variant_new()</code></a>, e.g.:</p>
|
2082
2082
|
<div class="informalexample">
|
2083
2083
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
2084
2084
|
<tbody>
|
@@ -2101,7 +2101,7 @@ This allows convenient 'inline' use of <a href="../glib/glib-GVariant.html#g-var
|
|
2101
2101
|
<span class="string">"/org/freedesktop/StringThings"</span><span class="gtkdoc opt">,</span>
|
2102
2102
|
<span class="string">"org.freedesktop.StringThings"</span><span class="gtkdoc opt">,</span>
|
2103
2103
|
<span class="string">"TwoStrings"</span><span class="gtkdoc opt">,</span>
|
2104
|
-
<span class="function"><a href="../glib
|
2104
|
+
<span class="function"><a href="../glib-GVariant.html#g-variant-new">g_variant_new</a></span> <span class="gtkdoc opt">(</span><span class="string">"(ss)"</span><span class="gtkdoc opt">,</span>
|
2105
2105
|
<span class="string">"Thing One"</span><span class="gtkdoc opt">,</span>
|
2106
2106
|
<span class="string">"Thing Two"</span><span class="gtkdoc opt">),</span>
|
2107
2107
|
NULL<span class="gtkdoc opt">,</span>
|
@@ -2119,7 +2119,7 @@ This allows convenient 'inline' use of <a href="../glib/glib-GVariant.html#g-var
|
|
2119
2119
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-call" title="g_dbus_connection_call ()"><code class="function">g_dbus_connection_call()</code></a> for the asynchronous version of
|
2120
2120
|
this method.</p>
|
2121
2121
|
<div class="refsect3">
|
2122
|
-
<a name="
|
2122
|
+
<a name="g-dbus-connection-call-sync.parameters"></a><h4>Parameters</h4>
|
2123
2123
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2124
2124
|
<colgroup>
|
2125
2125
|
<col width="150px" class="parameters_name">
|
@@ -2134,7 +2134,7 @@ this method.</p>
|
|
2134
2134
|
</tr>
|
2135
2135
|
<tr>
|
2136
2136
|
<td class="parameter_name"><p>bus_name</p></td>
|
2137
|
-
<td class="parameter_description"><p> a unique or well-known bus name or <a href="../glib
|
2137
|
+
<td class="parameter_description"><p> a unique or well-known bus name or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
2138
2138
|
<em class="parameter"><code>connection</code></em>
|
2139
2139
|
is not a message bus connection. </p></td>
|
2140
2140
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
@@ -2156,13 +2156,13 @@ is not a message bus connection. </p></td>
|
|
2156
2156
|
</tr>
|
2157
2157
|
<tr>
|
2158
2158
|
<td class="parameter_name"><p>parameters</p></td>
|
2159
|
-
<td class="parameter_description"><p> a <a href="../glib
|
2160
|
-
or <a href="../glib
|
2159
|
+
<td class="parameter_description"><p> a <a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> tuple with parameters for the method
|
2160
|
+
or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not passing parameters. </p></td>
|
2161
2161
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2162
2162
|
</tr>
|
2163
2163
|
<tr>
|
2164
2164
|
<td class="parameter_name"><p>reply_type</p></td>
|
2165
|
-
<td class="parameter_description"><p> the expected type of the reply, or <a href="../glib
|
2165
|
+
<td class="parameter_description"><p> the expected type of the reply, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2166
2166
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2167
2167
|
</tr>
|
2168
2168
|
<tr>
|
@@ -2173,27 +2173,27 @@ or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">N
|
|
2173
2173
|
<tr>
|
2174
2174
|
<td class="parameter_name"><p>timeout_msec</p></td>
|
2175
2175
|
<td class="parameter_description"><p>the timeout in milliseconds, -1 to use the default
|
2176
|
-
timeout or <a href="../glib
|
2176
|
+
timeout or <a href="../glib-Basic-Types.html#G-MAXINT:CAPS"><code class="literal">G_MAXINT</code></a> for no timeout</p></td>
|
2177
2177
|
<td class="parameter_annotations"> </td>
|
2178
2178
|
</tr>
|
2179
2179
|
<tr>
|
2180
2180
|
<td class="parameter_name"><p>cancellable</p></td>
|
2181
|
-
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib
|
2181
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2182
2182
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2183
2183
|
</tr>
|
2184
2184
|
<tr>
|
2185
2185
|
<td class="parameter_name"><p>error</p></td>
|
2186
|
-
<td class="parameter_description"><p>return location for error or <a href="../glib
|
2186
|
+
<td class="parameter_description"><p>return location for error or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
2187
2187
|
<td class="parameter_annotations"> </td>
|
2188
2188
|
</tr>
|
2189
2189
|
</tbody>
|
2190
2190
|
</table></div>
|
2191
2191
|
</div>
|
2192
2192
|
<div class="refsect3">
|
2193
|
-
<a name="
|
2194
|
-
<p> <a href="../glib
|
2195
|
-
is set. Otherwise a <a href="../glib
|
2196
|
-
return values. Free with <a href="../glib
|
2193
|
+
<a name="g-dbus-connection-call-sync.returns"></a><h4>Returns</h4>
|
2194
|
+
<p> <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
|
2195
|
+
is set. Otherwise a <a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> tuple with
|
2196
|
+
return values. Free with <a href="../glib-GVariant.html#g-variant-unref"><code class="function">g_variant_unref()</code></a>.</p>
|
2197
2197
|
</div>
|
2198
2198
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
2199
2199
|
</div>
|
@@ -2203,22 +2203,22 @@ return values. Free with <a href="../glib/glib-GVariant.html#g-variant-unref"><c
|
|
2203
2203
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2204
2204
|
g_dbus_connection_call_with_unix_fd_list
|
2205
2205
|
(<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
2206
|
-
<em class="parameter"><code>const <a href="../glib
|
2207
|
-
<em class="parameter"><code>const <a href="../glib
|
2208
|
-
<em class="parameter"><code>const <a href="../glib
|
2209
|
-
<em class="parameter"><code>const <a href="../glib
|
2210
|
-
<em class="parameter"><code><a href="../glib
|
2211
|
-
<em class="parameter"><code>const <a href="../glib
|
2206
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *bus_name</code></em>,
|
2207
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
|
2208
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *interface_name</code></em>,
|
2209
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *method_name</code></em>,
|
2210
|
+
<em class="parameter"><code><a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *parameters</code></em>,
|
2211
|
+
<em class="parameter"><code>const <a href="../glib-GVariantType.html#GVariantType"><span class="type">GVariantType</span></a> *reply_type</code></em>,
|
2212
2212
|
<em class="parameter"><code><a class="link" href="GDBusConnection.html#GDBusCallFlags" title="enum GDBusCallFlags"><span class="type">GDBusCallFlags</span></a> flags</code></em>,
|
2213
|
-
<em class="parameter"><code><a href="../glib
|
2213
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_msec</code></em>,
|
2214
2214
|
<em class="parameter"><code><a class="link" href="GUnixFDList.html" title="GUnixFDList"><span class="type">GUnixFDList</span></a> *fd_list</code></em>,
|
2215
2215
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
2216
2216
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
2217
|
-
<em class="parameter"><code><a href="../glib
|
2217
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
2218
2218
|
<p>Like <a class="link" href="GDBusConnection.html#g-dbus-connection-call" title="g_dbus_connection_call ()"><code class="function">g_dbus_connection_call()</code></a> but also takes a <a class="link" href="GUnixFDList.html" title="GUnixFDList"><span class="type">GUnixFDList</span></a> object.</p>
|
2219
2219
|
<p>This method is only available on UNIX.</p>
|
2220
2220
|
<div class="refsect3">
|
2221
|
-
<a name="
|
2221
|
+
<a name="g-dbus-connection-call-with-unix-fd-list.parameters"></a><h4>Parameters</h4>
|
2222
2222
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2223
2223
|
<colgroup>
|
2224
2224
|
<col width="150px" class="parameters_name">
|
@@ -2233,7 +2233,7 @@ g_dbus_connection_call_with_unix_fd_list
|
|
2233
2233
|
</tr>
|
2234
2234
|
<tr>
|
2235
2235
|
<td class="parameter_name"><p>bus_name</p></td>
|
2236
|
-
<td class="parameter_description"><p> a unique or well-known bus name or <a href="../glib
|
2236
|
+
<td class="parameter_description"><p> a unique or well-known bus name or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
2237
2237
|
<em class="parameter"><code>connection</code></em>
|
2238
2238
|
is not a message bus connection. </p></td>
|
2239
2239
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
@@ -2255,13 +2255,13 @@ is not a message bus connection. </p></td>
|
|
2255
2255
|
</tr>
|
2256
2256
|
<tr>
|
2257
2257
|
<td class="parameter_name"><p>parameters</p></td>
|
2258
|
-
<td class="parameter_description"><p> a <a href="../glib
|
2259
|
-
or <a href="../glib
|
2258
|
+
<td class="parameter_description"><p> a <a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> tuple with parameters for the method
|
2259
|
+
or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not passing parameters. </p></td>
|
2260
2260
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2261
2261
|
</tr>
|
2262
2262
|
<tr>
|
2263
2263
|
<td class="parameter_name"><p>reply_type</p></td>
|
2264
|
-
<td class="parameter_description"><p> the expected type of the reply, or <a href="../glib
|
2264
|
+
<td class="parameter_description"><p> the expected type of the reply, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2265
2265
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2266
2266
|
</tr>
|
2267
2267
|
<tr>
|
@@ -2272,23 +2272,23 @@ or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">N
|
|
2272
2272
|
<tr>
|
2273
2273
|
<td class="parameter_name"><p>timeout_msec</p></td>
|
2274
2274
|
<td class="parameter_description"><p>the timeout in milliseconds, -1 to use the default
|
2275
|
-
timeout or <a href="../glib
|
2275
|
+
timeout or <a href="../glib-Basic-Types.html#G-MAXINT:CAPS"><code class="literal">G_MAXINT</code></a> for no timeout</p></td>
|
2276
2276
|
<td class="parameter_annotations"> </td>
|
2277
2277
|
</tr>
|
2278
2278
|
<tr>
|
2279
2279
|
<td class="parameter_name"><p>fd_list</p></td>
|
2280
|
-
<td class="parameter_description"><p> a <a class="link" href="GUnixFDList.html" title="GUnixFDList"><span class="type">GUnixFDList</span></a> or <a href="../glib
|
2280
|
+
<td class="parameter_description"><p> a <a class="link" href="GUnixFDList.html" title="GUnixFDList"><span class="type">GUnixFDList</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2281
2281
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2282
2282
|
</tr>
|
2283
2283
|
<tr>
|
2284
2284
|
<td class="parameter_name"><p>cancellable</p></td>
|
2285
|
-
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib
|
2285
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2286
2286
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2287
2287
|
</tr>
|
2288
2288
|
<tr>
|
2289
2289
|
<td class="parameter_name"><p>callback</p></td>
|
2290
2290
|
<td class="parameter_description"><p> a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> to call when the request is
|
2291
|
-
satisfied or <a href="../glib
|
2291
|
+
satisfied or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if you don't * care about the result of the
|
2292
2292
|
method invocation. </p></td>
|
2293
2293
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2294
2294
|
</tr>
|
@@ -2306,15 +2306,15 @@ method invocation. </p></td>
|
|
2306
2306
|
<hr>
|
2307
2307
|
<div class="refsect2">
|
2308
2308
|
<a name="g-dbus-connection-call-with-unix-fd-list-finish"></a><h3>g_dbus_connection_call_with_unix_fd_list_finish ()</h3>
|
2309
|
-
<pre class="programlisting"><a href="../glib
|
2309
|
+
<pre class="programlisting"><a href="../glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
|
2310
2310
|
g_dbus_connection_call_with_unix_fd_list_finish
|
2311
2311
|
(<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
2312
2312
|
<em class="parameter"><code><a class="link" href="GUnixFDList.html" title="GUnixFDList"><span class="type">GUnixFDList</span></a> **out_fd_list</code></em>,
|
2313
2313
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *res</code></em>,
|
2314
|
-
<em class="parameter"><code><a href="../glib
|
2314
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2315
2315
|
<p>Finishes an operation started with <a class="link" href="GDBusConnection.html#g-dbus-connection-call-with-unix-fd-list" title="g_dbus_connection_call_with_unix_fd_list ()"><code class="function">g_dbus_connection_call_with_unix_fd_list()</code></a>.</p>
|
2316
2316
|
<div class="refsect3">
|
2317
|
-
<a name="
|
2317
|
+
<a name="g-dbus-connection-call-with-unix-fd-list-finish.parameters"></a><h4>Parameters</h4>
|
2318
2318
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2319
2319
|
<colgroup>
|
2320
2320
|
<col width="150px" class="parameters_name">
|
@@ -2329,7 +2329,7 @@ g_dbus_connection_call_with_unix_fd_list_finish
|
|
2329
2329
|
</tr>
|
2330
2330
|
<tr>
|
2331
2331
|
<td class="parameter_name"><p>out_fd_list</p></td>
|
2332
|
-
<td class="parameter_description"><p> return location for a <a class="link" href="GUnixFDList.html" title="GUnixFDList"><span class="type">GUnixFDList</span></a> or <a href="../glib
|
2332
|
+
<td class="parameter_description"><p> return location for a <a class="link" href="GUnixFDList.html" title="GUnixFDList"><span class="type">GUnixFDList</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2333
2333
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2334
2334
|
</tr>
|
2335
2335
|
<tr>
|
@@ -2340,42 +2340,42 @@ g_dbus_connection_call_with_unix_fd_list_finish
|
|
2340
2340
|
</tr>
|
2341
2341
|
<tr>
|
2342
2342
|
<td class="parameter_name"><p>error</p></td>
|
2343
|
-
<td class="parameter_description"><p>return location for error or <a href="../glib
|
2343
|
+
<td class="parameter_description"><p>return location for error or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
2344
2344
|
<td class="parameter_annotations"> </td>
|
2345
2345
|
</tr>
|
2346
2346
|
</tbody>
|
2347
2347
|
</table></div>
|
2348
2348
|
</div>
|
2349
2349
|
<div class="refsect3">
|
2350
|
-
<a name="
|
2351
|
-
<p> <a href="../glib
|
2352
|
-
is set. Otherwise a <a href="../glib
|
2353
|
-
return values. Free with <a href="../glib
|
2350
|
+
<a name="g-dbus-connection-call-with-unix-fd-list-finish.returns"></a><h4>Returns</h4>
|
2351
|
+
<p> <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
|
2352
|
+
is set. Otherwise a <a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> tuple with
|
2353
|
+
return values. Free with <a href="../glib-GVariant.html#g-variant-unref"><code class="function">g_variant_unref()</code></a>.</p>
|
2354
2354
|
</div>
|
2355
2355
|
<p class="since">Since: <a class="link" href="api-index-2-30.html#api-index-2.30">2.30</a></p>
|
2356
2356
|
</div>
|
2357
2357
|
<hr>
|
2358
2358
|
<div class="refsect2">
|
2359
2359
|
<a name="g-dbus-connection-call-with-unix-fd-list-sync"></a><h3>g_dbus_connection_call_with_unix_fd_list_sync ()</h3>
|
2360
|
-
<pre class="programlisting"><a href="../glib
|
2360
|
+
<pre class="programlisting"><a href="../glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
|
2361
2361
|
g_dbus_connection_call_with_unix_fd_list_sync
|
2362
2362
|
(<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
2363
|
-
<em class="parameter"><code>const <a href="../glib
|
2364
|
-
<em class="parameter"><code>const <a href="../glib
|
2365
|
-
<em class="parameter"><code>const <a href="../glib
|
2366
|
-
<em class="parameter"><code>const <a href="../glib
|
2367
|
-
<em class="parameter"><code><a href="../glib
|
2368
|
-
<em class="parameter"><code>const <a href="../glib
|
2363
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *bus_name</code></em>,
|
2364
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
|
2365
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *interface_name</code></em>,
|
2366
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *method_name</code></em>,
|
2367
|
+
<em class="parameter"><code><a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *parameters</code></em>,
|
2368
|
+
<em class="parameter"><code>const <a href="../glib-GVariantType.html#GVariantType"><span class="type">GVariantType</span></a> *reply_type</code></em>,
|
2369
2369
|
<em class="parameter"><code><a class="link" href="GDBusConnection.html#GDBusCallFlags" title="enum GDBusCallFlags"><span class="type">GDBusCallFlags</span></a> flags</code></em>,
|
2370
|
-
<em class="parameter"><code><a href="../glib
|
2370
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_msec</code></em>,
|
2371
2371
|
<em class="parameter"><code><a class="link" href="GUnixFDList.html" title="GUnixFDList"><span class="type">GUnixFDList</span></a> *fd_list</code></em>,
|
2372
2372
|
<em class="parameter"><code><a class="link" href="GUnixFDList.html" title="GUnixFDList"><span class="type">GUnixFDList</span></a> **out_fd_list</code></em>,
|
2373
2373
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
2374
|
-
<em class="parameter"><code><a href="../glib
|
2374
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2375
2375
|
<p>Like <a class="link" href="GDBusConnection.html#g-dbus-connection-call-sync" title="g_dbus_connection_call_sync ()"><code class="function">g_dbus_connection_call_sync()</code></a> but also takes and returns <a class="link" href="GUnixFDList.html" title="GUnixFDList"><span class="type">GUnixFDList</span></a> objects.</p>
|
2376
2376
|
<p>This method is only available on UNIX.</p>
|
2377
2377
|
<div class="refsect3">
|
2378
|
-
<a name="
|
2378
|
+
<a name="g-dbus-connection-call-with-unix-fd-list-sync.parameters"></a><h4>Parameters</h4>
|
2379
2379
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2380
2380
|
<colgroup>
|
2381
2381
|
<col width="150px" class="parameters_name">
|
@@ -2390,7 +2390,7 @@ g_dbus_connection_call_with_unix_fd_list_sync
|
|
2390
2390
|
</tr>
|
2391
2391
|
<tr>
|
2392
2392
|
<td class="parameter_name"><p>bus_name</p></td>
|
2393
|
-
<td class="parameter_description"><p> a unique or well-known bus name or <a href="../glib
|
2393
|
+
<td class="parameter_description"><p> a unique or well-known bus name or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
2394
2394
|
if <em class="parameter"><code>connection</code></em>
|
2395
2395
|
is not a message bus connection. </p></td>
|
2396
2396
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
@@ -2412,13 +2412,13 @@ is not a message bus connection. </p></td>
|
|
2412
2412
|
</tr>
|
2413
2413
|
<tr>
|
2414
2414
|
<td class="parameter_name"><p>parameters</p></td>
|
2415
|
-
<td class="parameter_description"><p> a <a href="../glib
|
2416
|
-
the method or <a href="../glib
|
2415
|
+
<td class="parameter_description"><p> a <a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> tuple with parameters for
|
2416
|
+
the method or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not passing parameters. </p></td>
|
2417
2417
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2418
2418
|
</tr>
|
2419
2419
|
<tr>
|
2420
2420
|
<td class="parameter_name"><p>reply_type</p></td>
|
2421
|
-
<td class="parameter_description"><p> the expected type of the reply, or <a href="../glib
|
2421
|
+
<td class="parameter_description"><p> the expected type of the reply, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2422
2422
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2423
2423
|
</tr>
|
2424
2424
|
<tr>
|
@@ -2429,57 +2429,57 @@ the method or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class=
|
|
2429
2429
|
<tr>
|
2430
2430
|
<td class="parameter_name"><p>timeout_msec</p></td>
|
2431
2431
|
<td class="parameter_description"><p>the timeout in milliseconds, -1 to use the default
|
2432
|
-
timeout or <a href="../glib
|
2432
|
+
timeout or <a href="../glib-Basic-Types.html#G-MAXINT:CAPS"><code class="literal">G_MAXINT</code></a> for no timeout</p></td>
|
2433
2433
|
<td class="parameter_annotations"> </td>
|
2434
2434
|
</tr>
|
2435
2435
|
<tr>
|
2436
2436
|
<td class="parameter_name"><p>fd_list</p></td>
|
2437
|
-
<td class="parameter_description"><p> a <a class="link" href="GUnixFDList.html" title="GUnixFDList"><span class="type">GUnixFDList</span></a> or <a href="../glib
|
2437
|
+
<td class="parameter_description"><p> a <a class="link" href="GUnixFDList.html" title="GUnixFDList"><span class="type">GUnixFDList</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2438
2438
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2439
2439
|
</tr>
|
2440
2440
|
<tr>
|
2441
2441
|
<td class="parameter_name"><p>out_fd_list</p></td>
|
2442
|
-
<td class="parameter_description"><p> return location for a <a class="link" href="GUnixFDList.html" title="GUnixFDList"><span class="type">GUnixFDList</span></a> or <a href="../glib
|
2442
|
+
<td class="parameter_description"><p> return location for a <a class="link" href="GUnixFDList.html" title="GUnixFDList"><span class="type">GUnixFDList</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2443
2443
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2444
2444
|
</tr>
|
2445
2445
|
<tr>
|
2446
2446
|
<td class="parameter_name"><p>cancellable</p></td>
|
2447
|
-
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib
|
2447
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2448
2448
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2449
2449
|
</tr>
|
2450
2450
|
<tr>
|
2451
2451
|
<td class="parameter_name"><p>error</p></td>
|
2452
|
-
<td class="parameter_description"><p>return location for error or <a href="../glib
|
2452
|
+
<td class="parameter_description"><p>return location for error or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
2453
2453
|
<td class="parameter_annotations"> </td>
|
2454
2454
|
</tr>
|
2455
2455
|
</tbody>
|
2456
2456
|
</table></div>
|
2457
2457
|
</div>
|
2458
2458
|
<div class="refsect3">
|
2459
|
-
<a name="
|
2460
|
-
<p> <a href="../glib
|
2461
|
-
is set. Otherwise a <a href="../glib
|
2462
|
-
return values. Free with <a href="../glib
|
2459
|
+
<a name="g-dbus-connection-call-with-unix-fd-list-sync.returns"></a><h4>Returns</h4>
|
2460
|
+
<p> <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
|
2461
|
+
is set. Otherwise a <a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> tuple with
|
2462
|
+
return values. Free with <a href="../glib-GVariant.html#g-variant-unref"><code class="function">g_variant_unref()</code></a>.</p>
|
2463
2463
|
</div>
|
2464
2464
|
<p class="since">Since: <a class="link" href="api-index-2-30.html#api-index-2.30">2.30</a></p>
|
2465
2465
|
</div>
|
2466
2466
|
<hr>
|
2467
2467
|
<div class="refsect2">
|
2468
2468
|
<a name="g-dbus-connection-emit-signal"></a><h3>g_dbus_connection_emit_signal ()</h3>
|
2469
|
-
<pre class="programlisting"><a href="../glib
|
2469
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2470
2470
|
g_dbus_connection_emit_signal (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
2471
|
-
<em class="parameter"><code>const <a href="../glib
|
2472
|
-
<em class="parameter"><code>const <a href="../glib
|
2473
|
-
<em class="parameter"><code>const <a href="../glib
|
2474
|
-
<em class="parameter"><code>const <a href="../glib
|
2475
|
-
<em class="parameter"><code><a href="../glib
|
2476
|
-
<em class="parameter"><code><a href="../glib
|
2471
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *destination_bus_name</code></em>,
|
2472
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
|
2473
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *interface_name</code></em>,
|
2474
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_name</code></em>,
|
2475
|
+
<em class="parameter"><code><a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *parameters</code></em>,
|
2476
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2477
2477
|
<p>Emits a signal.</p>
|
2478
2478
|
<p>If the parameters GVariant is floating, it is consumed.</p>
|
2479
2479
|
<p>This can only fail if <em class="parameter"><code>parameters</code></em>
|
2480
2480
|
is not compatible with the D-Bus protocol.</p>
|
2481
2481
|
<div class="refsect3">
|
2482
|
-
<a name="
|
2482
|
+
<a name="g-dbus-connection-emit-signal.parameters"></a><h4>Parameters</h4>
|
2483
2483
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2484
2484
|
<colgroup>
|
2485
2485
|
<col width="150px" class="parameters_name">
|
@@ -2495,7 +2495,7 @@ g_dbus_connection_emit_signal (<em class="parameter"><code><a class="link" href=
|
|
2495
2495
|
<tr>
|
2496
2496
|
<td class="parameter_name"><p>destination_bus_name</p></td>
|
2497
2497
|
<td class="parameter_description"><p> the unique bus name for the destination
|
2498
|
-
for the signal or <a href="../glib
|
2498
|
+
for the signal or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to emit to all listeners. </p></td>
|
2499
2499
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2500
2500
|
</tr>
|
2501
2501
|
<tr>
|
@@ -2515,21 +2515,21 @@ for the signal or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code cl
|
|
2515
2515
|
</tr>
|
2516
2516
|
<tr>
|
2517
2517
|
<td class="parameter_name"><p>parameters</p></td>
|
2518
|
-
<td class="parameter_description"><p> a <a href="../glib
|
2519
|
-
or <a href="../glib
|
2518
|
+
<td class="parameter_description"><p> a <a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> tuple with parameters for the signal
|
2519
|
+
or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not passing parameters. </p></td>
|
2520
2520
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2521
2521
|
</tr>
|
2522
2522
|
<tr>
|
2523
2523
|
<td class="parameter_name"><p>error</p></td>
|
2524
|
-
<td class="parameter_description"><p>Return location for error or <a href="../glib
|
2524
|
+
<td class="parameter_description"><p>Return location for error or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
2525
2525
|
<td class="parameter_annotations"> </td>
|
2526
2526
|
</tr>
|
2527
2527
|
</tbody>
|
2528
2528
|
</table></div>
|
2529
2529
|
</div>
|
2530
2530
|
<div class="refsect3">
|
2531
|
-
<a name="
|
2532
|
-
<p> <a href="../glib
|
2531
|
+
<a name="g-dbus-connection-emit-signal.returns"></a><h4>Returns</h4>
|
2532
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> unless <em class="parameter"><code>error</code></em>
|
2533
2533
|
is set</p>
|
2534
2534
|
</div>
|
2535
2535
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
@@ -2539,15 +2539,15 @@ is set</p>
|
|
2539
2539
|
<a name="GDBusSignalCallback"></a><h3>GDBusSignalCallback ()</h3>
|
2540
2540
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2541
2541
|
<span class="c_punctuation">(</span>*GDBusSignalCallback<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
2542
|
-
<em class="parameter"><code>const <a href="../glib
|
2543
|
-
<em class="parameter"><code>const <a href="../glib
|
2544
|
-
<em class="parameter"><code>const <a href="../glib
|
2545
|
-
<em class="parameter"><code>const <a href="../glib
|
2546
|
-
<em class="parameter"><code><a href="../glib
|
2547
|
-
<em class="parameter"><code><a href="../glib
|
2542
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *sender_name</code></em>,
|
2543
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
|
2544
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *interface_name</code></em>,
|
2545
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_name</code></em>,
|
2546
|
+
<em class="parameter"><code><a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *parameters</code></em>,
|
2547
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
2548
2548
|
<p>Signature for callback function used in <a class="link" href="GDBusConnection.html#g-dbus-connection-signal-subscribe" title="g_dbus_connection_signal_subscribe ()"><code class="function">g_dbus_connection_signal_subscribe()</code></a>.</p>
|
2549
2549
|
<div class="refsect3">
|
2550
|
-
<a name="
|
2550
|
+
<a name="GDBusSignalCallback.parameters"></a><h4>Parameters</h4>
|
2551
2551
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2552
2552
|
<colgroup>
|
2553
2553
|
<col width="150px" class="parameters_name">
|
@@ -2582,7 +2582,7 @@ is set</p>
|
|
2582
2582
|
</tr>
|
2583
2583
|
<tr>
|
2584
2584
|
<td class="parameter_name"><p>parameters</p></td>
|
2585
|
-
<td class="parameter_description"><p>A <a href="../glib
|
2585
|
+
<td class="parameter_description"><p>A <a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> tuple with parameters for the signal.</p></td>
|
2586
2586
|
<td class="parameter_annotations"> </td>
|
2587
2587
|
</tr>
|
2588
2588
|
<tr>
|
@@ -2598,28 +2598,28 @@ is set</p>
|
|
2598
2598
|
<hr>
|
2599
2599
|
<div class="refsect2">
|
2600
2600
|
<a name="g-dbus-connection-signal-subscribe"></a><h3>g_dbus_connection_signal_subscribe ()</h3>
|
2601
|
-
<pre class="programlisting"><a href="../glib
|
2601
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
2602
2602
|
g_dbus_connection_signal_subscribe (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
2603
|
-
<em class="parameter"><code>const <a href="../glib
|
2604
|
-
<em class="parameter"><code>const <a href="../glib
|
2605
|
-
<em class="parameter"><code>const <a href="../glib
|
2606
|
-
<em class="parameter"><code>const <a href="../glib
|
2607
|
-
<em class="parameter"><code>const <a href="../glib
|
2603
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *sender</code></em>,
|
2604
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *interface_name</code></em>,
|
2605
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *member</code></em>,
|
2606
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
|
2607
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg0</code></em>,
|
2608
2608
|
<em class="parameter"><code><a class="link" href="GDBusConnection.html#GDBusSignalFlags" title="enum GDBusSignalFlags"><span class="type">GDBusSignalFlags</span></a> flags</code></em>,
|
2609
2609
|
<em class="parameter"><code><a class="link" href="GDBusConnection.html#GDBusSignalCallback" title="GDBusSignalCallback ()"><span class="type">GDBusSignalCallback</span></a> callback</code></em>,
|
2610
|
-
<em class="parameter"><code><a href="../glib
|
2611
|
-
<em class="parameter"><code><a href="../glib
|
2610
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
|
2611
|
+
<em class="parameter"><code><a href="../glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> user_data_free_func</code></em>);</pre>
|
2612
2612
|
<p>Subscribes to signals on <em class="parameter"><code>connection</code></em>
|
2613
2613
|
and invokes <em class="parameter"><code>callback</code></em>
|
2614
2614
|
with a whenever
|
2615
2615
|
the signal is received. Note that <em class="parameter"><code>callback</code></em>
|
2616
2616
|
will be invoked in the
|
2617
|
-
<a href="../glib
|
2617
|
+
<a href="../glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main context</a>
|
2618
2618
|
of the thread you are calling this method from.</p>
|
2619
2619
|
<p>If <em class="parameter"><code>connection</code></em>
|
2620
2620
|
is not a message bus connection, <em class="parameter"><code>sender</code></em>
|
2621
2621
|
must be
|
2622
|
-
<a href="../glib
|
2622
|
+
<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
2623
2623
|
<p>If <em class="parameter"><code>sender</code></em>
|
2624
2624
|
is a well-known name note that <em class="parameter"><code>callback</code></em>
|
2625
2625
|
is invoked with
|
@@ -2635,7 +2635,7 @@ processing the received signal.</p>
|
|
2635
2635
|
interpreted as part of a namespace or path. The first argument
|
2636
2636
|
of a signal is matched against that part as specified by D-Bus.</p>
|
2637
2637
|
<p>If <em class="parameter"><code>user_data_free_func</code></em>
|
2638
|
-
is non-<a href="../glib
|
2638
|
+
is non-<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, it will be called (in the
|
2639
2639
|
thread-default main context of the thread you are calling this
|
2640
2640
|
method from) at some point after <em class="parameter"><code>user_data</code></em>
|
2641
2641
|
is no longer
|
@@ -2644,7 +2644,7 @@ signal is unsubscribed from, and may be called after <em class="parameter"><code
|
|
2644
2644
|
|
2645
2645
|
has been destroyed.)</p>
|
2646
2646
|
<div class="refsect3">
|
2647
|
-
<a name="
|
2647
|
+
<a name="g-dbus-connection-signal-subscribe.parameters"></a><h4>Parameters</h4>
|
2648
2648
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2649
2649
|
<colgroup>
|
2650
2650
|
<col width="150px" class="parameters_name">
|
@@ -2660,30 +2660,30 @@ has been destroyed.)</p>
|
|
2660
2660
|
<tr>
|
2661
2661
|
<td class="parameter_name"><p>sender</p></td>
|
2662
2662
|
<td class="parameter_description"><p> sender name to match on (unique or well-known name)
|
2663
|
-
or <a href="../glib
|
2663
|
+
or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to listen from all senders. </p></td>
|
2664
2664
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2665
2665
|
</tr>
|
2666
2666
|
<tr>
|
2667
2667
|
<td class="parameter_name"><p>interface_name</p></td>
|
2668
|
-
<td class="parameter_description"><p> D-Bus interface name to match on or <a href="../glib
|
2668
|
+
<td class="parameter_description"><p> D-Bus interface name to match on or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
|
2669
2669
|
match on all interfaces. </p></td>
|
2670
2670
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2671
2671
|
</tr>
|
2672
2672
|
<tr>
|
2673
2673
|
<td class="parameter_name"><p>member</p></td>
|
2674
|
-
<td class="parameter_description"><p> D-Bus signal name to match on or <a href="../glib
|
2674
|
+
<td class="parameter_description"><p> D-Bus signal name to match on or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to match on
|
2675
2675
|
all signals. </p></td>
|
2676
2676
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2677
2677
|
</tr>
|
2678
2678
|
<tr>
|
2679
2679
|
<td class="parameter_name"><p>object_path</p></td>
|
2680
|
-
<td class="parameter_description"><p> object path to match on or <a href="../glib
|
2680
|
+
<td class="parameter_description"><p> object path to match on or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to match on
|
2681
2681
|
all object paths. </p></td>
|
2682
2682
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2683
2683
|
</tr>
|
2684
2684
|
<tr>
|
2685
2685
|
<td class="parameter_name"><p>arg0</p></td>
|
2686
|
-
<td class="parameter_description"><p> contents of first string argument to match on or <a href="../glib
|
2686
|
+
<td class="parameter_description"><p> contents of first string argument to match on or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
2687
2687
|
to match on all kinds of arguments. </p></td>
|
2688
2688
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2689
2689
|
</tr>
|
@@ -2708,14 +2708,14 @@ signal</p></td>
|
|
2708
2708
|
<td class="parameter_name"><p>user_data_free_func</p></td>
|
2709
2709
|
<td class="parameter_description"><p> function to free <em class="parameter"><code>user_data</code></em>
|
2710
2710
|
with when
|
2711
|
-
subscription is removed or <a href="../glib
|
2711
|
+
subscription is removed or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2712
2712
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2713
2713
|
</tr>
|
2714
2714
|
</tbody>
|
2715
2715
|
</table></div>
|
2716
2716
|
</div>
|
2717
2717
|
<div class="refsect3">
|
2718
|
-
<a name="
|
2718
|
+
<a name="g-dbus-connection-signal-subscribe.returns"></a><h4>Returns</h4>
|
2719
2719
|
<p> a subscription identifier that can be used with <a class="link" href="GDBusConnection.html#g-dbus-connection-signal-unsubscribe" title="g_dbus_connection_signal_unsubscribe ()"><code class="function">g_dbus_connection_signal_unsubscribe()</code></a></p>
|
2720
2720
|
</div>
|
2721
2721
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
@@ -2725,10 +2725,10 @@ subscription is removed or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"
|
|
2725
2725
|
<a name="g-dbus-connection-signal-unsubscribe"></a><h3>g_dbus_connection_signal_unsubscribe ()</h3>
|
2726
2726
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2727
2727
|
g_dbus_connection_signal_unsubscribe (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
2728
|
-
<em class="parameter"><code><a href="../glib
|
2728
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#guint"><span class="type">guint</span></a> subscription_id</code></em>);</pre>
|
2729
2729
|
<p>Unsubscribes from signals.</p>
|
2730
2730
|
<div class="refsect3">
|
2731
|
-
<a name="
|
2731
|
+
<a name="g-dbus-connection-signal-unsubscribe.parameters"></a><h4>Parameters</h4>
|
2732
2732
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2733
2733
|
<colgroup>
|
2734
2734
|
<col width="150px" class="parameters_name">
|
@@ -2755,12 +2755,12 @@ g_dbus_connection_signal_unsubscribe (<em class="parameter"><code><a class="link
|
|
2755
2755
|
<hr>
|
2756
2756
|
<div class="refsect2">
|
2757
2757
|
<a name="g-dbus-connection-send-message"></a><h3>g_dbus_connection_send_message ()</h3>
|
2758
|
-
<pre class="programlisting"><a href="../glib
|
2758
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2759
2759
|
g_dbus_connection_send_message (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
2760
2760
|
<em class="parameter"><code><a class="link" href="GDBusMessage.html" title="GDBusMessage"><span class="type">GDBusMessage</span></a> *message</code></em>,
|
2761
2761
|
<em class="parameter"><code><a class="link" href="GDBusConnection.html#GDBusSendMessageFlags" title="enum GDBusSendMessageFlags"><span class="type">GDBusSendMessageFlags</span></a> flags</code></em>,
|
2762
|
-
<em class="parameter"><code>volatile <a href="../glib
|
2763
|
-
<em class="parameter"><code><a href="../glib
|
2762
|
+
<em class="parameter"><code>volatile <a href="../glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> *out_serial</code></em>,
|
2763
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2764
2764
|
<p>Asynchronously sends <em class="parameter"><code>message</code></em>
|
2765
2765
|
to the peer represented by <em class="parameter"><code>connection</code></em>
|
2766
2766
|
.</p>
|
@@ -2771,7 +2771,7 @@ will be assigned by <em class="parameter"><code>connection</code></em>
|
|
2771
2771
|
and set on <em class="parameter"><code>message</code></em>
|
2772
2772
|
via
|
2773
2773
|
<a class="link" href="GDBusMessage.html#g-dbus-message-set-serial" title="g_dbus_message_set_serial ()"><code class="function">g_dbus_message_set_serial()</code></a>. If <em class="parameter"><code>out_serial</code></em>
|
2774
|
-
is not <a href="../glib
|
2774
|
+
is not <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the
|
2775
2775
|
serial number used will be written to this location prior to
|
2776
2776
|
submitting the message to the underlying transport.</p>
|
2777
2777
|
<p>If <em class="parameter"><code>connection</code></em>
|
@@ -2787,7 +2787,7 @@ UNIX file descriptors.</p>
|
|
2787
2787
|
contain the
|
2788
2788
|
<a class="link" href="GDBusConnection.html#G-DBUS-SEND-MESSAGE-FLAGS-PRESERVE-SERIAL:CAPS"><code class="literal">G_DBUS_SEND_MESSAGE_FLAGS_PRESERVE_SERIAL</code></a> flag.</p>
|
2789
2789
|
<div class="refsect3">
|
2790
|
-
<a name="
|
2790
|
+
<a name="g-dbus-connection-send-message.parameters"></a><h4>Parameters</h4>
|
2791
2791
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2792
2792
|
<colgroup>
|
2793
2793
|
<col width="150px" class="parameters_name">
|
@@ -2814,21 +2814,21 @@ UNIX file descriptors.</p>
|
|
2814
2814
|
<td class="parameter_name"><p>out_serial</p></td>
|
2815
2815
|
<td class="parameter_description"><p> return location for serial number assigned
|
2816
2816
|
to <em class="parameter"><code>message</code></em>
|
2817
|
-
when sending it or <a href="../glib
|
2817
|
+
when sending it or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2818
2818
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2819
2819
|
</tr>
|
2820
2820
|
<tr>
|
2821
2821
|
<td class="parameter_name"><p>error</p></td>
|
2822
|
-
<td class="parameter_description"><p>Return location for error or <a href="../glib
|
2822
|
+
<td class="parameter_description"><p>Return location for error or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
2823
2823
|
<td class="parameter_annotations"> </td>
|
2824
2824
|
</tr>
|
2825
2825
|
</tbody>
|
2826
2826
|
</table></div>
|
2827
2827
|
</div>
|
2828
2828
|
<div class="refsect3">
|
2829
|
-
<a name="
|
2830
|
-
<p> <a href="../glib
|
2831
|
-
transmission, <a href="../glib
|
2829
|
+
<a name="g-dbus-connection-send-message.returns"></a><h4>Returns</h4>
|
2830
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the message was well-formed and queued for
|
2831
|
+
transmission, <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>error</code></em>
|
2832
2832
|
is set</p>
|
2833
2833
|
</div>
|
2834
2834
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
@@ -2841,11 +2841,11 @@ g_dbus_connection_send_message_with_reply
|
|
2841
2841
|
(<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
2842
2842
|
<em class="parameter"><code><a class="link" href="GDBusMessage.html" title="GDBusMessage"><span class="type">GDBusMessage</span></a> *message</code></em>,
|
2843
2843
|
<em class="parameter"><code><a class="link" href="GDBusConnection.html#GDBusSendMessageFlags" title="enum GDBusSendMessageFlags"><span class="type">GDBusSendMessageFlags</span></a> flags</code></em>,
|
2844
|
-
<em class="parameter"><code><a href="../glib
|
2845
|
-
<em class="parameter"><code>volatile <a href="../glib
|
2844
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_msec</code></em>,
|
2845
|
+
<em class="parameter"><code>volatile <a href="../glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> *out_serial</code></em>,
|
2846
2846
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
2847
2847
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
2848
|
-
<em class="parameter"><code><a href="../glib
|
2848
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
2849
2849
|
<p>Asynchronously sends <em class="parameter"><code>message</code></em>
|
2850
2850
|
to the peer represented by <em class="parameter"><code>connection</code></em>
|
2851
2851
|
.</p>
|
@@ -2856,7 +2856,7 @@ will be assigned by <em class="parameter"><code>connection</code></em>
|
|
2856
2856
|
and set on <em class="parameter"><code>message</code></em>
|
2857
2857
|
via
|
2858
2858
|
<a class="link" href="GDBusMessage.html#g-dbus-message-set-serial" title="g_dbus_message_set_serial ()"><code class="function">g_dbus_message_set_serial()</code></a>. If <em class="parameter"><code>out_serial</code></em>
|
2859
|
-
is not <a href="../glib
|
2859
|
+
is not <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the
|
2860
2860
|
serial number used will be written to this location prior to
|
2861
2861
|
submitting the message to the underlying transport.</p>
|
2862
2862
|
<p>If <em class="parameter"><code>connection</code></em>
|
@@ -2869,7 +2869,7 @@ the operation fails with <a class="link" href="gio-GIOError.html#G-IO-ERROR-INVA
|
|
2869
2869
|
<p>This is an asynchronous method. When the operation is finished, <em class="parameter"><code>callback</code></em>
|
2870
2870
|
|
2871
2871
|
will be invoked in the
|
2872
|
-
<a href="../glib
|
2872
|
+
<a href="../glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main context</a>
|
2873
2873
|
of the thread you are calling this method from. You can then call
|
2874
2874
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-send-message-with-reply-finish" title="g_dbus_connection_send_message_with_reply_finish ()"><code class="function">g_dbus_connection_send_message_with_reply_finish()</code></a> to get the result of the operation.
|
2875
2875
|
See <a class="link" href="GDBusConnection.html#g-dbus-connection-send-message-with-reply-sync" title="g_dbus_connection_send_message_with_reply_sync ()"><code class="function">g_dbus_connection_send_message_with_reply_sync()</code></a> for the synchronous version.</p>
|
@@ -2881,7 +2881,7 @@ See <a class="link" href="GDBusConnection.html#g-dbus-connection-send-message-wi
|
|
2881
2881
|
for an example of how to use this low-level API to send and receive
|
2882
2882
|
UNIX file descriptors.</p>
|
2883
2883
|
<div class="refsect3">
|
2884
|
-
<a name="
|
2884
|
+
<a name="g-dbus-connection-send-message-with-reply.parameters"></a><h4>Parameters</h4>
|
2885
2885
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2886
2886
|
<colgroup>
|
2887
2887
|
<col width="150px" class="parameters_name">
|
@@ -2907,25 +2907,25 @@ UNIX file descriptors.</p>
|
|
2907
2907
|
<tr>
|
2908
2908
|
<td class="parameter_name"><p>timeout_msec</p></td>
|
2909
2909
|
<td class="parameter_description"><p>the timeout in milliseconds, -1 to use the default
|
2910
|
-
timeout or <a href="../glib
|
2910
|
+
timeout or <a href="../glib-Basic-Types.html#G-MAXINT:CAPS"><code class="literal">G_MAXINT</code></a> for no timeout</p></td>
|
2911
2911
|
<td class="parameter_annotations"> </td>
|
2912
2912
|
</tr>
|
2913
2913
|
<tr>
|
2914
2914
|
<td class="parameter_name"><p>out_serial</p></td>
|
2915
2915
|
<td class="parameter_description"><p> return location for serial number assigned
|
2916
2916
|
to <em class="parameter"><code>message</code></em>
|
2917
|
-
when sending it or <a href="../glib
|
2917
|
+
when sending it or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2918
2918
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2919
2919
|
</tr>
|
2920
2920
|
<tr>
|
2921
2921
|
<td class="parameter_name"><p>cancellable</p></td>
|
2922
|
-
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib
|
2922
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2923
2923
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2924
2924
|
</tr>
|
2925
2925
|
<tr>
|
2926
2926
|
<td class="parameter_name"><p>callback</p></td>
|
2927
2927
|
<td class="parameter_description"><p> a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> to call when the request
|
2928
|
-
is satisfied or <a href="../glib
|
2928
|
+
is satisfied or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if you don't care about the result. </p></td>
|
2929
2929
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2930
2930
|
</tr>
|
2931
2931
|
<tr>
|
@@ -2946,18 +2946,18 @@ is satisfied or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code clas
|
|
2946
2946
|
g_dbus_connection_send_message_with_reply_finish
|
2947
2947
|
(<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
2948
2948
|
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *res</code></em>,
|
2949
|
-
<em class="parameter"><code><a href="../glib
|
2949
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2950
2950
|
<p>Finishes an operation started with <a class="link" href="GDBusConnection.html#g-dbus-connection-send-message-with-reply" title="g_dbus_connection_send_message_with_reply ()"><code class="function">g_dbus_connection_send_message_with_reply()</code></a>.</p>
|
2951
2951
|
<p>Note that <em class="parameter"><code>error</code></em>
|
2952
2952
|
is only set if a local in-process error
|
2953
2953
|
occurred. That is to say that the returned <a class="link" href="GDBusMessage.html" title="GDBusMessage"><span class="type">GDBusMessage</span></a> object may
|
2954
2954
|
be of type <a class="link" href="GDBusMessage.html#G-DBUS-MESSAGE-TYPE-ERROR:CAPS"><code class="literal">G_DBUS_MESSAGE_TYPE_ERROR</code></a>. Use
|
2955
|
-
<a class="link" href="GDBusMessage.html#g-dbus-message-to-gerror" title="g_dbus_message_to_gerror ()"><code class="function">g_dbus_message_to_gerror()</code></a> to transcode this to a <a href="../glib
|
2955
|
+
<a class="link" href="GDBusMessage.html#g-dbus-message-to-gerror" title="g_dbus_message_to_gerror ()"><code class="function">g_dbus_message_to_gerror()</code></a> to transcode this to a <a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a>.</p>
|
2956
2956
|
<p>See this <a class="link" href="GDBusConnection.html#gdbus-server" title="An example D-Bus server">server</a> and <a class="link" href="GDBusConnection.html#gdbus-unix-fd-client" title="An example for file descriptor passing">client</a>
|
2957
2957
|
for an example of how to use this low-level API to send and receive
|
2958
2958
|
UNIX file descriptors.</p>
|
2959
2959
|
<div class="refsect3">
|
2960
|
-
<a name="
|
2960
|
+
<a name="g-dbus-connection-send-message-with-reply-finish.parameters"></a><h4>Parameters</h4>
|
2961
2961
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2962
2962
|
<colgroup>
|
2963
2963
|
<col width="150px" class="parameters_name">
|
@@ -2978,15 +2978,15 @@ UNIX file descriptors.</p>
|
|
2978
2978
|
</tr>
|
2979
2979
|
<tr>
|
2980
2980
|
<td class="parameter_name"><p>error</p></td>
|
2981
|
-
<td class="parameter_description"><p>teturn location for error or <a href="../glib
|
2981
|
+
<td class="parameter_description"><p>teturn location for error or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
2982
2982
|
<td class="parameter_annotations"> </td>
|
2983
2983
|
</tr>
|
2984
2984
|
</tbody>
|
2985
2985
|
</table></div>
|
2986
2986
|
</div>
|
2987
2987
|
<div class="refsect3">
|
2988
|
-
<a name="
|
2989
|
-
<p> a locked <a class="link" href="GDBusMessage.html" title="GDBusMessage"><span class="type">GDBusMessage</span></a> or <a href="../glib
|
2988
|
+
<a name="g-dbus-connection-send-message-with-reply-finish.returns"></a><h4>Returns</h4>
|
2989
|
+
<p> a locked <a class="link" href="GDBusMessage.html" title="GDBusMessage"><span class="type">GDBusMessage</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
|
2990
2990
|
is set. </p>
|
2991
2991
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
2992
2992
|
</div>
|
@@ -3000,10 +3000,10 @@ g_dbus_connection_send_message_with_reply_sync
|
|
3000
3000
|
(<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
3001
3001
|
<em class="parameter"><code><a class="link" href="GDBusMessage.html" title="GDBusMessage"><span class="type">GDBusMessage</span></a> *message</code></em>,
|
3002
3002
|
<em class="parameter"><code><a class="link" href="GDBusConnection.html#GDBusSendMessageFlags" title="enum GDBusSendMessageFlags"><span class="type">GDBusSendMessageFlags</span></a> flags</code></em>,
|
3003
|
-
<em class="parameter"><code><a href="../glib
|
3004
|
-
<em class="parameter"><code>volatile <a href="../glib
|
3003
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_msec</code></em>,
|
3004
|
+
<em class="parameter"><code>volatile <a href="../glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> *out_serial</code></em>,
|
3005
3005
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
3006
|
-
<em class="parameter"><code><a href="../glib
|
3006
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
3007
3007
|
<p>Synchronously sends <em class="parameter"><code>message</code></em>
|
3008
3008
|
to the peer represented by <em class="parameter"><code>connection</code></em>
|
3009
3009
|
|
@@ -3017,7 +3017,7 @@ will be assigned by <em class="parameter"><code>connection</code></em>
|
|
3017
3017
|
and set on <em class="parameter"><code>message</code></em>
|
3018
3018
|
via
|
3019
3019
|
<a class="link" href="GDBusMessage.html#g-dbus-message-set-serial" title="g_dbus_message_set_serial ()"><code class="function">g_dbus_message_set_serial()</code></a>. If <em class="parameter"><code>out_serial</code></em>
|
3020
|
-
is not <a href="../glib
|
3020
|
+
is not <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the
|
3021
3021
|
serial number used will be written to this location prior to
|
3022
3022
|
submitting the message to the underlying transport.</p>
|
3023
3023
|
<p>If <em class="parameter"><code>connection</code></em>
|
@@ -3031,7 +3031,7 @@ the operation fails with <a class="link" href="gio-GIOError.html#G-IO-ERROR-INVA
|
|
3031
3031
|
is only set if a local in-process error
|
3032
3032
|
occurred. That is to say that the returned <a class="link" href="GDBusMessage.html" title="GDBusMessage"><span class="type">GDBusMessage</span></a> object may
|
3033
3033
|
be of type <a class="link" href="GDBusMessage.html#G-DBUS-MESSAGE-TYPE-ERROR:CAPS"><code class="literal">G_DBUS_MESSAGE_TYPE_ERROR</code></a>. Use
|
3034
|
-
<a class="link" href="GDBusMessage.html#g-dbus-message-to-gerror" title="g_dbus_message_to_gerror ()"><code class="function">g_dbus_message_to_gerror()</code></a> to transcode this to a <a href="../glib
|
3034
|
+
<a class="link" href="GDBusMessage.html#g-dbus-message-to-gerror" title="g_dbus_message_to_gerror ()"><code class="function">g_dbus_message_to_gerror()</code></a> to transcode this to a <a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a>.</p>
|
3035
3035
|
<p>See this <a class="link" href="GDBusConnection.html#gdbus-server" title="An example D-Bus server">server</a> and <a class="link" href="GDBusConnection.html#gdbus-unix-fd-client" title="An example for file descriptor passing">client</a>
|
3036
3036
|
for an example of how to use this low-level API to send and receive
|
3037
3037
|
UNIX file descriptors.</p>
|
@@ -3040,7 +3040,7 @@ UNIX file descriptors.</p>
|
|
3040
3040
|
contain the
|
3041
3041
|
<a class="link" href="GDBusConnection.html#G-DBUS-SEND-MESSAGE-FLAGS-PRESERVE-SERIAL:CAPS"><code class="literal">G_DBUS_SEND_MESSAGE_FLAGS_PRESERVE_SERIAL</code></a> flag.</p>
|
3042
3042
|
<div class="refsect3">
|
3043
|
-
<a name="
|
3043
|
+
<a name="g-dbus-connection-send-message-with-reply-sync.parameters"></a><h4>Parameters</h4>
|
3044
3044
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3045
3045
|
<colgroup>
|
3046
3046
|
<col width="150px" class="parameters_name">
|
@@ -3066,34 +3066,34 @@ UNIX file descriptors.</p>
|
|
3066
3066
|
<tr>
|
3067
3067
|
<td class="parameter_name"><p>timeout_msec</p></td>
|
3068
3068
|
<td class="parameter_description"><p>the timeout in milliseconds, -1 to use the default
|
3069
|
-
timeout or <a href="../glib
|
3069
|
+
timeout or <a href="../glib-Basic-Types.html#G-MAXINT:CAPS"><code class="literal">G_MAXINT</code></a> for no timeout</p></td>
|
3070
3070
|
<td class="parameter_annotations"> </td>
|
3071
3071
|
</tr>
|
3072
3072
|
<tr>
|
3073
3073
|
<td class="parameter_name"><p>out_serial</p></td>
|
3074
3074
|
<td class="parameter_description"><p> return location for serial number
|
3075
3075
|
assigned to <em class="parameter"><code>message</code></em>
|
3076
|
-
when sending it or <a href="../glib
|
3076
|
+
when sending it or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
3077
3077
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3078
3078
|
</tr>
|
3079
3079
|
<tr>
|
3080
3080
|
<td class="parameter_name"><p>cancellable</p></td>
|
3081
|
-
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib
|
3081
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
3082
3082
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3083
3083
|
</tr>
|
3084
3084
|
<tr>
|
3085
3085
|
<td class="parameter_name"><p>error</p></td>
|
3086
|
-
<td class="parameter_description"><p>return location for error or <a href="../glib
|
3086
|
+
<td class="parameter_description"><p>return location for error or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
3087
3087
|
<td class="parameter_annotations"> </td>
|
3088
3088
|
</tr>
|
3089
3089
|
</tbody>
|
3090
3090
|
</table></div>
|
3091
3091
|
</div>
|
3092
3092
|
<div class="refsect3">
|
3093
|
-
<a name="
|
3093
|
+
<a name="g-dbus-connection-send-message-with-reply-sync.returns"></a><h4>Returns</h4>
|
3094
3094
|
<p> a locked <a class="link" href="GDBusMessage.html" title="GDBusMessage"><span class="type">GDBusMessage</span></a> that is the reply
|
3095
3095
|
to <em class="parameter"><code>message</code></em>
|
3096
|
-
or <a href="../glib
|
3096
|
+
or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
|
3097
3097
|
is set. </p>
|
3098
3098
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
3099
3099
|
</div>
|
@@ -3105,8 +3105,8 @@ is set. </p>
|
|
3105
3105
|
<pre class="programlisting"><a class="link" href="GDBusMessage.html" title="GDBusMessage"><span class="returnvalue">GDBusMessage</span></a> *
|
3106
3106
|
<span class="c_punctuation">(</span>*GDBusMessageFilterFunction<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
3107
3107
|
<em class="parameter"><code><a class="link" href="GDBusMessage.html" title="GDBusMessage"><span class="type">GDBusMessage</span></a> *message</code></em>,
|
3108
|
-
<em class="parameter"><code><a href="../glib
|
3109
|
-
<em class="parameter"><code><a href="../glib
|
3108
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> incoming</code></em>,
|
3109
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
3110
3110
|
<p>Signature for function used in <a class="link" href="GDBusConnection.html#g-dbus-connection-add-filter" title="g_dbus_connection_add_filter ()"><code class="function">g_dbus_connection_add_filter()</code></a>.</p>
|
3111
3111
|
<p>A filter function is passed a <a class="link" href="GDBusMessage.html" title="GDBusMessage"><span class="type">GDBusMessage</span></a> and expected to return
|
3112
3112
|
a <a class="link" href="GDBusMessage.html" title="GDBusMessage"><span class="type">GDBusMessage</span></a> too. Passive filter functions that don't modify the
|
@@ -3140,7 +3140,7 @@ message can simply return the <em class="parameter"><code>message</code></em>
|
|
3140
3140
|
</div>
|
3141
3141
|
|
3142
3142
|
<p>
|
3143
|
-
Filter functions that wants to drop a message can simply return <a href="../glib
|
3143
|
+
Filter functions that wants to drop a message can simply return <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>:</p>
|
3144
3144
|
<div class="informalexample">
|
3145
3145
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
3146
3146
|
<tbody>
|
@@ -3166,7 +3166,7 @@ Filter functions that wants to drop a message can simply return <a href="../glib
|
|
3166
3166
|
<span class="gtkdoc opt">{</span>
|
3167
3167
|
<span class="keyword">if</span> <span class="gtkdoc opt">(</span>should_drop_message<span class="gtkdoc opt">)</span>
|
3168
3168
|
<span class="gtkdoc opt">{</span>
|
3169
|
-
<span class="function"><a href="../gobject
|
3169
|
+
<span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> <span class="gtkdoc opt">(</span>message<span class="gtkdoc opt">);</span>
|
3170
3170
|
message <span class="gtkdoc opt">=</span> NULL<span class="gtkdoc opt">;</span>
|
3171
3171
|
<span class="gtkdoc opt">}</span>
|
3172
3172
|
<span class="keyword">return</span> message<span class="gtkdoc opt">;</span>
|
@@ -3212,7 +3212,7 @@ Finally, a filter function may modify a message by copying it:</p>
|
|
3212
3212
|
error <span class="gtkdoc opt">=</span> NULL<span class="gtkdoc opt">;</span>
|
3213
3213
|
copy <span class="gtkdoc opt">=</span> <span class="function"><a href="GDBusMessage.html#g-dbus-message-copy">g_dbus_message_copy</a></span> <span class="gtkdoc opt">(</span>message<span class="gtkdoc opt">, &</span>error<span class="gtkdoc opt">);</span>
|
3214
3214
|
<span class="gtkdoc opt">/<!-- -->*</span> handle @error being is set <span class="gtkdoc opt">*<!-- -->/</span>
|
3215
|
-
<span class="function"><a href="../gobject
|
3215
|
+
<span class="function"><a href="../gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> <span class="gtkdoc opt">(</span>message<span class="gtkdoc opt">);</span>
|
3216
3216
|
|
3217
3217
|
<span class="gtkdoc opt">/<!-- -->*</span> modify @copy <span class="gtkdoc opt">*<!-- -->/</span>
|
3218
3218
|
|
@@ -3235,7 +3235,7 @@ check this ahead of time using <a class="link" href="GDBusMessage.html#g-dbus-me
|
|
3235
3235
|
<a class="link" href="GDBusConnection.html#GDBusCapabilityFlags" title="enum GDBusCapabilityFlags"><span class="type">GDBusCapabilityFlags</span></a> value obtained from <em class="parameter"><code>connection</code></em>
|
3236
3236
|
.</p>
|
3237
3237
|
<div class="refsect3">
|
3238
|
-
<a name="
|
3238
|
+
<a name="GDBusMessageFilterFunction.parameters"></a><h4>Parameters</h4>
|
3239
3239
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3240
3240
|
<colgroup>
|
3241
3241
|
<col width="150px" class="parameters_name">
|
@@ -3255,7 +3255,7 @@ check this ahead of time using <a class="link" href="GDBusMessage.html#g-dbus-me
|
|
3255
3255
|
</tr>
|
3256
3256
|
<tr>
|
3257
3257
|
<td class="parameter_name"><p>incoming</p></td>
|
3258
|
-
<td class="parameter_description"><p><a href="../glib
|
3258
|
+
<td class="parameter_description"><p><a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if it is a message received from the other peer, <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it is
|
3259
3259
|
a message to be sent to the other peer.</p></td>
|
3260
3260
|
<td class="parameter_annotations"> </td>
|
3261
3261
|
</tr>
|
@@ -3268,9 +3268,9 @@ a message to be sent to the other peer.</p></td>
|
|
3268
3268
|
</table></div>
|
3269
3269
|
</div>
|
3270
3270
|
<div class="refsect3">
|
3271
|
-
<a name="
|
3271
|
+
<a name="GDBusMessageFilterFunction.returns"></a><h4>Returns</h4>
|
3272
3272
|
<p> A <a class="link" href="GDBusMessage.html" title="GDBusMessage"><span class="type">GDBusMessage</span></a> that will be freed with
|
3273
|
-
<a href="../gobject
|
3273
|
+
<a href="../gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to drop the message. Passive filter
|
3274
3274
|
functions can simply return the passed <em class="parameter"><code>message</code></em>
|
3275
3275
|
object. </p>
|
3276
3276
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></p>
|
@@ -3280,11 +3280,11 @@ object. </p>
|
|
3280
3280
|
<hr>
|
3281
3281
|
<div class="refsect2">
|
3282
3282
|
<a name="g-dbus-connection-add-filter"></a><h3>g_dbus_connection_add_filter ()</h3>
|
3283
|
-
<pre class="programlisting"><a href="../glib
|
3283
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
3284
3284
|
g_dbus_connection_add_filter (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
3285
3285
|
<em class="parameter"><code><a class="link" href="GDBusConnection.html#GDBusMessageFilterFunction" title="GDBusMessageFilterFunction ()"><span class="type">GDBusMessageFilterFunction</span></a> filter_function</code></em>,
|
3286
|
-
<em class="parameter"><code><a href="../glib
|
3287
|
-
<em class="parameter"><code><a href="../glib
|
3286
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
|
3287
|
+
<em class="parameter"><code><a href="../glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> user_data_free_func</code></em>);</pre>
|
3288
3288
|
<p>Adds a message filter. Filters are handlers that are run on all
|
3289
3289
|
incoming and outgoing messages, prior to standard dispatch. Filters
|
3290
3290
|
are run in the order that they were added. The same handler can be
|
@@ -3304,7 +3304,7 @@ dispatched anywhere else - not even the standard dispatch machinery
|
|
3304
3304
|
message. Similary, if a filter consumes an outgoing message, the
|
3305
3305
|
message will not be sent to the other peer.</p>
|
3306
3306
|
<p>If <em class="parameter"><code>user_data_free_func</code></em>
|
3307
|
-
is non-<a href="../glib
|
3307
|
+
is non-<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, it will be called (in the
|
3308
3308
|
thread-default main context of the thread you are calling this
|
3309
3309
|
method from) at some point after <em class="parameter"><code>user_data</code></em>
|
3310
3310
|
is no longer
|
@@ -3313,7 +3313,7 @@ filter is removed, and may be called after <em class="parameter"><code>connectio
|
|
3313
3313
|
has been
|
3314
3314
|
destroyed.)</p>
|
3315
3315
|
<div class="refsect3">
|
3316
|
-
<a name="
|
3316
|
+
<a name="g-dbus-connection-add-filter.parameters"></a><h4>Parameters</h4>
|
3317
3317
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3318
3318
|
<colgroup>
|
3319
3319
|
<col width="150px" class="parameters_name">
|
@@ -3341,14 +3341,14 @@ destroyed.)</p>
|
|
3341
3341
|
<td class="parameter_name"><p>user_data_free_func</p></td>
|
3342
3342
|
<td class="parameter_description"><p>function to free <em class="parameter"><code>user_data</code></em>
|
3343
3343
|
with when filter
|
3344
|
-
is removed or <a href="../glib
|
3344
|
+
is removed or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
3345
3345
|
<td class="parameter_annotations"> </td>
|
3346
3346
|
</tr>
|
3347
3347
|
</tbody>
|
3348
3348
|
</table></div>
|
3349
3349
|
</div>
|
3350
3350
|
<div class="refsect3">
|
3351
|
-
<a name="
|
3351
|
+
<a name="g-dbus-connection-add-filter.returns"></a><h4>Returns</h4>
|
3352
3352
|
<p> a filter identifier that can be used with
|
3353
3353
|
<a class="link" href="GDBusConnection.html#g-dbus-connection-remove-filter" title="g_dbus_connection_remove_filter ()"><code class="function">g_dbus_connection_remove_filter()</code></a></p>
|
3354
3354
|
</div>
|
@@ -3359,16 +3359,16 @@ is removed or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class=
|
|
3359
3359
|
<a name="g-dbus-connection-remove-filter"></a><h3>g_dbus_connection_remove_filter ()</h3>
|
3360
3360
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3361
3361
|
g_dbus_connection_remove_filter (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
3362
|
-
<em class="parameter"><code><a href="../glib
|
3362
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#guint"><span class="type">guint</span></a> filter_id</code></em>);</pre>
|
3363
3363
|
<p>Removes a filter.</p>
|
3364
3364
|
<p>Note that since filters run in a different thread, there is a race
|
3365
3365
|
condition where it is possible that the filter will be running even
|
3366
3366
|
after calling <a class="link" href="GDBusConnection.html#g-dbus-connection-remove-filter" title="g_dbus_connection_remove_filter ()"><code class="function">g_dbus_connection_remove_filter()</code></a>, so you cannot just
|
3367
3367
|
free data that the filter might be using. Instead, you should pass
|
3368
|
-
a <a href="../glib
|
3368
|
+
a <a href="../glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> to <a class="link" href="GDBusConnection.html#g-dbus-connection-add-filter" title="g_dbus_connection_add_filter ()"><code class="function">g_dbus_connection_add_filter()</code></a>, which will be
|
3369
3369
|
called when it is guaranteed that the data is no longer needed.</p>
|
3370
3370
|
<div class="refsect3">
|
3371
|
-
<a name="
|
3371
|
+
<a name="g-dbus-connection-remove-filter.parameters"></a><h4>Parameters</h4>
|
3372
3372
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3373
3373
|
<colgroup>
|
3374
3374
|
<col width="150px" class="parameters_name">
|
@@ -3396,17 +3396,17 @@ called when it is guaranteed that the data is no longer needed.</p>
|
|
3396
3396
|
<a name="GDBusInterfaceMethodCallFunc"></a><h3>GDBusInterfaceMethodCallFunc ()</h3>
|
3397
3397
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3398
3398
|
<span class="c_punctuation">(</span>*GDBusInterfaceMethodCallFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
3399
|
-
<em class="parameter"><code>const <a href="../glib
|
3400
|
-
<em class="parameter"><code>const <a href="../glib
|
3401
|
-
<em class="parameter"><code>const <a href="../glib
|
3402
|
-
<em class="parameter"><code>const <a href="../glib
|
3403
|
-
<em class="parameter"><code><a href="../glib
|
3399
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *sender</code></em>,
|
3400
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
|
3401
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *interface_name</code></em>,
|
3402
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *method_name</code></em>,
|
3403
|
+
<em class="parameter"><code><a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *parameters</code></em>,
|
3404
3404
|
<em class="parameter"><code><a class="link" href="GDBusMethodInvocation.html" title="GDBusMethodInvocation"><span class="type">GDBusMethodInvocation</span></a> *invocation</code></em>,
|
3405
|
-
<em class="parameter"><code><a href="../glib
|
3405
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
3406
3406
|
<p>The type of the <em class="parameter"><code>method_call</code></em>
|
3407
3407
|
function in <a class="link" href="GDBusConnection.html#GDBusInterfaceVTable" title="GDBusInterfaceVTable"><span class="type">GDBusInterfaceVTable</span></a>.</p>
|
3408
3408
|
<div class="refsect3">
|
3409
|
-
<a name="
|
3409
|
+
<a name="GDBusInterfaceMethodCallFunc.parameters"></a><h4>Parameters</h4>
|
3410
3410
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3411
3411
|
<colgroup>
|
3412
3412
|
<col width="150px" class="parameters_name">
|
@@ -3441,7 +3441,7 @@ called when it is guaranteed that the data is no longer needed.</p>
|
|
3441
3441
|
</tr>
|
3442
3442
|
<tr>
|
3443
3443
|
<td class="parameter_name"><p>parameters</p></td>
|
3444
|
-
<td class="parameter_description"><p>A <a href="../glib
|
3444
|
+
<td class="parameter_description"><p>A <a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> tuple with parameters.</p></td>
|
3445
3445
|
<td class="parameter_annotations"> </td>
|
3446
3446
|
</tr>
|
3447
3447
|
<tr>
|
@@ -3452,7 +3452,7 @@ called when it is guaranteed that the data is no longer needed.</p>
|
|
3452
3452
|
<tr>
|
3453
3453
|
<td class="parameter_name"><p>user_data</p></td>
|
3454
3454
|
<td class="parameter_description"><p>The <em class="parameter"><code>user_data</code></em>
|
3455
|
-
<a href="../glib
|
3455
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> passed to <a class="link" href="GDBusConnection.html#g-dbus-connection-register-object" title="g_dbus_connection_register_object ()"><code class="function">g_dbus_connection_register_object()</code></a>.</p></td>
|
3456
3456
|
<td class="parameter_annotations"> </td>
|
3457
3457
|
</tr>
|
3458
3458
|
</tbody>
|
@@ -3463,18 +3463,18 @@ called when it is guaranteed that the data is no longer needed.</p>
|
|
3463
3463
|
<hr>
|
3464
3464
|
<div class="refsect2">
|
3465
3465
|
<a name="GDBusInterfaceGetPropertyFunc"></a><h3>GDBusInterfaceGetPropertyFunc ()</h3>
|
3466
|
-
<pre class="programlisting"><a href="../glib
|
3466
|
+
<pre class="programlisting"><a href="../glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
|
3467
3467
|
<span class="c_punctuation">(</span>*GDBusInterfaceGetPropertyFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
3468
|
-
<em class="parameter"><code>const <a href="../glib
|
3469
|
-
<em class="parameter"><code>const <a href="../glib
|
3470
|
-
<em class="parameter"><code>const <a href="../glib
|
3471
|
-
<em class="parameter"><code>const <a href="../glib
|
3472
|
-
<em class="parameter"><code><a href="../glib
|
3473
|
-
<em class="parameter"><code><a href="../glib
|
3468
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *sender</code></em>,
|
3469
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
|
3470
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *interface_name</code></em>,
|
3471
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>,
|
3472
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
|
3473
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
3474
3474
|
<p>The type of the <em class="parameter"><code>get_property</code></em>
|
3475
3475
|
function in <a class="link" href="GDBusConnection.html#GDBusInterfaceVTable" title="GDBusInterfaceVTable"><span class="type">GDBusInterfaceVTable</span></a>.</p>
|
3476
3476
|
<div class="refsect3">
|
3477
|
-
<a name="
|
3477
|
+
<a name="GDBusInterfaceGetPropertyFunc.parameters"></a><h4>Parameters</h4>
|
3478
3478
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3479
3479
|
<colgroup>
|
3480
3480
|
<col width="150px" class="parameters_name">
|
@@ -3515,18 +3515,18 @@ called when it is guaranteed that the data is no longer needed.</p>
|
|
3515
3515
|
<tr>
|
3516
3516
|
<td class="parameter_name"><p>user_data</p></td>
|
3517
3517
|
<td class="parameter_description"><p>The <em class="parameter"><code>user_data</code></em>
|
3518
|
-
<a href="../glib
|
3518
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> passed to <a class="link" href="GDBusConnection.html#g-dbus-connection-register-object" title="g_dbus_connection_register_object ()"><code class="function">g_dbus_connection_register_object()</code></a>.</p></td>
|
3519
3519
|
<td class="parameter_annotations"> </td>
|
3520
3520
|
</tr>
|
3521
3521
|
</tbody>
|
3522
3522
|
</table></div>
|
3523
3523
|
</div>
|
3524
3524
|
<div class="refsect3">
|
3525
|
-
<a name="
|
3526
|
-
<p> A <a href="../glib
|
3527
|
-
or <a href="../glib
|
3525
|
+
<a name="GDBusInterfaceGetPropertyFunc.returns"></a><h4>Returns</h4>
|
3526
|
+
<p> A <a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> with the value for <em class="parameter"><code>property_name</code></em>
|
3527
|
+
or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
3528
3528
|
<em class="parameter"><code>error</code></em>
|
3529
|
-
is set. If the returned <a href="../glib
|
3529
|
+
is set. If the returned <a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> is floating, it is
|
3530
3530
|
consumed - otherwise its reference count is decreased by one.</p>
|
3531
3531
|
</div>
|
3532
3532
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
@@ -3534,19 +3534,19 @@ consumed - otherwise its reference count is decreased by one.</p>
|
|
3534
3534
|
<hr>
|
3535
3535
|
<div class="refsect2">
|
3536
3536
|
<a name="GDBusInterfaceSetPropertyFunc"></a><h3>GDBusInterfaceSetPropertyFunc ()</h3>
|
3537
|
-
<pre class="programlisting"><a href="../glib
|
3537
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
3538
3538
|
<span class="c_punctuation">(</span>*GDBusInterfaceSetPropertyFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
3539
|
-
<em class="parameter"><code>const <a href="../glib
|
3540
|
-
<em class="parameter"><code>const <a href="../glib
|
3541
|
-
<em class="parameter"><code>const <a href="../glib
|
3542
|
-
<em class="parameter"><code>const <a href="../glib
|
3543
|
-
<em class="parameter"><code><a href="../glib
|
3544
|
-
<em class="parameter"><code><a href="../glib
|
3545
|
-
<em class="parameter"><code><a href="../glib
|
3539
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *sender</code></em>,
|
3540
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
|
3541
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *interface_name</code></em>,
|
3542
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>,
|
3543
|
+
<em class="parameter"><code><a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *value</code></em>,
|
3544
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
|
3545
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
3546
3546
|
<p>The type of the <em class="parameter"><code>set_property</code></em>
|
3547
3547
|
function in <a class="link" href="GDBusConnection.html#GDBusInterfaceVTable" title="GDBusInterfaceVTable"><span class="type">GDBusInterfaceVTable</span></a>.</p>
|
3548
3548
|
<div class="refsect3">
|
3549
|
-
<a name="
|
3549
|
+
<a name="GDBusInterfaceSetPropertyFunc.parameters"></a><h4>Parameters</h4>
|
3550
3550
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3551
3551
|
<colgroup>
|
3552
3552
|
<col width="150px" class="parameters_name">
|
@@ -3592,16 +3592,16 @@ consumed - otherwise its reference count is decreased by one.</p>
|
|
3592
3592
|
<tr>
|
3593
3593
|
<td class="parameter_name"><p>user_data</p></td>
|
3594
3594
|
<td class="parameter_description"><p>The <em class="parameter"><code>user_data</code></em>
|
3595
|
-
<a href="../glib
|
3595
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> passed to <a class="link" href="GDBusConnection.html#g-dbus-connection-register-object" title="g_dbus_connection_register_object ()"><code class="function">g_dbus_connection_register_object()</code></a>.</p></td>
|
3596
3596
|
<td class="parameter_annotations"> </td>
|
3597
3597
|
</tr>
|
3598
3598
|
</tbody>
|
3599
3599
|
</table></div>
|
3600
3600
|
</div>
|
3601
3601
|
<div class="refsect3">
|
3602
|
-
<a name="
|
3603
|
-
<p> <a href="../glib
|
3604
|
-
, <a href="../glib
|
3602
|
+
<a name="GDBusInterfaceSetPropertyFunc.returns"></a><h4>Returns</h4>
|
3603
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the property was set to <em class="parameter"><code>value</code></em>
|
3604
|
+
, <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>error</code></em>
|
3605
3605
|
is set.</p>
|
3606
3606
|
</div>
|
3607
3607
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
@@ -3609,14 +3609,14 @@ is set.</p>
|
|
3609
3609
|
<hr>
|
3610
3610
|
<div class="refsect2">
|
3611
3611
|
<a name="g-dbus-connection-register-object"></a><h3>g_dbus_connection_register_object ()</h3>
|
3612
|
-
<pre class="programlisting"><a href="../glib
|
3612
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
3613
3613
|
g_dbus_connection_register_object (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
3614
|
-
<em class="parameter"><code>const <a href="../glib
|
3614
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
|
3615
3615
|
<em class="parameter"><code><a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a> *interface_info</code></em>,
|
3616
3616
|
<em class="parameter"><code>const <a class="link" href="GDBusConnection.html#GDBusInterfaceVTable" title="GDBusInterfaceVTable"><span class="type">GDBusInterfaceVTable</span></a> *vtable</code></em>,
|
3617
|
-
<em class="parameter"><code><a href="../glib
|
3618
|
-
<em class="parameter"><code><a href="../glib
|
3619
|
-
<em class="parameter"><code><a href="../glib
|
3617
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
|
3618
|
+
<em class="parameter"><code><a href="../glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> user_data_free_func</code></em>,
|
3619
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
3620
3620
|
<p>Registers callbacks for exported objects at <em class="parameter"><code>object_path</code></em>
|
3621
3621
|
with the
|
3622
3622
|
D-Bus interface that is described in <em class="parameter"><code>interface_info</code></em>
|
@@ -3625,9 +3625,9 @@ D-Bus interface that is described in <em class="parameter"><code>interface_info<
|
|
3625
3625
|
(and <em class="parameter"><code>user_data_free_func</code></em>
|
3626
3626
|
) will happen
|
3627
3627
|
in the
|
3628
|
-
<a href="../glib
|
3628
|
+
<a href="../glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main context</a>
|
3629
3629
|
of the thread you are calling this method from.</p>
|
3630
|
-
<p>Note that all <a href="../glib
|
3630
|
+
<p>Note that all <a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> values passed to functions in <em class="parameter"><code>vtable</code></em>
|
3631
3631
|
will match
|
3632
3632
|
the signature given in <em class="parameter"><code>interface_info</code></em>
|
3633
3633
|
- if a remote caller passes
|
@@ -3642,7 +3642,7 @@ are returned to the caller.</p>
|
|
3642
3642
|
<p>It is considered a programming error if the
|
3643
3643
|
<a class="link" href="GDBusConnection.html#GDBusInterfaceGetPropertyFunc" title="GDBusInterfaceGetPropertyFunc ()"><span class="type">GDBusInterfaceGetPropertyFunc</span></a> function in <em class="parameter"><code>vtable</code></em>
|
3644
3644
|
returns a
|
3645
|
-
<a href="../glib
|
3645
|
+
<a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> of incorrect type.</p>
|
3646
3646
|
<p>If an existing callback is already registered at <em class="parameter"><code>object_path</code></em>
|
3647
3647
|
and
|
3648
3648
|
<em class="parameter"><code>interface_name</code></em>
|
@@ -3661,7 +3661,7 @@ as the object is exported. Also note that <em class="parameter"><code>vtable</co
|
|
3661
3661
|
will be copied.</p>
|
3662
3662
|
<p>See this <a class="link" href="GDBusConnection.html#gdbus-server" title="An example D-Bus server">server</a> for an example of how to use this method.</p>
|
3663
3663
|
<div class="refsect3">
|
3664
|
-
<a name="
|
3664
|
+
<a name="g-dbus-connection-register-object.parameters"></a><h4>Parameters</h4>
|
3665
3665
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3666
3666
|
<colgroup>
|
3667
3667
|
<col width="150px" class="parameters_name">
|
@@ -3686,7 +3686,7 @@ as the object is exported. Also note that <em class="parameter"><code>vtable</co
|
|
3686
3686
|
</tr>
|
3687
3687
|
<tr>
|
3688
3688
|
<td class="parameter_name"><p>vtable</p></td>
|
3689
|
-
<td class="parameter_description"><p> a <a class="link" href="GDBusConnection.html#GDBusInterfaceVTable" title="GDBusInterfaceVTable"><span class="type">GDBusInterfaceVTable</span></a> to call into or <a href="../glib
|
3689
|
+
<td class="parameter_description"><p> a <a class="link" href="GDBusConnection.html#GDBusInterfaceVTable" title="GDBusInterfaceVTable"><span class="type">GDBusInterfaceVTable</span></a> to call into or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
3690
3690
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3691
3691
|
</tr>
|
3692
3692
|
<tr>
|
@@ -3702,14 +3702,14 @@ as the object is exported. Also note that <em class="parameter"><code>vtable</co
|
|
3702
3702
|
</tr>
|
3703
3703
|
<tr>
|
3704
3704
|
<td class="parameter_name"><p>error</p></td>
|
3705
|
-
<td class="parameter_description"><p>return location for error or <a href="../glib
|
3705
|
+
<td class="parameter_description"><p>return location for error or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
3706
3706
|
<td class="parameter_annotations"> </td>
|
3707
3707
|
</tr>
|
3708
3708
|
</tbody>
|
3709
3709
|
</table></div>
|
3710
3710
|
</div>
|
3711
3711
|
<div class="refsect3">
|
3712
|
-
<a name="
|
3712
|
+
<a name="g-dbus-connection-register-object.returns"></a><h4>Returns</h4>
|
3713
3713
|
<p> 0 if <em class="parameter"><code>error</code></em>
|
3714
3714
|
is set, otherwise a registration id (never 0)
|
3715
3715
|
that can be used with <a class="link" href="GDBusConnection.html#g-dbus-connection-unregister-object" title="g_dbus_connection_unregister_object ()"><code class="function">g_dbus_connection_unregister_object()</code></a></p>
|
@@ -3719,12 +3719,12 @@ that can be used with <a class="link" href="GDBusConnection.html#g-dbus-connecti
|
|
3719
3719
|
<hr>
|
3720
3720
|
<div class="refsect2">
|
3721
3721
|
<a name="g-dbus-connection-unregister-object"></a><h3>g_dbus_connection_unregister_object ()</h3>
|
3722
|
-
<pre class="programlisting"><a href="../glib
|
3722
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
3723
3723
|
g_dbus_connection_unregister_object (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
3724
|
-
<em class="parameter"><code><a href="../glib
|
3724
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#guint"><span class="type">guint</span></a> registration_id</code></em>);</pre>
|
3725
3725
|
<p>Unregisters an object.</p>
|
3726
3726
|
<div class="refsect3">
|
3727
|
-
<a name="
|
3727
|
+
<a name="g-dbus-connection-unregister-object.parameters"></a><h4>Parameters</h4>
|
3728
3728
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3729
3729
|
<colgroup>
|
3730
3730
|
<col width="150px" class="parameters_name">
|
@@ -3747,28 +3747,28 @@ g_dbus_connection_unregister_object (<em class="parameter"><code><a class="link"
|
|
3747
3747
|
</table></div>
|
3748
3748
|
</div>
|
3749
3749
|
<div class="refsect3">
|
3750
|
-
<a name="
|
3751
|
-
<p> <a href="../glib
|
3750
|
+
<a name="g-dbus-connection-unregister-object.returns"></a><h4>Returns</h4>
|
3751
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the object was unregistered, <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
3752
3752
|
</div>
|
3753
3753
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
3754
3754
|
</div>
|
3755
3755
|
<hr>
|
3756
3756
|
<div class="refsect2">
|
3757
3757
|
<a name="g-dbus-connection-register-object-with-closures"></a><h3>g_dbus_connection_register_object_with_closures ()</h3>
|
3758
|
-
<pre class="programlisting"><a href="../glib
|
3758
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
3759
3759
|
g_dbus_connection_register_object_with_closures
|
3760
3760
|
(<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
3761
|
-
<em class="parameter"><code>const <a href="../glib
|
3761
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
|
3762
3762
|
<em class="parameter"><code><a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a> *interface_info</code></em>,
|
3763
|
-
<em class="parameter"><code><a href="../gobject
|
3764
|
-
<em class="parameter"><code><a href="../gobject
|
3765
|
-
<em class="parameter"><code><a href="../gobject
|
3766
|
-
<em class="parameter"><code><a href="../glib
|
3763
|
+
<em class="parameter"><code><a href="../gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> *method_call_closure</code></em>,
|
3764
|
+
<em class="parameter"><code><a href="../gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> *get_property_closure</code></em>,
|
3765
|
+
<em class="parameter"><code><a href="../gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> *set_property_closure</code></em>,
|
3766
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
3767
3767
|
<p>Version of <a class="link" href="GDBusConnection.html#g-dbus-connection-register-object" title="g_dbus_connection_register_object ()"><code class="function">g_dbus_connection_register_object()</code></a> using closures instead of a
|
3768
3768
|
<a class="link" href="GDBusConnection.html#GDBusInterfaceVTable" title="GDBusInterfaceVTable"><span class="type">GDBusInterfaceVTable</span></a> for easier binding in other languages.</p>
|
3769
3769
|
<p><span class="annotation">[<acronym title="Rename the original symbol's name to SYMBOL."><span class="acronym">rename-to</span></acronym> g_dbus_connection_register_object]</span></p>
|
3770
3770
|
<div class="refsect3">
|
3771
|
-
<a name="
|
3771
|
+
<a name="g-dbus-connection-register-object-with-closures.parameters"></a><h4>Parameters</h4>
|
3772
3772
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3773
3773
|
<colgroup>
|
3774
3774
|
<col width="150px" class="parameters_name">
|
@@ -3793,29 +3793,29 @@ g_dbus_connection_register_object_with_closures
|
|
3793
3793
|
</tr>
|
3794
3794
|
<tr>
|
3795
3795
|
<td class="parameter_name"><p>method_call_closure</p></td>
|
3796
|
-
<td class="parameter_description"><p> <a href="../gobject
|
3796
|
+
<td class="parameter_description"><p> <a href="../gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> for handling incoming method calls. </p></td>
|
3797
3797
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
3798
3798
|
</tr>
|
3799
3799
|
<tr>
|
3800
3800
|
<td class="parameter_name"><p>get_property_closure</p></td>
|
3801
|
-
<td class="parameter_description"><p> <a href="../gobject
|
3801
|
+
<td class="parameter_description"><p> <a href="../gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> for getting a property. </p></td>
|
3802
3802
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
3803
3803
|
</tr>
|
3804
3804
|
<tr>
|
3805
3805
|
<td class="parameter_name"><p>set_property_closure</p></td>
|
3806
|
-
<td class="parameter_description"><p> <a href="../gobject
|
3806
|
+
<td class="parameter_description"><p> <a href="../gobject-Closures.html#GClosure"><span class="type">GClosure</span></a> for setting a property. </p></td>
|
3807
3807
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
3808
3808
|
</tr>
|
3809
3809
|
<tr>
|
3810
3810
|
<td class="parameter_name"><p>error</p></td>
|
3811
|
-
<td class="parameter_description"><p>Return location for error or <a href="../glib
|
3811
|
+
<td class="parameter_description"><p>Return location for error or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
|
3812
3812
|
<td class="parameter_annotations"> </td>
|
3813
3813
|
</tr>
|
3814
3814
|
</tbody>
|
3815
3815
|
</table></div>
|
3816
3816
|
</div>
|
3817
3817
|
<div class="refsect3">
|
3818
|
-
<a name="
|
3818
|
+
<a name="g-dbus-connection-register-object-with-closures.returns"></a><h4>Returns</h4>
|
3819
3819
|
<p> 0 if <em class="parameter"><code>error</code></em>
|
3820
3820
|
is set, otherwise a registration id (never 0)
|
3821
3821
|
that can be used with <a class="link" href="GDBusConnection.html#g-dbus-connection-unregister-object" title="g_dbus_connection_unregister_object ()"><code class="function">g_dbus_connection_unregister_object()</code></a> .</p>
|
@@ -3825,11 +3825,11 @@ that can be used with <a class="link" href="GDBusConnection.html#g-dbus-connecti
|
|
3825
3825
|
<hr>
|
3826
3826
|
<div class="refsect2">
|
3827
3827
|
<a name="GDBusSubtreeEnumerateFunc"></a><h3>GDBusSubtreeEnumerateFunc ()</h3>
|
3828
|
-
<pre class="programlisting"><a href="../glib
|
3828
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
3829
3829
|
<span class="c_punctuation">(</span>*GDBusSubtreeEnumerateFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
3830
|
-
<em class="parameter"><code>const <a href="../glib
|
3831
|
-
<em class="parameter"><code>const <a href="../glib
|
3832
|
-
<em class="parameter"><code><a href="../glib
|
3830
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *sender</code></em>,
|
3831
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
|
3832
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
3833
3833
|
<p>The type of the <em class="parameter"><code>enumerate</code></em>
|
3834
3834
|
function in <a class="link" href="GDBusConnection.html#GDBusSubtreeVTable" title="GDBusSubtreeVTable"><span class="type">GDBusSubtreeVTable</span></a>.</p>
|
3835
3835
|
<p>This function is called when generating introspection data and also
|
@@ -3838,9 +3838,9 @@ when preparing to dispatch incoming messages in the event that the
|
|
3838
3838
|
specified (ie: to verify that the object path is valid).</p>
|
3839
3839
|
<p>Hierarchies are not supported; the items that you return should not
|
3840
3840
|
contain the '/' character.</p>
|
3841
|
-
<p>The return value will be freed with <a href="../glib
|
3841
|
+
<p>The return value will be freed with <a href="../glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a>.</p>
|
3842
3842
|
<div class="refsect3">
|
3843
|
-
<a name="
|
3843
|
+
<a name="GDBusSubtreeEnumerateFunc.parameters"></a><h4>Parameters</h4>
|
3844
3844
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3845
3845
|
<colgroup>
|
3846
3846
|
<col width="150px" class="parameters_name">
|
@@ -3866,14 +3866,14 @@ contain the '/' character.</p>
|
|
3866
3866
|
<tr>
|
3867
3867
|
<td class="parameter_name"><p>user_data</p></td>
|
3868
3868
|
<td class="parameter_description"><p>The <em class="parameter"><code>user_data</code></em>
|
3869
|
-
<a href="../glib
|
3869
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> passed to <a class="link" href="GDBusConnection.html#g-dbus-connection-register-subtree" title="g_dbus_connection_register_subtree ()"><code class="function">g_dbus_connection_register_subtree()</code></a>.</p></td>
|
3870
3870
|
<td class="parameter_annotations"> </td>
|
3871
3871
|
</tr>
|
3872
3872
|
</tbody>
|
3873
3873
|
</table></div>
|
3874
3874
|
</div>
|
3875
3875
|
<div class="refsect3">
|
3876
|
-
<a name="
|
3876
|
+
<a name="GDBusSubtreeEnumerateFunc.returns"></a><h4>Returns</h4>
|
3877
3877
|
<p> A newly allocated array of strings for node names that are children of <em class="parameter"><code>object_path</code></em>
|
3878
3878
|
.</p>
|
3879
3879
|
</div>
|
@@ -3884,29 +3884,29 @@ contain the '/' character.</p>
|
|
3884
3884
|
<a name="GDBusSubtreeIntrospectFunc"></a><h3>GDBusSubtreeIntrospectFunc ()</h3>
|
3885
3885
|
<pre class="programlisting"><a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo"><span class="returnvalue">GDBusInterfaceInfo</span></a> **
|
3886
3886
|
<span class="c_punctuation">(</span>*GDBusSubtreeIntrospectFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
3887
|
-
<em class="parameter"><code>const <a href="../glib
|
3888
|
-
<em class="parameter"><code>const <a href="../glib
|
3889
|
-
<em class="parameter"><code>const <a href="../glib
|
3890
|
-
<em class="parameter"><code><a href="../glib
|
3887
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *sender</code></em>,
|
3888
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
|
3889
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *node</code></em>,
|
3890
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
3891
3891
|
<p>The type of the <em class="parameter"><code>introspect</code></em>
|
3892
3892
|
function in <a class="link" href="GDBusConnection.html#GDBusSubtreeVTable" title="GDBusSubtreeVTable"><span class="type">GDBusSubtreeVTable</span></a>.</p>
|
3893
3893
|
<p>Subtrees are flat. <em class="parameter"><code>node</code></em>
|
3894
|
-
, if non-<a href="../glib
|
3894
|
+
, if non-<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, is always exactly one
|
3895
3895
|
segment of the object path (ie: it never contains a slash).</p>
|
3896
|
-
<p>This function should return <a href="../glib
|
3896
|
+
<p>This function should return <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate that there is no object
|
3897
3897
|
at this node.</p>
|
3898
|
-
<p>If this function returns non-<a href="../glib
|
3899
|
-
be a <a href="../glib
|
3898
|
+
<p>If this function returns non-<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the return value is expected to
|
3899
|
+
be a <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of pointers to <a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a>
|
3900
3900
|
structures describing the interfaces implemented by <em class="parameter"><code>node</code></em>
|
3901
3901
|
. This
|
3902
3902
|
array will have <a class="link" href="gio-D-Bus-Introspection-Data.html#g-dbus-interface-info-unref" title="g_dbus_interface_info_unref ()"><code class="function">g_dbus_interface_info_unref()</code></a> called on each item
|
3903
|
-
before being freed with <a href="../glib
|
3904
|
-
<p>The difference between returning <a href="../glib
|
3903
|
+
before being freed with <a href="../glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
|
3904
|
+
<p>The difference between returning <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> and an array containing zero
|
3905
3905
|
items is that the standard DBus interfaces will returned to the
|
3906
|
-
remote introspector in the empty array case, but not in the <a href="../glib
|
3906
|
+
remote introspector in the empty array case, but not in the <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
3907
3907
|
case.</p>
|
3908
3908
|
<div class="refsect3">
|
3909
|
-
<a name="
|
3909
|
+
<a name="GDBusSubtreeIntrospectFunc.parameters"></a><h4>Parameters</h4>
|
3910
3910
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3911
3911
|
<colgroup>
|
3912
3912
|
<col width="150px" class="parameters_name">
|
@@ -3933,21 +3933,21 @@ case.</p>
|
|
3933
3933
|
<td class="parameter_name"><p>node</p></td>
|
3934
3934
|
<td class="parameter_description"><p>A node that is a child of <em class="parameter"><code>object_path</code></em>
|
3935
3935
|
(relative to <em class="parameter"><code>object_path</code></em>
|
3936
|
-
) or <a href="../glib
|
3936
|
+
) or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for the root of the subtree.</p></td>
|
3937
3937
|
<td class="parameter_annotations"> </td>
|
3938
3938
|
</tr>
|
3939
3939
|
<tr>
|
3940
3940
|
<td class="parameter_name"><p>user_data</p></td>
|
3941
3941
|
<td class="parameter_description"><p>The <em class="parameter"><code>user_data</code></em>
|
3942
|
-
<a href="../glib
|
3942
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> passed to <a class="link" href="GDBusConnection.html#g-dbus-connection-register-subtree" title="g_dbus_connection_register_subtree ()"><code class="function">g_dbus_connection_register_subtree()</code></a>.</p></td>
|
3943
3943
|
<td class="parameter_annotations"> </td>
|
3944
3944
|
</tr>
|
3945
3945
|
</tbody>
|
3946
3946
|
</table></div>
|
3947
3947
|
</div>
|
3948
3948
|
<div class="refsect3">
|
3949
|
-
<a name="
|
3950
|
-
<p> A <a href="../glib
|
3949
|
+
<a name="GDBusSubtreeIntrospectFunc.returns"></a><h4>Returns</h4>
|
3950
|
+
<p> A <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of pointers to <a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a>, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
3951
3951
|
</div>
|
3952
3952
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
3953
3953
|
</div>
|
@@ -3956,19 +3956,19 @@ case.</p>
|
|
3956
3956
|
<a name="GDBusSubtreeDispatchFunc"></a><h3>GDBusSubtreeDispatchFunc ()</h3>
|
3957
3957
|
<pre class="programlisting">const <a class="link" href="GDBusConnection.html#GDBusInterfaceVTable" title="GDBusInterfaceVTable"><span class="returnvalue">GDBusInterfaceVTable</span></a> *
|
3958
3958
|
<span class="c_punctuation">(</span>*GDBusSubtreeDispatchFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
3959
|
-
<em class="parameter"><code>const <a href="../glib
|
3960
|
-
<em class="parameter"><code>const <a href="../glib
|
3961
|
-
<em class="parameter"><code>const <a href="../glib
|
3962
|
-
<em class="parameter"><code>const <a href="../glib
|
3963
|
-
<em class="parameter"><code><a href="../glib
|
3964
|
-
<em class="parameter"><code><a href="../glib
|
3959
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *sender</code></em>,
|
3960
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
|
3961
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *interface_name</code></em>,
|
3962
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *node</code></em>,
|
3963
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> *out_user_data</code></em>,
|
3964
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
3965
3965
|
<p>The type of the <em class="parameter"><code>dispatch</code></em>
|
3966
3966
|
function in <a class="link" href="GDBusConnection.html#GDBusSubtreeVTable" title="GDBusSubtreeVTable"><span class="type">GDBusSubtreeVTable</span></a>.</p>
|
3967
3967
|
<p>Subtrees are flat. <em class="parameter"><code>node</code></em>
|
3968
|
-
, if non-<a href="../glib
|
3968
|
+
, if non-<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, is always exactly one
|
3969
3969
|
segment of the object path (ie: it never contains a slash).</p>
|
3970
3970
|
<div class="refsect3">
|
3971
|
-
<a name="
|
3971
|
+
<a name="GDBusSubtreeDispatchFunc.parameters"></a><h4>Parameters</h4>
|
3972
3972
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3973
3973
|
<colgroup>
|
3974
3974
|
<col width="150px" class="parameters_name">
|
@@ -4000,40 +4000,40 @@ segment of the object path (ie: it never contains a slash).</p>
|
|
4000
4000
|
<td class="parameter_name"><p>node</p></td>
|
4001
4001
|
<td class="parameter_description"><p>A node that is a child of <em class="parameter"><code>object_path</code></em>
|
4002
4002
|
(relative to <em class="parameter"><code>object_path</code></em>
|
4003
|
-
) or <a href="../glib
|
4003
|
+
) or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for the root of the subtree.</p></td>
|
4004
4004
|
<td class="parameter_annotations"> </td>
|
4005
4005
|
</tr>
|
4006
4006
|
<tr>
|
4007
4007
|
<td class="parameter_name"><p>out_user_data</p></td>
|
4008
|
-
<td class="parameter_description"><p> Return location for user data to pass to functions in the returned <a class="link" href="GDBusConnection.html#GDBusInterfaceVTable" title="GDBusInterfaceVTable"><span class="type">GDBusInterfaceVTable</span></a> (never <a href="../glib
|
4008
|
+
<td class="parameter_description"><p> Return location for user data to pass to functions in the returned <a class="link" href="GDBusConnection.html#GDBusInterfaceVTable" title="GDBusInterfaceVTable"><span class="type">GDBusInterfaceVTable</span></a> (never <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>). </p></td>
|
4009
4009
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][not optional]</span></td>
|
4010
4010
|
</tr>
|
4011
4011
|
<tr>
|
4012
4012
|
<td class="parameter_name"><p>user_data</p></td>
|
4013
4013
|
<td class="parameter_description"><p>The <em class="parameter"><code>user_data</code></em>
|
4014
|
-
<a href="../glib
|
4014
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> passed to <a class="link" href="GDBusConnection.html#g-dbus-connection-register-subtree" title="g_dbus_connection_register_subtree ()"><code class="function">g_dbus_connection_register_subtree()</code></a>.</p></td>
|
4015
4015
|
<td class="parameter_annotations"> </td>
|
4016
4016
|
</tr>
|
4017
4017
|
</tbody>
|
4018
4018
|
</table></div>
|
4019
4019
|
</div>
|
4020
4020
|
<div class="refsect3">
|
4021
|
-
<a name="
|
4022
|
-
<p> A <a class="link" href="GDBusConnection.html#GDBusInterfaceVTable" title="GDBusInterfaceVTable"><span class="type">GDBusInterfaceVTable</span></a> or <a href="../glib
|
4021
|
+
<a name="GDBusSubtreeDispatchFunc.returns"></a><h4>Returns</h4>
|
4022
|
+
<p> A <a class="link" href="GDBusConnection.html#GDBusInterfaceVTable" title="GDBusInterfaceVTable"><span class="type">GDBusInterfaceVTable</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if you don't want to handle the methods.</p>
|
4023
4023
|
</div>
|
4024
4024
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
4025
4025
|
</div>
|
4026
4026
|
<hr>
|
4027
4027
|
<div class="refsect2">
|
4028
4028
|
<a name="g-dbus-connection-register-subtree"></a><h3>g_dbus_connection_register_subtree ()</h3>
|
4029
|
-
<pre class="programlisting"><a href="../glib
|
4029
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
4030
4030
|
g_dbus_connection_register_subtree (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
4031
|
-
<em class="parameter"><code>const <a href="../glib
|
4031
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
|
4032
4032
|
<em class="parameter"><code>const <a class="link" href="GDBusConnection.html#GDBusSubtreeVTable" title="GDBusSubtreeVTable"><span class="type">GDBusSubtreeVTable</span></a> *vtable</code></em>,
|
4033
4033
|
<em class="parameter"><code><a class="link" href="GDBusConnection.html#GDBusSubtreeFlags" title="enum GDBusSubtreeFlags"><span class="type">GDBusSubtreeFlags</span></a> flags</code></em>,
|
4034
|
-
<em class="parameter"><code><a href="../glib
|
4035
|
-
<em class="parameter"><code><a href="../glib
|
4036
|
-
<em class="parameter"><code><a href="../glib
|
4034
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
|
4035
|
+
<em class="parameter"><code><a href="../glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> user_data_free_func</code></em>,
|
4036
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
4037
4037
|
<p>Registers a whole subtree of dynamic objects.</p>
|
4038
4038
|
<p>The <em class="parameter"><code>enumerate</code></em>
|
4039
4039
|
and <em class="parameter"><code>introspection</code></em>
|
@@ -4051,10 +4051,10 @@ the <em class="parameter"><code>introspection</code></em>
|
|
4051
4051
|
requested method. If so, the <em class="parameter"><code>dispatch</code></em>
|
4052
4052
|
function is used to determine
|
4053
4053
|
where to dispatch the call. The collected <a class="link" href="GDBusConnection.html#GDBusInterfaceVTable" title="GDBusInterfaceVTable"><span class="type">GDBusInterfaceVTable</span></a> and
|
4054
|
-
<a href="../glib
|
4054
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> will be used to call into the interface vtable for processing
|
4055
4055
|
the request.</p>
|
4056
4056
|
<p>All calls into user-provided code will be invoked in the
|
4057
|
-
<a href="../glib
|
4057
|
+
<a href="../glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main context</a>
|
4058
4058
|
of the thread you are calling this method from.</p>
|
4059
4059
|
<p>If an existing subtree is already registered at <em class="parameter"><code>object_path</code></em>
|
4060
4060
|
or
|
@@ -4072,7 +4072,7 @@ registration.</p>
|
|
4072
4072
|
<p>See this <a class="link" href="GDBusConnection.html#gdbus-subtree-server" title="An example for exporting a subtree">server</a> for an example of how to use
|
4073
4073
|
this method.</p>
|
4074
4074
|
<div class="refsect3">
|
4075
|
-
<a name="
|
4075
|
+
<a name="g-dbus-connection-register-subtree.parameters"></a><h4>Parameters</h4>
|
4076
4076
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4077
4077
|
<colgroup>
|
4078
4078
|
<col width="150px" class="parameters_name">
|
@@ -4114,14 +4114,14 @@ dispatch nodes in the subtree</p></td>
|
|
4114
4114
|
</tr>
|
4115
4115
|
<tr>
|
4116
4116
|
<td class="parameter_name"><p>error</p></td>
|
4117
|
-
<td class="parameter_description"><p>return location for error or <a href="../glib
|
4117
|
+
<td class="parameter_description"><p>return location for error or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
4118
4118
|
<td class="parameter_annotations"> </td>
|
4119
4119
|
</tr>
|
4120
4120
|
</tbody>
|
4121
4121
|
</table></div>
|
4122
4122
|
</div>
|
4123
4123
|
<div class="refsect3">
|
4124
|
-
<a name="
|
4124
|
+
<a name="g-dbus-connection-register-subtree.returns"></a><h4>Returns</h4>
|
4125
4125
|
<p> 0 if <em class="parameter"><code>error</code></em>
|
4126
4126
|
is set, otherwise a subtree registration id (never 0)
|
4127
4127
|
that can be used with <a class="link" href="GDBusConnection.html#g-dbus-connection-unregister-subtree" title="g_dbus_connection_unregister_subtree ()"><code class="function">g_dbus_connection_unregister_subtree()</code></a> .</p>
|
@@ -4131,12 +4131,12 @@ that can be used with <a class="link" href="GDBusConnection.html#g-dbus-connecti
|
|
4131
4131
|
<hr>
|
4132
4132
|
<div class="refsect2">
|
4133
4133
|
<a name="g-dbus-connection-unregister-subtree"></a><h3>g_dbus_connection_unregister_subtree ()</h3>
|
4134
|
-
<pre class="programlisting"><a href="../glib
|
4134
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
4135
4135
|
g_dbus_connection_unregister_subtree (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
4136
|
-
<em class="parameter"><code><a href="../glib
|
4136
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#guint"><span class="type">guint</span></a> registration_id</code></em>);</pre>
|
4137
4137
|
<p>Unregisters a subtree.</p>
|
4138
4138
|
<div class="refsect3">
|
4139
|
-
<a name="
|
4139
|
+
<a name="g-dbus-connection-unregister-subtree.parameters"></a><h4>Parameters</h4>
|
4140
4140
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4141
4141
|
<colgroup>
|
4142
4142
|
<col width="150px" class="parameters_name">
|
@@ -4159,8 +4159,8 @@ g_dbus_connection_unregister_subtree (<em class="parameter"><code><a class="link
|
|
4159
4159
|
</table></div>
|
4160
4160
|
</div>
|
4161
4161
|
<div class="refsect3">
|
4162
|
-
<a name="
|
4163
|
-
<p> <a href="../glib
|
4162
|
+
<a name="g-dbus-connection-unregister-subtree.returns"></a><h4>Returns</h4>
|
4163
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the subtree was unregistered, <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
4164
4164
|
</div>
|
4165
4165
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
4166
4166
|
</div>
|
@@ -4171,7 +4171,7 @@ g_dbus_connection_unregister_subtree (<em class="parameter"><code><a class="link
|
|
4171
4171
|
<a name="GBusType"></a><h3>enum GBusType</h3>
|
4172
4172
|
<p>An enumeration for well-known message buses.</p>
|
4173
4173
|
<div class="refsect3">
|
4174
|
-
<a name="
|
4174
|
+
<a name="GBusType.members"></a><h4>Members</h4>
|
4175
4175
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4176
4176
|
<colgroup>
|
4177
4177
|
<col width="300px" class="enum_members_name">
|
@@ -4225,7 +4225,7 @@ should only be accessed using the provided API.</p>
|
|
4225
4225
|
<a name="GDBusConnectionFlags"></a><h3>enum GDBusConnectionFlags</h3>
|
4226
4226
|
<p>Flags used when creating a new <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a>.</p>
|
4227
4227
|
<div class="refsect3">
|
4228
|
-
<a name="
|
4228
|
+
<a name="GDBusConnectionFlags.members"></a><h4>Members</h4>
|
4229
4229
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4230
4230
|
<colgroup>
|
4231
4231
|
<col width="300px" class="enum_members_name">
|
@@ -4289,7 +4289,7 @@ delayed until <a class="link" href="GDBusConnection.html#g-dbus-connection-start
|
|
4289
4289
|
<a name="GDBusCapabilityFlags"></a><h3>enum GDBusCapabilityFlags</h3>
|
4290
4290
|
<p>Capabilities negotiated with the remote peer.</p>
|
4291
4291
|
<div class="refsect3">
|
4292
|
-
<a name="
|
4292
|
+
<a name="GDBusCapabilityFlags.members"></a><h4>Members</h4>
|
4293
4293
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4294
4294
|
<colgroup>
|
4295
4295
|
<col width="300px" class="enum_members_name">
|
@@ -4322,7 +4322,7 @@ supports exchanging UNIX file descriptors with the remote peer.</p>
|
|
4322
4322
|
<a name="GDBusCallFlags"></a><h3>enum GDBusCallFlags</h3>
|
4323
4323
|
<p>Flags used in <a class="link" href="GDBusConnection.html#g-dbus-connection-call" title="g_dbus_connection_call ()"><code class="function">g_dbus_connection_call()</code></a> and similar APIs.</p>
|
4324
4324
|
<div class="refsect3">
|
4325
|
-
<a name="
|
4325
|
+
<a name="GDBusCallFlags.members"></a><h4>Members</h4>
|
4326
4326
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4327
4327
|
<colgroup>
|
4328
4328
|
<col width="300px" class="enum_members_name">
|
@@ -4364,7 +4364,7 @@ wait for interactive authorization. Since 2.46.</p>
|
|
4364
4364
|
<a name="GDBusSignalFlags"></a><h3>enum GDBusSignalFlags</h3>
|
4365
4365
|
<p>Flags used when subscribing to signals via <a class="link" href="GDBusConnection.html#g-dbus-connection-signal-subscribe" title="g_dbus_connection_signal_subscribe ()"><code class="function">g_dbus_connection_signal_subscribe()</code></a>.</p>
|
4366
4366
|
<div class="refsect3">
|
4367
|
-
<a name="
|
4367
|
+
<a name="GDBusSignalFlags.members"></a><h4>Members</h4>
|
4368
4368
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4369
4369
|
<colgroup>
|
4370
4370
|
<col width="300px" class="enum_members_name">
|
@@ -4413,9 +4413,9 @@ or one of the paths is a subpath of the other.</p>
|
|
4413
4413
|
<hr>
|
4414
4414
|
<div class="refsect2">
|
4415
4415
|
<a name="GDBusSendMessageFlags"></a><h3>enum GDBusSendMessageFlags</h3>
|
4416
|
-
<p>Flags used when sending <a href="GDBusMessage.html"><span class="type">GDBusMessages</span></a> on a <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a>.</p>
|
4416
|
+
<p>Flags used when sending <a href="GDBusMessage.html#GDBusMessage-struct"><span class="type">GDBusMessages</span></a> on a <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a>.</p>
|
4417
4417
|
<div class="refsect3">
|
4418
|
-
<a name="
|
4418
|
+
<a name="GDBusSendMessageFlags.members"></a><h4>Members</h4>
|
4419
4419
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4420
4420
|
<colgroup>
|
4421
4421
|
<col width="300px" class="enum_members_name">
|
@@ -4456,7 +4456,7 @@ sending a message.</p>
|
|
4456
4456
|
<p>Virtual table for handling properties and method calls for a D-Bus
|
4457
4457
|
interface.</p>
|
4458
4458
|
<p>Since 2.38, if you want to handle getting/setting D-Bus properties
|
4459
|
-
asynchronously, give <a href="../glib
|
4459
|
+
asynchronously, give <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> as your <code class="function">get_property()</code> or <code class="function">set_property()</code>
|
4460
4460
|
function. The D-Bus call will be directed to your <em class="parameter"><code>method_call</code></em>
|
4461
4461
|
function,
|
4462
4462
|
with the provided <em class="parameter"><code>interface_name</code></em>
|
@@ -4481,7 +4481,7 @@ passed to the <em class="parameter"><code>method_call</code></em>
|
|
4481
4481
|
<a class="link" href="GDBusMethodInvocation.html#g-dbus-method-invocation-get-property-info" title="g_dbus_method_invocation_get_property_info ()"><code class="function">g_dbus_method_invocation_get_property_info()</code></a> to get a pointer
|
4482
4482
|
to the <a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusPropertyInfo"><span class="type">GDBusPropertyInfo</span></a> of the property.</p>
|
4483
4483
|
<p>If you have readable properties specified in your interface info,
|
4484
|
-
you must ensure that you either provide a non-<a href="../glib
|
4484
|
+
you must ensure that you either provide a non-<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> <em class="parameter"><code><code class="function">get_property()</code></code></em>
|
4485
4485
|
|
4486
4486
|
function or provide implementations of both the <code class="literal">Get</code> and <code class="literal">GetAll</code>
|
4487
4487
|
methods on org.freedesktop.DBus.Properties interface in your <em class="parameter"><code>method_call</code></em>
|
@@ -4490,12 +4490,12 @@ function. Note that the required return type of the <code class="literal">Get</c
|
|
4490
4490
|
<code class="literal">(v)</code>, not the type of the property. <code class="literal">GetAll</code> expects a return value
|
4491
4491
|
of type <code class="literal">a{sv}</code>.</p>
|
4492
4492
|
<p>If you have writable properties specified in your interface info,
|
4493
|
-
you must ensure that you either provide a non-<a href="../glib
|
4493
|
+
you must ensure that you either provide a non-<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> <em class="parameter"><code><code class="function">set_property()</code></code></em>
|
4494
4494
|
|
4495
4495
|
function or provide an implementation of the <code class="literal">Set</code> call. If implementing
|
4496
|
-
the call, you must return the value of type <a href="../glib
|
4496
|
+
the call, you must return the value of type <a href="../glib-GVariantType.html#G-VARIANT-TYPE-UNIT:CAPS"><code class="literal">G_VARIANT_TYPE_UNIT</code></a>.</p>
|
4497
4497
|
<div class="refsect3">
|
4498
|
-
<a name="
|
4498
|
+
<a name="GDBusInterfaceVTable.members"></a><h4>Members</h4>
|
4499
4499
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4500
4500
|
<colgroup>
|
4501
4501
|
<col width="300px" class="struct_members_name">
|
@@ -4534,7 +4534,7 @@ the call, you must return the value of type <a href="../glib/glib-GVariantType.h
|
|
4534
4534
|
</pre>
|
4535
4535
|
<p>Virtual table for handling subtrees registered with <a class="link" href="GDBusConnection.html#g-dbus-connection-register-subtree" title="g_dbus_connection_register_subtree ()"><code class="function">g_dbus_connection_register_subtree()</code></a>.</p>
|
4536
4536
|
<div class="refsect3">
|
4537
|
-
<a name="
|
4537
|
+
<a name="GDBusSubtreeVTable.members"></a><h4>Members</h4>
|
4538
4538
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4539
4539
|
<colgroup>
|
4540
4540
|
<col width="300px" class="struct_members_name">
|
@@ -4567,7 +4567,7 @@ the call, you must return the value of type <a href="../glib/glib-GVariantType.h
|
|
4567
4567
|
<a name="GDBusSubtreeFlags"></a><h3>enum GDBusSubtreeFlags</h3>
|
4568
4568
|
<p>Flags passed to <a class="link" href="GDBusConnection.html#g-dbus-connection-register-subtree" title="g_dbus_connection_register_subtree ()"><code class="function">g_dbus_connection_register_subtree()</code></a>.</p>
|
4569
4569
|
<div class="refsect3">
|
4570
|
-
<a name="
|
4570
|
+
<a name="GDBusSubtreeFlags.members"></a><h4>Members</h4>
|
4571
4571
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4572
4572
|
<colgroup>
|
4573
4573
|
<col width="300px" class="enum_members_name">
|
@@ -4601,7 +4601,7 @@ the call, you must return the value of type <a href="../glib/glib-GVariantType.h
|
|
4601
4601
|
<a name="GDBusConnection.property-details"></a><h2>Property Details</h2>
|
4602
4602
|
<div class="refsect2">
|
4603
4603
|
<a name="GDBusConnection--address"></a><h3>The <code class="literal">“address”</code> property</h3>
|
4604
|
-
<pre class="programlisting"> “address” <a href="../glib
|
4604
|
+
<pre class="programlisting"> “address” <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
4605
4605
|
<p>A D-Bus address specifying potential endpoints that can be used
|
4606
4606
|
when establishing the connection.</p>
|
4607
4607
|
<p>Flags: Write / Construct Only</p>
|
@@ -4612,7 +4612,7 @@ when establishing the connection.</p>
|
|
4612
4612
|
<div class="refsect2">
|
4613
4613
|
<a name="GDBusConnection--authentication-observer"></a><h3>The <code class="literal">“authentication-observer”</code> property</h3>
|
4614
4614
|
<pre class="programlisting"> “authentication-observer” <a class="link" href="GDBusAuthObserver.html" title="GDBusAuthObserver"><span class="type">GDBusAuthObserver</span></a> *</pre>
|
4615
|
-
<p>A <a class="link" href="GDBusAuthObserver.html" title="GDBusAuthObserver"><span class="type">GDBusAuthObserver</span></a> object to assist in the authentication process or <a href="../glib
|
4615
|
+
<p>A <a class="link" href="GDBusAuthObserver.html" title="GDBusAuthObserver"><span class="type">GDBusAuthObserver</span></a> object to assist in the authentication process or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
4616
4616
|
<p>Flags: Write / Construct Only</p>
|
4617
4617
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
4618
4618
|
</div>
|
@@ -4628,7 +4628,7 @@ representing connection features negotiated with the other peer.</p>
|
|
4628
4628
|
<hr>
|
4629
4629
|
<div class="refsect2">
|
4630
4630
|
<a name="GDBusConnection--closed"></a><h3>The <code class="literal">“closed”</code> property</h3>
|
4631
|
-
<pre class="programlisting"> “closed” <a href="../glib
|
4631
|
+
<pre class="programlisting"> “closed” <a href="../glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
4632
4632
|
<p>A boolean specifying whether the connection has been closed.</p>
|
4633
4633
|
<p>Flags: Read</p>
|
4634
4634
|
<p>Default value: FALSE</p>
|
@@ -4637,12 +4637,12 @@ representing connection features negotiated with the other peer.</p>
|
|
4637
4637
|
<hr>
|
4638
4638
|
<div class="refsect2">
|
4639
4639
|
<a name="GDBusConnection--exit-on-close"></a><h3>The <code class="literal">“exit-on-close”</code> property</h3>
|
4640
|
-
<pre class="programlisting"> “exit-on-close” <a href="../glib
|
4640
|
+
<pre class="programlisting"> “exit-on-close” <a href="../glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
4641
4641
|
<p>A boolean specifying whether the process will be terminated (by
|
4642
4642
|
calling <code class="literal">raise(SIGTERM)</code>) if the connection is closed by the
|
4643
4643
|
remote peer.</p>
|
4644
4644
|
<p>Note that <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> objects returned by <a class="link" href="GDBusConnection.html#g-bus-get-finish" title="g_bus_get_finish ()"><code class="function">g_bus_get_finish()</code></a>
|
4645
|
-
and <a class="link" href="GDBusConnection.html#g-bus-get-sync" title="g_bus_get_sync ()"><code class="function">g_bus_get_sync()</code></a> will (usually) have this property set to <a href="../glib
|
4645
|
+
and <a class="link" href="GDBusConnection.html#g-bus-get-sync" title="g_bus_get_sync ()"><code class="function">g_bus_get_sync()</code></a> will (usually) have this property set to <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
|
4646
4646
|
<p>Flags: Read / Write</p>
|
4647
4647
|
<p>Default value: FALSE</p>
|
4648
4648
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
@@ -4658,7 +4658,7 @@ and <a class="link" href="GDBusConnection.html#g-bus-get-sync" title="g_bus_get_
|
|
4658
4658
|
<hr>
|
4659
4659
|
<div class="refsect2">
|
4660
4660
|
<a name="GDBusConnection--guid"></a><h3>The <code class="literal">“guid”</code> property</h3>
|
4661
|
-
<pre class="programlisting"> “guid” <a href="../glib
|
4661
|
+
<pre class="programlisting"> “guid” <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
4662
4662
|
<p>The GUID of the peer performing the role of server when
|
4663
4663
|
authenticating.</p>
|
4664
4664
|
<p>If you are constructing a <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> and pass
|
@@ -4690,8 +4690,8 @@ the stream directly.</p>
|
|
4690
4690
|
<hr>
|
4691
4691
|
<div class="refsect2">
|
4692
4692
|
<a name="GDBusConnection--unique-name"></a><h3>The <code class="literal">“unique-name”</code> property</h3>
|
4693
|
-
<pre class="programlisting"> “unique-name” <a href="../glib
|
4694
|
-
<p>The unique name as assigned by the message bus or <a href="../glib
|
4693
|
+
<pre class="programlisting"> “unique-name” <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
4694
|
+
<p>The unique name as assigned by the message bus or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the
|
4695
4695
|
connection is not open or not a message bus connection.</p>
|
4696
4696
|
<p>Flags: Read</p>
|
4697
4697
|
<p>Default value: NULL</p>
|
@@ -4704,23 +4704,23 @@ connection is not open or not a message bus connection.</p>
|
|
4704
4704
|
<a name="GDBusConnection-closed"></a><h3>The <code class="literal">“closed”</code> signal</h3>
|
4705
4705
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
4706
4706
|
user_function (<a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection,
|
4707
|
-
<a href="../glib
|
4708
|
-
<a href="../glib
|
4709
|
-
<a href="../glib
|
4707
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> remote_peer_vanished,
|
4708
|
+
<a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error,
|
4709
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
4710
4710
|
<p>Emitted when the connection is closed.</p>
|
4711
4711
|
<p>The cause of this event can be</p>
|
4712
4712
|
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
4713
4713
|
<li class="listitem"><p>If <a class="link" href="GDBusConnection.html#g-dbus-connection-close" title="g_dbus_connection_close ()"><code class="function">g_dbus_connection_close()</code></a> is called. In this case
|
4714
4714
|
<em class="parameter"><code>remote_peer_vanished</code></em>
|
4715
|
-
is set to <a href="../glib
|
4716
|
-
is <a href="../glib
|
4715
|
+
is set to <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> and <em class="parameter"><code>error</code></em>
|
4716
|
+
is <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></li>
|
4717
4717
|
<li class="listitem"><p>If the remote peer closes the connection. In this case
|
4718
4718
|
<em class="parameter"><code>remote_peer_vanished</code></em>
|
4719
|
-
is set to <a href="../glib
|
4719
|
+
is set to <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> and <em class="parameter"><code>error</code></em>
|
4720
4720
|
is set.</p></li>
|
4721
4721
|
<li class="listitem"><p>If the remote peer sends invalid or malformed data. In this
|
4722
4722
|
case <em class="parameter"><code>remote_peer_vanished</code></em>
|
4723
|
-
is set to <a href="../glib
|
4723
|
+
is set to <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> and <em class="parameter"><code>error</code></em>
|
4724
4724
|
is set.</p></li>
|
4725
4725
|
</ul></div>
|
4726
4726
|
<p>Upon receiving this signal, you should give up your reference to
|
@@ -4728,7 +4728,7 @@ case <em class="parameter"><code>remote_peer_vanished</code></em>
|
|
4728
4728
|
. You are guaranteed that this signal is emitted only
|
4729
4729
|
once.</p>
|
4730
4730
|
<div class="refsect3">
|
4731
|
-
<a name="
|
4731
|
+
<a name="GDBusConnection-closed.parameters"></a><h4>Parameters</h4>
|
4732
4732
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4733
4733
|
<colgroup>
|
4734
4734
|
<col width="150px" class="parameters_name">
|
@@ -4743,14 +4743,14 @@ once.</p>
|
|
4743
4743
|
</tr>
|
4744
4744
|
<tr>
|
4745
4745
|
<td class="parameter_name"><p>remote_peer_vanished</p></td>
|
4746
|
-
<td class="parameter_description"><p><a href="../glib
|
4746
|
+
<td class="parameter_description"><p><a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>connection</code></em>
|
4747
4747
|
is closed because the
|
4748
4748
|
remote peer closed its end of the connection</p></td>
|
4749
4749
|
<td class="parameter_annotations"> </td>
|
4750
4750
|
</tr>
|
4751
4751
|
<tr>
|
4752
4752
|
<td class="parameter_name"><p>error</p></td>
|
4753
|
-
<td class="parameter_description"><p> a <a href="../glib
|
4753
|
+
<td class="parameter_description"><p> a <a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> with more details about the event or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
4754
4754
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
4755
4755
|
</tr>
|
4756
4756
|
<tr>
|
@@ -4761,12 +4761,12 @@ remote peer closed its end of the connection</p></td>
|
|
4761
4761
|
</tbody>
|
4762
4762
|
</table></div>
|
4763
4763
|
</div>
|
4764
|
-
<p>Flags: <a href="../gobject
|
4764
|
+
<p>Flags: <a href="../gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
4765
4765
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
4766
4766
|
</div>
|
4767
4767
|
</div>
|
4768
4768
|
</div>
|
4769
4769
|
<div class="footer">
|
4770
|
-
<hr>Generated by GTK-Doc V1.
|
4770
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
4771
4771
|
</body>
|
4772
4772
|
</html>
|