summaryrefslogtreecommitdiffstats
path: root/src/shared/bus-unit-procs.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/shared/bus-unit-procs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/shared/bus-unit-procs.h b/src/shared/bus-unit-procs.h
new file mode 100644
index 0000000..78c5569
--- /dev/null
+++ b/src/shared/bus-unit-procs.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+#pragma once
+
+#include "sd-bus.h"
+
+#include "output-mode.h"
+
+int unit_show_processes(sd_bus *bus, const char *unit, const char *cgroup_path, const char *prefix, unsigned n_columns, OutputFlags flags, sd_bus_error *error);