summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2015-03-11 14:50:16 +0100
committerJeremy Allison <jra@samba.org>2015-03-18 18:57:21 +0100
commit5776904defab1148027232bcc826c811e1a889f9 (patch)
tree4ed7cfe5fbdd8579fbad1206bcd41c11298739b0 /librpc
parent97a2d83662550d2b754c2b0f0e4775054aa16bcd (diff)
downloadsamba-5776904defab1148027232bcc826c811e1a889f9.tar.gz
idl: FSCTL_FILE_LEVEL_TRIM request & response structs
As defined in MS-FSCC 2.3.73 - 2.3.74. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/ioctl.idl21
1 files changed, 21 insertions, 0 deletions
diff --git a/librpc/idl/ioctl.idl b/librpc/idl/ioctl.idl
index 5efb9d808be..5c3ee6d9b46 100644
--- a/librpc/idl/ioctl.idl
+++ b/librpc/idl/ioctl.idl
@@ -200,3 +200,24 @@ interface resiliency
uint32 reserved;
} network_resiliency_request;
}
+
+interface trim
+{
+ /* MS-FSCC 2.3.73.1 FILE_LEVEL_TRIM_RANGE */
+ typedef [public] struct {
+ hyper off;
+ hyper len;
+ } file_level_trim_range;
+
+ /* MS-FSCC 2.3.73 FSCTL_FILE_LEVEL_TRIM Request */
+ typedef [public] struct {
+ uint32 key;
+ uint32 num_ranges;
+ file_level_trim_range ranges[num_ranges];
+ } fsctl_file_level_trim_req;
+
+ /* MS-FSCC 2.3.74 FSCTL_FILE_LEVEL_TRIM Reply */
+ typedef [public] struct {
+ uint32 num_ranges_processed;
+ } fsctl_file_level_trim_rsp;
+}