home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / UNIX / Web / Utilities / wwwcount-2.3 / combine / errcds.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-05-02  |  1.6 KB  |  104 lines

  1. /*
  2.  *    errcodes.h    -    various error codes for miv
  3.  *
  4.  *    RCS:
  5.  *        $Revision: 2.3 $
  6.  *        $Date: 1996/05/03 02:21:34 $
  7.  *
  8.  *    Security:
  9.  *        Unclassified
  10.  *
  11.  *    Description:
  12.  *        text
  13.  *
  14.  *    Dependencies:
  15.  *        file1.h
  16.  *
  17.  *    Comments:
  18.  *        text
  19.  *
  20.  *    Development History:
  21.  *        when    who        why
  22.  *    4/21/94        mm        needs a organized list of error codes
  23.  */
  24.  
  25. #ifndef ERRCODES_H
  26. #define ERRCODES_H
  27.  
  28. /*
  29. ** X Related
  30. */
  31.  
  32. #define    MALLOC_FAILED_STANDARD_COLORMAP    300
  33.  
  34. #define OPEN_FAILED                99
  35. /*
  36. **    TIFF FILES
  37. */
  38.  
  39. #define    UNABLE_TO_OPEN_TIFF        100
  40. #define    MALLOC_FAILED            101
  41. #define    UNABLE_TO_READ_TIFF        102
  42. #define NO_TIFF_LIBRARY            103
  43.  
  44. #define UNKNOWN_IMAGE_TYPE      104
  45.  
  46. /*
  47. ** GRAY scale and RGB image Error codes
  48. */
  49.  
  50. #define    MALLOC_FAILED_IMAGE_PIXELS        200
  51. #define MALLOC_FAILED_IMAGE_COLORMAP    201
  52. #define MALLOC_FAILED_PICTURE            202
  53. #define READ_DATA_FAILED                203
  54.  
  55. /*
  56. ** TGA FILES
  57. */
  58. #define NOT_A_TARGA_FILE                300
  59. #define EMPTY_IMAGE_STRUCT                301
  60. #define    INVALID_PARAMETERS                308
  61. #define NO_IMAGE_DATA                    309
  62. /*
  63. ** SUN_RASTER Files
  64. */
  65. #define NOT_A_SUNRASTER                    302
  66. #define UNKNOWN_COLORMAP_TYPE            303
  67.  
  68. /*
  69. **    XWD FILES
  70. */
  71. #define    XWD_VERSION_MISMATCH            304
  72. #define XWD_HEADER_TOOSMALL                305
  73. #define XWD_INVALID_HEADER                306
  74. #define    XWD_COLORMAP_READERR            307
  75.  
  76. /*
  77. ** GIF
  78. */
  79.  
  80. #define READ_ERROR                        314
  81. #define NOT_A_GIF_FILE                    315
  82. #define FAILED_TO_READ_SCREEND            316
  83. #define    READ_ERR_EXT_BLOCK                317
  84. #define READ_ERR_WIDTH_HEIGHT            318
  85. #define CORRUPT_GIF_IMAGE                319
  86.  
  87. /*
  88. ** JPEG
  89. */
  90.  
  91. #define UNABLE_TO_DISPLAY_JPEG            320
  92. #define JPEG_LIBRARY_NOT_AVAILABLE        322
  93. /*
  94. ** XBM
  95. */
  96. #define INVALID_XBM_FILE                321
  97.  
  98. /*
  99. ** Write
  100. */
  101. #define    FAILED_TO_OPEN_FILE                400
  102.  
  103. #endif    /* ERRCODES_H */
  104.