summaryrefslogtreecommitdiff
path: root/udev/lib/libudev.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-10-02 21:19:00 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-10-02 21:19:00 +0200
commit98f10a9e2ada5d72a0c39b94a5b59d9da4f28753 (patch)
treeb8494785e7757026e90e6daa0352e36b5cb7d104 /udev/lib/libudev.h
parente598c5738c2dc85a3e93c3f68cd88e8eea51215b (diff)
libudev: device - add get_parent_with_subsystem()
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 448346e278..fabe59d7d7 100644
--- a/udev/lib/libudev.h
+++ b/udev/lib/libudev.h
@@ -60,6 +60,7 @@ 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_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);
extern void udev_device_unref(struct udev_device *udev_device);
extern struct udev *udev_device_get_udev(struct udev_device *udev_device);