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=a04d5a0fab0b17a2e5a04f5ccf47779c2726899e;hb=9b1a953e08917030489cd9adb2a17dfd407ce14b;hpb=84e3543ef4c4758621f8a304b14642072303ef82 diff --git a/src/path-lookup.h b/src/path-lookup.h index a04d5a0fa..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,13 +24,17 @@ typedef struct LookupPaths { char **unit_path; +#ifdef HAVE_SYSV_COMPAT char **sysvinit_path; char **sysvrcnd_path; +#endif } LookupPaths; #include "manager.h" -int lookup_paths_init(LookupPaths *p, ManagerRunningAs running_as); +int user_config_home(char **config_home); + +int lookup_paths_init(LookupPaths *p, ManagerRunningAs running_as, bool personal); void lookup_paths_free(LookupPaths *p); #endif