librpc/idl: add versions consts to nfs4acl.idl
authorRalph Boehme <slow@samba.org>
Thu, 19 Oct 2017 12:22:00 +0000 (14:22 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 7 Nov 2017 23:20:08 +0000 (00:20 +0100)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
librpc/idl/nfs4acl.idl

index 79e742c90e7d46f29cef60b5012899e60baabf64..1f0cfbf7a041a37d99b5b2df94008ffb93e47cac 100644 (file)
@@ -19,6 +19,10 @@ interface nfs4acl_interface
        const char *NFS4ACL_XATTR_GROUP_WHO      = "GROUP@";
        const char *NFS4ACL_XATTR_EVERYONE_WHO   = "EVERYONE@";
 
+       const uint8 ACL4_XATTR_VERSION_40      = 0x00;
+       const uint8 ACL4_XATTR_VERSION_41      = 0x01;
+       const uint8 ACL4_XATTR_VERSION_DEFAULT = ACL4_XATTR_VERSION_40;
+
        /* these structures use the same bit values and other constants as
           in security.idl */
        typedef [flag(NDR_BIG_ENDIAN)] struct {