summaryrefslogtreecommitdiff
path: root/src/shared/install.h
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2014-10-08 11:59:46 +0200
committerLukas Nykryn <lnykryn@redhat.com>2014-10-08 12:44:00 +0200
commite94937df954451eb4aa63573f0d7404ed2db987e (patch)
tree9dbafa0dd1e58991e7e761d83480b2f5276d0d28 /src/shared/install.h
parentcb87a73b45503eaa6bead291423a529b00d27156 (diff)
systemctl: add add-wants and add-requires verbs
Diffstat (limited to 'src/shared/install.h')
-rw-r--r--src/shared/install.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/install.h b/src/shared/install.h
index ff16d9f681..c0b4df69d5 100644
--- a/src/shared/install.h
+++ b/src/shared/install.h
@@ -22,6 +22,7 @@
***/
#include "hashmap.h"
+#include "unit-name.h"
typedef enum UnitFileScope {
UNIT_FILE_SYSTEM,
@@ -93,6 +94,7 @@ int unit_file_mask(UnitFileScope scope, bool runtime, const char *root_dir, char
int unit_file_unmask(UnitFileScope scope, bool runtime, const char *root_dir, char **files, UnitFileChange **changes, unsigned *n_changes);
int unit_file_set_default(UnitFileScope scope, const char *root_dir, const char *file, bool force, UnitFileChange **changes, unsigned *n_changes);
int unit_file_get_default(UnitFileScope scope, const char *root_dir, char **name);
+int unit_file_add_dependency(UnitFileScope scope, bool runtime, const char *root_dir, char **files, char *target, UnitDependency dep, bool force, UnitFileChange **changes, unsigned *n_changes);
UnitFileState unit_file_get_state(UnitFileScope scope, const char *root_dir, const char *filename);