summaryrefslogtreecommitdiff
path: root/src/shared/cgroup-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-05-30 22:25:01 +0200
committerLennart Poettering <lennart@poettering.net>2012-05-30 22:25:01 +0200
commitba1261bc02693ac8a7712ade14aab8e22989ba88 (patch)
tree879e047af8d2e73f96134b44ddfb70135c3f6635 /src/shared/cgroup-util.h
parent7c0987d8129e4761d24c21bbc2e5d39731a6b7f0 (diff)
build-sys: fix built with --disable-logind
Diffstat (limited to 'src/shared/cgroup-util.h')
-rw-r--r--src/shared/cgroup-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/cgroup-util.h b/src/shared/cgroup-util.h
index bb156fc259..7f11bc6f83 100644
--- a/src/shared/cgroup-util.h
+++ b/src/shared/cgroup-util.h
@@ -69,6 +69,8 @@ int cg_is_empty(const char *controller, const char *path, bool ignore_self);
int cg_is_empty_recursive(const char *controller, const char *path, bool ignore_self);
int cg_get_user_path(char **path);
+int cg_pid_get_cgroup(pid_t pid, char **root, char **cgroup);
+int cg_pid_get_unit(pid_t pid, char **unit);
char **cg_shorten_controllers(char **controllers);