diff options
-rw-r--r-- | source4/libcli/raw/smb.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source4/libcli/raw/smb.h b/source4/libcli/raw/smb.h index fdf3a1559b..ced74133a7 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" |