chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] automatically install correct initscript
[elogind.git]
/
namedev.h
diff --git
a/namedev.h
b/namedev.h
index 10a5dcaf0c53733300005e88cbcd5c85881f2933..7f875ed6030847b1cda40d81c195c1cf5a5a9403 100644
(file)
--- a/
namedev.h
+++ b/
namedev.h
@@
-48,10
+48,12
@@
struct sysfs_class_device;
#define ATTR_PARTITIONS "all_partitions"
#define PARTITIONS_COUNT 15
#define ATTR_PARTITIONS "all_partitions"
#define PARTITIONS_COUNT 15
-
#define PROGRAM_MAXARG 10
#define MAX_SYSFS_PAIRS 5
#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];
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 symlink[NAME_SIZE];
struct sysfs_pair sysfs_pair[MAX_SYSFS_PAIRS];
int partitions;
+ char config_file[NAME_SIZE];
int config_line;
};
int config_line;
};