Files
amiga-smbfs/source_code/include/smb/smb_fs_sb.h
T
Olaf Barthel 76bdadec3d Removed server state from global data structure
These fields are not needed in the global data structure, they are used only locally.
2016-03-06 15:20:55 +01:00

52 lines
1.2 KiB
C

/*
* $Id: smb_fs_sb.h,v 1.1.1.1 2005/05/24 13:22:14 obarthel Exp $
*
* :ts=8
*
* smb_fs_sb.h
*
* Copyright (C) 1995 by Paal-Kr. Engstad and Volker Lendecke
* Modified for use with AmigaOS by Olaf Barthel <obarthel -at- gmx -dot- net>
*/
#ifndef _SMB_FS_SB
#define _SMB_FS_SB
#include <smb/smb.h>
#include <smb/smb_mount.h>
struct smb_server
{
enum smb_protocol protocol; /* The protocol this
connection accepts. */
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.
*/
unsigned short rcls; /* The error codes we received */
unsigned short err;
unsigned char *packet;
int security_mode;
unsigned char crypt_key[8];
struct smba_server * abstraction;
enum smb_conn_state state;
/* The following are LANMAN 1.0 options transferred to us in
SMBnegprot */
word blkmode;
/* olsen (2012-12-10): raw SMB over TCP instead of NBT transport? */
int raw_smb;
};
#endif