chiark / gitweb /
journal: implicitly add code location to all messages logged with the native interface
[elogind.git] / src / systemd / sd-login.h
index 879e0744a87853fd61027a47becb35ce650c40b9..6e99cfc951bec45ea3fd585bec1fb9fa16487992 100644 (file)
@@ -94,7 +94,10 @@ int sd_session_get_service(const char *session, char **service);
 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);
+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);
 
 /* Return active session and user of seat */
 int sd_seat_get_active(const char *seat, char **session, uid_t *uid);