schannel: move schannel.idl to main directory.
[Samba/nivanova.git] / librpc / idl / schannel.idl
blob9cb9e1fb619799bbad767d08956b82ead0840795
1 #include "idl_types.h"
3 /*
4 schannel structures
5 */
7 import "netlogon.idl", "nbt.idl";
9 interface schannel
12 a schannel bind blob - used in dcerpc auth_info
13 on a schannel
15 typedef struct {
16 astring domain;
17 astring workstation;
18 } schannel_bind_3;
20 typedef struct {
21 astring domain;
22 astring workstation;
23 nbt_string dnsdomain;
24 nbt_string dnsworkstation;
25 } schannel_bind_23;
27 typedef [nodiscriminant] union {
28 [case (3)] schannel_bind_3 info3;
29 [case (23)] schannel_bind_23 info23;
30 } schannel_bind_info;
32 typedef [public] struct {
33 uint32 unknown1; /* seems to need to be 0 */
34 uint32 bind_type;
35 [switch_is(bind_type)] schannel_bind_info u;
36 } schannel_bind;
38 /* a bind_ack blob */
39 typedef [public] struct {
40 uint32 unknown1; /* 1 */
41 uint32 unknown2; /* 0 */
42 uint32 unknown3; /* 0x006c0000 */
43 } schannel_bind_ack;