summaryrefslogtreecommitdiff
path: root/src/shared/unit-name.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-06-25 20:16:15 +0200
committerLennart Poettering <lennart@poettering.net>2012-06-25 20:16:15 +0200
commit35eb6b124ebdf82bd77aad6e44962a9a039c4d33 (patch)
tree95f6283713ae0d47a7ff896c188c49fdb28cb52c /src/shared/unit-name.h
parent61beaf818bd222fdbacd233fba8df6124ec8d32d (diff)
cryptsetup: fix escaping when generating cryptsetup units
Diffstat (limited to 'src/shared/unit-name.h')
-rw-r--r--src/shared/unit-name.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/shared/unit-name.h b/src/shared/unit-name.h
index 64bb248907..13665c5980 100644
--- a/src/shared/unit-name.h
+++ b/src/shared/unit-name.h
@@ -37,11 +37,10 @@ bool unit_instance_is_valid(const char *i);
char *unit_name_change_suffix(const char *n, const char *suffix);
char *unit_name_build(const char *prefix, const char *instance, const char *suffix);
-char *unit_name_build_escape(const char *prefix, const char *instance, const char *suffix);
char *unit_name_escape(const char *f);
char *unit_name_unescape(const char *f);
-
+char *unit_name_path_escape(const char *f);
char *unit_name_path_unescape(const char *f);
bool unit_name_is_template(const char *n);