summaryrefslogtreecommitdiff
path: root/src/libsystemd/libsystemd.sym.m4
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-03-11 19:03:50 +0100
committerLennart Poettering <lennart@poettering.net>2014-03-11 19:03:50 +0100
commita6278b88305b237b02eabff0d870b57fe851822d (patch)
treed826e248d401a18f07c45cfc0832907e861a2877 /src/libsystemd/libsystemd.sym.m4
parent2be56ff1e49c8954a0899da701233acf053e95a4 (diff)
bus: replace sd_bus_label_{escape,unescape}() by new sd_bus_path_{encode,decode}()
The new calls work similarly, but enforce a that a common, fixed bus path prefix is used. This follows discussions with Simon McVittie on IRC that it should be a good idea to make sure that people don't use the escaping applied here too wildly as anything other than the last label of a bus path.
Diffstat (limited to 'src/libsystemd/libsystemd.sym.m4')
-rw-r--r--src/libsystemd/libsystemd.sym.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd/libsystemd.sym.m4 b/src/libsystemd/libsystemd.sym.m4
index c708c7f38f..9c29169e7c 100644
--- a/src/libsystemd/libsystemd.sym.m4
+++ b/src/libsystemd/libsystemd.sym.m4
@@ -311,8 +311,8 @@ m4_ifdef(`ENABLE_KDBUS',
sd_bus_error_copy;
sd_bus_error_is_set;
sd_bus_error_has_name;
- sd_bus_label_escape;
- sd_bus_label_unescape;
+ sd_bus_path_encode;
+ sd_bus_path_decode;
sd_bus_track_new;
sd_bus_track_ref;
sd_bus_track_unref;