X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fpath-lookup.h;h=dca8b55e15b2a30219c53900df2b699be4232a2f;hp=a04d5a0fab0b17a2e5a04f5ccf47779c2726899e;hb=ead8e4788ee31bbdc38b4cd3c6e71c8a95bbc95a;hpb=84e3543ef4c4758621f8a304b14642072303ef82 diff --git a/src/path-lookup.h b/src/path-lookup.h index a04d5a0fa..dca8b55e1 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,12 +24,16 @@ 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 lookup_paths_init(LookupPaths *p, ManagerRunningAs running_as); void lookup_paths_free(LookupPaths *p);