Move SMB2 constants to a separate file
[Samba/fernandojvsilva.git] / librpc / gen_ndr / misc.h
blob824483d29206a63de54cc8ae31ca9b1539fa2d29
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=0,
32 SEC_CHAN_WKSTA=2,
33 SEC_CHAN_DNS_DOMAIN=3,
34 SEC_CHAN_DOMAIN=4,
35 SEC_CHAN_BDC=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 #endif /* _HEADER_misc */