summaryrefslogtreecommitdiff
path: root/unit.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-06 16:32:07 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-06 16:32:07 +0200
commitf278026d21e2ded46f7f91152d60842525e74956 (patch)
tree5d1e22f332a64f807a0750a1902a6724f16c89db /unit.h
parent8b44eabff0dd0dcbee1af637bc7d9d2b9dfcd427 (diff)
dbus: connect to bus as soon as the special dbus service is around
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 b05efe016b..942de5f36f 100644
--- a/unit.h
+++ b/unit.h
@@ -284,6 +284,8 @@ int unit_load(Unit *unit);
const char* unit_id(Unit *u);
const char *unit_description(Unit *u);
+bool unit_has_name(Unit *u, const char *name);
+
UnitActiveState unit_active_state(Unit *u);
void unit_dump(Unit *u, FILE *f, const char *prefix);