From 60d27f1916c90871c063819a6e7d586c7a663789 Mon Sep 17 00:00:00 2001 From: Ivan Shapovalov Date: Fri, 19 Dec 2014 17:08:07 +0300 Subject: path-lookup, systemctl: export lookup_paths_init_from_scope() from shared/install.c and use it --- src/shared/path-lookup.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/shared/path-lookup.h') 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) -- cgit v1.2.3-54-g00ecf