chiark / gitweb /
dbus: connect to bus as soon as the special dbus service is around
[elogind.git] / unit.h
diff --git a/unit.h b/unit.h
index b05efe016b720e5b2c73a95c697d76cb27845fce..942de5f36f484950a150d5fb57aa16a3dbeb64ee 100644 (file)
--- 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);