summaryrefslogtreecommitdiffstats
path: root/src/udev/udev-node.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-06-02 15:33:34 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-06-04 08:51:31 +0200
commite64943363a8dd8bd320c2b633478be8befd1af5c (patch)
tree6ba8b729d8859412ac7288997ff98c16736dba3d /src/udev/udev-node.h
parentutil: expose urlsafe_base64char() (diff)
downloadsystemd-e64943363a8dd8bd320c2b633478be8befd1af5c.tar.xz
systemd-e64943363a8dd8bd320c2b633478be8befd1af5c.zip
udev: use hashed path as a filename to save devlink
Diffstat (limited to 'src/udev/udev-node.h')
-rw-r--r--src/udev/udev-node.h2
1 files changed, 2 insertions, 0 deletions
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);