#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);
#endif // 0
int cg_all_unified(void);
-int cg_unified(const char *controller);
-#if 0 /// UNNEEDED by elogind
-void cg_unified_flush(void);
+int cg_hybrid_unified(void);
+int cg_unified_controller(const char *controller);
+int cg_unified_flush(void);
bool cg_is_unified_wanted(void);
-#endif // 0
bool cg_is_legacy_wanted(void);
-#if 0 /// UNNEEDED by elogind
-bool cg_is_unified_systemd_controller_wanted(void);
-bool cg_is_legacy_systemd_controller_wanted(void);
-#endif // 0
+bool cg_is_hybrid_wanted(void);
const char* cgroup_controller_to_string(CGroupController c) _const_;
CGroupController cgroup_controller_from_string(const char *s) _pure_;