summaryrefslogtreecommitdiff
path: root/udev_rules.h
diff options
context:
space:
mode:
authorGreg KH <greg@press.(none)>2005-07-14 14:13:34 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2005-07-14 14:13:34 -0700
commit39e54555a961fa6c4c8e7d260a0e208439dc0cfa (patch)
tree4e38039e46fd5505c6079f39d056c301b9be7074 /udev_rules.h
parentafd6b4acc8ce76f1187bf852b1404a82047d8f97 (diff)
parent7fe082a8a42baa45ef45d82edde4f893410ebeea (diff)
Merge gregkh@ehlo.org:/home/kay/public_html/pub/scm/linux/hotplug/udev-kay
Diffstat (limited to 'udev_rules.h')
-rw-r--r--udev_rules.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/udev_rules.h b/udev_rules.h
index 959524a802..3f37d4b0b4 100644
--- a/udev_rules.h
+++ b/udev_rules.h
@@ -54,6 +54,13 @@ struct key_pairs {
struct key_pair keys[PAIRS_MAX];
};
+enum import_type {
+ IMPORT_UNSET,
+ IMPORT_PROGRAM,
+ IMPORT_FILE,
+ IMPORT_PARENT,
+};
+
struct udev_rule {
struct key kernel_name;
struct key subsystem;
@@ -66,6 +73,7 @@ struct udev_rule {
struct key result;
struct key modalias;
struct key import;
+ enum import_type import_type;
struct key wait_for_sysfs;
struct key_pairs sysfs;
struct key_pairs env;
@@ -81,8 +89,7 @@ struct udev_rule {
unsigned int partitions;
unsigned int last_rule:1,
ignore_device:1,
- ignore_remove:1,
- import_exec:1;
+ ignore_remove:1;
size_t bufsize;
char buf[];