X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udevdb.h;h=a0e53382655a855e33598beb8b1a009ed2348e94;hb=eb7a964a7c66e5aff8147026a60c99258454b612;hp=97e1f9bc405c50d600d73cb14b7f3d2599be500b;hpb=f7b4eca455c7dbf850d984892756f22dbd9ddc3d;p=elogind.git diff --git a/udevdb.h b/udevdb.h index 97e1f9bc4..a0e533826 100644 --- a/udevdb.h +++ b/udevdb.h @@ -11,9 +11,11 @@ /* function prototypes */ extern void udevdb_exit(void); extern int udevdb_init(int init_flag); +extern int udevdb_open_ro(void); +extern int udevdb_dump(void (*user_record_handler) (char *path, struct udevice *dev)); extern int udevdb_add_dev(const char *path, const struct udevice *dev); -extern struct udevice *udevdb_get_dev(const char *path); +extern int udevdb_get_dev(const char *path, struct udevice *dev); extern int udevdb_delete_dev(const char *path); #endif /* _UDEVDB_H_ */