home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / modules / libimg / src / il_errp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  2.1 KB  |  78 lines

  1. /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2.  *
  3.  * The contents of this file are subject to the Netscape Public License
  4.  * Version 1.0 (the "NPL"); you may not use this file except in
  5.  * compliance with the NPL.  You may obtain a copy of the NPL at
  6.  * http://www.mozilla.org/NPL/
  7.  *
  8.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10.  * for the specific language governing rights and limitations under the
  11.  * NPL.
  12.  *
  13.  * The Initial Developer of this code under the NPL is Netscape
  14.  * Communications Corporation.  Portions created by Netscape are
  15.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16.  * Reserved.
  17.  */
  18.  
  19. /* -*- Mode: C; tab-width: 8 -*-
  20.    il_errp.h - Image Library error codes.
  21.  */
  22.  
  23.  
  24. #ifndef _IL_ERRORS_H
  25. #define _IL_ERRORS_H
  26.  
  27. /* XXXM12N Old Netlib error codes used by Image Library.  */
  28.  
  29. /*
  30.  * Return codes
  31.  */
  32.  
  33. #define MK_INTERRUPTED            -201
  34. #define MK_IMAGE_LOSSAGE        -277
  35.  
  36.  
  37. #ifndef M12N                    /* XXXM12N */
  38. #define MK_UNABLE_TO_CONVERT        -208
  39.  
  40. #define MK_UNABLE_TO_LOGIN        -210
  41.  
  42. #define MK_NO_NEWS_SERVER        -224
  43. #define MK_USE_FTP_INSTEAD        -225
  44. #define MK_USE_COPY_FROM_CACHE        -226
  45. #define MK_EMPTY_NEWS_LIST              -227
  46.  
  47. #define MK_MAILTO_NOT_READY        -228
  48.  
  49. #define MK_OBJECT_NOT_IN_CACHE        -239
  50.  
  51. #define MK_UNABLE_TO_LISTEN_ON_SOCKET   -244
  52.  
  53. #define MK_WAITING_FOR_LOOKUP        -248    /* response for async dns */
  54. #define MK_DO_REDIRECT            -249    /* tells mkgeturl to redirect */
  55.  
  56. #define MK_MIME_NEED_B64        -270    /* used internally */
  57. #define MK_MIME_NEED_QP            -271    /* used internally */
  58. #define MK_MIME_NEED_TEXT_CONVERTER    -272    /* used internally */
  59. #define MK_MIME_NEED_PS_CONVERTER    -273    /* used internally */
  60.  
  61. #define MK_TOO_MANY_OPEN_FILES        -310
  62.  
  63. #define MK_FILE_WRITE_ERROR        -350
  64.  
  65. #define MK_GET_REST_OF_PARTIAL_FILE_FROM_NETWORK    -399
  66.  
  67. #define MK_MULTIPART_MESSAGE_COMPLETED    -437
  68.  
  69.  
  70. /* success codes */
  71. #define MK_DATA_LOADED        1
  72. #define MK_NO_DATA        2
  73. #define MK_NO_ACTION        3
  74. #define MK_CHANGING_CONTEXT    4
  75. #endif /* M12N */
  76.  
  77. #endif /* _IL_ERRORS_H */
  78.