smbd: Some README.Coding in smbd_do_qfilepathinfo()
[Samba.git] / librpc / idl / quota.idl
blob8d713c8475aac5e350e8e86625ef10932b29aefd
1 #include "idl_types.h"
3 import "security.idl";
6 pointer_default(unique)
9 interface file_quota {
11 /* MS-FSCC 2.4.33.1 */
12 typedef [public] struct {
13 uint32 next_entry_offset;
14 uint32 sid_length;
15 dom_sid sid;
16 } file_get_quota_info;
18 /* MS-FSCC 2.4.33 */
19 typedef [public] struct {
20 uint32 next_entry_offset;
21 uint32 sid_length;
22 hyper change_time;
23 hyper quota_used;
24 hyper quota_threshold;
25 hyper quota_limit;
26 dom_sid sid;
27 } file_quota_information;
30 interface smb2_query_quota
32 /* MS-SMB2 2.2.37.1 */
33 typedef [public] struct {
34 uint8 return_single;
35 uint8 restart_scan;
36 uint16 reserved;
37 uint32 sid_list_length;
38 uint32 start_sid_length;
39 uint32 start_sid_offset;
40 } smb2_query_quota_info;
43 interface smb1_nt_transact_query_quota
45 /* MS-SMB 2.2.7.5.1 */
46 typedef [public] struct {
47 uint16 fid;
48 uint8 return_single_entry;
49 uint8 restart_scan;
50 uint32 sid_list_length;
51 uint32 start_sid_length;
52 uint32 start_sid_offset;
53 } nttrans_query_quota_params;