2005-04-17 06:20:36 +08:00
|
|
|
/*
|
|
|
|
File: linux/reiserfs_xattr.h
|
|
|
|
*/
|
|
|
|
|
2007-02-10 17:46:24 +08:00
|
|
|
#ifndef _LINUX_REISERFS_XATTR_H
|
|
|
|
#define _LINUX_REISERFS_XATTR_H
|
|
|
|
|
|
|
|
#include <linux/types.h>
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
/* Magic value in header */
|
2005-07-13 11:21:28 +08:00
|
|
|
#define REISERFS_XATTR_MAGIC 0x52465841 /* "RFXA" */
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
struct reiserfs_xattr_header {
|
2005-07-13 11:21:28 +08:00
|
|
|
__le32 h_magic; /* magic number for identification */
|
|
|
|
__le32 h_hash; /* hash of the value */
|
2005-04-17 06:20:36 +08:00
|
|
|
};
|
|
|
|
|
2009-03-31 02:02:41 +08:00
|
|
|
struct reiserfs_security_handle {
|
|
|
|
char *name;
|
|
|
|
void *value;
|
|
|
|
size_t length;
|
|
|
|
};
|
|
|
|
|
2007-02-10 17:46:24 +08:00
|
|
|
#endif /* _LINUX_REISERFS_XATTR_H */
|