summaryrefslogtreecommitdiff
path: root/udev/lib/libudev.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-30 13:42:26 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-30 13:42:26 +0200
commitc97f839eed652c3e05eb71bc2ba5fbe40678e7b7 (patch)
tree3e12c6ec853720c92ddb470460dfa3cf1892776c /udev/lib/libudev.h
parent4aa0b15efbb44dbcbb0a4fa6e7bb45e70e1ec537 (diff)
libudev: enumerate - scan devices and subsystems, add subsystem and attribute filter
Diffstat (limited to 'udev/lib/libudev.h')
-rw-r--r--udev/lib/libudev.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/udev/lib/libudev.h b/udev/lib/libudev.h
index 427fed7f61..49d24f1476 100644
--- a/udev/lib/libudev.h
+++ b/udev/lib/libudev.h
@@ -98,7 +98,12 @@ extern struct udev_enumerate *udev_enumerate_new(struct udev *udev);
extern struct udev_enumerate *udev_enumerate_ref(struct udev_enumerate *udev_enumerate);
extern struct udev *udev_enumerate_get_udev(struct udev_enumerate *udev_enumerate);
extern void udev_enumerate_unref(struct udev_enumerate *udev_enumerate);
-extern int udev_enumerate_scan_devices(struct udev_enumerate *udev_enumerate, const char *subsystem, ...);
+extern int udev_enumerate_add_match_subsystem(struct udev_enumerate *udev_enumerate, const char *subsystem);
+extern int udev_enumerate_add_nomatch_subsystem(struct udev_enumerate *udev_enumerate, const char *subsystem);
+extern int udev_enumerate_add_match_attr(struct udev_enumerate *udev_enumerate, const char *attr, const char *value);
+extern int udev_enumerate_add_nomatch_attr(struct udev_enumerate *udev_enumerate, const char *attr, const char *value);
+extern int udev_enumerate_add_device(struct udev_enumerate *udev_enumerate, struct udev_device *udev_device);
+extern int udev_enumerate_scan_devices(struct udev_enumerate *udev_enumerate);
extern int udev_enumerate_scan_subsystems(struct udev_enumerate *udev_enumerate);
extern struct udev_list_entry *udev_enumerate_get_list_entry(struct udev_enumerate *udev_enumerate);