X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fpath-lookup.h;h=fc2887d3c7cf956a4f4f87974d013fc45fd02796;hp=e5a10925fd096f634a99d0f05b4c940d361e4613;hb=dd17d38879503f018fdf6bbff822970afcddb6f1;hpb=10e87ee7f66b59a504c0ed2025463ba5faa69923 diff --git a/src/path-lookup.h b/src/path-lookup.h index e5a10925f..fc2887d3c 100644 --- a/src/path-lookup.h +++ b/src/path-lookup.h @@ -1,4 +1,4 @@ -/*-*- Mode: C; c-basic-offset: 8 -*-*/ +/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ #ifndef foopathlookuphfoo #define foopathlookuphfoo @@ -24,15 +24,17 @@ typedef struct LookupPaths { char **unit_path; +#ifdef HAVE_SYSV_COMPAT char **sysvinit_path; char **sysvrcnd_path; +#endif } LookupPaths; #include "manager.h" -int session_config_home(char **config_home); +int user_config_home(char **config_home); -int lookup_paths_init(LookupPaths *p, ManagerRunningAs running_as); +int lookup_paths_init(LookupPaths *p, ManagerRunningAs running_as, bool personal); void lookup_paths_free(LookupPaths *p); #endif