]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/libsystemd/sd-netlink/netlink-slot.h
pkgconfig: define variables relative to ${prefix}/${rootprefix}/${sysconfdir}
[thirdparty/systemd.git] / src / libsystemd / sd-netlink / netlink-slot.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
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 sd_netlink_destroy_t destroy_callback,
12 void *userdata,
13 const char *description,
14 sd_netlink_slot **ret);
15 void netlink_slot_disconnect(sd_netlink_slot *slot, bool unref);