3 miscellaneous IDL structures
6 import
"netlogon.idl", "security.idl", "auth.idl";
9 pointer_default(unique)
11 interface named_pipe_auth
13 const char *NAMED_PIPE_AUTH_MAGIC
= "NPAM";
15 typedef [public] struct {
17 [charset
(UTF8
),string] uint8
*remote_client_name
;
18 [charset
(DOS
),string] uint8
*remote_client_addr
;
19 uint16 remote_client_port
;
20 [charset
(UTF8
),string] uint8
*local_server_name
;
21 [charset
(DOS
),string] uint8
*local_server_addr
;
22 uint16 local_server_port
;
23 auth_session_info_transport
*session_info
;
24 } named_pipe_auth_req_info8
;
26 typedef [switch_type(uint32
)] union {
27 [case(8)] named_pipe_auth_req_info8 info8
;
28 } named_pipe_auth_req_info
;
30 typedef [public,gensize
] struct {
31 [flag
(NDR_BIG_ENDIAN
),
32 value
(ndr_size_named_pipe_auth_req
(r
,ndr
->flags
)-4)]
34 [charset
(DOS
),value
(NAMED_PIPE_AUTH_MAGIC
)] uint8 magic
[4];
36 [switch_is(level
)] named_pipe_auth_req_info info
;
37 } named_pipe_auth_req
;
42 hyper allocation_size
;
43 } named_pipe_auth_rep_info8
;
45 typedef [switch_type(uint32
)] union {
46 [case(8)] named_pipe_auth_rep_info8 info8
;
47 } named_pipe_auth_rep_info
;
49 typedef [public,gensize
] struct {
50 [flag
(NDR_BIG_ENDIAN
),
51 value
(ndr_size_named_pipe_auth_rep
(r
,ndr
->flags
)-4)]
53 [charset
(DOS
),value
(NAMED_PIPE_AUTH_MAGIC
)] uint8 magic
[4];
55 [switch_is(level
)] named_pipe_auth_rep_info info
;
57 } named_pipe_auth_rep
;