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_NO_EMBEDDED_NUL LIBNDR_FLAG_STR_NO_EMBEDDED_NUL
9 #define STR_CONFORMANT LIBNDR_FLAG_STR_CONFORMANT
10 #define STR_CHARLEN LIBNDR_FLAG_STR_CHARLEN
11 #define STR_UTF8 LIBNDR_FLAG_STR_UTF8
12 #define STR_RAW8 LIBNDR_FLAG_STR_RAW8
15 a null terminated UCS2 string
17 #define nstring [flag(STR_NULLTERM|NDR_ALIGN2)] string
20 a null terminated ascii string
22 #define astring [flag(STR_ASCII|STR_NULLTERM)] string
25 a null terminated UTF8 string
27 #define utf8string [flag(STR_UTF8|STR_NULLTERM)] string
30 a null terminated "raw" string (null terminated byte sequence)
32 #define raw8string [flag(STR_RAW8|STR_NULLTERM)] string
35 a secret null terminated UTF‐16 string (null terminated word sequence)
37 #define secret_u16string [flag(NDR_SECRET|STR_NULLTERM)] u16string
40 a null terminated UCS2 string
42 #define nstring_array [flag(STR_NULLTERM|NDR_ALIGN2)] string_array
44 #define NDR_NOALIGN LIBNDR_FLAG_NOALIGN
45 #define NDR_REMAINING LIBNDR_FLAG_REMAINING
46 #define NDR_ALIGN2 LIBNDR_FLAG_ALIGN2
47 #define NDR_ALIGN4 LIBNDR_FLAG_ALIGN4
48 #define NDR_ALIGN8 LIBNDR_FLAG_ALIGN8
49 #define NDR_NO_COMP LIBNDR_FLAG_NO_COMPRESSION
51 /* this flag is used to force a section of IDL as little endian. It is
52 needed for the epmapper IDL, which is defined as always being LE */
53 #define NDR_LITTLE_ENDIAN LIBNDR_FLAG_LITTLE_ENDIAN
54 #define NDR_BIG_ENDIAN LIBNDR_FLAG_BIGENDIAN
57 this is used to control formatting of uint8 arrays
59 #define NDR_PAHEX LIBNDR_PRINT_ARRAY_HEX
62 * Mark an element as SECRET, it won't be printed by
63 * via ndr_print* unless NDR_PRINT_SECRETS is specified.
65 #define NDR_SECRET LIBNDR_FLAG_IS_SECRET
67 #define NDR_RELATIVE_REVERSE LIBNDR_FLAG_RELATIVE_REVERSE
68 #define NDR_NO_RELATIVE_REVERSE LIBNDR_FLAG_NO_RELATIVE_REVERSE
70 #define NDR_SUBCONTEXT_NO_UNREAD_BYTES LIBNDR_FLAG_SUBCONTEXT_NO_UNREAD_BYTES