1 /* SPDX-License-Identifier: LGPL-2.1-or-later */ 2 #pragma once 3 4 #include "sd-netlink.h" 5 6 int netlink_slot_allocate( 7 sd_netlink *nl, 8 bool floating, 9 NetlinkSlotType type, 10 size_t extra, 11 void *userdata, 12 const char *description, 13 sd_netlink_slot **ret); 14 void netlink_slot_disconnect(sd_netlink_slot *slot, bool unref); 15