| udev.h | | udev.h | |
| | | | |
| skipping to change at line 116 | | skipping to change at line 116 | |
| /* udev_sysfs.c */ | | /* udev_sysfs.c */ | |
| extern char sysfs_path[PATH_SIZE]; | | extern char sysfs_path[PATH_SIZE]; | |
| extern int sysfs_init(void); | | extern int sysfs_init(void); | |
| extern void sysfs_cleanup(void); | | extern void sysfs_cleanup(void); | |
| extern void sysfs_device_set_values(struct sysfs_device *dev, const char *d
evpath, | | extern void sysfs_device_set_values(struct sysfs_device *dev, const char *d
evpath, | |
| const char *subsystem, const char *drive
r); | | const char *subsystem, const char *drive
r); | |
| extern struct sysfs_device *sysfs_device_get(const char *devpath); | | extern struct sysfs_device *sysfs_device_get(const char *devpath); | |
| extern struct sysfs_device *sysfs_device_get_parent(struct sysfs_device *de
v); | | extern struct sysfs_device *sysfs_device_get_parent(struct sysfs_device *de
v); | |
| extern struct sysfs_device *sysfs_device_get_parent_with_subsystem(struct s
ysfs_device *dev, const char *subsystem); | | extern struct sysfs_device *sysfs_device_get_parent_with_subsystem(struct s
ysfs_device *dev, const char *subsystem); | |
| extern char *sysfs_attr_get_value(const char *devpath, const char *attr_nam
e); | | extern char *sysfs_attr_get_value(const char *devpath, const char *attr_nam
e); | |
|
| | | extern int sysfs_resolve_link(char *path, size_t size); | |
| | | | |
| /* udev_node.c */ | | /* udev_node.c */ | |
| extern int udev_node_mknod(struct udevice *udev, const char *file, dev_t de
vt, mode_t mode, uid_t uid, gid_t gid); | | extern int udev_node_mknod(struct udevice *udev, const char *file, dev_t de
vt, mode_t mode, uid_t uid, gid_t gid); | |
| extern int udev_node_add(struct udevice *udev, struct udevice *udev_old); | | extern int udev_node_add(struct udevice *udev, struct udevice *udev_old); | |
| extern void udev_node_remove_symlinks(struct udevice *udev); | | extern void udev_node_remove_symlinks(struct udevice *udev); | |
| extern int udev_node_remove(struct udevice *udev); | | extern int udev_node_remove(struct udevice *udev); | |
| | | | |
| /* udev_db.c */ | | /* udev_db.c */ | |
| extern int udev_db_add_device(struct udevice *dev); | | extern int udev_db_add_device(struct udevice *dev); | |
| extern int udev_db_delete_device(struct udevice *dev); | | extern int udev_db_delete_device(struct udevice *dev); | |
| | | | |
End of changes. 1 change blocks. |
| 0 lines changed or deleted | | 1 lines changed or added | |
|