diff options
author | Ivan Shapovalov <intelfx100@gmail.com> | 2014-12-19 17:08:07 +0300 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-01-05 11:13:30 -0500 |
commit | 60d27f1916c90871c063819a6e7d586c7a663789 (patch) | |
tree | 3affd63ba875e2491f6870c99e0e8c3fe1d5a80c /src/shared/path-lookup.h | |
parent | 69c4e2771ec58d111191afe397a402e488e223ba (diff) |
path-lookup, systemctl: export lookup_paths_init_from_scope() from shared/install.c and use it
Diffstat (limited to 'src/shared/path-lookup.h')
-rw-r--r-- | src/shared/path-lookup.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/path-lookup.h b/src/shared/path-lookup.h index b8a0aace83..655e4549ca 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) |