home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: InfoMgt / InfoMgt.zip / MAILMIND.ZOO / NETBIOS.INC < prev    next >
Text File  |  1991-02-18  |  934b  |  42 lines

  1. ;netbios.h - defines for NETBIOS calls
  2. ;adapted from Nance B., Network Programming in C, Carmel, IN: Que, 1990
  3. ;Division of Cancer Prevention & Control, NCI
  4.  
  5. ;Revision history:
  6. ;1.00  tam  01/31/91  first release
  7.  
  8. ;Program notes:
  9. ;The capitalizations of the NCB structure and defines is consistent with
  10. ;the 3Com documentation and not DCPC standards!
  11.  
  12. ;constants
  13. NETBIOS_NAME_LEN EQU 16
  14. MAX_PACKET       EQU 512
  15. MAX_NB_NAMES     EQU 15
  16.  
  17. ;commands
  18. RECEIVE_DATAGRAM EQU 161
  19. SEND_DATAGRAM    EQU 0a0h
  20.  
  21. ;Ncb structure
  22. NCB_STRUC  STRUC
  23. NCB_COMMAND  DB 0
  24. NCB_RETCODE  DB 0
  25. NCB_LSN      DB 0
  26. NCB_NUM      DB 0
  27. NCB_BUF_OFF  DW 0
  28. NCB_BUF_SEG  DW 0
  29. NCB_LENGTH   DW 0
  30. NCB_CALLNAME DB NETBIOS_NAME_LEN DUP (0)
  31. NCB_NAME     DB NETBIOS_NAME_LEN DUP (0)
  32. NCB_RTO      DB 0
  33. NCB_STO      DB 0
  34. NCB_POST_OFF DW 0
  35. NCB_POST_SEG DW 0
  36. NCB_LANA_NUM DB 0
  37. NCB_CMD_CPLT DB 0
  38. NCB_RESERVE  DB 14 DUP (0)
  39. NCB_STRUC  ENDS
  40.  
  41.  
  42.