aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2015-02-18 14:22:37 -0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-02-26 09:38:50 -0500
commit03455c2879699852b691903343e378c28992ff6a (patch)
treed7e7eaed8fc3ec9528e20d57f54c400b2dbb484a /src/core/dbus-manager.h
parentUpdate TODO (diff)
downloadsystemd-03455c2879699852b691903343e378c28992ff6a.tar.gz
systemd-03455c2879699852b691903343e378c28992ff6a.tar.bz2
systemd-03455c2879699852b691903343e378c28992ff6a.zip
core: emit changes for NFailedUnits property
By notifying the clients when this property is changed it's possible to allow "system health monitor" tools to get transitions like running<->degraded. This is an alternative to send changes on the SystemState property since the latter is more difficult to derive.
Diffstat (limited to 'src/core/dbus-manager.h')
-rw-r--r--src/core/dbus-manager.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/dbus-manager.h b/src/core/dbus-manager.h
index 3730deb57..5bdf6e17a 100644
--- a/src/core/dbus-manager.h
+++ b/src/core/dbus-manager.h
@@ -27,3 +27,4 @@ extern const sd_bus_vtable bus_manager_vtable[];
void bus_manager_send_finished(Manager *m, usec_t firmware_usec, usec_t loader_usec, usec_t kernel_usec, usec_t initrd_usec, usec_t userspace_usec, usec_t total_usec);
void bus_manager_send_reloading(Manager *m, bool active);
+void bus_manager_send_change_signal(Manager *m);