summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-10-19 14:02:57 +0200
committerStefan Metzmacher <metze@samba.org>2011-10-19 17:15:23 +0200
commitba08ad5f3942cbb6afb0b411dfd149fabd1954a6 (patch)
tree01aaedabd315a74be11ec73f6ceca35baff2826b /source4
parent8bf1e4caae0fcf87aa87bce2eaff2aab7ead8746 (diff)
downloadsamba-ba08ad5f3942cbb6afb0b411dfd149fabd1954a6.tar.gz
s4:libcli/raw: remove unused smb_len(), _smb_setlen() and _smb2_setlen() macros
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 19 17:15:23 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/raw/smb.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/source4/libcli/raw/smb.h b/source4/libcli/raw/smb.h
index fdf3a1559ba..ced74133a74 100644
--- a/source4/libcli/raw/smb.h
+++ b/source4/libcli/raw/smb.h
@@ -563,12 +563,6 @@
#define FS_ATTR_ENCRYPTION 0x00020000
#define FS_ATTR_NAMED_STREAMS 0x00040000
-#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)
-#define _smb2_setlen(buf,len) do {(buf)[0] = 0; (buf)[1] = ((len)&0xFF0000)>>16; \
- (buf)[2] = ((len)&0xFF00)>>8; (buf)[3] = (len)&0xFF;} while (0)
-
#include "source4/libcli/raw/trans2.h"
#include "libcli/raw/interfaces.h"
#include "libcli/smb/smb_common.h"