summaryrefslogtreecommitdiff
path: root/unit.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-29 01:49:34 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-29 01:49:34 +0100
commit0ae97ec11506cce808232abd0979e20aed2fd625 (patch)
treeccadbc40292a7df0cf829f90398dec614edfd7f7 /unit.h
parent4fe88d28a4cfa504c1f2362d4a7030fae4c4af29 (diff)
add api for choose the id name for a service
Diffstat (limited to 'unit.h')
-rw-r--r--unit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/unit.h b/unit.h
index 7ab2ccdfbc..8505d275a4 100644
--- a/unit.h
+++ b/unit.h
@@ -201,6 +201,8 @@ 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);
+int unit_choose_id(Unit *u, const char *name);
+
void unit_add_to_load_queue(Unit *u);
int unit_merge(Unit *u, Unit *other);