From ba3f01235ddeea11cce432ff28f339bffff4e7d8 Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Tue, 4 Aug 2009 11:22:33 +0100 Subject: [PATCH 1/3] Document GetConnectionUnixProcessID in the spec --- doc/dbus-specification.xml | 53 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 53 insertions(+), 0 deletions(-) diff --git a/doc/dbus-specification.xml b/doc/dbus-specification.xml index a9f3b34..297eaa2 100644 --- a/doc/dbus-specification.xml +++ b/doc/dbus-specification.xml @@ -4162,6 +4162,59 @@ + + <literal>org.freedesktop.DBus.GetConnectionUnixProcessID</literal> + + As a method: + + UINT32 GetConnectionUnixProcessID (in STRING bus_name) + + Message arguments: + + + + + Argument + Type + Description + + + + + 0 + STRING + Unique or well-known bus name of the connection to + query, such as :12.34 or + com.example.tea + + + + + Reply arguments: + + + + + Argument + Type + Description + + + + + 0 + UINT32 + Unix process id + + + + + Returns the Unix process ID of the process connected to the server. If + unable to determine it (for instance, because the process is not on the + same machine as the bus daemon), an error is returned. + + + <literal>org.freedesktop.DBus.AddMatch</literal> -- 1.7.1