1193323Sed/* SPDX-License-Identifier: GPL-2.0 */ 2193323Sed/* 3193323Sed * linux/fs/hfsplus/xattr.h 4193323Sed * 5193323Sed * Vyacheslav Dubeyko <slava@dubeyko.com> 6193323Sed * 7193323Sed * Logic of processing extended attributes 8193323Sed */ 9193323Sed 10193323Sed#ifndef _LINUX_HFSPLUS_XATTR_H 11193323Sed#define _LINUX_HFSPLUS_XATTR_H 12193323Sed 13193323Sed#include <linux/xattr.h> 14193323Sed 15193323Sedextern const struct xattr_handler hfsplus_xattr_osx_handler; 16193323Sedextern const struct xattr_handler hfsplus_xattr_user_handler; 17193323Sedextern const struct xattr_handler hfsplus_xattr_trusted_handler; 18193323Sedextern const struct xattr_handler hfsplus_xattr_security_handler; 19193323Sed 20201360Srdivackyextern const struct xattr_handler * const hfsplus_xattr_handlers[]; 21193323Sed 22193323Sedint __hfsplus_setxattr(struct inode *inode, const char *name, 23201360Srdivacky const void *value, size_t size, int flags); 24193323Sed 25193323Sedint hfsplus_setxattr(struct inode *inode, const char *name, 26193323Sed const void *value, size_t size, int flags, 27212904Sdim const char *prefix, size_t prefixlen); 28218893Sdim 29193323Sedssize_t __hfsplus_getxattr(struct inode *inode, const char *name, 30212904Sdim void *value, size_t size); 31193323Sed 32193323Sedssize_t hfsplus_getxattr(struct inode *inode, const char *name, 33193323Sed void *value, size_t size, 34193323Sed const char *prefix, size_t prefixlen); 35193323Sed 36193323Sedssize_t hfsplus_listxattr(struct dentry *dentry, char *buffer, size_t size); 37193323Sed 38193323Sedint hfsplus_init_security(struct inode *inode, struct inode *dir, 39193323Sed const struct qstr *qstr); 40193323Sed 41193323Sed#endif 42193323Sed