source: trunk/server/librpc/idl/named_pipe_auth.idl

Last change on this file was 745, checked in by Silvan Scherrer, 13 years ago

Samba Server: updated trunk to 3.6.0

File size: 1.5 KB
Line 
1#include "idl_types.h"
2/*
3 miscellaneous IDL structures
4*/
5
6import "netlogon.idl", "security.idl", "auth.idl";
7
8[
9 pointer_default(unique)
10]
11interface named_pipe_auth
12{
13 const char *NAMED_PIPE_AUTH_MAGIC = "NPAM";
14
15 typedef struct {
16 [charset(UTF8),string] uint8 *client_name;
17 [charset(DOS),string] uint8 *client_addr;
18 uint16 client_port;
19 [charset(UTF8),string] uint8 *server_name;
20 [charset(DOS),string] uint8 *server_addr;
21 uint16 server_port;
22 auth_session_info_transport *session_info;
23 } named_pipe_auth_req_info4;
24
25 typedef [switch_type(uint32)] union {
26 [case(4)] named_pipe_auth_req_info4 info4;
27 } named_pipe_auth_req_info;
28
29 typedef [public,gensize] struct {
30 [flag(NDR_BIG_ENDIAN),
31 value(ndr_size_named_pipe_auth_req(r,ndr->flags)-4)]
32 uint32 length;
33 [charset(DOS),value(NAMED_PIPE_AUTH_MAGIC)] uint8 magic[4];
34 uint32 level;
35 [switch_is(level)] named_pipe_auth_req_info info;
36 } named_pipe_auth_req;
37
38 typedef struct {
39 uint16 file_type;
40 uint16 device_state;
41 hyper allocation_size;
42 } named_pipe_auth_rep_info4;
43
44 typedef [switch_type(uint32)] union {
45 [case(4)] named_pipe_auth_rep_info4 info4;
46 } named_pipe_auth_rep_info;
47
48 typedef [public,gensize] struct {
49 [flag(NDR_BIG_ENDIAN),
50 value(ndr_size_named_pipe_auth_rep(r,ndr->flags)-4)]
51 uint32 length;
52 [charset(DOS),value(NAMED_PIPE_AUTH_MAGIC)] uint8 magic[4];
53 uint32 level;
54 [switch_is(level)] named_pipe_auth_rep_info info;
55 NTSTATUS status;
56 } named_pipe_auth_rep;
57}
58
Note: See TracBrowser for help on using the repository browser.