1
0
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:
Ralph Boehme 2021-06-18 16:32:53 +02:00 committed by Jeremy Allison
parent 83ad7e01fc
commit 3afd4bd610

View File

@ -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 {