X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fsystemd%2Fsd-login.h;fp=src%2Fsystemd%2Fsd-login.h;h=c5837f0ca0e8e383ebab29829d2887688f8dedfc;hb=44ded3abc28620279633f51a05f2416e5aa3e8e2;hp=e37aeda2bb7c0f78dd26eeea23b7b0e948927be6;hpb=4c3a31668e4f3be9a35177a35d5b9794cdff663e;p=elogind.git diff --git a/src/systemd/sd-login.h b/src/systemd/sd-login.h index e37aeda2b..c5837f0ca 100644 --- a/src/systemd/sd-login.h +++ b/src/systemd/sd-login.h @@ -124,6 +124,9 @@ 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); +/* Determine the VT number of this session. */ +int sd_session_get_vt(const char *session, unsigned *vtnr); + /* Return active session and user of seat */ int sd_seat_get_active(const char *seat, char **session, uid_t *uid);