3 miscellaneous IDL structures
9 pointer_default(unique)
11 interface named_pipe_auth
13 const char *NAMED_PIPE_AUTH_MAGIC
= "NPAM";
16 [charset
(UTF8
),string] uint8
*client_name
;
17 [charset
(DOS
),string] uint8
*client_addr
;
19 [charset
(UTF8
),string] uint8
*server_name
;
20 [charset
(DOS
),string] uint8
*server_addr
;
22 netr_SamInfo3
*sam_info3
;
23 uint32 session_key_length
;
24 [size_is(session_key_length
)] uint8
*session_key
;
25 } named_pipe_auth_req_info2
;
27 typedef [switch_type(uint32
)] union {
28 [case(0)] ;/* anonymous */
29 [case(1)] netr_SamInfo3 info1
;
30 [case(2)] named_pipe_auth_req_info2 info2
;
31 } named_pipe_auth_req_info
;
33 typedef [public,gensize
] struct {
34 [flag
(NDR_BIG_ENDIAN
),
35 value
(ndr_size_named_pipe_auth_req
(r
,ndr
->iconv_convenience
,ndr
->flags
)-4)]
37 [charset
(DOS
),value
(NAMED_PIPE_AUTH_MAGIC
)] uint8 magic
[4];
39 [switch_is(level
)] named_pipe_auth_req_info info
;
40 } named_pipe_auth_req
;
45 hyper allocation_size
;
46 } named_pipe_auth_rep_info2
;
48 typedef [switch_type(uint32
)] union {
51 [case(2)] named_pipe_auth_rep_info2 info2
;
52 } named_pipe_auth_rep_info
;
54 typedef [public,gensize
] struct {
55 [flag
(NDR_BIG_ENDIAN
),
56 value
(ndr_size_named_pipe_auth_rep
(r
,ndr
->iconv_convenience
,ndr
->flags
)-4)]
58 [charset
(DOS
),value
(NAMED_PIPE_AUTH_MAGIC
)] uint8 magic
[4];
60 [switch_is(level
)] named_pipe_auth_rep_info info
;
62 } named_pipe_auth_rep
;