8d7ae55ad73e31bd5131a9df1a5ca1db00aadaa5
[obnox/samba-ctdb.git] / librpc / gen_ndr / misc.h
1 /* header auto-generated by pidl */
2
3 #include <stdint.h>
4
5 #include "libcli/util/ntstatus.h"
6
7 #ifndef _HEADER_misc
8 #define _HEADER_misc
9
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] */;
17
18 struct ndr_syntax_id {
19         struct GUID uuid;
20         uint32_t if_version;
21 }/* [public] */;
22
23 struct policy_handle {
24         uint32_t handle_type;
25         struct GUID uuid;
26 }/* [public] */;
27
28 enum netr_SchannelType
29 #ifndef USE_UINT_ENUMS
30  {
31         SEC_CHAN_NULL=0,
32         SEC_CHAN_WKSTA=2,
33         SEC_CHAN_DNS_DOMAIN=3,
34         SEC_CHAN_DOMAIN=4,
35         SEC_CHAN_BDC=6
36 }
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
45 ;
46
47 struct KRB5_EDATA_NTSTATUS {
48         NTSTATUS ntstatus;
49         uint32_t unknown1;
50         uint32_t unknown2;
51 }/* [public] */;
52
53 enum winreg_Type
54 #ifndef USE_UINT_ENUMS
55  {
56         REG_NONE=0,
57         REG_SZ=1,
58         REG_EXPAND_SZ=2,
59         REG_BINARY=3,
60         REG_DWORD=4,
61         REG_DWORD_BIG_ENDIAN=5,
62         REG_LINK=6,
63         REG_MULTI_SZ=7,
64         REG_RESOURCE_LIST=8,
65         REG_FULL_RESOURCE_DESCRIPTOR=9,
66         REG_RESOURCE_REQUIREMENTS_LIST=10,
67         REG_QWORD=11
68 }
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
84 ;
85
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 }/* [nodiscriminant,public] */;
93
94 #endif /* _HEADER_misc */