chiark / gitweb /
IMPORT: add {parent} to import the persistent data of the parent device
[elogind.git] / udev_db.h
index 141c586f24702091eb43b2ff4da35b47408d8af7..94209819443883630bae411f14ac18aa5c832151 100644 (file)
--- a/udev_db.h
+++ b/udev_db.h
 
 
 extern int udev_db_add_device(struct udevice *dev);
-extern int udev_db_get_device(struct udevice *dev);
 extern int udev_db_delete_device(struct udevice *dev);
 
-extern int udev_db_get_device_byname(struct udevice *udev, const char *name);
+extern int udev_db_get_device(struct udevice *udev, const char *devpath);
+extern int udev_db_search_name(char *devpath, size_t len, const char *name);
+extern int udev_db_dump_names(int (*handler_function)(const char *path, const char *name));
 
 #endif /* _UDEV_DB_H_ */