chiark / gitweb /
libudev: enumerate - clarify documentation
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 8 Jul 2011 00:09:40 +0000 (02:09 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Fri, 8 Jul 2011 00:09:40 +0000 (02:09 +0200)
TODO
libudev/libudev-enumerate.c

diff --git a/TODO b/TODO
index 70892a3ac16cd434dd69c6732462e88cc147160e..13a27799fad50064d4e3e6f85b8714b21ad1372a 100644 (file)
--- a/TODO
+++ b/TODO
@@ -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
 
 
  - test (now fixed) /dev/tape/ links
 
index 399bbdaf46828afbecce785b092bad7c6c9287fa..b332ecdae136f065841aa2bd27ba28237ebd9227 100644 (file)
@@ -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
 /**
  * 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.
  *
  * A reference for the device is held until the udev_enumerate context
  * is cleaned up.