chiark / gitweb /
core: add manager_status_printf()
authorMichal Schmidt <mschmidt@redhat.com>
Wed, 27 Feb 2013 23:14:40 +0000 (00:14 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Wed, 27 Feb 2013 23:14:40 +0000 (00:14 +0100)
commit25cee55076a7c00c0a584731c2705686cc843210
tree2215c0a44f149e089b8dc9d7e4eaa746003a98c4
parent637f8b8eb5decb6dd626276ea9e3a545c895e086
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.
src/core/manager.c
src/core/manager.h
src/core/unit.c
src/core/unit.h