From: Daan De Meyer Date: Sun, 19 Apr 2020 11:05:20 +0000 (+0200) Subject: D-Bus docs: Use method instead of call X-Git-Tag: v246-rc1~559^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=89fc6fd3eaa7b64b1892246a58c02d91b389d066;p=thirdparty%2Fsystemd.git D-Bus docs: Use method instead of call --- diff --git a/man/org.freedesktop.import1.xml b/man/org.freedesktop.import1.xml index 71469a9c5ef..ebdf82d415b 100644 --- a/man/org.freedesktop.import1.xml +++ b/man/org.freedesktop.import1.xml @@ -156,7 +156,7 @@ node /org/freedesktop/import1 { gzip, depending on which compression scheme is required. The image written to the specified file descriptor will be a tar file in case of ExportTar() or a raw disk image in case of ExportRaw(). Note that currently raw disk images may not be - exported as tar files, and vice versa. This restriction might be lifted eventually. The call + exported as tar files, and vice versa. This restriction might be lifted eventually. The method returns a transfer identifier and object path for cancelling or tracking the export operation, similar to ImportTar() or ImportRaw() as described above. @@ -246,8 +246,8 @@ node /org/freedesktop/import1/transfer/_1 { Methods The Cancel() method may be used to cancel the transfer. It takes no - parameters. This call is pretty much equivalent to the CancelTransfer() call on - the Manager interface (see above), but is exposed on the + parameters. This method is pretty much equivalent to the CancelTransfer() method + on the Manager interface (see above), but is exposed on the Transfer object itself instead of taking a transfer ID. diff --git a/man/org.freedesktop.locale1.xml b/man/org.freedesktop.locale1.xml index 12a82c1db52..fb6f585ac79 100644 --- a/man/org.freedesktop.locale1.xml +++ b/man/org.freedesktop.locale1.xml @@ -77,7 +77,7 @@ node /org/freedesktop/locale1 { daemons will inherit the new system locale. Note that already running daemons will not learn about the new value. - The SetVConsoleKeyboard() call may be used to set the key mapping for the + The SetVConsoleKeyboard() method may be used to set the key mapping for the virtual console. Similarly, SetX11Keyboard() may be used to set the default key mapping of any X11 servers. diff --git a/man/org.freedesktop.login1.xml b/man/org.freedesktop.login1.xml index 84dded38491..c79a2e6cf86 100644 --- a/man/org.freedesktop.login1.xml +++ b/man/org.freedesktop.login1.xml @@ -377,7 +377,7 @@ node /org/freedesktop/login1 { should be a short human readable string identifying the reason why the lock is taken. Finally, mode is either block or delay which encodes whether the inhibit shall be consider mandatory or whether it should just delay the operation to a - certain maximum time. The call returns a file descriptor. The lock is released the moment this file + certain maximum time. The method returns a file descriptor. The lock is released the moment this file descriptor and all its duplicates are closed. For more information on the inhibition logic see Inhibitor Locks. @@ -822,7 +822,7 @@ node /org/freedesktop/login1/session/45 { TakeControl() allows a process to take exclusive managed device access-control for that session. Only one D-Bus connection can be a controller for a given session at any time. If the force argument is set (root only), an existing controller is kicked - out and replaced. Otherwise, this call fails if there is already a controller. Note that this call is + out and replaced. Otherwise, this method fails if there is already a controller. Note that this method is limited to D-Bus users with the effective UID set to the user of the session or root. ReleaseControl() drops control of a given session. Closing the diff --git a/man/org.freedesktop.machine1.xml b/man/org.freedesktop.machine1.xml index 0b35ab43131..3a2a4500b67 100644 --- a/man/org.freedesktop.machine1.xml +++ b/man/org.freedesktop.machine1.xml @@ -219,7 +219,7 @@ node /org/freedesktop/machine1 { scope properties are passed as array in the same way as to PID1's StartTransientUnit() method. Calling this method will internally register a transient scope unit for the calling client (utilizing the passed scope_properties) and move the leader PID into - it. The call returns an object path for the registered machine object that implements the + it. The method returns an object path for the registered machine object that implements the org.freedesktop.machine1.Machine interface (see below). Also see the New Control Group Interfaces for details about scope units and how to alter resource control settings on the @@ -252,7 +252,7 @@ node /org/freedesktop/machine1 { TerminateMachine() terminates a virtual machine, killing its processes. It takes a machine name as its only argument. - GetMachineAddresses() retrieves the IP addresses of a container. This call + GetMachineAddresses() retrieves the IP addresses of a container. This method returns an array of pairs consisting of an address family specifier (AF_INET or AF_INET6) and a byte array containing the addresses. This is only supported for containers that make use of network namespacing.