diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-07-02 01:35:08 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-07-02 01:48:55 +0200 |
commit | ede3a7967560506486e1e25d09ef4e74600851ff (patch) | |
tree | 8cfca3a63952ce9f83538085b4fe0e107fa49c09 /src/shared/unit-name.h | |
parent | scope: make TimeoutStopUSec= settable for transient units (diff) | |
download | systemd-ede3a7967560506486e1e25d09ef4e74600851ff.tar.xz systemd-ede3a7967560506486e1e25d09ef4e74600851ff.zip |
core: split out unit bus path unescaping into unit_name_from_dbus_path()
Diffstat (limited to '')
-rw-r--r-- | src/shared/unit-name.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/unit-name.h b/src/shared/unit-name.h index 88f2b83443..7f4ae56433 100644 --- a/src/shared/unit-name.h +++ b/src/shared/unit-name.h @@ -95,6 +95,7 @@ char *unit_name_from_path_instance(const char *prefix, const char *path, const c char *unit_name_to_path(const char *name); char *unit_dbus_path_from_name(const char *name); +int unit_name_from_dbus_path(const char *path, char **name); char *unit_name_mangle(const char *name); char *unit_name_mangle_with_suffix(const char *name, const char *suffix); |