diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-21 23:28:56 -0700 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-21 23:28:56 -0700 |
commit | 4c9dff47f696b1e6c89cc6e0a7ba683067927821 (patch) | |
tree | b2b2c472b551d62cc6bf9132b5d825c5fd490337 /udev/lib/libudev.h | |
parent | fb762bb928772f1923fef1e342d8ebca9bf7691f (diff) |
libudev: add udev_device_new_from_devnum()
Diffstat (limited to 'udev/lib/libudev.h')
-rw-r--r-- | udev/lib/libudev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/udev/lib/libudev.h b/udev/lib/libudev.h index 1970652f8f..4d5fd93efc 100644 --- a/udev/lib/libudev.h +++ b/udev/lib/libudev.h @@ -46,6 +46,7 @@ extern void udev_selinux_lsetfilecon(struct udev *udev, const char *file, unsign 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_ref(struct udev_device *udev_device); extern void udev_device_unref(struct udev_device *udev_device); |