]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/libsystemd/sd-netlink/netlink-slot.h
Merge pull request #11827 from keszybz/pkgconfig-variables
[thirdparty/systemd.git] / src / libsystemd / sd-netlink / netlink-slot.h
CommitLineData
ee38400b
YW
1/* SPDX-License-Identifier: LGPL-2.1+ */
2#pragma once
3
4#include "sd-netlink.h"
5
8190a388 6int netlink_slot_allocate(
ee38400b
YW
7 sd_netlink *nl,
8 bool floating,
9 NetlinkSlotType type,
10 size_t extra,
8190a388
YW
11 void *userdata,
12 const char *description,
13 sd_netlink_slot **ret);
ee38400b 14void netlink_slot_disconnect(sd_netlink_slot *slot, bool unref);