Merge branch 'master' of /home/tridge/samba/git/combined
[Samba/aatanasov.git] / librpc / idl / misc.idl
blob5bc3c9f976c886146caa6136ebb0d38077cbc2e2
1 /*
2 miscellaneous IDL structures
3 */
7 pyhelper("librpc/ndr/py_misc.c"),
8 pointer_default(unique)
10 interface misc
12 typedef [public,noprint,gensize] struct {
13 uint32 time_low;
14 uint16 time_mid;
15 uint16 time_hi_and_version;
16 uint8 clock_seq[2];
17 uint8 node[6];
18 } GUID;
20 typedef [public] struct {
21 GUID uuid;
22 uint32 if_version;
23 } ndr_syntax_id;
25 typedef [public] struct {
26 uint32 handle_type;
27 GUID uuid;
28 } policy_handle;
30 /* secure channel types */
31 /* Only SEC_CHAN_WKSTA can forward requests to other domains. */
33 typedef [public] enum {
34 SEC_CHAN_NULL = 0,
35 SEC_CHAN_WKSTA = 2,
36 SEC_CHAN_DNS_DOMAIN = 3,
37 SEC_CHAN_DOMAIN = 4,
38 SEC_CHAN_BDC = 6
39 } netr_SchannelType;
41 typedef [public] struct {
42 NTSTATUS ntstatus;
43 uint32 unknown1;
44 uint32 unknown2; /* 0x00000001 */
45 } KRB5_EDATA_NTSTATUS;