diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2013-02-28 00:14:40 +0100 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2013-02-28 00:14:40 +0100 |
commit | 25cee55076a7c00c0a584731c2705686cc843210 (patch) | |
tree | 2215c0a44f149e089b8dc9d7e4eaa746003a98c4 /src/core/manager.h | |
parent | 637f8b8eb5decb6dd626276ea9e3a545c895e086 (diff) |
core: add manager_status_printf()
unit_status_printf() checks the state of the manager, not of the unit
as such. Move it to manager.c and rename it to manager_status_printf().
Temporarily keep unit_status_printf as a wrapper macro.
Diffstat (limited to 'src/core/manager.h')
-rw-r--r-- | src/core/manager.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/manager.h b/src/core/manager.h index 0bd7a6d48b..3ec8d707d2 100644 --- a/src/core/manager.h +++ b/src/core/manager.h @@ -295,6 +295,7 @@ void manager_undo_generators(Manager *m); void manager_recheck_journal(Manager *m); void manager_set_show_status(Manager *m, bool b); +void manager_status_printf(Manager *m, const char *status, const char *format, ...); bool manager_get_show_status(Manager *m); void watch_init(Watch *w); |