chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
manager: no need to use randomized generator dir when running as system manager
[elogind.git]
/
src
/
path-lookup.h
diff --git
a/src/path-lookup.h
b/src/path-lookup.h
index a04d5a0fab0b17a2e5a04f5ccf47779c2726899e..e06f9793d27c9841a5693404d0bac4decb26c954 100644
(file)
--- 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
#ifndef foopathlookuphfoo
#define foopathlookuphfoo
@@
-24,12
+24,16
@@
typedef struct LookupPaths {
char **unit_path;
typedef struct LookupPaths {
char **unit_path;
+#ifdef HAVE_SYSV_COMPAT
char **sysvinit_path;
char **sysvrcnd_path;
char **sysvinit_path;
char **sysvrcnd_path;
+#endif
} LookupPaths;
#include "manager.h"
} LookupPaths;
#include "manager.h"
+int user_config_home(char **config_home);
+
int lookup_paths_init(LookupPaths *p, ManagerRunningAs running_as);
void lookup_paths_free(LookupPaths *p);
int lookup_paths_init(LookupPaths *p, ManagerRunningAs running_as);
void lookup_paths_free(LookupPaths *p);