summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2021-06-18 16:32:53 +0200
committerJeremy Allison <jra@samba.org>2021-10-08 19:28:32 +0000
commit3afd4bd61033773312605102f7203ef54e2e0986 (patch)
tree3412f2a3ed6c47ebc9858f36c058db40c6dc5af7 /librpc
parent83ad7e01fc34d26cbe1a524d7f2ea3a60f2cbfb4 (diff)
downloadsamba-3afd4bd61033773312605102f7203ef54e2e0986.tar.gz
idl: declare token array of storage_offload_token as in-line
This ensures the order of the struct element is the same as in the IDL definition. For an conformant array using the [sizeis(n)] syntax the sizeis member is stored as first element in the marshall buffer. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/ioctl.idl2
1 files changed, 1 insertions, 1 deletions
diff --git a/librpc/idl/ioctl.idl b/librpc/idl/ioctl.idl
index 390e8562f69..b2f3aec54d9 100644
--- a/librpc/idl/ioctl.idl
+++ b/librpc/idl/ioctl.idl
@@ -55,7 +55,7 @@ interface copychunk
uint32 token_type;
uint8 reserved[2];
uint16 token_id_len;
- [size_is(token_id_len)] uint8 token[];
+ uint8 token[token_id_len];
} storage_offload_token;
typedef [public] struct {