From 4a769ec098ff83f9e123304c01b5a3035b77b914 Mon Sep 17 00:00:00 2001 From: Olaf Barthel Date: Sat, 2 Apr 2016 12:29:15 +0200 Subject: [PATCH] Indentation cleanup / blkmode becomes capabilities --- source_code/include/smb/smb_fs_sb.h | 44 +++++++++++++---------------- 1 file changed, 20 insertions(+), 24 deletions(-) diff --git a/source_code/include/smb/smb_fs_sb.h b/source_code/include/smb/smb_fs_sb.h index d39a672..353f1cf 100644 --- a/source_code/include/smb/smb_fs_sb.h +++ b/source_code/include/smb/smb_fs_sb.h @@ -1,7 +1,5 @@ /* - * $Id: smb_fs_sb.h,v 1.1.1.1 2005/05/24 13:22:14 obarthel Exp $ - * - * :ts=8 + * :ts=4 * * smb_fs_sb.h * @@ -17,35 +15,33 @@ struct smb_server { - enum smb_protocol protocol; /* The protocol this - connection accepts. */ + enum smb_protocol protocol; /* The protocol this + connection accepts. */ - word max_xmit; - int max_recv; /* added by CS */ - word server_uid; - word tid; + word max_xmit; + int max_recv; /* added by CS */ + word server_uid; + word tid; - struct smb_mount_data mount_data; /* We store the complete information here - to be able to reconnect. - */ + struct smb_mount_data mount_data; /* We store the complete information here + to be able to reconnect. */ - unsigned short rcls; /* The error codes we received */ - unsigned short err; - unsigned char *packet; + unsigned short rcls; /* The error codes we received */ + unsigned short err; + unsigned char *packet; - int security_mode; - unsigned char crypt_key[8]; + int security_mode; + unsigned char crypt_key[8]; - struct smba_server * abstraction; + struct smba_server * abstraction; - enum smb_conn_state state; + enum smb_conn_state state; - /* The following are LANMAN 1.0 options transferred to us in - SMBnegprot */ - word blkmode; + /* The following are LANMAN 1.0 options transferred to us in SMBnegprot */ + dword capabilities; - /* olsen (2012-12-10): raw SMB over TCP instead of NBT transport? */ - int raw_smb; + /* olsen (2012-12-10): raw SMB over TCP instead of NBT transport? */ + int raw_smb; }; #endif