idl: add copychunk and request_resume_key ioctl definitions
[metze/samba/wip.git] / librpc / idl / ioctl.idl
1 #include "idl_types.h"
2 [
3         pointer_default(unique)
4 ]
5 interface copychunk
6 {
7         typedef [public] struct {
8                 uint8 resume_key[24];
9                 uint32 context_len;
10                 /* <56> Windows sends 4 bytes of zero for the context field. */
11                 uint8 context[4];
12         } req_resume_key_rsp;
13
14         typedef struct {
15                 hyper source_off;
16                 hyper target_off;
17                 uint32 length;
18                 uint32 reserved;
19         } srv_copychunk;
20
21         typedef [public] struct {
22                 uint8 source_key[24];
23                 uint32 chunk_count;
24                 uint32 reserved;
25                 srv_copychunk chunks[chunk_count];
26         } srv_copychunk_copy;
27
28         typedef [public] struct {
29                 uint32 chunks_written;
30                 uint32 chunk_bytes_written;
31                 uint32 total_bytes_written;
32         } srv_copychunk_rsp;
33 }