summaryrefslogtreecommitdiff
path: root/source4/lib/util/wrap_xattr.h
blob: 64b28d250cd95a1b1d071b77189b2f2e5b11c3dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef __LIB_UTIL_WRAP_XATTR_H__
#define __LIB_UTIL_WRAP_XATTR_H__

ssize_t wrap_fgetxattr(int fd, const char *name, void *value, size_t size);
ssize_t wrap_getxattr(const char *path, const char *name, void *value, size_t size);
int wrap_fsetxattr(int fd, const char *name, void *value, size_t size, int flags);
int wrap_setxattr(const char *path, const char *name, void *value, size_t size, int flags);
int wrap_fremovexattr(int fd, const char *name);
int wrap_removexattr(const char *path, const char *name);

#endif /* __LIB_UTIL_WRAP_XATTR_H__ */