summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-01-28 12:58:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:51:34 -0500
commitad6303f82fa862111c239b32b39f299e563a0802 (patch)
tree8534fe0fab5b44b8f50f70c46141225704e3de42 /source4/include
parent654a21178fa7e908e3a2be42d5522ea1b1b23250 (diff)
downloadsamba-ad6303f82fa862111c239b32b39f299e563a0802.tar.gz
samba-ad6303f82fa862111c239b32b39f299e563a0802.tar.bz2
samba-ad6303f82fa862111c239b32b39f299e563a0802.zip
r13208: Clearly separate named pipes from the IPC$ NTVFS type.
This allows the easy addition of additional named pipes and removes the circular dependencies between the CIFS, RPC and RAP servers. Simple tests for a custom named pipe included. (This used to be commit 898d15acbd18e3b302a856c847e08c22c5024792)
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/smb.h8
-rw-r--r--source4/include/structs.h2
2 files changed, 6 insertions, 4 deletions
diff --git a/source4/include/smb.h b/source4/include/smb.h
index 78a66dd20a..a1934c9635 100644
--- a/source4/include/smb.h
+++ b/source4/include/smb.h
@@ -319,10 +319,10 @@
/* used to indicate end of chain */
#define SMB_CHAIN_NONE 0xFF
-/* These are the trans subcommands */
-#define TRANSACT_SETNAMEDPIPEHANDLESTATE 0x01
-#define TRANSACT_DCERPCCMD 0x26
-#define TRANSACT_WAITNAMEDPIPEHANDLESTATE 0x53
+/* These are the named pipe commands */
+#define NAMED_PIPE_SETHANDLESTATE 0x01
+#define NAMED_PIPE_TRANSACT 0x26
+#define NAMED_PIPE_WAITHANDLESTATE 0x53
/* These are the NT transact sub commands. */
#define NT_TRANSACT_CREATE 1
diff --git a/source4/include/structs.h b/source4/include/structs.h
index 60ec1eae67..05167db5f9 100644
--- a/source4/include/structs.h
+++ b/source4/include/structs.h
@@ -164,3 +164,5 @@ struct smbcli_state;
struct substitute_context;
struct model_ops;
+
+struct named_pipe_ops;