]> arthur.barton.de Git - netatalk.git/blobdiff - include/atalk/ea.h
Writing metadata xattr on directories with sticky bit set, FR#94
[netatalk.git] / include / atalk / ea.h
index f26e32b288f0171058159a9979f5474465175039..fbbafafabef4169cc746e72dc3afa2aad2905a91 100644 (file)
 #include <sys/extattr.h>
 #endif
 
+/* FIXME: are the ACL includes really neccessary here ? */
 #ifdef HAVE_SOLARIS_ACLS
 #include <sys/acl.h>
 #endif
+#ifdef HAVE_FREEBSD_SUNACL
+#include <sunacl.h>
+#endif
 
 #ifndef ENOATTR
 #define ENOATTR ENODATA
@@ -94,6 +98,7 @@ int sys_setxattr (const char *path, const char *name, const void *value, size_t
 int sys_lsetxattr (const char *path, const char *name, const void *value, size_t size, int flags);
 int sys_fsetxattr (int filedes, const char *name, const void *value, size_t size, int flags);
 int sys_copyxattr (const char *src, const char *dst);
+int sys_getxattrfd(int fd, const char *uname, int oflag, ...);
 
 /****************************************************************************************
  * Stuff for our implementation of storing EAs in files in .AppleDouble dirs