summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-01-15 03:00:43 +0100
committerLennart Poettering <lennart@poettering.net>2013-01-15 03:04:41 +0100
commit59164be40e6b520315d87e1ef16a3be65c854224 (patch)
tree381c9d105aeed7e12ae87c74c530467dd8d3f577 /src/shared/util.h
parentc84f5e4a825f17163ead0f60308d548b415334a5 (diff)
systemctl: when inhibiting shutdown/suspend also check for other login sessions
Diffstat (limited to 'src/shared/util.h')
-rw-r--r--src/shared/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index bb6602fb24..bbf744e900 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -433,6 +433,8 @@ int get_group_creds(const char **groupname, gid_t *gid);
int in_group(const char *name);
+char* uid_to_name(uid_t uid);
+
int glob_exists(const char *path);
int dirent_ensure_type(DIR *d, struct dirent *de);