diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-04-28 22:07:01 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-04-28 22:07:01 +0200 |
commit | b23de6af893c11da4286bc416455cd0926d1532e (patch) | |
tree | e2a7e00fcedc9b8314b7035f3a4fdb6eca05bead /src/dbus.h | |
parent | b4bd51448fa8b7574e9a92af50b58da9bb0dfb5e (diff) |
dbus: make daemon reexecution synchronous
We simply keep open copies of the dbus connections across the
reexecution and close them as last step of it. A client can thus simply
wait until its connection is dropped to know when the reexecution is
finished.
https://bugzilla.redhat.com/show_bug.cgi?id=698198
Diffstat (limited to 'src/dbus.h')
-rw-r--r-- | src/dbus.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dbus.h b/src/dbus.h index 57a2b388ca..8387ffaa72 100644 --- a/src/dbus.h +++ b/src/dbus.h @@ -43,6 +43,8 @@ int bus_parse_strv(DBusMessage *m, char ***_l); bool bus_has_subscriber(Manager *m); bool bus_connection_has_subscriber(Manager *m, DBusConnection *c); +int bus_fdset_add_all(Manager *m, FDSet *fds); + #define BUS_CONNECTION_SUBSCRIBED(m, c) dbus_connection_get_data((c), (m)->subscribed_data_slot) #define BUS_PENDING_CALL_NAME(m, p) dbus_pending_call_get_data((p), (m)->name_data_slot) |