gboolean
dbus_ConsoleKit_Stop (GError **error)
{
    return ck_call_function ("Stop", TRUE, error);
}
gboolean
dbus_ConsoleKit_Restart (GError **error)
{
    return ck_call_function ("Restart", TRUE, error);
}
gboolean
dbus_ConsoleKit_CanStop (void)
{
    return ck_call_function ("CanStop", FALSE, NULL);
}
gboolean
dbus_ConsoleKit_CanRestart (void)
{
    return ck_call_function ("CanRestart", FALSE, NULL);
}
gboolean
dbus_ConsoleKit_Hibernate (GError **error)
{
    return ck_call_function ("Hibernate", g_variant_new("(b)", TRUE), TRUE, error);
}
gboolean
dbus_ConsoleKit_CanHibernate (void)
{
    return ck_call_function ("CanHibernate", NULL, FALSE, NULL);
}
gboolean
dbus_ConsoleKit_Suspend (GError **error)
{
    return ck_call_function ("Suspend", g_variant_new("(b)", TRUE), TRUE, error);
}
gboolean
dbus_ConsoleKit_CanSuspend (void)
{
    return ck_call_function ("CanSuspend", NULL, FALSE, NULL);
}