chiark / gitweb /
[PATCH] udev - reverse user query options
[elogind.git] / namedev.h
index 4e75db64107a7fe5c6e519bcbc08b3ab49e733f1..42b1e6c1a0a1cabd4db09d9729bf2e2ab160967f 100644 (file)
--- a/namedev.h
+++ b/namedev.h
@@ -45,7 +45,7 @@ struct sysfs_class_device;
 #define FIELD_NAME     "NAME"
 #define FIELD_SYMLINK  "SYMLINK"
 
-#define CALLOUT_MAXARG 10
+#define PROGRAM_MAXARG 10
 #define MAX_SYSFS_PAIRS        5
 
 struct sysfs_pair {
@@ -65,6 +65,7 @@ struct config_device {
        char name[NAME_SIZE];
        char symlink[NAME_SIZE];
        struct sysfs_pair sysfs_pair[MAX_SYSFS_PAIRS];
+       int config_line;
 };
 
 struct perm_device {