1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

TODO test/review librpc: align nstring and nstring_array to 2 byte

metze
This commit is contained in:
Stefan Metzmacher 2011-02-22 15:57:21 +01:00 committed by Jeremy Allison
parent 84b884eb4b
commit 712ef2590d

View File

@ -12,7 +12,7 @@
/*
a null terminated UCS2 string
*/
#define nstring [flag(STR_NULLTERM)] string
#define nstring [flag(STR_NULLTERM|NDR_ALIGN2)] string
/*
an ascii string prefixed with [offset] [length], both 32 bits
@ -50,7 +50,7 @@
/*
a null terminated UCS2 string
*/
#define nstring_array [flag(STR_NULLTERM)] string_array
#define nstring_array [flag(STR_NULLTERM|NDR_ALIGN2)] string_array
#define NDR_NOALIGN LIBNDR_FLAG_NOALIGN
#define NDR_REMAINING LIBNDR_FLAG_REMAINING