Share xattr implementation.
[tprouty/samba.git] / librpc / idl / xattr.idl
similarity index 95%
rename from source4/librpc/idl/xattr.idl
rename to librpc/idl/xattr.idl
index ba0123aed05c9095133ca8dfe316636a9de9a6d5..c1af4791ae7a0388d0628300cd76885af36f0bba 100644 (file)
@@ -75,6 +75,12 @@ interface xattr
                [size_is(num_eas)] xattr_EA *eas;
        } xattr_DosEAs;
 
+       /* Slightly different version, used by the vfs_xattr_tdb module */
+       typedef [public] struct {
+               uint32 num_eas;
+               xattr_EA eas[num_eas];
+       } tdb_xattrs;
+
        /* we store stream information in this xattr structure. Then
           the streams themselves are stored in
           user.DosStream.STREAMNAME or in external files, according