Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* |
2 | File: linux/reiserfs_xattr.h | |
3 | */ | |
4 | ||
521dae19 AB |
5 | #ifndef _LINUX_REISERFS_XATTR_H |
6 | #define _LINUX_REISERFS_XATTR_H | |
7 | ||
8 | #include <linux/types.h> | |
1da177e4 LT |
9 | |
10 | /* Magic value in header */ | |
bd4c625c | 11 | #define REISERFS_XATTR_MAGIC 0x52465841 /* "RFXA" */ |
1da177e4 LT |
12 | |
13 | struct reiserfs_xattr_header { | |
bd4c625c LT |
14 | __le32 h_magic; /* magic number for identification */ |
15 | __le32 h_hash; /* hash of the value */ | |
1da177e4 LT |
16 | }; |
17 | ||
57fe60df | 18 | struct reiserfs_security_handle { |
9548906b | 19 | const char *name; |
57fe60df JM |
20 | void *value; |
21 | size_t length; | |
22 | }; | |
23 | ||
521dae19 | 24 | #endif /* _LINUX_REISERFS_XATTR_H */ |