X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udev_db.h;h=94209819443883630bae411f14ac18aa5c832151;hp=5065eaa6c694edd5153307774ef51cdff3d2c170;hb=8365854ccda3d0f36333b699454238cff111e169;hpb=f8a178a35b8dee2ee46a3de298345aa4faa8f41e diff --git a/udev_db.h b/udev_db.h index 5065eaa6c..942098194 100644 --- a/udev_db.h +++ b/udev_db.h @@ -28,7 +28,8 @@ extern int udev_db_add_device(struct udevice *dev); extern int udev_db_delete_device(struct udevice *dev); -extern int udev_db_get_device_by_devpath(struct udevice *dev, const char *devpath); -extern int udev_db_get_device_by_name(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_ */