#include <string.h>
#include <assert.h>
+#include "sd-bus.h"
#include "path-util.h"
#include "util.h"
#include "unit-name.h"
assert(name);
- e = bus_path_escape(name);
+ e = sd_bus_label_escape(name);
if (!e)
return NULL;
if (!e)
return -EINVAL;
- n = bus_path_unescape(e);
+ n = sd_bus_label_unescape(e);
if (!n)
return -ENOMEM;