summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2002-11-07 14:38:53 +0000
committerJim McDonough <jmcd@samba.org>2002-11-07 14:38:53 +0000
commit42357a32442ae415aa9c624bc6393a5906442046 (patch)
treed7875be5cc12eef474b3cbdc6af7fd5c6bfbaddb
parentfdfed5abe8b2c03d050da023f6a7d54b4f1be4ef (diff)
downloadsamba-42357a32442ae415aa9c624bc6393a5906442046.tar.gz
samba-42357a32442ae415aa9c624bc6393a5906442046.tar.bz2
samba-42357a32442ae415aa9c624bc6393a5906442046.zip
Add smbtrans subcommands so we can stop hardcoding them
(This used to be commit 759bcd881dd259d5ad43715f6979c5282b094d52)
-rw-r--r--source3/include/smb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 6e04d38ac5..83125989df 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -952,6 +952,11 @@ struct bitmap {
#define SMBntcreateX 0xA2 /* NT create and X */
#define SMBntcancel 0xA4 /* NT cancel */
+/* These are the trans subcommands */
+#define TRANSACT_SETNAMEDPIPEHANDLESTATE 0x01
+#define TRANSACT_DCERPCCMD 0x26
+#define TRANSACT_WAITNAMEDPIPEHANDLESTATE 0x53
+
/* These are the TRANS2 sub commands */
#define TRANSACT2_OPEN 0
#define TRANSACT2_FINDFIRST 1