X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=namedev.h;h=7f875ed6030847b1cda40d81c195c1cf5a5a9403;hp=10a5dcaf0c53733300005e88cbcd5c85881f2933;hb=c58f8c3000b99db5c3810b9f8b1ecc2044070ac1;hpb=50e5de03d16be3e35e65cdf65f552807ad24e996 diff --git a/namedev.h b/namedev.h index 10a5dcaf0..7f875ed60 100644 --- a/namedev.h +++ b/namedev.h @@ -48,10 +48,12 @@ struct sysfs_class_device; #define ATTR_PARTITIONS "all_partitions" #define PARTITIONS_COUNT 15 - #define PROGRAM_MAXARG 10 #define MAX_SYSFS_PAIRS 5 +#define RULEFILE_EXT ".rules" +#define PERMFILE_EXT ".permissions" + struct sysfs_pair { char file[FILE_SIZE]; char value[VALUE_SIZE]; @@ -70,6 +72,7 @@ struct config_device { char symlink[NAME_SIZE]; struct sysfs_pair sysfs_pair[MAX_SYSFS_PAIRS]; int partitions; + char config_file[NAME_SIZE]; int config_line; };