Fix related to bug #7326 - can't read/write any files with full_audit
[Samba/ekacnet.git] / lib / util / wrap_xattr.h
blob64b28d250cd95a1b1d071b77189b2f2e5b11c3dd
1 #ifndef __LIB_UTIL_WRAP_XATTR_H__
2 #define __LIB_UTIL_WRAP_XATTR_H__
4 ssize_t wrap_fgetxattr(int fd, const char *name, void *value, size_t size);
5 ssize_t wrap_getxattr(const char *path, const char *name, void *value, size_t size);
6 int wrap_fsetxattr(int fd, const char *name, void *value, size_t size, int flags);
7 int wrap_setxattr(const char *path, const char *name, void *value, size_t size, int flags);
8 int wrap_fremovexattr(int fd, const char *name);
9 int wrap_removexattr(const char *path, const char *name);
11 #endif /* __LIB_UTIL_WRAP_XATTR_H__ */