Searched defs:seats (Results 1 - 3 of 3) sorted by relevance

/systemd/src/libsystemd/sd-login/
H A Dtest-login.c42 char **seats, **sessions, **machines; local
79 r = sd_uid_get_seats(u2, false, &seats);
81 assert_se(r == (int) strv_length(seats));
82 assert_se(t = strv_join(seats, ", "));
83 strv_free(seats);
84 printf("seats = %s\n", t);
181 r = sd_get_seats(&seats);
183 assert_se(r == (int) strv_length(seats));
184 assert_se(t = strv_join(seats, ", "));
185 strv_free(seats);
[all...]
H A Dsd-login.c329 p = strappend("/run/systemd/seats/", seat);
337 p = strappend("/run/systemd/seats/", buf);
424 _public_ int sd_uid_get_seats(uid_t uid, int require_active, char ***seats) { argument
430 seats);
786 _public_ int sd_get_seats(char ***seats) { argument
787 return get_files_in_directory("/run/systemd/seats/", seats);
967 k = inotify_add_watch(fd, "/run/systemd/seats/", IN_MOVED_TO|IN_DELETE);
/systemd/src/login/
H A Dlogind.h44 Hashmap *seats; member in struct:Manager

Completed in 807 milliseconds