summaryrefslogtreecommitdiff
path: root/librpc/gen_ndr/misc.h
blob: 6672c61323ede71a69f940083241d34fcee87a46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/* header auto-generated by pidl */

#include <stdint.h>

#include "libcli/util/ntstatus.h"

#ifndef _HEADER_misc
#define _HEADER_misc

struct GUID {
	uint32_t time_low;
	uint16_t time_mid;
	uint16_t time_hi_and_version;
	uint8_t clock_seq[2];
	uint8_t node[6];
}/* [noprint,gensize,public] */;

struct ndr_syntax_id {
	struct GUID uuid;
	uint32_t if_version;
}/* [public] */;

struct policy_handle {
	uint32_t handle_type;
	struct GUID uuid;
}/* [public] */;

enum netr_SchannelType
#ifndef USE_UINT_ENUMS
 {
	SEC_CHAN_NULL=(int)(0),
	SEC_CHAN_WKSTA=(int)(2),
	SEC_CHAN_DNS_DOMAIN=(int)(3),
	SEC_CHAN_DOMAIN=(int)(4),
	SEC_CHAN_BDC=(int)(6)
}
#else
 { __donnot_use_enum_netr_SchannelType=0x7FFFFFFF}
#define SEC_CHAN_NULL ( 0 )
#define SEC_CHAN_WKSTA ( 2 )
#define SEC_CHAN_DNS_DOMAIN ( 3 )
#define SEC_CHAN_DOMAIN ( 4 )
#define SEC_CHAN_BDC ( 6 )
#endif
;

struct KRB5_EDATA_NTSTATUS {
	NTSTATUS ntstatus;
	uint32_t unknown1;
	uint32_t unknown2;
}/* [public] */;

enum winreg_Type
#ifndef USE_UINT_ENUMS
 {
	REG_NONE=(int)(0),
	REG_SZ=(int)(1),
	REG_EXPAND_SZ=(int)(2),
	REG_BINARY=(int)(3),
	REG_DWORD=(int)(4),
	REG_DWORD_BIG_ENDIAN=(int)(5),
	REG_LINK=(int)(6),
	REG_MULTI_SZ=(int)(7),
	REG_RESOURCE_LIST=(int)(8),
	REG_FULL_RESOURCE_DESCRIPTOR=(int)(9),
	REG_RESOURCE_REQUIREMENTS_LIST=(int)(10),
	REG_QWORD=(int)(11)
}
#else
 { __donnot_use_enum_winreg_Type=0x7FFFFFFF}
#define REG_NONE ( 0 )
#define REG_SZ ( 1 )
#define REG_EXPAND_SZ ( 2 )
#define REG_BINARY ( 3 )
#define REG_DWORD ( 4 )
#define REG_DWORD_BIG_ENDIAN ( 5 )
#define REG_LINK ( 6 )
#define REG_MULTI_SZ ( 7 )
#define REG_RESOURCE_LIST ( 8 )
#define REG_FULL_RESOURCE_DESCRIPTOR ( 9 )
#define REG_RESOURCE_REQUIREMENTS_LIST ( 10 )
#define REG_QWORD ( 11 )
#endif
;

union winreg_Data {
	const char * string;/* [flag(LIBNDR_FLAG_STR_NULLTERM),case(REG_SZ)] */
	DATA_BLOB binary;/* [flag(LIBNDR_FLAG_REMAINING),case(REG_BINARY)] */
	uint32_t value;/* [case(REG_DWORD)] */
	const char ** string_array;/* [flag(LIBNDR_FLAG_STR_NULLTERM),case(REG_MULTI_SZ)] */
	DATA_BLOB data;/* [flag(LIBNDR_FLAG_REMAINING),default] */
}/* [public,nodiscriminant,flag(LIBNDR_FLAG_LITTLE_ENDIAN)] */;

#endif /* _HEADER_misc */