chiark / gitweb /
login: introduce sd_session_get_display()
[elogind.git] / src / systemd / sd-login.h
index 879e0744a87853fd61027a47becb35ce650c40b9..2f3c90c129ec9b21c9855be874a4a3c8a1ed9525 100644 (file)
@@ -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 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);
 
 /* Return active session and user of seat */
 int sd_seat_get_active(const char *seat, char **session, uid_t *uid);