diff options
Diffstat (limited to 'src/shared/cgroup-show.h')
-rw-r--r-- | src/shared/cgroup-show.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/shared/cgroup-show.h b/src/shared/cgroup-show.h index 1445c05f1f..736f0f34c8 100644 --- a/src/shared/cgroup-show.h +++ b/src/shared/cgroup-show.h @@ -22,6 +22,8 @@ #include <stdbool.h> #include <sys/types.h> +#include <systemd/sd-bus.h> + #include "logs-show.h" #include "output-mode.h" @@ -31,6 +33,10 @@ int show_cgroup(const char *controller, const char *path, const char *prefix, un int show_cgroup_and_extra_by_spec(const char *spec, const char *prefix, unsigned n_columns, const pid_t extra_pids[], unsigned n_extra_pids, OutputFlags flags); int show_cgroup_and_extra(const char *controller, const char *path, const char *prefix, unsigned n_columns, const pid_t extra_pids[], unsigned n_extra_pids, OutputFlags flags); +int show_cgroup_get_unit_path_and_warn( + sd_bus *bus, + const char *unit, + char **ret); int show_cgroup_get_path_and_warn( const char *machine, const char *prefix, |