home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / include / merrors.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  2.0 KB  |  75 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.  
  20. /* merrors.h --- error codes for netlib. */
  21.  
  22.  
  23. #ifndef _MERRORS_H_
  24. #define _MERRORS_H_
  25.  
  26. /*
  27.  * Return codes
  28.  */
  29.  
  30. #define MK_INTERRUPTED            -201
  31.  
  32. #define MK_UNABLE_TO_CONVERT        -208
  33.  
  34. #define MK_UNABLE_TO_LOGIN        -210
  35.  
  36. #define MK_NO_NEWS_SERVER        -224
  37. #define MK_USE_FTP_INSTEAD        -225
  38. #define MK_USE_COPY_FROM_CACHE        -226
  39. #define MK_EMPTY_NEWS_LIST              -227
  40.  
  41. #define MK_MAILTO_NOT_READY        -228
  42.  
  43. #define MK_OBJECT_NOT_IN_CACHE        -239
  44.  
  45. #define MK_UNABLE_TO_LISTEN_ON_SOCKET   -244
  46.  
  47. #define MK_WAITING_FOR_LOOKUP        -248    /* response for async dns */
  48. #define MK_DO_REDIRECT            -249    /* tells mkgeturl to redirect */
  49.  
  50. #define MK_MIME_NEED_B64        -270    /* used internally */
  51. #define MK_MIME_NEED_QP            -271    /* used internally */
  52. #define MK_MIME_NEED_TEXT_CONVERTER    -272    /* used internally */
  53. #define MK_MIME_NEED_PS_CONVERTER    -273    /* used internally */
  54.  
  55. #define MK_IMAGE_LOSSAGE        -277
  56.  
  57. #define MK_TOO_MANY_OPEN_FILES        -310
  58.  
  59. #define MK_FILE_WRITE_ERROR        -350
  60.  
  61. #define MK_GET_REST_OF_PARTIAL_FILE_FROM_NETWORK    -399
  62.  
  63. #define MK_MULTIPART_MESSAGE_COMPLETED    -437
  64.  
  65. #define MK_OFFLINE -438
  66.  
  67. /* success codes */
  68. #define MK_DATA_LOADED        1
  69. #define MK_NO_DATA        2
  70. #define MK_NO_ACTION        3
  71. #define MK_CHANGING_CONTEXT    4
  72.  
  73.  
  74. #endif /* _MERRORS_H_ */
  75.