]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/libsystemd/sd-bus/bus-slot.h
sd-bus: make bus_slot_disconnect() also unref the slot object
[thirdparty/systemd.git] / src / libsystemd / sd-bus / bus-slot.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 #include "sd-bus.h"
5
6 #include "bus-internal.h"
7
8 sd_bus_slot *bus_slot_allocate(sd_bus *bus, bool floating, BusSlotType type, size_t extra, void *userdata);
9
10 void bus_slot_disconnect(sd_bus_slot *slot, bool unref);