X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=libudev%2Flibudev.h;h=750664f43c71afe6bd0363f1f826c18913bac67f;hb=b3ad0c3c6fce3c04a2f3070200001d6566d1b322;hp=9576ad49ca1ef2e392ec88383e45a811d407a245;hpb=a571c23e954cb88cdd5faa28593b19bd7c340130;p=elogind.git diff --git a/libudev/libudev.h b/libudev/libudev.h index 9576ad49c..750664f43 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,