Home
last modified time | relevance | path

Searched refs:node_callback (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/libsystemd/sd-bus/
Dbus-internal.h62 LIST_HEAD(struct node_callback, callbacks);
68 struct node_callback { struct
76 LIST_FIELDS(struct node_callback, callbacks); argument
154 struct node_callback node_callback; member
Dbus-slot.c84 if (slot->node_callback.node) { in bus_slot_disconnect()
85 … LIST_REMOVE(callbacks, slot->node_callback.node->callbacks, &slot->node_callback); in bus_slot_disconnect()
88 bus_node_gc(slot->bus, slot->node_callback.node); in bus_slot_disconnect()
Dbus-objects.c246 struct node_callback *first, in node_callbacks_run()
277 slot = container_of(c, sd_bus_slot, node_callback); in node_callbacks_run()
1605 … s = bus_slot_allocate(bus, !slot, BUS_NODE_CALLBACK, sizeof(struct node_callback), userdata); in bus_add_object()
1611 s->node_callback.callback = callback; in bus_add_object()
1612 s->node_callback.is_fallback = fallback; in bus_add_object()
1614 s->node_callback.node = n; in bus_add_object()
1615 LIST_PREPEND(callbacks, n->callbacks, &s->node_callback); in bus_add_object()