示例#1
0
static void enable_session_mode(struct test_fix *fix)
{
	set_session_mode(fix, true);

	if (!is_online(fix))
		util_idle_call(fix, util_quit_loop, NULL);
}
示例#2
0
static gboolean disable_session_mode(gpointer data)
{
	struct test_fix *fix = data;

	set_session_mode(fix, FALSE);

	return FALSE;
}
示例#3
0
static gboolean enable_session_mode(gpointer data)
{
	struct test_fix *fix = data;

	set_session_mode(fix, TRUE);

	if (is_online(fix) == FALSE)
		util_idle_call(fix, util_quit_loop, NULL);

	return FALSE;
}
示例#4
0
static void disable_session_mode(struct test_fix *fix)
{
	set_session_mode(fix, false);
}