home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: InfoMgt / InfoMgt.zip / MAILMIND.ZOO / NETERROR.H < prev    next >
Text File  |  1990-12-13  |  2KB  |  57 lines

  1. /* neterror.h - NETBIOS error codes
  2.  * adapted from Nance B., Network Programming in C, Carmel, IN: Que, 1990
  3.  * Division of Cancer Prevention & Control, NCI
  4.  */
  5.  
  6. /* Revision history:
  7.  * 1.00  tam  12/13/90  first release
  8.  */
  9.  
  10. /* Program notes:
  11.  * This array was removed from netbios.h for memory conservation
  12.  */
  13.  
  14. /* NetBIOS error return messages */
  15. char    *net_error_message[] = {
  16.         "success",                      /*  00  */
  17.         "invalid buffer length",        /*  01  */
  18.         "ret code 02",                  /*  02  */
  19.         "invalid command",              /*  03  */
  20.         "ret code 04",                  /*  04  */
  21.         "timed out",                    /*  05  */
  22.         "buffer too small",             /*  06  */
  23.         "ret code 07",                  /*  07  */
  24.         "invalid session num",          /*  08  */
  25.         "no resource",                  /*  09  */
  26.         "session closed",               /*  0A  */
  27.         "command cancelled",            /*  0B  */
  28.         "ret code 0C",                  /*  0C  */
  29.         "dupl. local name",             /*  0D  */
  30.         "name table full",              /*  0E  */
  31.         "active session",               /*  0F  */
  32.         "ret code 10",                  /*  10  */
  33.         "session table full",           /*  11  */
  34.         "no one listening",             /*  12  */
  35.         "invalid name num",             /*  13  */
  36.         "no answer",                    /*  14  */
  37.         "no local name",                /*  15  */
  38.         "name in use",                  /*  16  */
  39.         "name is deleted",              /*  17  */
  40.         "abnormal end",                 /*  18  */
  41.         "name conflict",                /*  19  */
  42.         "ret code 1A",                  /*  1A  */
  43.         "ret code 1B",                  /*  1B  */
  44.         "ret code 1C",                  /*  1C  */
  45.         "ret code 1D",                  /*  1D  */
  46.         "ret code 1E",                  /*  1E  */
  47.         "ret code 1F",                  /*  1F  */
  48.         "ret code 20",                  /*  20  */
  49.         "card busy",                    /*  21  */
  50.         "too many cmds",                /*  22  */
  51.         "invalid card num",             /*  23  */
  52.         "cancel done",                  /*  24  */
  53.         "ret code 25",                  /*  25  */
  54.         "cannot cancel"                 /*  26  */
  55.         };
  56.  
  57.