diff options
author | Franck Bui <fbui@suse.com> | 2017-05-02 09:59:17 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-07-25 09:46:52 +0200 |
commit | d5aacbb6077b4e45fd36fbff6843595aa64d2288 (patch) | |
tree | 6ab62f5396dba5345dfd9b1be625a9ff7d31e0d1 /src/basic/cgroup-util.h | |
parent | 4a121b358bb9d90bd50d73a74a1f9f133f479c5c (diff) |
core: introduce cg_mask_from_string()/cg_mask_to_string()
Diffstat (limited to 'src/basic/cgroup-util.h')
-rw-r--r-- | src/basic/cgroup-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/cgroup-util.h b/src/basic/cgroup-util.h index ea74df4e6..1ea4d3d08 100644 --- a/src/basic/cgroup-util.h +++ b/src/basic/cgroup-util.h @@ -246,6 +246,8 @@ int cg_enable_everywhere(CGroupMask supported, CGroupMask mask, const char *p); #endif // 0 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); #if 0 /// UNNEEDED by elogind int cg_kernel_controllers(Set *controllers); |