mirror of
https://github.com/systemd/systemd
synced 2024-11-05 18:25:39 +00:00
f7b4eca455
01-overall-whitespace+debug-text-conditioning.diff o cleanup whitespace o clarify a few comments o enclose all printed debug string values in ''
19 lines
533 B
C
19 lines
533 B
C
/*
|
|
* udevdb header file
|
|
*/
|
|
#ifndef _UDEVDB_H_
|
|
#define _UDEVDB_H_
|
|
|
|
/* Udevdb initialization flags */
|
|
#define UDEVDB_DEFAULT 0 /* defaults database to use file */
|
|
#define UDEVDB_INTERNAL 1 /* don't store db on disk, use in memory */
|
|
|
|
/* function prototypes */
|
|
extern void udevdb_exit(void);
|
|
extern int udevdb_init(int init_flag);
|
|
|
|
extern int udevdb_add_dev(const char *path, const struct udevice *dev);
|
|
extern struct udevice *udevdb_get_dev(const char *path);
|
|
extern int udevdb_delete_dev(const char *path);
|
|
|
|
#endif /* _UDEVDB_H_ */
|