summaryrefslogtreecommitdiff
path: root/src/manager.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/manager.h
parentfa0f4d8a3a640b235f12e9eb998ce726495622c1 (diff)
manager: optionally print status updates to console on boot
Diffstat (limited to 'src/manager.h')
-rw-r--r--src/manager.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/manager.h b/src/manager.h
index aff4cb82ef..b9971818da 100644
--- a/src/manager.h
+++ b/src/manager.h
@@ -192,10 +192,11 @@ struct Manager {
bool utmp_reboot_written:1;
+ bool show_status;
bool confirm_spawn;
};
-int manager_new(ManagerRunningAs running_as, bool confirm_spawn, Manager **m);
+int manager_new(ManagerRunningAs running_as, Manager **m);
void manager_free(Manager *m);
int manager_enumerate(Manager *m);
@@ -240,6 +241,8 @@ int manager_deserialize(Manager *m, FILE *f, FDSet *fds);
int manager_reload(Manager *m);
+bool manager_is_booting_or_shutting_down(Manager *m);
+
const char *manager_running_as_to_string(ManagerRunningAs i);
ManagerRunningAs manager_running_as_from_string(const char *s);