tldm-universe/Ardent/UV/gcidir/include/filefix_errors.h

66 lines
2.0 KiB
C
Raw Permalink Normal View History

2024-09-09 21:51:08 +00:00
/******************************************************************************
*
* fix_errors.h - fix files error include file.
*
* Module %M% Version %I% Date %H%
*
* (c) Copyright 1998 Ardent Software Inc. - All Rights Reserved
* This is unpublished proprietary source code of Ardent Software Inc.
* The copyright notice above does not evidence any actual or intended
* publication of such source code.
*
*******************************************************************************
*
* Maintenence log - insert most recent change descriptions at top
*
* Date.... GTAR# WHO Description.........................................
* 05/07/99 24993 WSM Changes for new style files (64-bit file project).
* 10/14/98 23801 SAP Change copyrights.
* 10/14/98 23801 SAP Change copyrights.
* 08/23/98 23768 DJD Module Created.
*
******************************************************************************/
/* File failures*/
#define E_INVALID_FILETYPE 10
#define E_UNABLE_TO_OPEN_OVER 11
#define E_UNABLE_TO_OPEN_DATA 12
#define E_DATA_NO_OVER 13
#define E_UNABLE_TO_DBOPEN_FILE 14
#define E_NO_LOCK 15
#define E_FILE_TOO_SMALL 16
#define E_BAD_SEEK 17
#define E_BAD_READ_FREECHAIN 18
#define E_UNSUPPORTED_FILE_REV 19
#define E_BAD_READ_GROUP 20
#define E_BAD_GROUP_NUM 21
#define E_TYPE1FILE 22
#define E_TYPE19FILE 23
#define E_UNSUPPORTED_64BIT 24
/* seek failures */
#define E_BAD_SEEK_PRIMARY 51
#define E_BAD_SEEK_OVER 52
#define E_SEEK_FAILED 53
/* logging failures */
#define E_CANT_CREATE_LOGDIR 101
#define E_CANT_CREATE_LOGFILE 102
#define E_CANT_CREATE_DUMPDIR 103
#define E_CANT_CREATE_DUMPFILE 104
#define E_WRITE_FAILED_SHORT 105
#define E_BAD_SCAN_LEVEL 200
#define E_FATAL 666
/* Error types */
#define FIXED 4 /* error is fixed */
#define FATAL 2 /* error is fatal */
#define NONFATAL 1 /* error but not fatal */
/* Error tokens */
#define ALLERRORS 2 /* All Errors */
#define FATALERRORS 1 /* Fatal errors only */