summaryrefslogtreecommitdiff
path: root/src/systemd/sd-login.h
diff options
context:
space:
mode:
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 fefc05667b..526af34d37 100644
--- a/src/systemd/sd-login.h
+++ b/src/systemd/sd-login.h
@@ -163,6 +163,9 @@ int sd_session_get_username(const char *session, char **username);
/* Determine seat of session */
int sd_session_get_seat(const char *session, char **seat);
+/* Determine the start time of session */
+int sd_session_get_start_time(const char *session, uint64_t *usec);
+
/* Determine the (PAM) service name this session was registered by. */
int sd_session_get_service(const char *session, char **service);