home *** CD-ROM | disk | FTP | other *** search
/ Super Net 1 / SUPERNET_1.iso / PC / OTROS / MSDOS / WATTCP / WNWATTCP.ZIP / INCLUDE / ERRORS.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-02-28  |  851 b   |  37 lines

  1. /*
  2. *    Definitions for WATTCP error codes.
  3. */
  4.  
  5. #define SUCCESS        0
  6. #define ER_MAP        1
  7. #define ER_CALLBACK    2
  8. #define ER_DOSALLOC    3
  9. #define ER_CONF        4
  10. #define ER_PINGNET    5
  11. #define ER_RESOLVE    6
  12. #define ER_PKTDINIT    7
  13. #define ER_NOPKTD    8
  14. #define ER_PKTDTYPE    9
  15. #define ER_PKTDACCESS    10
  16. #define ER_ETHADDR    11
  17. #define ER_PKTDRELSE    12
  18. extern char *error_msgs[];
  19.  
  20. #ifdef DECLARE_STRINGS
  21. char *error_msgs[] = {
  22.     "No error",
  23.     "Can't map in low memory.",
  24.     "Can't create callback address",
  25.     "Can't map/alloc DOS memory.",
  26.     "Can't configure.",
  27.     "Cannot ping a network!",
  28.     "Cannot resolve host's hardware address.",
  29.     "Error initializing packet driver.",
  30.     "No packet driver found.",
  31.     "Only ethernet packet drivers allowed.",
  32.     "Error accessing packet type.",
  33.     "Error reading ethernet address.",
  34.     "Error releasing packet type."
  35. };
  36. #endif
  37.