dbwrap: Prevent transactions on non-persistent dbs
[Samba.git] / librpc / idl / named_pipe_auth.idl
blob721667eef985079792361e048a33e9cb60a36d69
1 #include "idl_types.h"
2 /*
3 miscellaneous IDL structures
4 */
6 import "netlogon.idl", "security.idl", "auth.idl";
9 pointer_default(unique)
11 interface named_pipe_auth
13 const char *NAMED_PIPE_AUTH_MAGIC = "NPAM";
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;
25 typedef [switch_type(uint32)] union {
26 [case(4)] named_pipe_auth_req_info4 info4;
27 } named_pipe_auth_req_info;
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;
38 typedef struct {
39 uint16 file_type;
40 uint16 device_state;
41 hyper allocation_size;
42 } named_pipe_auth_rep_info4;
44 typedef [switch_type(uint32)] union {
45 [case(4)] named_pipe_auth_rep_info4 info4;
46 } named_pipe_auth_rep_info;
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;