s4:kdc: Implement KDC plugin hardware authentication policy
[samba.git] / librpc / idl / quota.idl
1 #include "idl_types.h"
2
3 import "security.idl";
4
5 [
6         pointer_default(unique)
7 ]
8
9 interface file_quota {
10
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;
17
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;
28 }
29
30 interface smb2_query_quota
31 {
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;
41 }
42
43 interface smb1_nt_transact_query_quota
44 {
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;
54 }