From e64943363a8dd8bd320c2b633478be8befd1af5c Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 2 Jun 2021 22:33:34 +0900 Subject: udev: use hashed path as a filename to save devlink --- src/udev/udev-node.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/udev/udev-node.h') diff --git a/src/udev/udev-node.h b/src/udev/udev-node.h index 84c7e4567f..2349f9c471 100644 --- a/src/udev/udev-node.h +++ b/src/udev/udev-node.h @@ -13,3 +13,5 @@ int udev_node_add(sd_device *dev, bool apply, OrderedHashmap *seclabel_list); int udev_node_remove(sd_device *dev); int udev_node_update_old_links(sd_device *dev, sd_device *dev_old); + +size_t udev_node_escape_path(const char *src, char *dest, size_t size); -- cgit v1.2.3