mirror of
https://github.com/samba-team/samba.git
synced 2025-02-25 17:57:42 +03:00
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>
This commit is contained in:
parent
83ad7e01fc
commit
3afd4bd610
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user