diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-06-05 15:55:29 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-06-05 15:55:29 +0200 |
commit | c07669bd663d780e4957691e488798aa0178e76b (patch) | |
tree | d820e2e62ca315aedb05ba5fa12fec006ad0720b /udev_rules.h | |
parent | c2401132bf72cbda6555f1ef4403851c14faeba5 (diff) |
udev: handle all events - not only class and block devices
Handle all events with rules. If udev is expected to handle hotplug.d/
the exernal helper must be called.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udev_rules.h')
-rw-r--r-- | udev_rules.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/udev_rules.h b/udev_rules.h index f4a74bba45..75ffd5cb0f 100644 --- a/udev_rules.h +++ b/udev_rules.h @@ -96,6 +96,7 @@ struct udev_rule { int env_pair_count; char name[PATH_SIZE]; + enum key_operation name_operation; char symlink[PATH_SIZE]; enum key_operation symlink_operation; char owner[USER_SIZE]; @@ -120,7 +121,7 @@ extern struct list_head udev_rule_list; extern int udev_rules_init(void); extern int udev_rules_get_name(struct udevice *udev, struct sysfs_class_device *class_dev); -extern int udev_rules_get_run(struct udevice *udev); +extern int udev_rules_get_run(struct udevice *udev, struct sysfs_device *sysfs_device); extern void udev_rules_close(void); #endif |