From ad6303f82fa862111c239b32b39f299e563a0802 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 28 Jan 2006 12:58:38 +0000 Subject: 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) --- source4/include/smb.h | 8 ++++---- source4/include/structs.h | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'source4/include') 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; -- cgit