chiark / gitweb /
sd-login: Fix typo
[elogind.git] / src / systemd / sd-login.h
index e37aeda2bb7c0f78dd26eeea23b7b0e948927be6..961bd88ec72e3b69e010e668ae69f6070998fa49 100644 (file)
@@ -101,7 +101,7 @@ int sd_session_is_active(const char *session);
 /* Get state from session. Possible states: online, active, closing
  * (This function is a more generic version of
  * sd_session_is_active().) */
-int sd_session_get_state(const char *sessio, char **state);
+int sd_session_get_state(const char *session, char **state);
 
 /* Determine user id of session */
 int sd_session_get_uid(const char *session, uid_t *uid);
@@ -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);