]>
Commit | Line | Data |
---|---|---|
a2554ace YW |
1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
2 | #pragma once | |
3 | ||
4 | #include <stdbool.h> | |
5 | #include <sys/types.h> | |
6 | ||
7 | #include "libudev.h" | |
8 | #include "sd-device.h" | |
9 | ||
10 | #include "libudev-private.h" | |
11 | ||
12 | int udev_node_add(sd_device *dev, bool apply, | |
13 | mode_t mode, uid_t uid, gid_t gid, | |
14 | struct udev_list *seclabel_list); | |
15 | int udev_node_remove(sd_device *dev); | |
16 | int udev_node_update_old_links(sd_device *dev, sd_device *dev_old); |