summaryrefslogtreecommitdiff
path: root/libudev/libudev.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-03-17 17:42:35 +0100
committerKay Sievers <kay.sievers@vrfy.org>2010-03-17 17:42:35 +0100
commitfc8d61c53d6c181dc1e9f5a23c0f805c32a392af (patch)
tree68c9021843905d0fda089b480d131fa26dcd98cb /libudev/libudev.h
parent578cc8a8085a47c963b5940459e475ac5f07219c (diff)
libudev: add udev_device_new_from_environment()
Diffstat (limited to 'libudev/libudev.h')
-rw-r--r--libudev/libudev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libudev/libudev.h b/libudev/libudev.h
index 9576ad49ca..750664f43c 100644
--- a/libudev/libudev.h
+++ b/libudev/libudev.h
@@ -75,6 +75,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_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);
struct udev_device *udev_device_get_parent_with_subsystem_devtype(struct udev_device *udev_device,