summaryrefslogtreecommitdiff
path: root/unit.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-10 04:48:33 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-10 18:00:20 +0200
commitf6ff8c29caeeec3d1f1164be73f87d867d8f1b18 (patch)
treedf5db18dabb33b6afbfcf67721e42e2682749f5a /unit.h
parent013b87c09199926434583e8bb54ac6cb4b835eb5 (diff)
unit: introduce unit_load_related_unit()
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 9def661ce1..bfd0907fc3 100644
--- a/unit.h
+++ b/unit.h
@@ -324,6 +324,8 @@ char *unit_name_escape_path(const char *path, const char *suffix);
char *unit_dbus_path(Unit *u);
+int unit_load_related_unit(Unit *u, const char *type, Unit **_found);
+
const char *unit_type_to_string(UnitType i);
UnitType unit_type_from_string(const char *s);