summaryrefslogtreecommitdiff
path: root/udev/lib/libudev.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-10-07 20:20:34 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-10-07 20:20:34 +0200
commit90d80c2efcf63c69c05e4788b993f688302b02a4 (patch)
tree99eab9f4dbab080904623531d3955086db416b39 /udev/lib/libudev.h
parent5b3ff6ba3a4009d7520920f7e529dd85d7888ccf (diff)
libudev: device - add device lookup by subsystem:sysname
Diffstat (limited to 'udev/lib/libudev.h')
-rw-r--r--udev/lib/libudev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/udev/lib/libudev.h b/udev/lib/libudev.h
index fabe59d7d7..3f4cccf8c3 100644
--- a/udev/lib/libudev.h
+++ b/udev/lib/libudev.h
@@ -59,6 +59,7 @@ extern const char *udev_list_entry_get_value(struct udev_list_entry *list_entry)
struct udev_device;
extern struct udev_device *udev_device_new_from_syspath(struct udev *udev, const char *syspath);
extern struct udev_device *udev_device_new_from_devnum(struct udev *udev, char type, dev_t devnum);
+extern struct udev_device *udev_device_new_from_subsystem_sysname(struct udev *udev, const char *subsystem, const char *sysname);
extern struct udev_device *udev_device_get_parent(struct udev_device *udev_device);
extern struct udev_device *udev_device_get_parent_with_subsystem(struct udev_device *udev_device, const char *subsystem);
extern struct udev_device *udev_device_ref(struct udev_device *udev_device);