summaryrefslogtreecommitdiff
path: root/source4/include/smb_macros.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-09-26 15:59:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:58 -0500
commitf801ad359290c51d3216c755fb2a8344babb484f (patch)
tree7762b44cb1a13ac969e25d63ec0d9e4c118635b4 /source4/include/smb_macros.h
parente337caeed1459f876449611ae1684616d0ea8f55 (diff)
downloadsamba-f801ad359290c51d3216c755fb2a8344babb484f.tar.gz
samba-f801ad359290c51d3216c755fb2a8344babb484f.tar.bz2
samba-f801ad359290c51d3216c755fb2a8344babb484f.zip
r10510: Decrease the amount of data included by includes.h a bit
(This used to be commit 03647e1321cf6c9bd6ced3945265f635e9468973)
Diffstat (limited to 'source4/include/smb_macros.h')
-rw-r--r--source4/include/smb_macros.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/include/smb_macros.h b/source4/include/smb_macros.h
index aee2adf38f..f5ac3ac96d 100644
--- a/source4/include/smb_macros.h
+++ b/source4/include/smb_macros.h
@@ -44,9 +44,6 @@
DEBUG(0,("PANIC: assert failed at %s(%d)\n", __FILE__, __LINE__)); \
smb_panic("assert failed"); }} while (0)
-/* REWRITE TODO: remove these smb_xxx macros */
-#define smb_buf(buf) (((char *)(buf)) + MIN_SMB_SIZE + CVAL(buf,HDR_WCT+4)*2)
-
#define smb_len(buf) (PVAL(buf,3)|(PVAL(buf,2)<<8)|(PVAL(buf,1)<<16))
#define _smb_setlen(buf,len) do {(buf)[0] = 0; (buf)[1] = ((len)&0x10000)>>16; \
(buf)[2] = ((len)&0xFF00)>>8; (buf)[3] = (len)&0xFF;} while (0)