CanvasError.h 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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. #ifdef __cplusplus
  48. extern "C" {
  49. #endif
  50. /*
  51. * library generated errors in the system variable 'errno'
  52. */
  53. #define CEErrorReported 0
  54. #define CEErrorExceedMaxSize -1
  55. #define CEErrorIllegalDatabaseFile -2
  56. #define CEErrorIllegalKeyword -3
  57. #define CEErrorIllegalPath -4
  58. #define CEErrorIllegalResource -5
  59. #define CEErrorLocIdNotFound -6
  60. #define CEErrorMalloc -7
  61. #define CEErrorMissingAbstractRes -10
  62. #define CEErrorMissingFilenameRes -11
  63. #define CEErrorMissingFileposRes -12
  64. #define CEErrorMissingKeywordsRes -13
  65. #define CEErrorMissingTitleRes -14
  66. #define CEErrorMissingTopTopicRes -15
  67. #define CEErrorMissingTopicList -16
  68. #define CEErrorNoKeywordList -17
  69. /*
  70. * Formatting errors.
  71. */
  72. #define CEErrorMissingTopicCmd -20
  73. #define CEErrorMissingTitleCmd -21
  74. #define CEErrorFormattingCmd -30
  75. #define CEErrorFormattingId -31
  76. #define CEErrorFormattingLabel -32
  77. #define CEErrorFormattingLink -33
  78. #define CEErrorFormattingTitle -34
  79. #define CEErrorFormattingValue -35
  80. #define CEErrorFormattingOption -36
  81. #define CEErrorHyperType -40
  82. #define CEErrorHyperSpec -41
  83. #define CEErrorHyperNotFound -42
  84. #define CEErrorHyperTitle -43
  85. #define CEErrorIllegalInfo -45
  86. #define CEErrorReadEmpty -46
  87. #define CEErrorFileSeek -47
  88. #define CEErrorParagraphValue -50
  89. #define CEErrorParagraphOption -51
  90. #define CEErrorTopicSyntax -52
  91. #define CEErrorFontSpec -53
  92. #define CEErrorAbbrevSyntax -60
  93. #define CEErrorTitleSyntax -61
  94. #define CEErrorFigureSyntax -62
  95. #define CEErrorGraphicSyntax -63
  96. #define CEErrorFontSyntax -64
  97. #define CEErrorIdSyntax -65
  98. #define CEErrorLabelSyntax -66
  99. #define CEErrorLinkSyntax -67
  100. #define CEErrorNewLineSyntax -68
  101. #define CEErrorParagraphSyntax -69
  102. #define CEErrorOctalSyntax -70
  103. #ifdef __cplusplus
  104. } /* Close scope of 'extern "C"' declaration which encloses file. */
  105. #endif
  106. #endif /* _CECanvasError_h */
  107. /* DON'T ADD ANYTHING AFTER THIS #endif */