chiark / gitweb /
[PATCH] add ACTION to udev object to expose it to the whole process
[elogind.git] / udev.h
diff --git a/udev.h b/udev.h
index 1cf4ad7eae988893029ed7d784c3aa7b144fdcbe..3f9f2c8612019e27f99c6849d72ab4a8778e916c 100644 (file)
--- a/udev.h
+++ b/udev.h
@@ -30,8 +30,8 @@
 #define COMMENT_CHARACTER              '#'
 
 #define NAME_SIZE                      256
-#define OWNER_SIZE                     30
-#define GROUP_SIZE                     30
+#define OWNER_SIZE                     32
+#define GROUP_SIZE                     32
 #define MODE_SIZE                      8
 
 #define ACTION_SIZE                    32
@@ -44,6 +44,7 @@
 struct udevice {
        char devpath[DEVPATH_SIZE];
        char subsystem[SUBSYSTEM_SIZE];
+       char action[ACTION_SIZE];
        char name[NAME_SIZE];
        char owner[OWNER_SIZE];
        char group[GROUP_SIZE];