Merge branch 'master' into cde-next
[oweals/cde.git] / cde / lib / DtHelp / CanvasError.h
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
6  * These libraries and programs are free software; you can
7  * redistribute them and/or modify them under the terms of the GNU
8  * Lesser General Public License as published by the Free Software
9  * Foundation; either version 2 of the License, or (at your option)
10  * any later version.
11  *
12  * These libraries and programs are distributed in the hope that
13  * they will be useful, but WITHOUT ANY WARRANTY; without even the
14  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  * PURPOSE. See the GNU Lesser General Public License for more
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with these libraries and programs; if not, write
20  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21  * Floor, Boston, MA 02110-1301 USA
22  */
23 /* $XConsortium: CanvasError.h /main/3 1995/10/26 12:18:11 rswiston $ */
24 /************************************<+>*************************************
25  ****************************************************************************
26  **
27  **   File:        CanvasError.h
28  **
29  **   Project:     CacheCreeek (Rivers) Project.
30  **
31  **   
32  **   Description: Private defines CE errors.
33  **
34  **
35  **  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 Hewlett-Packard Company
36  **
37  **  (c) Copyright 1993, 1994 Hewlett-Packard Company
38  **  (c) Copyright 1993, 1994 International Business Machines Corp.
39  **  (c) Copyright 1993, 1994 Sun Microsystems, Inc.
40  **  (c) Copyright 1993, 1994 Novell, Inc.
41  **
42  **
43  ****************************************************************************
44  ************************************<+>*************************************/
45 #ifndef _CECanvasError_h
46 #define _CECanvasError_h
47
48 #ifdef __cplusplus
49 extern "C" {
50 #endif
51
52
53 /*
54  * library generated errors in the system variable 'errno'
55  */
56 #define CEErrorReported                   0
57 #define CEErrorExceedMaxSize             -1
58 #define CEErrorIllegalDatabaseFile       -2
59 #define CEErrorIllegalKeyword            -3
60 #define CEErrorIllegalPath               -4
61 #define CEErrorIllegalResource           -5
62 #define CEErrorLocIdNotFound             -6
63 #define CEErrorMalloc                    -7
64
65 #define CEErrorMissingAbstractRes       -10
66 #define CEErrorMissingFilenameRes       -11
67 #define CEErrorMissingFileposRes        -12
68 #define CEErrorMissingKeywordsRes       -13
69 #define CEErrorMissingTitleRes          -14
70 #define CEErrorMissingTopTopicRes       -15
71 #define CEErrorMissingTopicList         -16
72 #define CEErrorNoKeywordList            -17
73
74 /*
75  * Formatting errors.
76  */
77 #define CEErrorMissingTopicCmd          -20
78 #define CEErrorMissingTitleCmd          -21
79
80 #define CEErrorFormattingCmd            -30
81 #define CEErrorFormattingId             -31
82 #define CEErrorFormattingLabel          -32
83 #define CEErrorFormattingLink           -33
84 #define CEErrorFormattingTitle          -34
85 #define CEErrorFormattingValue          -35
86 #define CEErrorFormattingOption         -36
87
88 #define CEErrorHyperType                -40
89 #define CEErrorHyperSpec                -41
90 #define CEErrorHyperNotFound            -42
91 #define CEErrorHyperTitle               -43
92
93 #define CEErrorIllegalInfo              -45
94 #define CEErrorReadEmpty                -46
95 #define CEErrorFileSeek                 -47
96
97 #define CEErrorParagraphValue           -50
98 #define CEErrorParagraphOption          -51
99 #define CEErrorTopicSyntax              -52
100 #define CEErrorFontSpec                 -53
101
102 #define CEErrorAbbrevSyntax             -60
103 #define CEErrorTitleSyntax              -61
104 #define CEErrorFigureSyntax             -62
105 #define CEErrorGraphicSyntax            -63
106 #define CEErrorFontSyntax               -64
107 #define CEErrorIdSyntax                 -65
108 #define CEErrorLabelSyntax              -66
109 #define CEErrorLinkSyntax               -67
110 #define CEErrorNewLineSyntax            -68
111 #define CEErrorParagraphSyntax          -69
112 #define CEErrorOctalSyntax              -70
113
114
115 #ifdef __cplusplus
116 }  /* Close scope of 'extern "C"' declaration which encloses file. */
117 #endif
118
119 #endif /* _CECanvasError_h */
120 /* DON'T ADD ANYTHING AFTER THIS #endif */