summaryrefslogtreecommitdiff
path: root/src/shared/path-lookup.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-24 17:18:42 +0100
committerLennart Poettering <lennart@poettering.net>2016-04-12 13:43:30 +0200
commita0f84a104c537bb3143212796cb9d8a1b61d8b3e (patch)
tree80e57196e45b73a0b3cb703d365cc3b307f6a2db /src/shared/path-lookup.h
parent7bfe3d44d008f46d65ebdf5adc0c847b45fd4ab2 (diff)
core: add configuration directories to LookupPaths
Let's add a seperate fields for the directories where we place runtime and persistent configuration, so that we can use this in install.c (to be added in a later commit), and we store path information in the same place everywhere.
Diffstat (limited to 'src/shared/path-lookup.h')
-rw-r--r--src/shared/path-lookup.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/shared/path-lookup.h b/src/shared/path-lookup.h
index 1e3bce21a4..64c8035c2b 100644
--- a/src/shared/path-lookup.h
+++ b/src/shared/path-lookup.h
@@ -29,6 +29,12 @@ typedef enum ManagerRunningAs ManagerRunningAs;
struct LookupPaths {
char **search_path;
+
+ /* Where we shall create or remove our installation symlinks, aka "configuration". */
+ char *persistent_config;
+ char *runtime_config;
+
+ /* Where to place generated unit files */
char *generator;
char *generator_early;
char *generator_late;