summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/misc.h
blob: e439f7f43dc6b2954fc3226e75c58a9d6195a788 (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
/* header auto-generated by pidl */

#include <stdint.h>

#define netr_SamDatabaseID8Bit netr_SamDatabaseID
#ifndef _HEADER_misc
#define _HEADER_misc

enum netr_SamDatabaseID8Bit;

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,noejs] */;

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=0,
	SEC_CHAN_WKSTA=2,
	SEC_CHAN_DNS_DOMAIN=3,
	SEC_CHAN_DOMAIN=4,
	SEC_CHAN_BDC=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
;

enum netr_SamDatabaseID
#ifndef USE_UINT_ENUMS
 {
	SAM_DATABASE_DOMAIN=0,
	SAM_DATABASE_BUILTIN=1,
	SAM_DATABASE_PRIVS=2
}
#else
 { __donnot_use_enum_netr_SamDatabaseID=0x7FFFFFFF}
#define SAM_DATABASE_DOMAIN ( 0 )
#define SAM_DATABASE_BUILTIN ( 1 )
#define SAM_DATABASE_PRIVS ( 2 )
#endif
;

enum samr_RejectReason
#ifndef USE_UINT_ENUMS
 {
	SAMR_REJECT_OTHER=0,
	SAMR_REJECT_TOO_SHORT=1,
	SAMR_REJECT_IN_HISTORY=2,
	SAMR_REJECT_COMPLEXITY=5
}
#else
 { __donnot_use_enum_samr_RejectReason=0x7FFFFFFF}
#define SAMR_REJECT_OTHER ( 0 )
#define SAMR_REJECT_TOO_SHORT ( 1 )
#define SAMR_REJECT_IN_HISTORY ( 2 )
#define SAMR_REJECT_COMPLEXITY ( 5 )
#endif
;

#endif /* _HEADER_misc */