build: Move nfs4acl to the top level
[Samba/gebeck_regimport.git] / librpc / idl / nfs4acl.idl
blob3d4379ad5e57fafa5e20859f8bfb3cc5b42bee42
1 #include "idl_types.h"
3 /*
4 NFS4 ACL format on disk
5 see http://www.suse.de/~agruen/nfs4acl/
6 */
8 import "misc.idl", "security.idl";
10 [ uuid("18763978-8625-abc3-54ca-9892bacdf321"),
11 version(1.0),
12 pointer_default(unique)
14 interface nfs4acl
16 const char *NFS4ACL_XATTR_NAME = "system.nfs4acl";
18 /* these structures use the same bit values and other constants as
19 in security.idl */
20 typedef [flag(NDR_BIG_ENDIAN)] struct {
21 uint16 e_type;
22 uint16 e_flags;
23 uint32 e_mask;
24 uint32 e_id;
25 utf8string e_who;
26 [flag(NDR_ALIGN4)] DATA_BLOB _pad;
27 } nfs4ace;
29 typedef [public,flag(NDR_BIG_ENDIAN)] struct {
30 uint8 a_version;
31 uint8 a_flags;
32 uint16 a_count;
33 uint32 a_owner_mask;
34 uint32 a_group_mask;
35 uint32 a_other_mask;
36 nfs4ace ace[a_count];
37 } nfs4acl;
39 NTSTATUS nfs4acl_test(
40 [in] nfs4acl acl