summaryrefslogtreecommitdiff
path: root/udev.h
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-07-18 22:48:28 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:01:39 -0700
commit185a35a403cc37b3943bc68aa61745ff2b6ed17b (patch)
tree0b7869535745092d1b99bd8e4179ff8c8718c363 /udev.h
parent28972fe8a9a314761aacd16bf19f89dbaf5a9282 (diff)
[PATCH] add initial libsysfs support...
needs lots more cleanup, but is much nicer than doing this by hand...
Diffstat (limited to 'udev.h')
-rw-r--r--udev.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/udev.h b/udev.h
index af1b6bbb8d..c82dbebded 100644
--- a/udev.h
+++ b/udev.h
@@ -52,6 +52,19 @@
extern int log_message (int level, const char *format, ...)
__attribute__ ((format (printf, 2, 3)));
+#define NAME_SIZE 100
+#define OWNER_SIZE 30
+#define GROUP_SIZE 30
+
+struct device_attr {
+ int major;
+ int minor;
+ int mode;
+ char name[NAME_SIZE];
+ char owner[OWNER_SIZE];
+ char group[GROUP_SIZE];
+};
+
#endif