chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
udevd: do not use syslog if --verbose (debugging) is used
[elogind.git]
/
udev_rules.h
diff --git
a/udev_rules.h
b/udev_rules.h
index 7fbf88ba573a1c08b7b8a78ce3b49a5d3936c6c6..682bedac01fbfb3e42c0271d6c395693a5303f2c 100644
(file)
--- a/
udev_rules.h
+++ b/
udev_rules.h
@@
-57,6
+57,12
@@
enum import_type {
IMPORT_PARENT,
};
IMPORT_PARENT,
};
+enum escape_type {
+ ESCAPE_UNSET,
+ ESCAPE_NONE,
+ ESCAPE_REPLACE,
+};
+
struct udev_rule {
struct key action;
struct key devpath;
struct udev_rule {
struct key action;
struct key devpath;
@@
-75,6
+81,8
@@
struct udev_rule {
struct key result;
struct key import;
enum import_type import_type;
struct key result;
struct key import;
enum import_type import_type;
+ struct key test;
+ mode_t test_mode_mask;
struct key run;
struct key wait_for_sysfs;
struct key label;
struct key run;
struct key wait_for_sysfs;
struct key label;
@@
-86,6
+94,7
@@
struct udev_rule {
struct key group;
mode_t mode;
enum key_operation mode_operation;
struct key group;
mode_t mode;
enum key_operation mode_operation;
+ enum escape_type string_escape;
unsigned int link_priority;
unsigned int partitions;
unsigned int link_priority;
unsigned int partitions;