99 lines
2.7 KiB
C
99 lines
2.7 KiB
C
/* $XConsortium: CanvasError.h /main/3 1995/10/26 12:18:11 rswiston $ */
|
|
/************************************<+>*************************************
|
|
****************************************************************************
|
|
**
|
|
** File: CanvasError.h
|
|
**
|
|
** Project: CacheCreeek (Rivers) Project.
|
|
**
|
|
**
|
|
** Description: Private defines CE errors.
|
|
**
|
|
**
|
|
** (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 Hewlett-Packard Company
|
|
**
|
|
** (c) Copyright 1993, 1994 Hewlett-Packard Company
|
|
** (c) Copyright 1993, 1994 International Business Machines Corp.
|
|
** (c) Copyright 1993, 1994 Sun Microsystems, Inc.
|
|
** (c) Copyright 1993, 1994 Novell, Inc.
|
|
**
|
|
**
|
|
****************************************************************************
|
|
************************************<+>*************************************/
|
|
#ifndef _CECanvasError_h
|
|
#define _CECanvasError_h
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
/*
|
|
* library generated errors in the system variable 'errno'
|
|
*/
|
|
#define CEErrorReported 0
|
|
#define CEErrorExceedMaxSize -1
|
|
#define CEErrorIllegalDatabaseFile -2
|
|
#define CEErrorIllegalKeyword -3
|
|
#define CEErrorIllegalPath -4
|
|
#define CEErrorIllegalResource -5
|
|
#define CEErrorLocIdNotFound -6
|
|
#define CEErrorMalloc -7
|
|
|
|
#define CEErrorMissingAbstractRes -10
|
|
#define CEErrorMissingFilenameRes -11
|
|
#define CEErrorMissingFileposRes -12
|
|
#define CEErrorMissingKeywordsRes -13
|
|
#define CEErrorMissingTitleRes -14
|
|
#define CEErrorMissingTopTopicRes -15
|
|
#define CEErrorMissingTopicList -16
|
|
#define CEErrorNoKeywordList -17
|
|
|
|
/*
|
|
* Formatting errors.
|
|
*/
|
|
#define CEErrorMissingTopicCmd -20
|
|
#define CEErrorMissingTitleCmd -21
|
|
|
|
#define CEErrorFormattingCmd -30
|
|
#define CEErrorFormattingId -31
|
|
#define CEErrorFormattingLabel -32
|
|
#define CEErrorFormattingLink -33
|
|
#define CEErrorFormattingTitle -34
|
|
#define CEErrorFormattingValue -35
|
|
#define CEErrorFormattingOption -36
|
|
|
|
#define CEErrorHyperType -40
|
|
#define CEErrorHyperSpec -41
|
|
#define CEErrorHyperNotFound -42
|
|
#define CEErrorHyperTitle -43
|
|
|
|
#define CEErrorIllegalInfo -45
|
|
#define CEErrorReadEmpty -46
|
|
#define CEErrorFileSeek -47
|
|
|
|
#define CEErrorParagraphValue -50
|
|
#define CEErrorParagraphOption -51
|
|
#define CEErrorTopicSyntax -52
|
|
#define CEErrorFontSpec -53
|
|
|
|
#define CEErrorAbbrevSyntax -60
|
|
#define CEErrorTitleSyntax -61
|
|
#define CEErrorFigureSyntax -62
|
|
#define CEErrorGraphicSyntax -63
|
|
#define CEErrorFontSyntax -64
|
|
#define CEErrorIdSyntax -65
|
|
#define CEErrorLabelSyntax -66
|
|
#define CEErrorLinkSyntax -67
|
|
#define CEErrorNewLineSyntax -68
|
|
#define CEErrorParagraphSyntax -69
|
|
#define CEErrorOctalSyntax -70
|
|
|
|
|
|
#ifdef __cplusplus
|
|
} /* Close scope of 'extern "C"' declaration which encloses file. */
|
|
#endif
|
|
|
|
#endif /* _CECanvasError_h */
|
|
/* DON'T ADD ANYTHING AFTER THIS #endif */
|