chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] added init.d udev script for debian
[elogind.git]
/
udevdb.h
diff --git
a/udevdb.h
b/udevdb.h
index 97e1f9bc405c50d600d73cb14b7f3d2599be500b..f36a9ca79974594f87276fe767dfe40021af0d75 100644
(file)
--- a/
udevdb.h
+++ b/
udevdb.h
@@
-11,9
+11,10
@@
/* function prototypes */
extern void udevdb_exit(void);
extern int udevdb_init(int init_flag);
/* function prototypes */
extern void udevdb_exit(void);
extern int udevdb_init(int init_flag);
+extern int udevdb_open_ro(void);
extern int udevdb_add_dev(const char *path, const 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_ */
extern int udevdb_delete_dev(const char *path);
#endif /* _UDEVDB_H_ */