home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / NETCLB35.ZIP / NETCLB35.EXE / INCLUDE / NWWRKSTN.H < prev   
C/C++ Source or Header  |  1996-01-03  |  2KB  |  56 lines

  1. #ifndef NWWRKSTN_H
  2. #define NWWRKSTN_H
  3.  
  4. /***********************************/
  5. /* Workstation Services prototypes */
  6. /***********************************/
  7.  
  8. typedef struct {
  9.    byte    slot_in_use;
  10.    byte    servers_order_number;
  11.    byte    servers_network_number[4];
  12.    byte    physical_node_address[6];
  13.    int     socket_number;
  14.    word    receive_timeout;
  15.    byte    routers_physical_node_address[6];
  16.    byte    packet_sequence_number;
  17.    byte    connection_number;
  18.    byte    connection_status;
  19.    word    maximum_time_out;
  20.    word    connection_word;
  21.    byte    major_server_version;
  22.    byte    server_flags;
  23.    byte    minor_server_version;
  24.    } CONNECTION_ID_TABLE;          /* GetConnectionIDTable */
  25.  
  26. #ifdef __cplusplus
  27. extern "C" {
  28. #endif
  29. void  EndOfJob(void);
  30. int   GetConnectionIDTable(CONNECTION_ID_TABLE *table);
  31. int   GetDefaultConnectionID(void);
  32. void  GetDriveConnectionID(char *table);
  33. void  GetDriveFlagTable(char *table);
  34. void  GetDriveHandleTable(char *table);
  35. void  GetFileServerName(int serverID,char *serverName);
  36. void  GetFileServerTable(char *table);
  37. void  GetNetwareShellVersion(char *shellInfo,
  38.                  byte *majorVersion,byte *minorVersion,
  39.                  byte *revisionLevel,byte *shellType);
  40. int   GetNumberOfLocalDrives(void);
  41. int   GetPreferredConnectionID(void);
  42. int   GetPrimaryConnectionID(void);
  43. int   GetServerConnectionID(char *serverName,
  44.                  int *connectionID);
  45. int   IsShellLoaded(void);
  46. void  SetDriveConnectionID(char *table);
  47. int   SetEndofJobStatus(int NewStatus);
  48. int   SetNWErrorMode(int NewMode);
  49. void  SetPreferredConnectionID(int connection_id);
  50. void  SetPrimaryConnectionID(int connection_id);
  51. #ifdef __cplusplus
  52. }
  53. #endif
  54.  
  55. #endif
  56.