diff options
Diffstat (limited to 'src/shared/install.h')
-rw-r--r-- | src/shared/install.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/shared/install.h b/src/shared/install.h index 55249914b1..5a351254bb 100644 --- a/src/shared/install.h +++ b/src/shared/install.h @@ -63,6 +63,15 @@ typedef struct UnitFileList { UnitFileState state; } UnitFileList; +typedef struct { + char *name; + char *path; + + char **aliases; + char **wanted_by; + char **required_by; +} InstallInfo; + int unit_file_enable(UnitFileScope scope, bool runtime, const char *root_dir, char *files[], bool force, UnitFileChange **changes, unsigned *n_changes); int unit_file_disable(UnitFileScope scope, bool runtime, const char *root_dir, char *files[], UnitFileChange **changes, unsigned *n_changes); int unit_file_reenable(UnitFileScope scope, bool runtime, const char *root_dir, char *files[], bool force, UnitFileChange **changes, unsigned *n_changes); |