diff options
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h index 083da2a545..411efae933 100644 --- a/src/util.h +++ b/src/util.h @@ -445,6 +445,8 @@ int audit_session_from_pid(pid_t pid, uint32_t *id); bool display_is_local(const char *display); int socket_from_display(const char *display, char **path); +int get_user_creds(const char **username, uid_t *uid, gid_t *gid, const char **home); + #define NULSTR_FOREACH(i, l) \ for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1) |