diff options
author | greg@kroah.com <greg@kroah.com> | 2003-07-18 22:48:28 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:01:39 -0700 |
commit | 185a35a403cc37b3943bc68aa61745ff2b6ed17b (patch) | |
tree | 0b7869535745092d1b99bd8e4179ff8c8718c363 /udev.h | |
parent | 28972fe8a9a314761aacd16bf19f89dbaf5a9282 (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.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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 |