home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / n / netbioc.zip / COMMON.H < prev    next >
C/C++ Source or Header  |  1992-03-01  |  997b  |  42 lines

  1. /***************************************************************************
  2.  *  COMMON.H                                   *
  3.  *    This file contains common declarations                   *
  4.  *                                       *
  5.  *                                       *
  6.  *      ClearNcb () - Clears a NCB                       *
  7.  *                                       *
  8.  *  History:    Alok Sinha  October, 1991    Created               *
  9.  *                                       *
  10.  ***************************************************************************/
  11.  
  12. #ifndef COMMON_INCLUDED
  13. #define COMMON_INCLUDED
  14.  
  15. #ifndef NETNCB_INCLUDED
  16. #include <ncb.h>
  17. #endif
  18.  
  19. void           ClearNcb       ( NCB far *pNcb);
  20. unsigned char  NetBiosRequest ( NCB far *pNcb);
  21. int           NetInit          ( unsigned char ucLana);
  22. int           NetCleanUp     ( int Result);
  23.  
  24. // Common Defines
  25. #ifndef NO_ERROR
  26. #define NO_ERROR  0
  27. #endif
  28.  
  29. #ifndef ERROR_INVALID_PARAMETER
  30. #define ERROR_INVALID_PARAMETER 87
  31. #endif
  32.  
  33. #ifndef BOOL
  34. #define BOOL unsigned short
  35. #define TRUE   0
  36. #define FALSE  1
  37. #endif
  38.  
  39. #define NETBIOS_CALL  0x5C
  40.  
  41. #endif /*  COMMON_INCLUDED  */
  42.