diff options
Diffstat (limited to 'src/systemd/sd-login.h')
-rw-r--r-- | src/systemd/sd-login.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/systemd/sd-login.h b/src/systemd/sd-login.h index 00de6716b0..7d76f9a44e 100644 --- a/src/systemd/sd-login.h +++ b/src/systemd/sd-login.h @@ -83,6 +83,9 @@ int sd_session_get_uid(const char *session, uid_t *uid); /* Determine seat of session */ int sd_session_get_seat(const char *session, char **seat); +/* Determine the (PAM) service name this session was registered by. */ +int sd_session_get_service(const char *session, char **service); + /* Return active session and user of seat */ int sd_seat_get_active(const char *seat, char **session, uid_t *uid); |