summaryrefslogtreecommitdiffstats
path: root/dbus
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2005-12-19 15:11:51 +0000
committerJohn (J5) Palmieri <johnp@redhat.com>2005-12-19 15:11:51 +0000
commit1ae3003571fdf3061e7fe2a0e66945e2c87089fe (patch)
tree8b834779c077428824587f665445e770617ebf91 /dbus
parentfa839632c4409eb95adfcac2bd4f50fc9c106556 (diff)
* dbus/bus.c (dbus_bus_release_name): Add documentation
Diffstat (limited to 'dbus')
-rw-r--r--dbus/dbus-bus.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/dbus/dbus-bus.c b/dbus/dbus-bus.c
index 7578efb2..8ba7d941 100644
--- a/dbus/dbus-bus.c
+++ b/dbus/dbus-bus.c
@@ -778,6 +778,17 @@ dbus_bus_request_name (DBusConnection *connection,
return result;
}
+
+/**
+ * Asks the bus to unassign the given name to this connection by invoking
+ * the ReleaseName method on the bus. This method is fully documented
+ * in the D-BUS specification.
+ *
+ * @param connection the connection
+ * @param name the name to remove
+ * @param error location to store the error
+ * @returns a result code, -1 if error is set
+ */
int
dbus_bus_release_name (DBusConnection *connection,
const char *name,