]> git.ipfire.org Git - thirdparty/systemd.git/blob - udevdb.h
[PATCH] If a CALLOUT rule has a BUS id, then we must check to see if the device is...
[thirdparty/systemd.git] / udevdb.h
1 /*
2 * udevdb header file
3 */
4 #ifndef _UDEVDB_H_
5 #define _UDEVDB_H_
6
7 /* Udevdb initialization flags */
8 #define UDEVDB_DEFAULT 0 /* defaults database to use file */
9 #define UDEVDB_INTERNAL 1 /* don't store db on disk, use in memory */
10
11 /* function prototypes */
12 extern void udevdb_exit(void);
13 extern int udevdb_init(int init_flag);
14
15 extern int udevdb_add_dev(const char *path, const struct udevice *dev);
16 extern int udevdb_get_dev(const char *path, struct udevice *dev);
17 extern int udevdb_delete_dev(const char *path);
18
19 #endif /* _UDEVDB_H_ */