Lines Matching defs:sessions
42 char **seats, **sessions, **machines;
69 r = sd_uid_get_sessions(u2, false, &sessions);
71 assert_se(r == (int) strv_length(sessions));
72 assert_se(t = strv_join(sessions, ", "));
73 strv_free(sessions);
74 printf("sessions = %s\n", t);
160 r = sd_seat_get_sessions(seat, &sessions, &uids, &n);
163 assert_se(r == (int) strv_length(sessions));
164 assert_se(t = strv_join(sessions, ", "));
165 strv_free(sessions);
166 printf("sessions = %s\n", t);
197 r = sd_get_sessions(&sessions);
199 assert_se(r == (int) strv_length(sessions));
200 assert_se(t = strv_join(sessions, ", "));
201 strv_free(sessions);
203 printf("sessions = %s\n", t);