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