chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
login: implement sd_session_get_service()
[elogind.git]
/
src
/
systemd
/
sd-login.h
diff --git
a/src/systemd/sd-login.h
b/src/systemd/sd-login.h
index 00de6716b0d0780d4e25e0149eea97a3a730d8b0..7d76f9a44ed3553b635da72960e9bd13a3a7074c 100644
(file)
--- 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 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);
/* Return active session and user of seat */
int sd_seat_get_active(const char *seat, char **session, uid_t *uid);