home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / sd386v50.zip / sd386src.zip / NETBIOS.H < prev    next >
Text File  |  1994-10-12  |  2KB  |  42 lines

  1. /*****************************************************************************/
  2. /* - Netbios supports a primary and an alternae adapter. For now, we         */
  3. /*   will only support the primary adapter.                                  */
  4. /*****************************************************************************/
  5. #define  PRIMARY_ADAPTER   0
  6.  
  7. /*****************************************************************************/
  8. /* - some defines specifing whether we want to request resources from        */
  9. /*   or release resources to the netbios pool.                               */
  10. /*****************************************************************************/
  11. #define  REQUEST           0
  12. #define  RELEASE           1
  13.  
  14. /*****************************************************************************/
  15. /* - some defines specifying whether we want to make a call to another       */
  16. /*   machine or answer a call from another machine.                          */
  17. /*****************************************************************************/
  18. #define  NETBIOS_CALL      0
  19. #define  NETBIOS_ANSWER    1
  20.  
  21. /*****************************************************************************/
  22. /* - defines for some likely netbios errors.                                 */
  23. /*****************************************************************************/
  24. #define INADEQUATE_SESSIONS  1
  25. #define INADEQUATE_COMMANDS  2
  26. #define INADEQUATE_NAMES     3
  27. #define CANT_LOAD_NETB_DLL   4
  28.  
  29. /*****************************************************************************/
  30. /* - logical name headers for the different ends of a connection. These      */
  31. /*   will be appended by a user defined name taken from the /n option.       */
  32. /*****************************************************************************/
  33. #define MAX_LSN_NAME 16
  34. #define LSN_RES_NAME 3                  /* num chars reserved by debugger.   */
  35.  
  36. #define LSN_DBG    "Sd3"
  37. #define LSN_ESP    "Esp"
  38.  
  39. typedef struct network_control_block  NCB;
  40. typedef struct ncb_reset              NCB_RESET;
  41. typedef struct ncb_status_information NCB_STATUS_INFO;
  42.