netlogon: document some more MSVC flags.
[metze/samba/wip.git] / librpc / gen_ndr / named_pipe_auth.h
1 /* header auto-generated by pidl */
2
3 #include <stdint.h>
4
5 #include "libcli/util/ntstatus.h"
6
7 #include "librpc/gen_ndr/netlogon.h"
8 #ifndef _HEADER_named_pipe_auth
9 #define _HEADER_named_pipe_auth
10
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)] */
22 };
23
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)] */;
28
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] */;
35
36 struct named_pipe_auth_rep_info2 {
37         uint16_t file_type;
38         uint16_t device_state;
39         uint64_t allocation_size;
40 };
41
42 union named_pipe_auth_rep_info {
43         struct named_pipe_auth_rep_info2 info2;/* [case(2)] */
44 }/* [switch_type(uint32)] */;
45
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] */;
53
54 #endif /* _HEADER_named_pipe_auth */