/*  
**  exterr.h		ANSI C++, ANSI C, and K&R Runtime Library
**
**  Copyright (C)	Microway, Inc. 1987 - 1994.
**			P.O. BOX 79
**			Kingston, MA. 02364
**			(508) 746 - 7341 Voice
**			(508) 746 - 4678 FAX
**			e-mail uunet!microway!mark
**			       mark@microway.com
**
**  This program is the property of Microway, Inc, its contents are
**  proprietary information and no part of it is to be disclosed to anyone
**  except employees of Microway, Inc., or as agreed in writing by the
**  President of Microway, Inc.
*/

#ifndef _EXTERR_H
#define _EXTERR_H

#ifndef _OS_H

extern int ext_error;

#define EXNOERR 00  /* no error */
#define EXFUNCT 01  /* Invalid service function */
#define EXFNF   02  /* file not found */
#define EXPNF   03  /* path not found */
#define EXFILES 04  /* too many open files */
#define EXACCES 05  /* access denied */
#define EXHANDL  6  /* invalid file handle */
#define EXMEMC  07  /* memory control blocks corrupt */
#define EXNOMEM 08  /* not enough RAM */
#define EXADDR  09  /* invalid address */
#define EXENV   10  /* environment error */
#define EXFRMT  11  /* invalid format */
#define EXACODE 12  /* access code error */
#define EXDATA  13  /* data error */
/* #define 14 */
#define EXDRIVE 15  /* invalid drive */
#define EXCDIR  16  /* attempt to remove current directory */
#define EXNSD   17  /* not same device */
#define EXNMFLS 18  /* no more files */
#define EXWPD   19  /* write-protected diskette */
#define EXDEVQ  20  /* unknown device */
#define EXDNR   21  /* drive not ready */
#define EXCOMQ  22  /* unknown command */
#define EXCRC   23  /* CRC error */
#define EXBRSL  24  /* bad request structure length */
#define EXSEEK  25  /* seek error */
#define EXMEDIA 26  /* unknown media type */
#define EXSECNF 27  /* sector not found */
#define EXPAPER 28  /* printer out of paper */
#define EXWRITE 29  /* write fault */
#define EXREAD  30  /* read fault */
#define EXFAIL  31  /* general failure */
#define EXSHARE 32  /* sharing violation */
#define EXLOCK  33  /* lock violation */
#define EXCHGD  34  /* changed disk */
#define EXFCB   35  /* FCB unavailable */
#define EXSHBUF 36  /* sharing buffer overflow */
/* #define 37 */
/* #define 38 */
/* #define 39 */
/* #define 40 */
/* #define 41 */
/* #define 42 */
/* #define 43 */
/* #define 44 */
/* #define 45 */
/* #define 46 */
/* #define 47 */
/* #define 48 */
/* #define 49 */
#define EXNETRQ 50  /* network request not supported */
#define EXDEVNL 51  /* remote device not listening */
#define EXDUPNM 52  /* duplicate name on network */
#define EXNAMNF 53  /* network name not found */
#define EXNBSY  54  /* network busy */
#define EXNETDV 55  /* network device does not exist */
#define EXNBIOS 56  /* net BIOS command limit exceeded */
#define EXNHWR  57  /* network hardware error */
#define EXNRESP 58  /* incorrect response from network */
#define EXNETQ  59  /* unexpected network error */
#define EXBADNA 60  /* incompatible remote adapter */
#define EXQUEUE 61  /* print queue full */
#define EXPFSIZ 62  /* not enough space for print file */
#define EXPFDEL 63  /* print file was deleted */
#define EXNNDEL 64  /* network name was deleted */
#define EXACDEN 65  /* access denied */
#define EXNETTP 66  /* network device type incorrect */
#define EXNNOTF 67  /* network name not found */
#define EXNAMLM 68  /* network name limit exceeded */
#define EXSESLM 69  /* session limit exceeded */
#define EXPAUSE 70  /* temporarily paused */
#define EXREQNA 71  /* network request not accepted */
#define EXREDP  72  /* print or disk redirection is paused */
/* #define 73 */
/* #define 74 */
/* #define 75 */
/* #define 76 */
/* #define 77 */
/* #define 78 */
/* #define 79 */
#define EXFXSTS 80  /* file exists */
/* #define 81 */ 
#define EXNOENT 82  /* cannot make directory entry */
#define EXINT24 83  /* INT 24 failure */
#define EXREDIR 84  /* too many redirections */
#define EXDPDIR 85  /* duplicate redirection */
#define EXPSWRD 86  /* password not vaild */
#define EXPARM  87  /* invalid parameter */
#define EXNDFLT 88  /* network device fault */

#endif /* _OS_H */

#endif /* _EXTERR_H */
