X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udev_db.h;h=6a0647f2007b50767de88e7d5e256b0d75a48ed8;hb=b55e6540260ac3e38d96a0b6c00514a72d5db218;hp=75f1d982967a0f844b8bee10d19ff9c7c41e2975;hpb=8f2f6e426fc4cc1fa39b864a1792428a4269b751;p=elogind.git diff --git a/udev_db.h b/udev_db.h index 75f1d9829..6a0647f20 100644 --- a/udev_db.h +++ b/udev_db.h @@ -29,6 +29,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_by_devpath(struct udevice *dev, const char *devpath); -extern int udev_db_get_device_byname(struct udevice *udev, const char *name); +extern int udev_db_get_device_by_name(struct udevice *udev, const char *name); +extern int udev_db_call_foreach(int (*handler_function)(struct udevice *udev)); #endif /* _UDEV_DB_H_ */