-extern int udevdb_delete_udevice(const char *name);
-extern int udevdb_add_device(const char *device, const struct sysfs_class_device *class_dev, const char *name, char type, int major, int minor, int mode);
-extern struct udevice *udevdb_get_udevice(const char *name);
-extern struct udevice *udevdb_get_udevice_by_bus(const char *bus,
- const char *id);
-extern struct udevice *udevdb_get_udevice_by_class(const char *cls,
- const char *cls_dev);
-extern char *udevdb_get_udevice_by_sysfs(const char *path);
+extern int udevdb_open_ro(void);
+extern int udevdb_call_foreach(int (*user_record_handler) (char *path, struct udevice *dev));
+
+extern int udevdb_add_dev(const char *path, const struct udevice *dev);
+extern int udevdb_get_dev(const char *path, struct udevice *dev);
+extern int udevdb_delete_dev(const char *path);
+extern int udevdb_get_dev_byname(const char *name, char *path, struct udevice *dev);