summaryrefslogtreecommitdiff
path: root/unit.h
diff options
context:
space:
mode:
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);