X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fmanager.h;h=c492ffa55f179a171dad2e430144081269fdc7a5;hp=e5cf3a1c520d5831af7a72f9cea817a47fff7ab0;hb=faf919f1ebebdfc13f769bb6585e64e7ad4b301b;hpb=398ef8ba0266cca453d90a90b3a2aa1caa44189f diff --git a/src/manager.h b/src/manager.h index e5cf3a1c5..c492ffa55 100644 --- a/src/manager.h +++ b/src/manager.h @@ -57,7 +57,8 @@ enum WatchType { WATCH_SIGNAL, WATCH_NOTIFY, WATCH_FD, - WATCH_TIMER, + WATCH_UNIT_TIMER, + WATCH_JOB_TIMER, WATCH_MOUNT, WATCH_UDEV, WATCH_DBUS_WATCH, @@ -69,6 +70,7 @@ struct Watch { WatchType type; union { union Unit *unit; + struct Job *job; DBusWatch *bus_watch; DBusTimeout *bus_timeout; } data; @@ -134,6 +136,7 @@ struct Manager { unsigned n_snapshots; LookupPaths lookup_paths; + Set *unit_path_cache; char **environment; @@ -171,8 +174,6 @@ struct Manager { /* Data specific to the cgroup subsystem */ Hashmap *cgroup_bondings; /* path string => CGroupBonding object 1:n */ - char *cgroup_controller; - char *cgroup_mount_point; char *cgroup_hierarchy; usec_t gc_queue_timestamp; @@ -193,6 +194,8 @@ struct Manager { bool utmp_reboot_written:1; + int n_deserializing; + bool show_status; bool confirm_spawn; };