summaryrefslogtreecommitdiffstats
path: root/src/libsystemd/sd-bus/bus-slot.h
blob: 8116195d4dd83be94527b91e035fa6205b3fa83a (plain)
1
2
3
4
5
6
7
8
9
10
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

#include "sd-bus.h"

#include "bus-internal.h"

sd_bus_slot *bus_slot_allocate(sd_bus *bus, bool floating, BusSlotType type, size_t extra, void *userdata);

void bus_slot_disconnect(sd_bus_slot *slot, bool unref);