summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2002-11-07 14:45:46 +0000
committerJim McDonough <jmcd@samba.org>2002-11-07 14:45:46 +0000
commite214a1559579f723b529ef3f51d9805db0ed5451 (patch)
treeb3ff5346911f2a6cfc6f01b26b1ff84da95993ec /source3
parent8cdbdb170b3cda4dc179e75d23db22461f47b12e (diff)
downloadsamba-e214a1559579f723b529ef3f51d9805db0ed5451.tar.gz
samba-e214a1559579f723b529ef3f51d9805db0ed5451.tar.bz2
samba-e214a1559579f723b529ef3f51d9805db0ed5451.zip
Define smbtrans subcommands so we can stop hardcoding them
(This used to be commit 645c2d5c30a79d4aa28f477dbf0fc44d319fd35d)
Diffstat (limited to 'source3')
-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 52505dab99..4feb81beef 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