X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fsystemd%2Fsd-login.h;h=3746b45cf36500abdcfd9a6f187bd477c8498289;hb=c170f3a41bc69ad1eab2dba40cede865f2532bbc;hp=6bd1f2da4a77203f66f8cf8495dec9b4cdbfb161;hpb=cb07866b1b7c11e687a322d70dd9f9d73bbbe488;p=elogind.git 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);