diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-06-05 21:48:29 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:08:53 -0500 |
commit | ca62ddd8d901cce923d1cda958793054f80b1f57 (patch) | |
tree | c32836c83e6d7102ae4bde6917a5251f7d493860 /source4/lib/util/wrap_xattr.h | |
parent | 2a9982aa52d07605a5170806530ee46eae38a78e (diff) | |
download | samba-ca62ddd8d901cce923d1cda958793054f80b1f57.tar.gz samba-ca62ddd8d901cce923d1cda958793054f80b1f57.tar.bz2 samba-ca62ddd8d901cce923d1cda958793054f80b1f57.zip |
r16051: Move the XATTR compatability code into a new file, so I can use it for
the getntacl utility.
Andrew Bartlett
(This used to be commit b1e0d4747b412929e1d4e24d6d9e504df3ddc824)
Diffstat (limited to 'source4/lib/util/wrap_xattr.h')
-rw-r--r-- | source4/lib/util/wrap_xattr.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/source4/lib/util/wrap_xattr.h b/source4/lib/util/wrap_xattr.h new file mode 100644 index 0000000000..58f920704b --- /dev/null +++ b/source4/lib/util/wrap_xattr.h @@ -0,0 +1,25 @@ +#ifndef __LIB_UTIL_WRAP_XATTR_H__ +#define __LIB_UTIL_WRAP_XATTR_H__ + +#undef _PRINTF_ATTRIBUTE +#define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2) +/* This file was automatically generated by mkproto.pl. DO NOT EDIT */ + +#ifndef _PUBLIC_ +#define _PUBLIC_ +#endif + + +/* The following definitions come from lib/util/wrap_xattr.c */ + +_PUBLIC_ ssize_t wrap_fgetxattr(int fd, const char *name, void *value, size_t size); +_PUBLIC_ ssize_t wrap_getxattr(const char *path, const char *name, void *value, size_t size); +_PUBLIC_ int wrap_fsetxattr(int fd, const char *name, void *value, size_t size, int flags); +_PUBLIC_ int wrap_setxattr(const char *path, const char *name, void *value, size_t size, int flags); +_PUBLIC_ int wrap_fremovexattr(int fd, const char *name); +_PUBLIC_ int wrap_removexattr(const char *path, const char *name); +#undef _PRINTF_ATTRIBUTE +#define _PRINTF_ATTRIBUTE(a1, a2) + +#endif /* __LIB_UTIL_WRAP_XATTR_H__ */ + |