summaryrefslogtreecommitdiff
path: root/src/shared/unit-name.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/unit-name.h')
-rw-r--r--src/shared/unit-name.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shared/unit-name.h b/src/shared/unit-name.h
index 4c793c5a7e..cd30d65e3a 100644
--- a/src/shared/unit-name.h
+++ b/src/shared/unit-name.h
@@ -50,10 +50,12 @@ int unit_name_to_instance(const char *n, char **instance);
char* unit_name_to_prefix(const char *n);
char* unit_name_to_prefix_and_instance(const char *n);
-bool unit_name_is_valid_no_type(const char *n, bool template_ok);
+bool unit_name_is_valid(const char *n, bool template_ok);
bool unit_prefix_is_valid(const char *p);
bool unit_instance_is_valid(const char *i);
+UnitType unit_name_to_type(const char *n);
+
char *unit_name_change_suffix(const char *n, const char *suffix);
char *unit_name_build(const char *prefix, const char *instance, const char *suffix);