diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-07-26 23:09:09 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-07-26 23:09:09 +0200 |
commit | add30678a1bf284ecd79438d219c45ca7a1c9f51 (patch) | |
tree | 9982db1d6503146e4e782264b5063ddb2d0060a8 /src/sd-login.h | |
parent | 64559e8b4e81897bab3659aea27791467a579566 (diff) |
sd-login: add new call sd_seat_can_multi_session()
Diffstat (limited to 'src/sd-login.h')
-rw-r--r-- | src/sd-login.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sd-login.h b/src/sd-login.h index c6835e1235..1623a7dbf6 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); |