unittests: Do not install the test_dummy rpc module
[Samba.git] / librpc / idl / idl_types.h
blob2d063de0bc73a74cf97a6b978f8464045b781278
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
11 #define STR_RAW8 LIBNDR_FLAG_STR_RAW8
14 a null terminated UCS2 string
16 #define nstring [flag(STR_NULLTERM|NDR_ALIGN2)] string
19 a null terminated ascii string
21 #define astring [flag(STR_ASCII|STR_NULLTERM)] string
24 a null terminated UTF8 string
26 #define utf8string [flag(STR_UTF8|STR_NULLTERM)] string
29 a null terminated "raw" string (null terminated byte sequence)
31 #define raw8string [flag(STR_RAW8|STR_NULLTERM)] string
34 a null terminated UCS2 string
36 #define nstring_array [flag(STR_NULLTERM|NDR_ALIGN2)] string_array
38 #define NDR_NOALIGN LIBNDR_FLAG_NOALIGN
39 #define NDR_REMAINING LIBNDR_FLAG_REMAINING
40 #define NDR_ALIGN2 LIBNDR_FLAG_ALIGN2
41 #define NDR_ALIGN4 LIBNDR_FLAG_ALIGN4
42 #define NDR_ALIGN8 LIBNDR_FLAG_ALIGN8
43 #define NDR_NO_COMP LIBNDR_FLAG_NO_COMPRESSION
45 /* this flag is used to force a section of IDL as little endian. It is
46 needed for the epmapper IDL, which is defined as always being LE */
47 #define NDR_LITTLE_ENDIAN LIBNDR_FLAG_LITTLE_ENDIAN
48 #define NDR_BIG_ENDIAN LIBNDR_FLAG_BIGENDIAN
51 this is used to control formatting of uint8 arrays
53 #define NDR_PAHEX LIBNDR_PRINT_ARRAY_HEX
56 * Mark an element as SECRET, it won't be printed by
57 * via ndr_print* unless NDR_PRINT_SECRETS is specified.
59 #define NDR_SECRET LIBNDR_FLAG_IS_SECRET
61 #define NDR_RELATIVE_REVERSE LIBNDR_FLAG_RELATIVE_REVERSE
62 #define NDR_NO_RELATIVE_REVERSE LIBNDR_FLAG_NO_RELATIVE_REVERSE
64 #define NDR_SUBCONTEXT_NO_UNREAD_BYTES LIBNDR_FLAG_SUBCONTEXT_NO_UNREAD_BYTES