mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-29 20:30:35 +00:00
![Al Viro](/assets/img/avatar_default.png)
preparation for similar switch in ->setxattr() (see the next commit for rationale). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
43 lines
1.3 KiB
C
43 lines
1.3 KiB
C
/*
|
|
* linux/fs/hfsplus/xattr.h
|
|
*
|
|
* Vyacheslav Dubeyko <slava@dubeyko.com>
|
|
*
|
|
* Logic of processing extended attributes
|
|
*/
|
|
|
|
#ifndef _LINUX_HFSPLUS_XATTR_H
|
|
#define _LINUX_HFSPLUS_XATTR_H
|
|
|
|
#include <linux/xattr.h>
|
|
|
|
extern const struct xattr_handler hfsplus_xattr_osx_handler;
|
|
extern const struct xattr_handler hfsplus_xattr_user_handler;
|
|
extern const struct xattr_handler hfsplus_xattr_trusted_handler;
|
|
extern const struct xattr_handler hfsplus_xattr_security_handler;
|
|
|
|
extern const struct xattr_handler *hfsplus_xattr_handlers[];
|
|
|
|
int __hfsplus_setxattr(struct inode *inode, const char *name,
|
|
const void *value, size_t size, int flags);
|
|
|
|
int hfsplus_setxattr(struct inode *inode, const char *name,
|
|
const void *value, size_t size, int flags,
|
|
const char *prefix, size_t prefixlen);
|
|
|
|
ssize_t __hfsplus_getxattr(struct inode *inode, const char *name,
|
|
void *value, size_t size);
|
|
|
|
ssize_t hfsplus_getxattr(struct inode *inode, const char *name,
|
|
void *value, size_t size,
|
|
const char *prefix, size_t prefixlen);
|
|
|
|
ssize_t hfsplus_listxattr(struct dentry *dentry, char *buffer, size_t size);
|
|
|
|
int hfsplus_init_security(struct inode *inode, struct inode *dir,
|
|
const struct qstr *qstr);
|
|
|
|
int hfsplus_init_inode_security(struct inode *inode, struct inode *dir,
|
|
const struct qstr *qstr);
|
|
|
|
#endif
|