tevent: fix typo async_req_done() => tevent_req_done()
[Samba.git] / librpc / idl / named_pipe_auth.idl
blob3bd723e6db2c11a13058e6f8ac491dc83578e14d
1 #include "idl_types.h"
2 /*
3 miscellaneous IDL structures
4 */
6 import "netlogon.idl";
9 pointer_default(unique)
11 interface named_pipe_auth
13 const char *NAMED_PIPE_AUTH_MAGIC = "NPAM";
15 typedef [switch_type(uint32)] union {
16 [case(0)] ;/* anonymous */
17 [case(1)] netr_SamInfo3 info1;
18 } named_pipe_auth_req_info;
20 typedef [public,gensize] struct {
21 [flag(NDR_BIG_ENDIAN),
22 value(ndr_size_named_pipe_auth_req(r,ndr->iconv_convenience,ndr->flags)-4)]
23 uint32 length;
24 [charset(DOS),value(NAMED_PIPE_AUTH_MAGIC)] uint8 magic[4];
25 uint32 level;
26 [switch_is(level)] named_pipe_auth_req_info info;
27 } named_pipe_auth_req;
29 typedef [switch_type(uint32)] union {
30 [case(0)] ;
31 [case(1)] ;
32 } named_pipe_auth_rep_info;
34 typedef [public,gensize] struct {
35 [flag(NDR_BIG_ENDIAN),
36 value(ndr_size_named_pipe_auth_rep(r,ndr->iconv_convenience,ndr->flags)-4)]
37 uint32 length;
38 [charset(DOS),value(NAMED_PIPE_AUTH_MAGIC)] uint8 magic[4];
39 uint32 level;
40 [switch_is(level)] named_pipe_auth_rep_info info;
41 NTSTATUS status;
42 } named_pipe_auth_rep;