[kdbus] Add RequestName and ReleaseName to new API

This commit is contained in:
Lukasz Skalski
2014-10-29 12:36:35 +00:00
committed by Ryan Lortie
parent 0ee61acfa0
commit 1e193663b8
4 changed files with 150 additions and 24 deletions

View File

@@ -91,6 +91,15 @@ GDBusConnection *g_dbus_connection_new_for_address_sync (const gchar
/* ---------------------------------------------------------------------------------------------------- */
GLIB_AVAILABLE_IN_2_40
guint32 g_dbus_request_name (GDBusConnection *connection,
const gchar *name,
GBusNameOwnerFlags flags,
GError **error);
GLIB_AVAILABLE_IN_2_40
guint32 g_dbus_release_name (GDBusConnection *connection,
const gchar *name,
GError **error);
GLIB_AVAILABLE_IN_2_40
gchar *g_dbus_get_bus_id (GDBusConnection *connection,
GError **error);