home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2004 #9 / Amiga Plus CD - 2004 - No. 09.iso / amigaplus / tools / amigaos4_only / smbfs / source / include / smb / smb_fs_sb.h next >
Encoding:
C/C++ Source or Header  |  2004-08-03  |  1.1 KB  |  51 lines

  1. /*
  2.  * $Id: smb_fs_sb.h,v 1.8 2004/05/18 08:39:14 obarthel Exp $
  3.  *
  4.  * :ts=8
  5.  *
  6.  * smb_fs_sb.h
  7.  *
  8.  * Copyright (C) 1995 by Paal-Kr. Engstad and Volker Lendecke
  9.  * Modified for use with AmigaOS by Olaf Barthel <olsen@sourcery.han.de>
  10.  */
  11.  
  12. #ifndef _SMB_FS_SB
  13. #define _SMB_FS_SB
  14.  
  15. #include <smb/smb.h>
  16. #include <smb/smb_mount.h>
  17.  
  18. struct smb_server
  19. {
  20.   enum smb_protocol protocol;   /* The protocol this
  21.                                    connection accepts. */
  22.  
  23.   word max_xmit;
  24.   int max_recv;                 /* added by CS */
  25.   word server_uid;
  26.   word tid;
  27.  
  28.   struct smb_mount_data mount_data; /* We store the complete information here
  29.                                        to be able to reconnect.
  30.                                      */
  31.  
  32.   unsigned short rcls;          /* The error codes we received */
  33.   unsigned short err;
  34.   unsigned char *packet;
  35.  
  36.   int security_mode;
  37.   unsigned char crypt_key[8];
  38.  
  39.   struct smba_server * abstraction;
  40.  
  41.   enum smb_conn_state state;
  42.  
  43.   /* The following are LANMAN 1.0 options transferred to us in
  44.      SMBnegprot */
  45.   word maxxmt;
  46.   word blkmode;
  47.   dword sesskey;
  48. };
  49.  
  50. #endif
  51.