X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fsd-login.h;h=1623a7dbf612fd1bd16517e56edefa41b59f62b3;hb=288088b86c29d0e3074c425eaf4307f89deee11c;hp=c6835e123545774a4b66889344d5f517eea4ec8b;hpb=034a2a52ac0ec83e0229941d635d310b23eb04df;p=elogind.git diff --git a/src/sd-login.h b/src/sd-login.h index c6835e123..1623a7dbf 100644 --- a/src/sd-login.h +++ b/src/sd-login.h @@ -82,6 +82,9 @@ int sd_seat_get_active(const char *seat, char **session, uid_t *uid); /* Return sessions and users on seat */ int sd_seat_get_sessions(const char *seat, char ***sessions, uid_t **uid, unsigned *n_uids); +/* Return whether the seat is multi-session capable */ +int sd_seat_can_multi_session(const char *seat); + /* Get all seats */ int sd_get_seats(char ***seats);