diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-06-25 13:10:16 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-06-25 13:10:16 +0200 |
commit | bd0ed2ffbec325512c3131ce0db896234e36c923 (patch) | |
tree | dcc939391e5e641edbca49a54534e542016b7023 /udev_rules.h | |
parent | 6bf0ffe8fd312c1e6549cb1721d7a7efeee77185 (diff) |
IMPORT=<file> allow to import a shell-var style config-file
This allows to source-in a file into the udev environment to have
the defined keys available for later processing by udev itself or
the forked helper programs.
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, 3 insertions, 0 deletions
diff --git a/udev_rules.h b/udev_rules.h index cb62839802..f4b0a6f12f 100644 --- a/udev_rules.h +++ b/udev_rules.h @@ -40,6 +40,7 @@ #define KEY_SYSFS "SYSFS" #define KEY_ENV "ENV" #define KEY_MODALIAS "MODALIAS" +#define KEY_IMPORT "IMPORT" #define KEY_NAME "NAME" #define KEY_SYMLINK "SYMLINK" #define KEY_OWNER "OWNER" @@ -100,6 +101,8 @@ struct udev_rule { int env_pair_count; enum key_operation modalias_operation; char modalias[PATH_SIZE]; + enum key_operation import_operation; + char import[PATH_SIZE]; char name[PATH_SIZE]; enum key_operation name_operation; |