1 /* header auto-generated by pidl */
3 #ifndef _PIDL_HEADER_copychunk
4 #define _PIDL_HEADER_copychunk
8 #include "libcli/util/ntstatus.h"
10 #ifndef _HEADER_copychunk
11 #define _HEADER_copychunk
13 #define STORAGE_OFFLOAD_TOKEN_TYPE_ZERO_DATA ( 0x00000001 )
14 #define OFFLOAD_READ_FLAG_FILE_TOO_SMALL ( 0x00000001 )
15 #define OFFLOAD_READ_FLAG_ALL_ZERO_BEYOND_RANGE ( 0x00000002 )
16 #define OFFLOAD_READ_FLAG_CANNOT_OFFLOAD_BEYOND_RANGE ( 0x00000004 )
17 struct req_resume_key_rsp {
18 uint8_t resume_key[24];
23 struct srv_copychunk {
30 struct srv_copychunk_copy {
31 uint8_t source_key[24];
34 struct srv_copychunk *chunks;
37 struct srv_copychunk_rsp {
38 uint32_t chunks_written;
39 uint32_t chunk_bytes_written;
40 uint32_t total_bytes_written;
43 struct device_copy_offload_descriptor {
46 uint32_t maximum_token_lifetime;
47 uint32_t default_token_lifetime;
48 uint64_t maximum_xfer_size;
49 uint64_t optimal_xfer_count;
50 uint32_t maximum_data_descriptors;
51 uint32_t maximum_xfer_length_per_descriptor;
52 uint32_t optimal_xfer_length_per_descriptor;
53 uint16_t optimal_xfer_length_granularity;
57 struct storage_offload_token {
60 uint16_t token_id_len;
61 uint8_t *token;/* [size_is(token_id_len)] */
64 struct fsctl_offload_read_input {
67 uint32_t token_time_to_live;
73 struct fsctl_offload_read_output {
80 struct fsctl_offload_write_input {
89 struct fsctl_offload_write_output {
92 uint64_t length_written;
95 #endif /* _HEADER_copychunk */
96 #ifndef _HEADER_compression
97 #define _HEADER_compression
99 #define COMPRESSION_FORMAT_NONE ( 0x0000 )
100 #define COMPRESSION_FORMAT_DEFAULT ( 0x0001 )
101 #define COMPRESSION_FORMAT_LZNT1 ( 0x0002 )
102 struct compression_state {
106 #endif /* _HEADER_compression */
107 #endif /* _PIDL_HEADER_copychunk */