2008-10-29 12:20:02 +01:00
/* header auto-generated by pidl */
# include <stdint.h>
2009-02-25 15:22:08 +01:00
# include "libcli/util/ntstatus.h"
2008-10-29 12:20:02 +01:00
# include "librpc/gen_ndr/netlogon.h"
# ifndef _HEADER_named_pipe_auth
# define _HEADER_named_pipe_auth
# define NAMED_PIPE_AUTH_MAGIC ( "NPAM" )
2009-04-21 04:48:48 +02:00
struct named_pipe_auth_req_info2 {
const char * client_name ; /* [unique,charset(UTF8)] */
const char * client_addr ; /* [unique,charset(DOS)] */
uint16_t client_port ;
const char * server_name ; /* [unique,charset(UTF8)] */
const char * server_addr ; /* [unique,charset(DOS)] */
uint16_t server_port ;
struct netr_SamInfo3 * sam_info3 ; /* [unique] */
uint32_t session_key_length ;
uint8_t * session_key ; /* [unique,size_is(session_key_length)] */
} ;
2008-10-29 12:20:02 +01:00
union named_pipe_auth_req_info {
struct netr_SamInfo3 info1 ; /* [case] */
2009-04-21 04:48:48 +02:00
struct named_pipe_auth_req_info2 info2 ; /* [case(2)] */
2008-10-29 12:20:02 +01:00
} /* [switch_type(uint32)] */ ;
struct named_pipe_auth_req {
2009-01-01 04:45:33 +01:00
uint32_t length ; /* [value(ndr_size_named_pipe_auth_req(r,ndr->iconv_convenience,ndr->flags)-4),flag(LIBNDR_FLAG_BIGENDIAN)] */
2008-10-29 12:20:02 +01:00
const char * magic ; /* [value(NAMED_PIPE_AUTH_MAGIC),charset(DOS)] */
uint32_t level ;
union named_pipe_auth_req_info info ; /* [switch_is(level)] */
} /* [gensize,public] */ ;
2009-04-21 04:48:48 +02:00
struct named_pipe_auth_rep_info2 {
uint16_t file_type ;
uint16_t device_state ;
uint64_t allocation_size ;
} ;
2008-10-29 12:20:02 +01:00
union named_pipe_auth_rep_info {
2009-04-21 04:48:48 +02:00
struct named_pipe_auth_rep_info2 info2 ; /* [case(2)] */
2008-10-29 12:20:02 +01:00
} /* [switch_type(uint32)] */ ;
struct named_pipe_auth_rep {
2009-01-01 04:45:33 +01:00
uint32_t length ; /* [value(ndr_size_named_pipe_auth_rep(r,ndr->iconv_convenience,ndr->flags)-4),flag(LIBNDR_FLAG_BIGENDIAN)] */
2008-10-29 12:20:02 +01:00
const char * magic ; /* [value(NAMED_PIPE_AUTH_MAGIC),charset(DOS)] */
uint32_t level ;
union named_pipe_auth_rep_info info ; /* [switch_is(level)] */
NTSTATUS status ;
} /* [gensize,public] */ ;
# endif /* _HEADER_named_pipe_auth */