1 /* header auto-generated by pidl */
5 #include "libcli/util/ntstatus.h"
7 #include "librpc/gen_ndr/netlogon.h"
8 #ifndef _HEADER_named_pipe_auth
9 #define _HEADER_named_pipe_auth
11 #define NAMED_PIPE_AUTH_MAGIC ( "NPAM" )
12 struct named_pipe_auth_req_info2
{
13 const char *client_name
;/* [unique,charset(UTF8)] */
14 const char *client_addr
;/* [unique,charset(DOS)] */
16 const char *server_name
;/* [unique,charset(UTF8)] */
17 const char *server_addr
;/* [unique,charset(DOS)] */
19 struct netr_SamInfo3
*sam_info3
;/* [unique] */
20 uint32_t session_key_length
;
21 uint8_t *session_key
;/* [unique,size_is(session_key_length)] */
24 union named_pipe_auth_req_info
{
25 struct netr_SamInfo3 info1
;/* [case] */
26 struct named_pipe_auth_req_info2 info2
;/* [case(2)] */
27 }/* [switch_type(uint32)] */;
29 struct named_pipe_auth_req
{
30 uint32_t length
;/* [value(ndr_size_named_pipe_auth_req(r,ndr->iconv_convenience,ndr->flags)-4),flag(LIBNDR_FLAG_BIGENDIAN)] */
31 const char *magic
;/* [value(NAMED_PIPE_AUTH_MAGIC),charset(DOS)] */
33 union named_pipe_auth_req_info info
;/* [switch_is(level)] */
34 }/* [gensize,public] */;
36 struct named_pipe_auth_rep_info2
{
38 uint16_t device_state
;
39 uint64_t allocation_size
;
42 union named_pipe_auth_rep_info
{
43 struct named_pipe_auth_rep_info2 info2
;/* [case(2)] */
44 }/* [switch_type(uint32)] */;
46 struct named_pipe_auth_rep
{
47 uint32_t length
;/* [value(ndr_size_named_pipe_auth_rep(r,ndr->iconv_convenience,ndr->flags)-4),flag(LIBNDR_FLAG_BIGENDIAN)] */
48 const char *magic
;/* [value(NAMED_PIPE_AUTH_MAGIC),charset(DOS)] */
50 union named_pipe_auth_rep_info info
;/* [switch_is(level)] */
52 }/* [gensize,public] */;
54 #endif /* _HEADER_named_pipe_auth */