summaryrefslogtreecommitdiff
path: root/src/libudev/libudev.h
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-08-10 19:56:57 +0200
committerKay Sievers <kay@vrfy.org>2012-08-10 19:56:57 +0200
commitdbf61afb29e016fe1b4ac48312a782df1d60a3e6 (patch)
tree82e12903de297fb388c1e85b27fca627943a2f1b /src/libudev/libudev.h
parentc516c8d17f77a1c761447f4c40c8dfffeda2e06d (diff)
udev: export udev_device_new_from_device_id()
Diffstat (limited to 'src/libudev/libudev.h')
-rw-r--r--src/libudev/libudev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libudev/libudev.h b/src/libudev/libudev.h
index 86439849b1..799f47096e 100644
--- a/src/libudev/libudev.h
+++ b/src/libudev/libudev.h
@@ -73,6 +73,7 @@ struct udev *udev_device_get_udev(struct udev_device *udev_device);
struct udev_device *udev_device_new_from_syspath(struct udev *udev, const char *syspath);
struct udev_device *udev_device_new_from_devnum(struct udev *udev, char type, dev_t devnum);
struct udev_device *udev_device_new_from_subsystem_sysname(struct udev *udev, const char *subsystem, const char *sysname);
+struct udev_device *udev_device_new_from_device_id(struct udev *udev, char *id);
struct udev_device *udev_device_new_from_environment(struct udev *udev);
/* udev_device_get_parent_*() does not take a reference on the returned device, it is automatically unref'd with the parent */
struct udev_device *udev_device_get_parent(struct udev_device *udev_device);