X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udev.h;h=849de964590c9d5a28b6f985b11a2090e9e9bd22;hb=ca714ef70e549aad486a62f4d6ef849572e3a7f1;hp=389966986871bd7f39fea230b7a4b077ae4b12cc;hpb=27b77df44daebbd7597c572343105c16de099233;p=elogind.git diff --git a/udev.h b/udev.h index 389966986..849de9645 100644 --- a/udev.h +++ b/udev.h @@ -92,7 +92,7 @@ struct udevice { /* udev_config.c */ extern char udev_root[PATH_SIZE]; extern char udev_config_filename[PATH_SIZE]; -extern char udev_rules_filename[PATH_SIZE]; +extern char udev_rules_dir[PATH_SIZE]; extern int udev_log_priority; extern int udev_run; extern void udev_config_init(void); @@ -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);