summaryrefslogtreecommitdiff
path: root/src/systemd/sd-login.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-02-15 04:56:10 +0100
committerLennart Poettering <lennart@poettering.net>2012-02-15 04:56:10 +0100
commitfc8af9ff3fbbbf21bf26f21d2eb100f26afc201a (patch)
tree6fcdbdd6aa92862ed5b256b1bc6411809c7cfde9 /src/systemd/sd-login.h
parent068665b6fd9839f27bcace7e8f56c0baa6935272 (diff)
login: introduce sd_session_get_display()
Diffstat (limited to 'src/systemd/sd-login.h')
-rw-r--r--src/systemd/sd-login.h3
1 files changed, 3 insertions, 0 deletions
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);