diff options
author | Ivan Shapovalov <intelfx100@gmail.com> | 2014-12-19 15:08:07 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-01-05 17:13:30 +0100 |
commit | 60d27f1916c90871c063819a6e7d586c7a663789 (patch) | |
tree | 3affd63ba875e2491f6870c99e0e8c3fe1d5a80c /src/shared/path-lookup.h | |
parent | machine: add reference to machine-dbus.h to Makefile.am (diff) | |
download | systemd-60d27f1916c90871c063819a6e7d586c7a663789.tar.xz systemd-60d27f1916c90871c063819a6e7d586c7a663789.zip |
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) |