mirror of
https://github.com/obarthel/amiga-smbfs.git
synced 2025-12-08 14:58:35 +00:00
These fields are not needed in the global data structure, they are used only locally.
52 lines
1.2 KiB
C
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
|