summaryrefslogtreecommitdiffstats
path: root/librpc/idl/quota.idl
blob: 8d713c8475aac5e350e8e86625ef10932b29aefd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#include "idl_types.h"

import "security.idl";

[
	pointer_default(unique)
]

interface file_quota {

	/* MS-FSCC 2.4.33.1 */
	typedef [public] struct {
		uint32 next_entry_offset;
		uint32 sid_length;
		dom_sid sid;
	} file_get_quota_info;

	/* MS-FSCC 2.4.33 */
	typedef [public] struct {
		uint32 next_entry_offset;
		uint32 sid_length;
		hyper change_time;
		hyper quota_used;
		hyper quota_threshold;
		hyper quota_limit;
		dom_sid sid;
	} file_quota_information;
}

interface smb2_query_quota
{
	/* MS-SMB2 2.2.37.1 */
	typedef [public] struct {
		uint8 return_single;
		uint8 restart_scan;
		uint16 reserved;
		uint32 sid_list_length;
		uint32 start_sid_length;
		uint32 start_sid_offset;
	} smb2_query_quota_info;
}

interface smb1_nt_transact_query_quota
{
	/* MS-SMB 2.2.7.5.1 */
	typedef [public] struct {
		uint16 fid;
		uint8 return_single_entry;
		uint8 restart_scan;
		uint32 sid_list_length;
		uint32 start_sid_length;
		uint32 start_sid_offset;
	} nttrans_query_quota_params;
}