chiark / gitweb /
dbus: add dbus introspection extraction
[elogind.git] / src / unit.h
index 717c928075589f860152f0d91ea99c773d65ddb6..79f15103baaf65cba3c1db22ebf9c1495d27927f 100644 (file)
@@ -168,7 +168,7 @@ struct Meta {
         CGroupBonding *cgroup_bondings;
 
         /* Per type list */
-        LIST_FIELDS(Meta, units_per_type);
+        LIST_FIELDS(Meta, units_by_type);
 
         /* Load queue */
         LIST_FIELDS(Meta, load_queue);
@@ -317,6 +317,9 @@ struct UnitVTable {
         void (*sigchld_event)(Unit *u, pid_t pid, int code, int status);
         void (*timer_event)(Unit *u, uint64_t n_elapsed, Watch *w);
 
+        /* Check whether unit needs a daemon reload */
+        bool (*need_daemon_reload)(Unit *u);
+
         /* Reset failed state if we are in failed state */
         void (*reset_failed)(Unit *u);