chiark / gitweb /
dbus: connect to bus as soon as the special dbus service is around
[elogind.git] / manager.h
index 312ed879e68f8403ef108c6810c19fe90f57944a..3dbac34e6c1239c9208607d76819957efad99c62 100644 (file)
--- a/manager.h
+++ b/manager.h
@@ -135,7 +135,7 @@ struct Manager {
         bool dispatching_run_queue:1;
         bool dispatching_dbus_queue:1;
 
-        bool request_bus_dispatch:1;
+        bool request_api_bus_dispatch:1;
         bool request_system_bus_dispatch:1;
 
         Hashmap *watch_pids;  /* pid => Unit object n:1 */
@@ -157,7 +157,7 @@ struct Manager {
         Watch mount_watch;
 
         /* Data specific to the D-Bus subsystem */
-        DBusConnection *bus, *system_bus;
+        DBusConnection *api_bus, *system_bus;
         Set *subscribed;
 
         /* Data specific to the cgroup subsystem */