diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-27 00:15:56 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-27 00:15:56 +0100 |
commit | 0301abf48ed3be921c33d409c73b554435cf6378 (patch) | |
tree | a519dad97ab1eb945be1999c2892aa2fe25509c3 /unit.h | |
parent | 87f0e418cf2c58b3201d06a60e3696ec672d2662 (diff) |
implement drop-in directories
Diffstat (limited to 'unit.h')
-rw-r--r-- | unit.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |