chiark / gitweb /
[PATCH] Clean up the namedev interface a bit, making the code smaller...
[elogind.git] / namedev.h
index 0089b4d240a416157c1ab658bb95da3514ed3b3c..0e3a819952bc4b3f556d85a89060a10866e789ef 100644 (file)
--- a/namedev.h
+++ b/namedev.h
@@ -23,6 +23,8 @@
 #ifndef NAMEDEV_H
 #define NAMEDEV_H
 
+struct sysfs_class_device;
+
 /* namedev config files */
 #define COMMENT_CHARACTER              '#'
 #define NAMEDEV_CONFIG_ROOT            "/home/greg/src/udev/"
@@ -30,5 +32,6 @@
 #define NAMEDEV_CONFIG_FILE            "namedev.config"
 
 extern int namedev_init(void);
+extern int namedev_name_device(struct sysfs_class_device *class_dev, struct device_attr *attr);
 
 #endif