WHATSNEW: Update release notes.
[Samba.git] / librpc / idl / idl_types.h
blob3c6c12cd846a6c0563b01f9dd418f68402eec0a4
1 #define STR_ASCII LIBNDR_FLAG_STR_ASCII
2 #define STR_LEN4 LIBNDR_FLAG_STR_LEN4
3 #define STR_SIZE4 LIBNDR_FLAG_STR_SIZE4
4 #define STR_SIZE2 LIBNDR_FLAG_STR_SIZE2
5 #define STR_NOTERM LIBNDR_FLAG_STR_NOTERM
6 #define STR_NULLTERM LIBNDR_FLAG_STR_NULLTERM
7 #define STR_BYTESIZE LIBNDR_FLAG_STR_BYTESIZE
8 #define STR_CONFORMANT LIBNDR_FLAG_STR_CONFORMANT
9 #define STR_CHARLEN LIBNDR_FLAG_STR_CHARLEN
10 #define STR_UTF8 LIBNDR_FLAG_STR_UTF8
13 a null terminated UCS2 string
15 #define nstring [flag(STR_NULLTERM)] string
18 an ascii string prefixed with [offset] [length], both 32 bits
19 null terminated
21 #define ascstr2 [flag(STR_ASCII|STR_LEN4)] string
24 an ascii string prefixed with [size], 32 bits
26 #define asclstr [flag(STR_ASCII|STR_SIZE4)] string
29 an ascii string prefixed with [size], 16 bits
30 null terminated
32 #define ascstr3 [flag(STR_ASCII|STR_SIZE2)] string
35 an ascii string prefixed with [size] [offset] [length], all 32 bits
36 not null terminated
38 #define ascstr_noterm [flag(STR_NOTERM|STR_ASCII|STR_SIZE4|STR_LEN4)] string
41 a null terminated ascii string
43 #define astring [flag(STR_ASCII|STR_NULLTERM)] string
46 a null terminated UTF8 string
48 #define utf8string [flag(STR_UTF8|STR_NULLTERM)] string
51 a null terminated UCS2 string
53 #define nstring_array [flag(STR_NULLTERM)] string_array
55 #define NDR_NOALIGN LIBNDR_FLAG_NOALIGN
56 #define NDR_REMAINING LIBNDR_FLAG_REMAINING
57 #define NDR_ALIGN2 LIBNDR_FLAG_ALIGN2
58 #define NDR_ALIGN4 LIBNDR_FLAG_ALIGN4
59 #define NDR_ALIGN8 LIBNDR_FLAG_ALIGN8
61 /* this flag is used to force a section of IDL as little endian. It is
62 needed for the epmapper IDL, which is defined as always being LE */
63 #define NDR_LITTLE_ENDIAN LIBNDR_FLAG_LITTLE_ENDIAN
64 #define NDR_BIG_ENDIAN LIBNDR_FLAG_BIGENDIAN
67 this is used to control formatting of uint8 arrays
69 #define NDR_PAHEX LIBNDR_PRINT_ARRAY_HEX
71 #define NDR_RELATIVE_REVERSE LIBNDR_FLAG_RELATIVE_REVERSE
72 #define NDR_NO_RELATIVE_REVERSE LIBNDR_FLAG_NO_RELATIVE_REVERSE