Searched refs:bus_path_decode_unique (Results 1 - 3 of 3) sorted by relevance

/systemd/src/libsystemd/sd-bus/
H A Dtest-bus-marshal.c47 assert_se(bus_path_decode_unique(a, "/foo/bar", &b, &c) > 0 && streq_ptr(b, "some.sender") && streq_ptr(c, "a.suffix"));
48 assert_se(bus_path_decode_unique(a, "/bar/foo", &d, &d) == 0 && !d);
49 assert_se(bus_path_decode_unique("/foo/bar/onlyOneSuffix", "/foo/bar", &d, &d) == 0 && !d);
50 assert_se(bus_path_decode_unique("/foo/bar/_/_", "/foo/bar", &d, &e) > 0 && streq_ptr(d, "") && streq_ptr(e, ""));
/systemd/src/shared/
H A Dbus-util.h191 int bus_path_decode_unique(const char *path, const char *prefix, char **ret_sender, char **ret_external);
H A Dbus-util.c2283 * bus_path_decode_unique() - decode unique object path
2300 int bus_path_decode_unique(const char *path, const char *prefix, char **ret_sender, char **ret_external) { function

Completed in 1509 milliseconds