summaryrefslogtreecommitdiff
path: root/src/unit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/unit.h')
-rw-r--r--src/unit.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/unit.h b/src/unit.h
index b6351d5541..abd97f9315 100644
--- a/src/unit.h
+++ b/src/unit.h
@@ -335,6 +335,9 @@ struct UnitVTable {
/* Exclude from isolation requests */
bool no_isolate:1;
+
+ /* Show status updates on the console */
+ bool show_status:1;
};
extern const UnitVTable * const unit_vtable[_UNIT_TYPE_MAX];
@@ -459,6 +462,8 @@ int unit_add_node_link(Unit *u, const char *what, bool wants);
int unit_coldplug(Unit *u);
+void unit_status_printf(Unit *u, const char *format, ...);
+
const char *unit_type_to_string(UnitType i);
UnitType unit_type_from_string(const char *s);