summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/ioctl.idl13
1 files changed, 8 insertions, 5 deletions
diff --git a/librpc/idl/ioctl.idl b/librpc/idl/ioctl.idl
index f72f9d2507b..17dfdf802a0 100644
--- a/librpc/idl/ioctl.idl
+++ b/librpc/idl/ioctl.idl
@@ -67,19 +67,22 @@ interface copychunk
hyper length;
} fsctl_offload_read_input;
- const uint32 OFFLOAD_READ_FLAG_FILE_TOO_SMALL = 0x00000001;
- const uint32 OFFLOAD_READ_FLAG_ALL_ZERO_BEYOND_RANGE = 0x00000002;
- const uint32 OFFLOAD_READ_FLAG_CANNOT_OFFLOAD_BEYOND_RANGE = 0x00000004;
+ typedef [public,bitmap32bit] bitmap {
+ OFFLOAD_READ_FLAG_FILE_TOO_SMALL = 0x01,
+ OFFLOAD_READ_FLAG_ALL_ZERO_BEYOND_RANGE = 0x02,
+ OFFLOAD_READ_FLAG_CANNOT_OFFLOAD_BEYOND_RANGE = 0x04
+ } offload_flags;
+
typedef [public] struct {
uint32 size;
- uint32 flags;
+ offload_flags flags;
hyper xfer_length;
uint8 token[512];
} fsctl_offload_read_output;
typedef [public] struct {
uint32 size;
- uint32 flags;
+ offload_flags flags;
hyper file_offset;
hyper copy_length;
hyper xfer_offset;