chiark / gitweb /
add option to RUN key to ignore the return value of the program
[elogind.git] / udev_rules.h
index 0e1ff76b42152439284114842ff32e2cf56bc35d..038f6da84d6e0ca07c74c4c075db4fec210eb435 100644 (file)
@@ -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,10 +94,12 @@ 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;
        unsigned int last_rule:1,
+                    run_ignore_error:1,
                     ignore_device:1,
                     ignore_remove:1;