summaryrefslogtreecommitdiff
path: root/udev.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-03-17 10:08:25 +0100
committerKay Sievers <kay.sievers@vrfy.org>2007-03-17 10:08:25 +0100
commit31de3a2ba18ffa011f5054016ccc4a500cbe0cc3 (patch)
treef945058d7aad9cbe45fba6e496c73d948255e729 /udev.h
parentd7fdcd61927e9439ad7079bb0967e0b6edac7646 (diff)
read list of devices from index, make index private to database
Diffstat (limited to 'udev.h')
-rw-r--r--udev.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/udev.h b/udev.h
index 31542243e2..16a107a33d 100644
--- a/udev.h
+++ b/udev.h
@@ -99,7 +99,7 @@ extern int udev_run;
extern void udev_config_init(void);
/* udev_device.c */
-extern struct udevice *udev_device_init(void);
+extern struct udevice *udev_device_init(struct udevice *udev);
extern void udev_device_cleanup(struct udevice *udev);
extern int udev_device_event(struct udev_rules *rules, struct udevice *udev);
extern dev_t udev_device_get_devt(struct udevice *udev);
@@ -127,6 +127,7 @@ extern int udev_db_add_device(struct udevice *dev);
extern int udev_db_delete_device(struct udevice *dev);
extern int udev_db_get_device(struct udevice *udev, const char *devpath);
extern int udev_db_lookup_name(const char *name, char *devpath, size_t len);
+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);
/* udev_utils.c */