diff options
Diffstat (limited to 'src/libstore/cgroup.hh')
-rw-r--r-- | src/libstore/cgroup.hh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/libstore/cgroup.hh b/src/libstore/cgroup.hh new file mode 100644 index 000000000..dc6758957 --- /dev/null +++ b/src/libstore/cgroup.hh @@ -0,0 +1,15 @@ +#pragma once + +#if __linux__ + +#include "types.hh" + +namespace nix { + +std::map<std::string, std::string> getCgroups(const Path & cgroupFile); + +void destroyCgroup(const Path & cgroup); + +} + +#endif |