X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=unit.h;h=cabf230148d46310a958f47596ec01f1e6d89d52;hb=0301abf48ed3be921c33d409c73b554435cf6378;hp=7803f3183cc9f7332f8d4f0ef4d140b18ec351a1;hpb=87f0e418cf2c58b3201d06a60e3696ec672d2662;p=elogind.git diff --git a/unit.h b/unit.h index 7803f3183..cabf23014 100644 --- a/unit.h +++ b/unit.h @@ -103,6 +103,7 @@ struct Meta { Set *dependencies[_UNIT_DEPENDENCY_MAX]; char *description; + char *load_path; /* if loaded from a config file this is the primary path to it */ /* If there is something to do with this unit, then this is * the job for it */ @@ -232,4 +233,8 @@ void unit_unwatch_timer(Unit *u, int *id); bool unit_job_is_applicable(Unit *u, JobType j); +const char *unit_path(void); +int set_unit_path(const char *p); + + #endif