]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/udev/udev-node.h
Merge pull request #16504 from poettering/read-file-ipc
[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
a2554ace
YW
7#include "sd-device.h"
8
d838e145 9#include "hashmap.h"
a2554ace
YW
10
11int udev_node_add(sd_device *dev, bool apply,
12 mode_t mode, uid_t uid, gid_t gid,
39a15c8a 13 OrderedHashmap *seclabel_list);
a2554ace
YW
14int udev_node_remove(sd_device *dev);
15int udev_node_update_old_links(sd_device *dev, sd_device *dev_old);