4 IDL for smb311 unix structures
11 pointer_default(unique),
12 headerhelper
("../lib/util/time.h")
16 const int UNIX_TYPE_FILE
= 0;
17 const int UNIX_TYPE_DIR
= 1;
18 const int UNIX_TYPE_SYMLINK
= 2;
19 const int UNIX_TYPE_CHARDEV
= 3;
20 const int UNIX_TYPE_BLKDEV
= 4;
21 const int UNIX_TYPE_FIFO
= 5;
22 const int UNIX_TYPE_SOCKET
= 6;
23 const int UNIX_TYPE_UNKNOWN
= 0xFFFFFFFF;
25 const int UNIX_X_OTH
= 0000001;
26 const int UNIX_W_OTH
= 0000002;
27 const int UNIX_R_OTH
= 0000004;
28 const int UNIX_X_GRP
= 0000010;
29 const int UNIX_W_GRP
= 0000020;
30 const int UNIX_R_GRP
= 0000040;
31 const int UNIX_X_USR
= 0000100;
32 const int UNIX_W_USR
= 0000200;
33 const int UNIX_R_USR
= 0000400;
34 const int UNIX_STICKY
= 0001000;
35 const int UNIX_SET_GID
= 0002000;
36 const int UNIX_SET_UID
= 0004000;
38 const int UNIX_OTH_MASK
= 0000007;
39 const int UNIX_GRP_MASK
= 0000070;
40 const int UNIX_USR_MASK
= 0000700;
41 const int UNIX_PERM_MASK
= 0000777;
42 const int UNIX_EXTRA_MASK
= 0007000;
43 const int UNIX_FILETYPE_MASK
= 0070000;
44 const int UNIX_FILETYPE_SHIFT
= 12;
45 const int UNIX_ALL_MASK
= 0077777;
47 typedef [public,flag
(NDR_NOALIGN
)] struct {
55 typedef [public,flag
(NDR_NOALIGN
)] struct {
57 NTTIME last_access_time
;
58 NTTIME last_write_time
;
61 hyper allocation_size
;
62 uint32 file_attributes
;
66 smb3_posix_cc_info cc
;
67 } smb3_file_posix_information
;