diff options
author | greg@kroah.com <greg@kroah.com> | 2003-12-03 01:08:46 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:13:05 -0700 |
commit | e8bacccab296d6b75c4c9f43cb4e71007aff5b8a (patch) | |
tree | ad65d8917550ec7e8addf84816e16452fd722986 /namedev.h | |
parent | 29b82deb7e8d7634792bd50be1377bae170a8acb (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.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |