X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Funit.h;h=79f15103baaf65cba3c1db22ebf9c1495d27927f;hp=717c928075589f860152f0d91ea99c773d65ddb6;hb=2fb1aedaf2493d9598693c123d5e9c168ca1b3c1;hpb=7a6000a68241d23c9f6f6bde47b2cfa9c18189da diff --git a/src/unit.h b/src/unit.h index 717c92807..79f15103b 100644 --- a/src/unit.h +++ b/src/unit.h @@ -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);