0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef _LINUX_HFSPLUS_XATTR_H
0011 #define _LINUX_HFSPLUS_XATTR_H
0012
0013 #include <linux/xattr.h>
0014
0015 extern const struct xattr_handler hfsplus_xattr_osx_handler;
0016 extern const struct xattr_handler hfsplus_xattr_user_handler;
0017 extern const struct xattr_handler hfsplus_xattr_trusted_handler;
0018 extern const struct xattr_handler hfsplus_xattr_security_handler;
0019
0020 extern const struct xattr_handler *hfsplus_xattr_handlers[];
0021
0022 int __hfsplus_setxattr(struct inode *inode, const char *name,
0023 const void *value, size_t size, int flags);
0024
0025 int hfsplus_setxattr(struct inode *inode, const char *name,
0026 const void *value, size_t size, int flags,
0027 const char *prefix, size_t prefixlen);
0028
0029 ssize_t __hfsplus_getxattr(struct inode *inode, const char *name,
0030 void *value, size_t size);
0031
0032 ssize_t hfsplus_getxattr(struct inode *inode, const char *name,
0033 void *value, size_t size,
0034 const char *prefix, size_t prefixlen);
0035
0036 ssize_t hfsplus_listxattr(struct dentry *dentry, char *buffer, size_t size);
0037
0038 int hfsplus_init_security(struct inode *inode, struct inode *dir,
0039 const struct qstr *qstr);
0040
0041 #endif