summaryrefslogtreecommitdiff
path: root/src/unit.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-07 00:00:59 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-07 00:00:59 +0200
commit9e58ff9c5c3bd46a796a20fc6c304cdab489f334 (patch)
tree3bdef2c8802ee1b1deab9729b4f198fdfb2780f1 /src/unit.h
parentfa0f4d8a3a640b235f12e9eb998ce726495622c1 (diff)
manager: optionally print status updates to console on boot
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);