diff options
Diffstat (limited to 'rdcp_dbus.h')
-rw-r--r-- | rdcp_dbus.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/rdcp_dbus.h b/rdcp_dbus.h index 54c9a63..21c9086 100644 --- a/rdcp_dbus.h +++ b/rdcp_dbus.h @@ -36,6 +36,10 @@ dbus_join_call(DBusConnection *bus, const gchar *dbus_path, GVariant *credentials, GVariant *options, GError **g_error); gboolean +dbus_leave_call(DBusConnection *bus, const gchar *dbus_path, + GVariant *credentials, GVariant *options, GError **g_error); + +gboolean rdcp_dbus_initialize(GError **g_error); #ifdef RDCP_DEBUG @@ -46,10 +50,10 @@ rdcp_dbus_initialize(GError **g_error); #define PrintDBusProperties(dbus_properties, dbus_path, dbus_interface) #endif -#define GetDBusProperies(dbus_props, dbus_path, dbus_interface) \ +#define GetDBusProperies(dbus_props, dbus_path, dbus_interface, status) \ { \ if (!get_dbus_properties(system_bus, dbus_path, dbus_interface, &dbus_props, &g_error)) { \ - handle_g_error(&g_error, _cb, &status, CMPI_RC_ERR_FAILED, \ + handle_g_error(&g_error, _cb, status, CMPI_RC_ERR_FAILED, \ "get_dbus_properties failed, path=%s interface=%s", \ dbus_path, dbus_interface); \ goto exit; \ |