Searched refs:unique_name (Results 1 - 12 of 12) sorted by relevance

/systemd/src/bus-proxyd/
H A Dsynthesize.c185 if (streq(old_owner, a->unique_name)) {
194 } else if (streq(new_owner, a->unique_name)) {
216 r = sd_bus_message_set_destination(n, a->unique_name);
H A Dstdio-bridge.c209 a->unique_name);
H A Dproxy.c644 r = sd_bus_message_append(n, "s", p->destination_bus->unique_name);
670 r = sd_bus_message_append(n, "s", p->destination_bus->unique_name);
678 r = sd_bus_message_set_destination(n, p->destination_bus->unique_name);
H A Ddriver.c397 return synthetic_reply_method_return(m, "s", creds->unique_name);
/systemd/src/libsystemd/sd-bus/
H A Dbus-creds.h73 char *unique_name; member in struct:sd_bus_creds
H A Dbus-creds.c112 free(c->unique_name);
608 _public_ int sd_bus_creds_get_unique_name(sd_bus_creds *c, const char **unique_name) { argument
610 assert_return(unique_name, -EINVAL);
615 *unique_name = c->unique_name;
1309 assert(c->unique_name);
1311 n->unique_name = strdup(c->unique_name);
1312 if (!n->unique_name)
H A Dbus-internal.h229 char *unique_name; member in struct:sd_bus
H A Dbus-control.c55 *unique = bus->unique_name;
713 if (asprintf(&c->unique_name, ":1.%llu", (unsigned long long) conn_info->id) < 0) {
787 c->unique_name = strdup(unique);
788 if (!c->unique_name)
1560 if (streq_ptr(name, bus->unique_name))
H A Dsd-bus.c138 free(b->unique_name);
409 bus->unique_name = strdup(s);
410 if (!bus->unique_name)
2066 bus->unique_name &&
2068 streq(bus->unique_name, incoming->sender)) {
2321 if (m->destination && bus->unique_name && !streq_ptr(m->destination, bus->unique_name))
H A Dbus-kernel.c853 m->sender = m->creds.unique_name = m->sender_buffer;
861 m->destination = bus->unique_name; /* fill in unique name if the well-known name is missing */
1038 if (asprintf(&b->unique_name, ":1.%llu", (unsigned long long) hello->id) < 0) {
H A Dbus-dump.c485 fprintf(f, "%sUniqueName=%s%s%s", prefix, color, c->unique_name, suffix);
H A Dbus-message.c853 m->sender = m->creds.unique_name = (char*) "org.freedesktop.DBus.Local";
862 m->sender = m->creds.unique_name = (char*) "org.freedesktop.DBus";
891 if (bus && bus->unique_name) {
892 r = message_append_field_string(t, BUS_MESSAGE_HEADER_DESTINATION, SD_BUS_TYPE_STRING, bus->unique_name, &t->destination);
5382 m->creds.unique_name = (char*) m->sender;

Completed in 90 milliseconds