diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:47:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:47:29 +0000 |
commit | 4f5791ebd03eaec1c7da0865a383175b05102712 (patch) | |
tree | 8ce7b00f7a76baa386372422adebbe64510812d4 /librpc/idl/quota.idl | |
parent | Initial commit. (diff) | |
download | samba-4f5791ebd03eaec1c7da0865a383175b05102712.tar.xz samba-4f5791ebd03eaec1c7da0865a383175b05102712.zip |
Adding upstream version 2:4.17.12+dfsg.upstream/2%4.17.12+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'librpc/idl/quota.idl')
-rw-r--r-- | librpc/idl/quota.idl | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/librpc/idl/quota.idl b/librpc/idl/quota.idl new file mode 100644 index 0000000..8d713c8 --- /dev/null +++ b/librpc/idl/quota.idl @@ -0,0 +1,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; +} |