diff options
Diffstat (limited to 'src/systemd')
-rw-r--r-- | src/systemd/sd-login.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/systemd/sd-login.h b/src/systemd/sd-login.h index 6bd1f2da4..3746b45cf 100644 --- a/src/systemd/sd-login.h +++ b/src/systemd/sd-login.h @@ -108,6 +108,9 @@ int sd_session_get_class(const char *session, char **clazz); /* Determine the X11 display of this session. */ int sd_session_get_display(const char *session, char **display); +/* Determine the TTY of this session. */ +int sd_session_get_tty(const char *session, char **display); + /* Return active session and user of seat */ int sd_seat_get_active(const char *seat, char **session, uid_t *uid); |