summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@suse.de>2011-09-28 00:37:54 +0200
committerDavid Disseldorp <ddiss@samba.org>2011-10-31 17:55:05 +0100
commit2e1168d0a84d49b7858725d580491e970d6b4f64 (patch)
treebed1d29ecc6a2a5ca45e4207104a763f74cafaa8
parent63c7107c4affa3992e9c05647b81ecbfe87be01e (diff)
downloadsamba-2e1168d0a84d49b7858725d580491e970d6b4f64.tar.gz
samba-2e1168d0a84d49b7858725d580491e970d6b4f64.tar.bz2
samba-2e1168d0a84d49b7858725d580491e970d6b4f64.zip
idl: add copychunk and request_resume_key ioctl definitions
-rw-r--r--librpc/idl/ioctl.idl33
1 files changed, 33 insertions, 0 deletions
diff --git a/librpc/idl/ioctl.idl b/librpc/idl/ioctl.idl
new file mode 100644
index 0000000000..1c319eafec
--- /dev/null
+++ b/librpc/idl/ioctl.idl
@@ -0,0 +1,33 @@
+#include "idl_types.h"
+[
+ pointer_default(unique)
+]
+interface copychunk
+{
+ typedef [public] struct {
+ uint8 resume_key[24];
+ uint32 context_len;
+ /* <56> Windows sends 4 bytes of zero for the context field. */
+ uint8 context[4];
+ } req_resume_key_rsp;
+
+ typedef struct {
+ hyper source_off;
+ hyper target_off;
+ uint32 length;
+ uint32 reserved;
+ } srv_copychunk;
+
+ typedef [public] struct {
+ uint8 source_key[24];
+ uint32 chunk_count;
+ uint32 reserved;
+ srv_copychunk chunks[chunk_count];
+ } srv_copychunk_copy;
+
+ typedef [public] struct {
+ uint32 chunks_written;
+ uint32 chunk_bytes_written;
+ uint32 total_bytes_written;
+ } srv_copychunk_rsp;
+}