summaryrefslogtreecommitdiff
path: root/libudev/libudev-private.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-05-16 22:04:02 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-05-16 22:04:02 +0200
commit3cf1a8e36ed0d9bb9b000adf36dd347e8d988478 (patch)
tree132994a3ad9dac2975919b53d627aed798974cc9 /libudev/libudev-private.h
parent4b718be86db37a37c83793ca410e8d9968e615f2 (diff)
libudev: device - use DEVMODE from kernel as the default mode
Diffstat (limited to 'libudev/libudev-private.h')
-rw-r--r--libudev/libudev-private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libudev/libudev-private.h b/libudev/libudev-private.h
index 2fcfe4131c..39b46dde31 100644
--- a/libudev/libudev-private.h
+++ b/libudev/libudev-private.h
@@ -69,6 +69,8 @@ struct udev_list_entry *udev_get_properties_list_entry(struct udev *udev);
/* libudev-device.c */
struct udev_device *udev_device_new(struct udev *udev);
struct udev_device *udev_device_new_from_id_filename(struct udev *udev, char *id);
+mode_t udev_device_get_devnode_mode(struct udev_device *udev_device);
+int udev_device_set_devnode_mode(struct udev_device *udev_device, mode_t mode);
int udev_device_set_syspath(struct udev_device *udev_device, const char *syspath);
int udev_device_set_subsystem(struct udev_device *udev_device, const char *subsystem);
int udev_device_set_devtype(struct udev_device *udev_device, const char *devtype);