X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fsystemd%2Fsd-login.h;h=2f3c90c129ec9b21c9855be874a4a3c8a1ed9525;hp=879e0744a87853fd61027a47becb35ce650c40b9;hb=fc8af9ff3fbbbf21bf26f21d2eb100f26afc201a;hpb=068665b6fd9839f27bcace7e8f56c0baa6935272;ds=sidebyside diff --git a/src/systemd/sd-login.h b/src/systemd/sd-login.h index 879e0744a..2f3c90c12 100644 --- a/src/systemd/sd-login.h +++ b/src/systemd/sd-login.h @@ -96,6 +96,9 @@ int sd_session_get_type(const char *session, char **type); /* Determine the class of this session, i.e. one of "user", "greeter" or "lock-screen". */ int sd_session_get_class(const char *session, char **class); +/* Determine the X11 display of this session. */ +int sd_session_get_display(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);