diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2007-08-26 05:22:35 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-08-26 05:22:35 +0200 |
commit | a2f2270eef499f6f60075a149011e3e3851ab5ef (patch) | |
tree | 5e84f73d692a9e9b6cc679c29112f2f97ce39e84 /udev.h | |
parent | 3f781cab37dbee76340c65602555a524ffea96f9 (diff) |
track "move" events to rename database and failed files
Diffstat (limited to 'udev.h')
-rw-r--r-- | udev.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -69,6 +69,7 @@ struct udevice { struct sysfs_device dev_local; struct sysfs_device *dev_parent; /* current parent device used for matching */ char action[NAME_SIZE]; + char *devpath_old; /* node */ char name[PATH_SIZE]; @@ -131,6 +132,7 @@ extern int udev_node_remove(struct udevice *udev); /* udev_db.c */ extern int udev_db_add_device(struct udevice *dev); extern int udev_db_delete_device(struct udevice *dev); +extern int udev_db_rename(const char *devpath_old, const char *devpath); extern int udev_db_get_device(struct udevice *udev, const char *devpath); extern int udev_db_get_devices_by_name(const char *name, struct list_head *name_list); extern int udev_db_get_all_entries(struct list_head *name_list); |