From 74dd7d90622a518e54bbbdc4e37fa44cd4181e1e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 30 Oct 2004 23:19:09 +0000 Subject: r3395: added support for "string32" type, to fix the fixed width string problem that tim found. (This used to be commit 2cf35cb4d2513a7be46065e12c6fd1e2b90f4b8a) --- source4/librpc/idl/idl_types.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source4/librpc/idl/idl_types.h') diff --git a/source4/librpc/idl/idl_types.h b/source4/librpc/idl/idl_types.h index d2d32245f3..d74523d8fb 100644 --- a/source4/librpc/idl/idl_types.h +++ b/source4/librpc/idl/idl_types.h @@ -5,6 +5,7 @@ #define STR_NOTERM LIBNDR_FLAG_STR_NOTERM #define STR_NULLTERM LIBNDR_FLAG_STR_NULLTERM #define STR_BYTESIZE LIBNDR_FLAG_STR_BYTESIZE +#define STR_FIXLEN32 LIBNDR_FLAG_STR_FIXLEN32 /* a UCS2 string prefixed with [size] [offset] [length], all 32 bits @@ -27,6 +28,11 @@ */ #define nstring [flag(STR_NULLTERM)] string +/* + fixed length 32 character UCS-2 string +*/ +#define string32 [flag(STR_FIXLEN32)] string + /* an ascii string prefixed with [size] [offset] [length], all 32 bits null terminated -- cgit