~zulcss/samba/server-dailies-3.4

« back to all changes in this revision

Viewing changes to source4/librpc/idl/nfs4acl.idl

  • Committer: Chuck Short
  • Date: 2010-09-28 20:38:39 UTC
  • Revision ID: zulcss@ubuntu.com-20100928203839-pgjulytsi9ue63x1
Initial version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "idl_types.h"
 
2
 
 
3
/*
 
4
  NFS4 ACL format on disk
 
5
  see http://www.suse.de/~agruen/nfs4acl/
 
6
*/
 
7
 
 
8
import "misc.idl", "security.idl";
 
9
 
 
10
[ uuid("18763978-8625-abc3-54ca-9892bacdf321"),
 
11
  version(1.0),
 
12
  pointer_default(unique)
 
13
]
 
14
interface nfs4acl
 
15
{
 
16
        const char *NFS4ACL_XATTR_NAME = "system.nfs4acl";
 
17
 
 
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;
 
28
 
 
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;
 
38
 
 
39
        NTSTATUS nfs4acl_test(
 
40
                [in]  nfs4acl acl
 
41
                );
 
42
}