diff options
author | Benny Baumann <BenBE@geshi.org> | 2021-10-19 23:36:31 +0200 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2021-11-28 20:19:10 +0100 |
commit | 9dc964bb42526d21e1221945ba96a0c87e58d040 (patch) | |
tree | 0d293ad30f62557a30e20e453869d7bcd9d772f4 /linux/CGroupUtils.h | |
parent | ea4282784de0a74fa97d9ca917f7f601c16aab64 (diff) |
Compress cgroup names based on some heuristics
Diffstat (limited to 'linux/CGroupUtils.h')
-rw-r--r-- | linux/CGroupUtils.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/linux/CGroupUtils.h b/linux/CGroupUtils.h new file mode 100644 index 00000000..3df428e4 --- /dev/null +++ b/linux/CGroupUtils.h @@ -0,0 +1,16 @@ +#ifndef HEADER_CGroupUtils +#define HEADER_CGroupUtils +/* +htop - CGroupUtils.h +(C) 2021 htop dev team +Released under the GNU GPLv2+, see the COPYING file +in the source distribution for its full text. +*/ + +#include <stdbool.h> +#include <stddef.h> + + +bool CGroup_filterName(const char *cgroup, char* buf, size_t bufsize); + +#endif /* HEADER_CGroupUtils */ |