diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-09 14:06:20 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-09 14:06:20 +0200 |
commit | c4f5f942d7dd904e53374c10de319feb41968561 (patch) | |
tree | 19dafcf1564469b81743c3745e3f4905d8845181 /udev/lib/libudev.h | |
parent | 9d7e1b3fdd3c2bd064f33a29ea5241fdefb718ee (diff) |
add a bunch of private device properties to udev_device
Diffstat (limited to 'udev/lib/libudev.h')
-rw-r--r-- | udev/lib/libudev.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/udev/lib/libudev.h b/udev/lib/libudev.h index a2a06b58e9..eafd578a55 100644 --- a/udev/lib/libudev.h +++ b/udev/lib/libudev.h @@ -21,6 +21,7 @@ #define _LIBUDEV_H_ #include <stdarg.h> +#include <sys/stat.h> /* this will stay as long as the DeviceKit integration of udev is work in progress */ #if !defined _LIBUDEV_COMPILATION && !defined LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE @@ -57,6 +58,9 @@ extern int udev_device_get_properties(struct udev_device *udev_device, int (*cb)(struct udev_device *udev_device, const char *key, const char *value, void *data), void *data); +extern const char *udev_device_get_driver(struct udev_device *udev_device); +extern dev_t udev_device_get_devnum(struct udev_device *udev_device); +extern const char *udev_device_get_action(struct udev_device *udev_device); extern int udev_devices_enumerate(struct udev *udev, const char *subsystem, int (*cb)(struct udev *udev, |