home *** CD-ROM | disk | FTP | other *** search
/ Network Support Encyclopedia 96-1 / novell-nsepro-1996-1-cd2.iso / download / netware / os2hdr.exe / NETBIOS.H < prev    next >
C/C++ Source or Header  |  1993-06-21  |  1KB  |  51 lines

  1. /* Copyright (C) 1988 by Novell, Inc.  All Rights Reserved.  Mod:  8/04/88 */
  2. #ifndef API_FUNCTION
  3. #define API_FUNCTION NWAPI
  4. #endif
  5.  
  6. extern API_FUNCTION 
  7.   NetBiosEnum( char NWPTR, short, char NWPTR, unsigned short, 
  8.             unsigned short NWPTR, unsigned short NWPTR);
  9.  
  10. extern API_FUNCTION 
  11.   NetBiosGetInfo( char NWPTR, char NWPTR, short, char NWPTR, 
  12.             unsigned short, unsigned short NWPTR );
  13.  
  14. extern API_FUNCTION 
  15.   NetBiosOpen( char NWPTR, char NWPTR, unsigned short, unsigned short NWPTR );
  16.  
  17. extern API_FUNCTION 
  18.   NetBiosClose( unsigned short, unsigned short );
  19.  
  20. extern API_FUNCTION 
  21.   NetBiosSubmit( unsigned short, unsigned short, struct ncb NWPTR);
  22.  
  23.  
  24. struct netbios_info_0 {
  25.     char        nb0_net_name[NETBIOS_NAME_LEN+1];
  26. };
  27.  
  28. struct netbios_info_1 {
  29.     char        nb1_net_name[NETBIOS_NAME_LEN+1];
  30.     char        nb1_driver_name[DEVLEN+1];
  31.     unsigned char    nb1_lana_num;
  32.     char        nb1_pad_1;
  33.     unsigned short    nb1_driver_type;
  34.     unsigned short    nb1_net_status;
  35.     unsigned long    nb1_net_bandwidth;
  36.     unsigned short    nb1_max_sess;
  37.     unsigned short    nb1_max_ncbs;
  38.     unsigned short    nb1_max_names;
  39. };
  40.  
  41.  
  42. #define    NB_TYPE_NCB    1
  43. #define    NB_TYPE_MCB    2
  44.  
  45. #define NB_LAN_MANAGED    0x0001
  46. #define NB_LAN_LOOPBACK    0x0002
  47.  
  48. #define    NB_REGULAR    1 
  49. #define    NB_PRIVILEGED    2
  50. #define    NB_EXCLUSIVE    3 
  51.