X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Funit.h;h=80a96e80535385f5a10b706651ef5e1feae33801;hb=4e6db59202ad2dbbef56a69985643390ffdd57bd;hp=9029d6225bc639f74aab863edc694dadb8ae635b;hpb=49b1d377263f33991a03235779e50f61273ba649;p=elogind.git diff --git a/src/core/unit.h b/src/core/unit.h index 9029d6225..80a96e805 100644 --- a/src/core/unit.h +++ b/src/core/unit.h @@ -138,8 +138,10 @@ struct Unit { char *fragment_path; /* if loaded from a config file this is the primary path to it */ char *source_path; /* if converted, the source file */ + char **dropin_paths; usec_t fragment_mtime; usec_t source_mtime; + usec_t dropin_mtime; /* If there is something to do with this unit, then this is the installed job for it */ Job *job; @@ -486,6 +488,7 @@ int unit_stop(Unit *u); int unit_reload(Unit *u); int unit_kill(Unit *u, KillWho w, int signo, DBusError *error); +int unit_kill_common(Unit *u, KillWho who, int signo, pid_t main_pid, pid_t control_pid, DBusError *error); void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns, bool reload_success);