]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
D-Bus docs: Use method instead of call
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 19 Apr 2020 11:05:20 +0000 (13:05 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 19 Apr 2020 11:05:20 +0000 (13:05 +0200)
man/org.freedesktop.import1.xml
man/org.freedesktop.locale1.xml
man/org.freedesktop.login1.xml
man/org.freedesktop.machine1.xml

index 71469a9c5efd0c3c3a3f590b23d23b5b7c00cd62..ebdf82d415bd0a1f97b27fde837f28cbaeae8dc0 100644 (file)
@@ -156,7 +156,7 @@ node /org/freedesktop/import1 {
       <literal>gzip</literal>, depending on which compression scheme is required. The image written to the
       specified file descriptor will be a tar file in case of <function>ExportTar()</function> or a raw disk
       image in case of <function>ExportRaw()</function>. 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 <function>ImportTar()</function> or <function>ImportRaw()</function> as described above.</para>
 
@@ -246,8 +246,8 @@ node /org/freedesktop/import1/transfer/_1 {
       <title>Methods</title>
 
       <para>The <function>Cancel()</function> method may be used to cancel the transfer. It takes no
-      parameters. This call is pretty much equivalent to the <function>CancelTransfer()</function> call on
-      the <structname>Manager</structname> interface (see above), but is exposed on the
+      parameters. This method is pretty much equivalent to the <function>CancelTransfer()</function> method
+      on the <structname>Manager</structname> interface (see above), but is exposed on the
       <structname>Transfer</structname> object itself instead of taking a transfer ID.</para>
     </refsect2>
 
index 12a82c1db525b27145b54f02f0346108f4c3e491..fb6f585ac799abb1944631bda59b7b0786d78fef 100644 (file)
@@ -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.</para>
 
-      <para>The <function>SetVConsoleKeyboard()</function> call may be used to set the key mapping for the
+      <para>The <function>SetVConsoleKeyboard()</function> method may be used to set the key mapping for the
       virtual console. Similarly, <function>SetX11Keyboard()</function> may be used to set the default key
       mapping of any X11 servers.</para>
 
index 84dded384919355a6cfe4a2c3c12f16657c827c9..c79a2e6cf86b992312339ee99dc01271363ba072 100644 (file)
@@ -377,7 +377,7 @@ node /org/freedesktop/login1 {
       should be a short human readable string identifying the reason why the lock is taken. Finally,
       <varname>mode</varname> is either <literal>block</literal> or <literal>delay</literal> 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
       <ulink url="http://www.freedesktop.org/wiki/Software/systemd/inhibit">Inhibitor Locks</ulink>.
       </para>
@@ -822,7 +822,7 @@ node /org/freedesktop/login1/session/45 {
       <para><function>TakeControl()</function> 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 <varname>force</varname> 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.</para>
 
       <para><function>ReleaseControl()</function> drops control of a given session. Closing the
index 0b35ab431314e4e244aeec5a469c1530bb03e181..3a2a4500b6705fc4e348355970861cec8fadcaa9 100644 (file)
@@ -219,7 +219,7 @@ node /org/freedesktop/machine1 {
       scope properties are passed as array in the same way as to PID1's
       <function>StartTransientUnit()</function> 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
       <interfacename>org.freedesktop.machine1.Machine</interfacename> interface (see below). Also see the
       <ulink url="https://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface/">New Control Group
       Interfaces</ulink> for details about scope units and how to alter resource control settings on the
@@ -252,7 +252,7 @@ node /org/freedesktop/machine1 {
       <para><function>TerminateMachine()</function> terminates a virtual machine, killing its processes. It
       takes a machine name as its only argument.</para>
 
-      <para><function>GetMachineAddresses()</function> retrieves the IP addresses of a container. This call
+      <para><function>GetMachineAddresses()</function> retrieves the IP addresses of a container. This method
       returns an array of pairs consisting of an address family specifier (<constant>AF_INET</constant> or
       <constant>AF_INET6</constant>) and a byte array containing the addresses. This is only supported for
       containers that make use of network namespacing.</para>