diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-07-08 02:09:40 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-07-08 02:09:40 +0200 |
commit | a07e011434b2b218b2c77c0fa4fcfb001dec4b7f (patch) | |
tree | 86cb29cd11e3928896e8fe50971f6b750070addd | |
parent | 6ed03d1e2c1e2e300dda7a7cf4a5ffe10ef18356 (diff) |
libudev: enumerate - clarify documentation
-rw-r--r-- | TODO | 5 | ||||
-rw-r--r-- | libudev/libudev-enumerate.c | 5 |
2 files changed, 4 insertions, 6 deletions
@@ -1,7 +1,4 @@ - - udev_enumerate_add_match_subsystem(enum, "input"); - udev_enumerate_add_match_sysname(enum, "event*"); - udev_enumerate_add_match_children(input_dev); - udev_enumerate_scan_devices(enum); + - udev_enumerate_remove_matches() - test (now fixed) /dev/tape/ links diff --git a/libudev/libudev-enumerate.c b/libudev/libudev-enumerate.c index 399bbdaf46..b332ecdae1 100644 --- a/libudev/libudev-enumerate.c +++ b/libudev/libudev-enumerate.c @@ -464,9 +464,10 @@ UDEV_EXPORT int udev_enumerate_add_match_tag(struct udev_enumerate *udev_enumera /** * udev_enumerate_add_match_parent: * @udev_enumerate: context - * @parent: filter for the parent device + * @parent: parent device where to start searching * - * Return only the children of a given device. + * Return the devices on the subtree of one given device. The parent + * itself is included in the list. * * A reference for the device is held until the udev_enumerate context * is cleaned up. |