summaryrefslogtreecommitdiff
path: root/dbus.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-02-05 00:38:41 +0100
committerLennart Poettering <lennart@poettering.net>2010-02-05 00:38:41 +0100
commitc1e1601e8c6cace85b19a0eebe50076e5d119688 (patch)
tree26fe0f48cbcdbfeb21abfef75c1de3ee37e9598e /dbus.h
parentab8ea24411df95861c53aeee1dd91e765331f717 (diff)
dbus: send out signals when units/jobs come, go and change
Diffstat (limited to 'dbus.h')
-rw-r--r--dbus.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/dbus.h b/dbus.h
index 64d4815d74..aaae89de11 100644
--- a/dbus.h
+++ b/dbus.h
@@ -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