diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-01-13 01:01:19 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:13:15 -0700 |
commit | ee1db00d07ed1db55061ba5e2cb54800cc3e2495 (patch) | |
tree | 716356410740f3c13a498ae1d8350b5fef367919 /udevdb.h | |
parent | a2505f4d1da4793991a4d2b2dc8f93b9b89d9672 (diff) |
[PATCH] more advanced user query options
Here is the '-h' and a '-d' to dump the whole database:
kay@pim:~/src/udev.kay$ ./udev -d
P: /block/hdb/hdb1
N: hdb1
S:
O:
G:
P: /class/video4linux/video0
N: video/webcam0
S: camera0 kamera0
O: 500
G: 500
P: /block/hdc
N: hdc
S:
O:
G:
Diffstat (limited to 'udevdb.h')
-rw-r--r-- | udevdb.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -12,6 +12,7 @@ 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 int udevdb_get_dev(const char *path, struct udevice *dev); |