summaryrefslogtreecommitdiff
path: root/udev_rules.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-06-22 01:27:02 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-06-22 01:27:02 +0200
commit3df3c93e2500b0dcf23989171d27c2b04d149407 (patch)
treecf89964e55331dbafa169598d3f561e18e24e675 /udev_rules.h
parentd847330cf25d16c6ca1fcd29be354f3c77c71069 (diff)
allow to disable the replacement of unusual characters
Diffstat (limited to 'udev_rules.h')
-rw-r--r--udev_rules.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/udev_rules.h b/udev_rules.h
index 0e1ff76b42..682bedac01 100644
--- a/udev_rules.h
+++ b/udev_rules.h
@@ -57,6 +57,12 @@ enum import_type {
IMPORT_PARENT,
};
+enum escape_type {
+ ESCAPE_UNSET,
+ ESCAPE_NONE,
+ ESCAPE_REPLACE,
+};
+
struct udev_rule {
struct key action;
struct key devpath;
@@ -88,6 +94,7 @@ struct udev_rule {
struct key group;
mode_t mode;
enum key_operation mode_operation;
+ enum escape_type string_escape;
unsigned int link_priority;
unsigned int partitions;