]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/udev/udev-node.h
udev-node: replace udev_device by sd_device and modernize code a bit
[thirdparty/systemd.git] / src / udev / udev-node.h
CommitLineData
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
12int udev_node_add(sd_device *dev, bool apply,
13 mode_t mode, uid_t uid, gid_t gid,
14 struct udev_list *seclabel_list);
15int udev_node_remove(sd_device *dev);
16int udev_node_update_old_links(sd_device *dev, sd_device *dev_old);