summaryrefslogtreecommitdiff
path: root/unit.h
diff options
context:
space:
mode:
Diffstat (limited to 'unit.h')
-rw-r--r--unit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/unit.h b/unit.h
index a90baf022a..a29c50ed97 100644
--- a/unit.h
+++ b/unit.h
@@ -196,6 +196,7 @@ void unit_free(Unit *u);
int unit_add_name(Unit *u, const char *name);
int unit_add_dependency(Unit *u, UnitDependency d, Unit *other);
+int unit_add_dependency_by_name(Unit *u, UnitDependency d, const char *name);
void unit_add_to_load_queue(Unit *u);