summaryrefslogtreecommitdiffstats
path: root/librpc/idl/named_pipe_auth.idl
diff options
context:
space:
mode:
Diffstat (limited to 'librpc/idl/named_pipe_auth.idl')
-rw-r--r--librpc/idl/named_pipe_auth.idl58
1 files changed, 58 insertions, 0 deletions
diff --git a/librpc/idl/named_pipe_auth.idl b/librpc/idl/named_pipe_auth.idl
new file mode 100644
index 0000000..b2c9201
--- /dev/null
+++ b/librpc/idl/named_pipe_auth.idl
@@ -0,0 +1,58 @@
+#include "idl_types.h"
+/*
+ miscellaneous IDL structures
+*/
+
+import "netlogon.idl", "security.idl", "auth.idl";
+
+[
+ pointer_default(unique)
+]
+interface named_pipe_auth
+{
+ const char *NAMED_PIPE_AUTH_MAGIC = "NPAM";
+
+ typedef [public] struct {
+ uint8 transport;
+ [charset(UTF8),string] uint8 *remote_client_name;
+ [charset(DOS),string] uint8 *remote_client_addr;
+ uint16 remote_client_port;
+ [charset(UTF8),string] uint8 *local_server_name;
+ [charset(DOS),string] uint8 *local_server_addr;
+ uint16 local_server_port;
+ auth_session_info_transport *session_info;
+ } named_pipe_auth_req_info7;
+
+ typedef [switch_type(uint32)] union {
+ [case(7)] named_pipe_auth_req_info7 info7;
+ } named_pipe_auth_req_info;
+
+ typedef [public,gensize] struct {
+ [flag(NDR_BIG_ENDIAN),
+ value(ndr_size_named_pipe_auth_req(r,ndr->flags)-4)]
+ uint32 length;
+ [charset(DOS),value(NAMED_PIPE_AUTH_MAGIC)] uint8 magic[4];
+ uint32 level;
+ [switch_is(level)] named_pipe_auth_req_info info;
+ } named_pipe_auth_req;
+
+ typedef struct {
+ uint16 file_type;
+ uint16 device_state;
+ hyper allocation_size;
+ } named_pipe_auth_rep_info7;
+
+ typedef [switch_type(uint32)] union {
+ [case(7)] named_pipe_auth_rep_info7 info7;
+ } named_pipe_auth_rep_info;
+
+ typedef [public,gensize] struct {
+ [flag(NDR_BIG_ENDIAN),
+ value(ndr_size_named_pipe_auth_rep(r,ndr->flags)-4)]
+ uint32 length;
+ [charset(DOS),value(NAMED_PIPE_AUTH_MAGIC)] uint8 magic[4];
+ uint32 level;
+ [switch_is(level)] named_pipe_auth_rep_info info;
+ NTSTATUS status;
+ } named_pipe_auth_rep;
+}