mirror of
https://github.com/obarthel/amiga-smbfs.git
synced 2025-12-08 14:58:35 +00:00
git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/amiga-smbfs/trunk@3 26594b9e-b914-4e86-b7a1-9402bd427170
51 lines
1.1 KiB
C
51 lines
1.1 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 <olsen@sourcery.han.de>
|
|
*/
|
|
|
|
#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 maxxmt;
|
|
word blkmode;
|
|
dword sesskey;
|
|
};
|
|
|
|
#endif
|