s3:configure: "test" only takes one "="
[Samba/gebeck_regimport.git] / librpc / gen_ndr / named_pipe_auth.h
blobe08aa477db2f2063bcd99cf235ff1637d3ecf362
1 /* header auto-generated by pidl */
3 #include <stdint.h>
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)] */
15 uint16_t client_port;
16 const char *server_name;/* [unique,charset(UTF8)] */
17 const char *server_addr;/* [unique,charset(DOS)] */
18 uint16_t server_port;
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)] */
32 uint32_t level;
33 union named_pipe_auth_req_info info;/* [switch_is(level)] */
34 }/* [gensize,public] */;
36 struct named_pipe_auth_rep_info2 {
37 uint16_t file_type;
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)] */
49 uint32_t level;
50 union named_pipe_auth_rep_info info;/* [switch_is(level)] */
51 NTSTATUS status;
52 }/* [gensize,public] */;
54 #endif /* _HEADER_named_pipe_auth */