Home
last modified time | relevance | path

Searched refs:unique_name (Results 1 – 8 of 8) sorted by relevance

/systemd-251/src/libsystemd/sd-bus/ !
Dbus-creds.c95 free(c->unique_name); in sd_bus_creds_unref()
589 _public_ int sd_bus_creds_get_unique_name(sd_bus_creds *c, const char **unique_name) { in sd_bus_creds_get_unique_name() argument
591 assert_return(unique_name, -EINVAL); in sd_bus_creds_get_unique_name()
596 *unique_name = c->unique_name; in sd_bus_creds_get_unique_name()
1297 assert(c->unique_name); in bus_creds_extend_by_pid()
1299 n->unique_name = strdup(c->unique_name); in bus_creds_extend_by_pid()
1300 if (!n->unique_name) in bus_creds_extend_by_pid()
Dbus-control.c38 *unique = bus->unique_name; in sd_bus_get_unique_name()
494 c->unique_name = strdup(unique); in sd_bus_get_name_creds()
495 if (!c->unique_name) in sd_bus_get_name_creds()
915 if (streq_ptr(name, bus->unique_name)) in sd_bus_get_name_machine_id()
Dbus-creds.h55 char *unique_name; member
Dbus-internal.h233 char *unique_name; member
Dsd-bus.c195 free(b->unique_name); in bus_free()
553 r = free_and_strdup(&bus->unique_name, s); in hello_callback()
2425 bus->unique_name && in sd_bus_call()
2427 streq(bus->unique_name, incoming->sender)) { in sd_bus_call()
2715 if (m->destination && bus->unique_name && !streq_ptr(m->destination, bus->unique_name)) in process_reply()
Dbus-dump.c477 fprintf(f, "%sUniqueName=%s%s%s", prefix, color, c->unique_name, suffix); in bus_creds_dump()
Dbus-message.c846 m->sender = m->creds.unique_name = (char*) "org.freedesktop.DBus.Local"; in bus_message_set_sender_local()
855 m->sender = m->creds.unique_name = (char*) "org.freedesktop.DBus"; in bus_message_set_sender_driver()
886 if (bus && bus->unique_name) { in bus_message_new_synthetic_error()
887 …eld_string(t, BUS_MESSAGE_HEADER_DESTINATION, SD_BUS_TYPE_STRING, bus->unique_name, &t->destinatio… in bus_message_new_synthetic_error()
5380 m->creds.unique_name = (char*) m->sender; in bus_message_parse_fields()
/systemd-251/src/busctl/ !
Dbusctl.c1211 const char *unique_name; in monitor() local
1276 r = sd_bus_get_unique_name(bus, &unique_name); in monitor()
1300 if (streq(name, unique_name)) in monitor()