diff options
Diffstat (limited to 'manager.h')
-rw-r--r-- | manager.h | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -133,6 +133,7 @@ struct Manager { bool dispatching_dbus_queue:1; bool request_bus_dispatch:1; + bool request_system_bus_dispatch:1; Hashmap *watch_pids; /* pid => Unit object n:1 */ @@ -153,11 +154,16 @@ struct Manager { Watch mount_watch; /* Data specific to the D-Bus subsystem */ - DBusConnection *bus; + DBusConnection *bus, *system_bus; Set *subscribed; + + /* Data specific to the cgroup subsystem */ + Hashmap *cgroup_bondings; /* path string => CGroupBonding object 1:n */ + char *cgroup_controller; + char *cgroup_hierarchy; }; -Manager* manager_new(void); +int manager_new(Manager **m); void manager_free(Manager *m); int manager_coldplug(Manager *m); |