2013-02-27 17:03:03 -08:00
/*
* 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 ) ;
2016-05-27 10:19:30 -04:00
int hfsplus_setxattr ( struct inode * inode , const char * name ,
2015-04-16 12:47:01 -07:00
const void * value , size_t size , int flags ,
const char * prefix , size_t prefixlen ) ;
2013-02-27 17:03:03 -08:00
2013-09-11 14:24:30 -07:00
ssize_t __hfsplus_getxattr ( struct inode * inode , const char * name ,
2015-04-16 12:46:58 -07:00
void * value , size_t size ) ;
2013-02-27 17:03:03 -08:00
2016-04-10 20:48:24 -04:00
ssize_t hfsplus_getxattr ( struct inode * inode , const char * name ,
2015-04-16 12:46:58 -07:00
void * value , size_t size ,
const char * prefix , size_t prefixlen ) ;
2013-09-11 14:24:30 -07:00
2013-02-27 17:03:03 -08:00
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 ) ;
2013-09-11 14:24:30 -07:00
int hfsplus_init_inode_security ( struct inode * inode , struct inode * dir ,
const struct qstr * qstr ) ;
2013-02-27 17:03:03 -08:00
# endif