X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Funit.h;h=cfb38d0aae751e79eae95e685a8bfbd68c18fc68;hb=7c49259fc8f63ade6cb212a43477d7030aaaf423;hp=87dc88c96171bb555a3780ce710fc24f363dbd30;hpb=49dbfa7b2b0bf3906704dac1eaeb4eba91056a19;p=elogind.git diff --git a/src/core/unit.h b/src/core/unit.h index 87dc88c96..cfb38d0aa 100644 --- a/src/core/unit.h +++ b/src/core/unit.h @@ -160,7 +160,9 @@ struct Unit { char **documentation; char *fragment_path; /* if loaded from a config file this is the primary path to it */ + char *source_path; /* if converted, the source file */ usec_t fragment_mtime; + usec_t source_mtime; /* If there is something to do with this unit, then this is the installed job for it */ Job *job; @@ -353,9 +355,6 @@ 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);