summaryrefslogtreecommitdiff
path: root/src/cgroup.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-10 17:34:42 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-10 17:34:42 +0200
commitfb385181517aa97fc5b379380cde0c2567f5f444 (patch)
tree91c7ee6fd3313830806c987f0d89fa383717e3aa /src/cgroup.h
parent582a507f1abdca75abe34945b4bbd5e97e9b45a8 (diff)
unit: trim cgroups when going down
Diffstat (limited to 'src/cgroup.h')
-rw-r--r--src/cgroup.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cgroup.h b/src/cgroup.h
index 11d2aba8cf..05c858c425 100644
--- a/src/cgroup.h
+++ b/src/cgroup.h
@@ -61,6 +61,9 @@ int cgroup_bonding_install_list(CGroupBonding *first, pid_t pid);
int cgroup_bonding_kill(CGroupBonding *b, int sig);
int cgroup_bonding_kill_list(CGroupBonding *first, int sig);
+void cgroup_bonding_trim(CGroupBonding *first, bool delete_root);
+void cgroup_bonding_trim_list(CGroupBonding *first, bool delete_root);
+
int cgroup_bonding_is_empty(CGroupBonding *b);
int cgroup_bonding_is_empty_list(CGroupBonding *first);