s3-winbindd: Fix typo in comment.
[Samba.git] / librpc / gen_ndr / misc.h
blob6672c61323ede71a69f940083241d34fcee87a46
1 /* header auto-generated by pidl */
3 #include <stdint.h>
5 #include "libcli/util/ntstatus.h"
7 #ifndef _HEADER_misc
8 #define _HEADER_misc
10 struct GUID {
11 uint32_t time_low;
12 uint16_t time_mid;
13 uint16_t time_hi_and_version;
14 uint8_t clock_seq[2];
15 uint8_t node[6];
16 }/* [noprint,gensize,public] */;
18 struct ndr_syntax_id {
19 struct GUID uuid;
20 uint32_t if_version;
21 }/* [public] */;
23 struct policy_handle {
24 uint32_t handle_type;
25 struct GUID uuid;
26 }/* [public] */;
28 enum netr_SchannelType
29 #ifndef USE_UINT_ENUMS
31 SEC_CHAN_NULL=(int)(0),
32 SEC_CHAN_WKSTA=(int)(2),
33 SEC_CHAN_DNS_DOMAIN=(int)(3),
34 SEC_CHAN_DOMAIN=(int)(4),
35 SEC_CHAN_BDC=(int)(6)
37 #else
38 { __donnot_use_enum_netr_SchannelType=0x7FFFFFFF}
39 #define SEC_CHAN_NULL ( 0 )
40 #define SEC_CHAN_WKSTA ( 2 )
41 #define SEC_CHAN_DNS_DOMAIN ( 3 )
42 #define SEC_CHAN_DOMAIN ( 4 )
43 #define SEC_CHAN_BDC ( 6 )
44 #endif
47 struct KRB5_EDATA_NTSTATUS {
48 NTSTATUS ntstatus;
49 uint32_t unknown1;
50 uint32_t unknown2;
51 }/* [public] */;
53 enum winreg_Type
54 #ifndef USE_UINT_ENUMS
56 REG_NONE=(int)(0),
57 REG_SZ=(int)(1),
58 REG_EXPAND_SZ=(int)(2),
59 REG_BINARY=(int)(3),
60 REG_DWORD=(int)(4),
61 REG_DWORD_BIG_ENDIAN=(int)(5),
62 REG_LINK=(int)(6),
63 REG_MULTI_SZ=(int)(7),
64 REG_RESOURCE_LIST=(int)(8),
65 REG_FULL_RESOURCE_DESCRIPTOR=(int)(9),
66 REG_RESOURCE_REQUIREMENTS_LIST=(int)(10),
67 REG_QWORD=(int)(11)
69 #else
70 { __donnot_use_enum_winreg_Type=0x7FFFFFFF}
71 #define REG_NONE ( 0 )
72 #define REG_SZ ( 1 )
73 #define REG_EXPAND_SZ ( 2 )
74 #define REG_BINARY ( 3 )
75 #define REG_DWORD ( 4 )
76 #define REG_DWORD_BIG_ENDIAN ( 5 )
77 #define REG_LINK ( 6 )
78 #define REG_MULTI_SZ ( 7 )
79 #define REG_RESOURCE_LIST ( 8 )
80 #define REG_FULL_RESOURCE_DESCRIPTOR ( 9 )
81 #define REG_RESOURCE_REQUIREMENTS_LIST ( 10 )
82 #define REG_QWORD ( 11 )
83 #endif
86 union winreg_Data {
87 const char * string;/* [flag(LIBNDR_FLAG_STR_NULLTERM),case(REG_SZ)] */
88 DATA_BLOB binary;/* [flag(LIBNDR_FLAG_REMAINING),case(REG_BINARY)] */
89 uint32_t value;/* [case(REG_DWORD)] */
90 const char ** string_array;/* [flag(LIBNDR_FLAG_STR_NULLTERM),case(REG_MULTI_SZ)] */
91 DATA_BLOB data;/* [flag(LIBNDR_FLAG_REMAINING),default] */
92 }/* [public,nodiscriminant,flag(LIBNDR_FLAG_LITTLE_ENDIAN)] */;
94 #endif /* _HEADER_misc */