/*static char *SCCSID = "@(#)ldefs.h    6.1 90/11/18";*/
/*static char *SCCSID = "@(#)ldefs.h      13.5 90/01/30";*/
/***    LDEFS.H - Local chkdsk definitions
 *
 *      CHKDSK
 *      Copyright (C) 1988 Microsoft Corp.
 *      Gregory A. Jones
 *
 *      Modification history:
 *      P.A. Williams   05/23/89    PTR B700212-Added CHK_BAD_EA_NAME_STR
 *      P.A. Williams   07/10/89    Update LEGAL_BITS to include DF_NEWNAME.
 */

#define INCL_DOSERRORS

#include <os2def.h>
#include <bse.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <malloc.h>
#include <comsub.h>
#include <defs.h>
#include <gdata.h>
#include <types.h>

/* @53562 - error codes copied from pchkdsk\ldefs.h */
/*
 * Definitions for exit codes
 */
#define SUCCESS_CODE    0       /* no error occurred */
#define ARG_ERROR       1       /* error in arguments */
#define OPEN_ERROR      2       /* error opening disk */
#define INSF_MEM_ERROR  3       /* insufficient memory */
#define READ_ERROR      4       /* error reading disk */
#define WRITE_ERROR     5       /* error writing disk */
#define INSF_DISK_ERROR 6       /* insufficient disk space */
#define NO_FNODES_ERROR 7       /* no FNODEs to rebuild system from */
#define NOT_PB_ERROR    8       /* not even a Pinball disk */
#define LOCK_ERROR      9       /* cannot lock the disk */

#define MAX_ERROR_CODE  10      /* minimum invalid error code */
