summaryrefslogtreecommitdiffstats
path: root/dbus
diff options
context:
space:
mode:
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,