X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=namedev.h;h=42b1e6c1a0a1cabd4db09d9729bf2e2ab160967f;hb=1f6d07b9a5d97183a20f3d07619e2f9aa31510f0;hp=4e75db64107a7fe5c6e519bcbc08b3ab49e733f1;hpb=ac28b86d631f23b5df74dbeb33e76a2b3f5d88bb;p=elogind.git diff --git a/namedev.h b/namedev.h index 4e75db641..42b1e6c1a 100644 --- 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 {