summaryrefslogtreecommitdiff
path: root/namedev.h
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-12-03 01:08:46 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:05 -0700
commite8bacccab296d6b75c4c9f43cb4e71007aff5b8a (patch)
treead65d8917550ec7e8addf84816e16452fd722986 /namedev.h
parent29b82deb7e8d7634792bd50be1377bae170a8acb (diff)
[PATCH] add support for a main udev config file, udev.conf.
the older udev.config file is now called udev.rules. This allows us to better control configuration values, and move away from the environment variables.
Diffstat (limited to 'namedev.h')
-rw-r--r--namedev.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/namedev.h b/namedev.h
index 1405d07e04..94fdf4ac91 100644
--- a/namedev.h
+++ b/namedev.h
@@ -28,7 +28,6 @@
struct sysfs_class_device;
-#define COMMENT_CHARACTER '#'
enum config_type {
KERNEL_NAME = 0, /* must be 0 to let memset() default to this value */
@@ -76,10 +75,12 @@ extern struct list_head config_device_list;
extern int namedev_init(void);
extern int namedev_name_device(struct sysfs_class_device *class_dev, struct udevice *dev);
extern int namedev_init_permissions(void);
-extern int namedev_init_config(void);
+extern int namedev_init_rules(void);
extern int add_config_dev(struct config_device *new_dev);
extern void dump_config_dev(struct config_device *dev);
extern void dump_config_dev_list(void);
+extern int get_pair(char **orig_string, char **left, char **right);
+
#endif