diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-02-05 00:38:41 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-02-05 00:38:41 +0100 |
commit | c1e1601e8c6cace85b19a0eebe50076e5d119688 (patch) | |
tree | 26fe0f48cbcdbfeb21abfef75c1de3ee37e9598e /dbus.h | |
parent | ab8ea24411df95861c53aeee1dd91e765331f717 (diff) |
dbus: send out signals when units/jobs come, go and change
Diffstat (limited to 'dbus.h')
-rw-r--r-- | dbus.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -59,7 +59,7 @@ typedef struct BusProperty { int bus_init(Manager *m); void bus_done(Manager *m); -void bus_dispatch(Manager *m); +unsigned bus_dispatch(Manager *m); void bus_watch_event(Manager *m, Watch *w, int events); void bus_timeout_event(Manager *m, Watch *w, int events); @@ -78,4 +78,10 @@ extern const DBusObjectPathVTable bus_manager_vtable; extern const DBusObjectPathVTable bus_job_vtable; extern const DBusObjectPathVTable bus_unit_vtable; +void bus_unit_send_change_signal(Unit *u); +void bus_unit_send_removed_signal(Unit *u); + +void bus_job_send_change_signal(Job *j); +void bus_job_send_removed_signal(Job *j); + #endif |