]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/cgroup-util.h
core: introduce cg_mask_from_string()/cg_mask_to_string()
[thirdparty/systemd.git] / src / basic / cgroup-util.h
index a522095d9574ccb6e0ef24f8862f87a305a16579..c16a33723cc4eafe6d1d34cc898ca7c1f395e713 100644 (file)
@@ -235,6 +235,8 @@ int cg_trim_everywhere(CGroupMask supported, const char *path, bool delete_root)
 int cg_enable_everywhere(CGroupMask supported, CGroupMask mask, const char *p);
 
 int cg_mask_supported(CGroupMask *ret);
+int cg_mask_from_string(const char *s, CGroupMask *ret);
+int cg_mask_to_string(CGroupMask mask, char **ret);
 
 int cg_kernel_controllers(Set *controllers);