diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2010-05-07 23:04:42 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2010-05-07 23:04:42 +0200 |
commit | f712894dd4c2a2d8e374de133b7ed854e203fa96 (patch) | |
tree | 8dc6b230aced731f1cd5f0e7fb7372edb45b9b64 /libudev/libudev-device.c | |
parent | d0d7b8d08539579b4dfee0ff9d0a0457720c7eb5 (diff) |
libudev: add documentation for recently added functions
Diffstat (limited to 'libudev/libudev-device.c')
-rw-r--r-- | libudev/libudev-device.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libudev/libudev-device.c b/libudev/libudev-device.c index a6a1ecb4e9..7e6b7f1ce7 100644 --- a/libudev/libudev-device.c +++ b/libudev/libudev-device.c @@ -1287,6 +1287,17 @@ void udev_device_cleanup_tags_list(struct udev_device *udev_device) udev_list_cleanup_entries(udev_device->udev, &udev_device->tags_list); } +/** + * udev_device_get_tags_list_entry: + * @udev_device: udev device + * + * Retrieve the list of tags attached to the udev device. The next + * list entry can be retrieved with udev_list_entry_next(), + * which returns #NULL if no more entries exist. The tag string + * can be retrieved from the list entry by udev_list_get_name(). + * + * Returns: the first entry of the tag list + **/ struct udev_list_entry *udev_device_get_tags_list_entry(struct udev_device *udev_device) { if (udev_device == NULL) |