X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udev.h;h=d09c9922cdb40fb8d0ffb503ce7b52c2a1316647;hp=389966986871bd7f39fea230b7a4b077ae4b12cc;hb=82c60ce57206148d00e8d3a210a72a0e7f2aa380;hpb=bc2a89fad6a5935e241d2f50d5b4f620dc343233 diff --git a/udev.h b/udev.h index 389966986..d09c9922c 100644 --- a/udev.h +++ b/udev.h @@ -113,6 +113,7 @@ extern struct sysfs_device *sysfs_device_get(const char *devpath); extern struct sysfs_device *sysfs_device_get_parent(struct sysfs_device *dev); extern struct sysfs_device *sysfs_device_get_parent_with_subsystem(struct sysfs_device *dev, const char *subsystem); extern char *sysfs_attr_get_value(const char *devpath, const char *attr_name); +extern int sysfs_resolve_link(char *path, size_t size); /* udev_node.c */ extern int udev_node_mknod(struct udevice *udev, const char *file, dev_t devt, mode_t mode, uid_t uid, gid_t gid);