X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fpath-lookup.h;h=655e4549ca9e5bb37b2fcb36ee5d0ba57c50e98d;hb=87b934960ab514dec4b96ed4ef23c40bc61d3ceb;hp=b8a0aace83ad8c0a83e78a1c98233de9f5969d4b;hpb=4d5dec2389d8e6ce78b45d3058220888f4a93db7;p=elogind.git diff --git a/src/shared/path-lookup.h b/src/shared/path-lookup.h index b8a0aace8..655e4549c 100644 --- a/src/shared/path-lookup.h +++ b/src/shared/path-lookup.h @@ -22,6 +22,7 @@ ***/ #include "macro.h" +#include "install.h" typedef struct LookupPaths { char **unit_path; @@ -49,5 +50,8 @@ int lookup_paths_init(LookupPaths *p, const char *generator_early, const char *generator_late); void lookup_paths_free(LookupPaths *p); +int lookup_paths_init_from_scope(LookupPaths *paths, + UnitFileScope scope, + const char *root_dir); #define _cleanup_lookup_paths_free_ _cleanup_(lookup_paths_free)