chiark / gitweb /
add strerror() to error logs
[elogind.git] / udev_sysfs.h
index 98ff53e11a57893b0618496d5c4e532eec48c5d5..5b87d6bf959b028afb8f96e1eab0c2ea35018797 100644 (file)
 
 #include "libsysfs/sysfs/libsysfs.h"
 
-#define WAIT_MAX_SECONDS               5
+#define WAIT_MAX_SECONDS               3
 #define WAIT_LOOP_PER_SECOND           20
 
-extern int subsystem_expect_no_dev(const char *subsystem);
+extern dev_t get_devt(struct sysfs_class_device *class_dev);
 
-/* /sys/class /sys/block devices */
+/* /sys/class, /sys/block devices */
 extern struct sysfs_class_device *wait_class_device_open(const char *path);
 extern int wait_for_class_device(struct sysfs_class_device *class_dev, const char **error);