Back to index

lightning-sunbird  0.9+nobinonly
prerr.h
Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
00002 /* ***** BEGIN LICENSE BLOCK *****
00003  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
00004  *
00005  * The contents of this file are subject to the Mozilla Public License Version
00006  * 1.1 (the "License"); you may not use this file except in compliance with
00007  * the License. You may obtain a copy of the License at
00008  * http://www.mozilla.org/MPL/
00009  *
00010  * Software distributed under the License is distributed on an "AS IS" basis,
00011  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00012  * for the specific language governing rights and limitations under the
00013  * License.
00014  *
00015  * The Original Code is the Netscape Portable Runtime (NSPR).
00016  *
00017  * The Initial Developer of the Original Code is
00018  * Netscape Communications Corporation.
00019  * Portions created by the Initial Developer are Copyright (C) 1998-2000
00020  * the Initial Developer. All Rights Reserved.
00021  *
00022  * Contributor(s):
00023  *
00024  * Alternatively, the contents of this file may be used under the terms of
00025  * either the GNU General Public License Version 2 or later (the "GPL"), or
00026  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
00027  * in which case the provisions of the GPL or the LGPL are applicable instead
00028  * of those above. If you wish to allow use of your version of this file only
00029  * under the terms of either the GPL or the LGPL, and not to allow others to
00030  * use your version of this file under the terms of the MPL, indicate your
00031  * decision by deleting the provisions above and replace them with the notice
00032  * and other provisions required by the GPL or the LGPL. If you do not delete
00033  * the provisions above, a recipient may use your version of this file under
00034  * the terms of any one of the MPL, the GPL or the LGPL.
00035  *
00036  * ***** END LICENSE BLOCK ***** */
00037 
00038 #ifndef prerr_h___
00039 #define prerr_h___
00040 
00041 /*
00042  *
00043  * prerr.h
00044  * This file is automatically generated; please do not edit it.
00045  */
00046 
00047 /* Memory allocation attempt failed */
00048 #define PR_OUT_OF_MEMORY_ERROR                   (-6000L)
00049 
00050 /* Invalid file descriptor */
00051 #define PR_BAD_DESCRIPTOR_ERROR                  (-5999L)
00052 
00053 /* The operation would have blocked */
00054 #define PR_WOULD_BLOCK_ERROR                     (-5998L)
00055 
00056 /* Invalid memory address argument */
00057 #define PR_ACCESS_FAULT_ERROR                    (-5997L)
00058 
00059 /* Invalid function for file type */
00060 #define PR_INVALID_METHOD_ERROR                  (-5996L)
00061 
00062 /* Invalid memory address argument */
00063 #define PR_ILLEGAL_ACCESS_ERROR                  (-5995L)
00064 
00065 /* Some unknown error has occurred */
00066 #define PR_UNKNOWN_ERROR                         (-5994L)
00067 
00068 /* Operation interrupted by another thread */
00069 #define PR_PENDING_INTERRUPT_ERROR               (-5993L)
00070 
00071 /* function not implemented */
00072 #define PR_NOT_IMPLEMENTED_ERROR                 (-5992L)
00073 
00074 /* I/O function error */
00075 #define PR_IO_ERROR                              (-5991L)
00076 
00077 /* I/O operation timed out */
00078 #define PR_IO_TIMEOUT_ERROR                      (-5990L)
00079 
00080 /* I/O operation on busy file descriptor */
00081 #define PR_IO_PENDING_ERROR                      (-5989L)
00082 
00083 /* The directory could not be opened */
00084 #define PR_DIRECTORY_OPEN_ERROR                  (-5988L)
00085 
00086 /* Invalid function argument */
00087 #define PR_INVALID_ARGUMENT_ERROR                (-5987L)
00088 
00089 /* Network address not available (in use?) */
00090 #define PR_ADDRESS_NOT_AVAILABLE_ERROR           (-5986L)
00091 
00092 /* Network address type not supported */
00093 #define PR_ADDRESS_NOT_SUPPORTED_ERROR           (-5985L)
00094 
00095 /* Already connected */
00096 #define PR_IS_CONNECTED_ERROR                    (-5984L)
00097 
00098 /* Network address is invalid */
00099 #define PR_BAD_ADDRESS_ERROR                     (-5983L)
00100 
00101 /* Local Network address is in use */
00102 #define PR_ADDRESS_IN_USE_ERROR                  (-5982L)
00103 
00104 /* Connection refused by peer */
00105 #define PR_CONNECT_REFUSED_ERROR                 (-5981L)
00106 
00107 /* Network address is presently unreachable */
00108 #define PR_NETWORK_UNREACHABLE_ERROR             (-5980L)
00109 
00110 /* Connection attempt timed out */
00111 #define PR_CONNECT_TIMEOUT_ERROR                 (-5979L)
00112 
00113 /* Network file descriptor is not connected */
00114 #define PR_NOT_CONNECTED_ERROR                   (-5978L)
00115 
00116 /* Failure to load dynamic library */
00117 #define PR_LOAD_LIBRARY_ERROR                    (-5977L)
00118 
00119 /* Failure to unload dynamic library */
00120 #define PR_UNLOAD_LIBRARY_ERROR                  (-5976L)
00121 
00122 /* Symbol not found in any of the loaded dynamic libraries */
00123 #define PR_FIND_SYMBOL_ERROR                     (-5975L)
00124 
00125 /* Insufficient system resources */
00126 #define PR_INSUFFICIENT_RESOURCES_ERROR          (-5974L)
00127 
00128 /* A directory lookup on a network address has failed */
00129 #define PR_DIRECTORY_LOOKUP_ERROR                (-5973L)
00130 
00131 /* Attempt to access a TPD key that is out of range */
00132 #define PR_TPD_RANGE_ERROR                       (-5972L)
00133 
00134 /* Process open FD table is full */
00135 #define PR_PROC_DESC_TABLE_FULL_ERROR            (-5971L)
00136 
00137 /* System open FD table is full */
00138 #define PR_SYS_DESC_TABLE_FULL_ERROR             (-5970L)
00139 
00140 /* Network operation attempted on non-network file descriptor */
00141 #define PR_NOT_SOCKET_ERROR                      (-5969L)
00142 
00143 /* TCP-specific function attempted on a non-TCP file descriptor */
00144 #define PR_NOT_TCP_SOCKET_ERROR                  (-5968L)
00145 
00146 /* TCP file descriptor is already bound */
00147 #define PR_SOCKET_ADDRESS_IS_BOUND_ERROR         (-5967L)
00148 
00149 /* Access Denied */
00150 #define PR_NO_ACCESS_RIGHTS_ERROR                (-5966L)
00151 
00152 /* The requested operation is not supported by the platform */
00153 #define PR_OPERATION_NOT_SUPPORTED_ERROR         (-5965L)
00154 
00155 /* The host operating system does not support the protocol requested */
00156 #define PR_PROTOCOL_NOT_SUPPORTED_ERROR          (-5964L)
00157 
00158 /* Access to the remote file has been severed */
00159 #define PR_REMOTE_FILE_ERROR                     (-5963L)
00160 
00161 /* The value requested is too large to be stored in the data buffer provided */
00162 #define PR_BUFFER_OVERFLOW_ERROR                 (-5962L)
00163 
00164 /* TCP connection reset by peer */
00165 #define PR_CONNECT_RESET_ERROR                   (-5961L)
00166 
00167 /* Unused */
00168 #define PR_RANGE_ERROR                           (-5960L)
00169 
00170 /* The operation would have deadlocked */
00171 #define PR_DEADLOCK_ERROR                        (-5959L)
00172 
00173 /* The file is already locked */
00174 #define PR_FILE_IS_LOCKED_ERROR                  (-5958L)
00175 
00176 /* Write would result in file larger than the system allows */
00177 #define PR_FILE_TOO_BIG_ERROR                    (-5957L)
00178 
00179 /* The device for storing the file is full */
00180 #define PR_NO_DEVICE_SPACE_ERROR                 (-5956L)
00181 
00182 /* Unused */
00183 #define PR_PIPE_ERROR                            (-5955L)
00184 
00185 /* Unused */
00186 #define PR_NO_SEEK_DEVICE_ERROR                  (-5954L)
00187 
00188 /* Cannot perform a normal file operation on a directory */
00189 #define PR_IS_DIRECTORY_ERROR                    (-5953L)
00190 
00191 /* Symbolic link loop */
00192 #define PR_LOOP_ERROR                            (-5952L)
00193 
00194 /* File name is too long */
00195 #define PR_NAME_TOO_LONG_ERROR                   (-5951L)
00196 
00197 /* File not found */
00198 #define PR_FILE_NOT_FOUND_ERROR                  (-5950L)
00199 
00200 /* Cannot perform directory operation on a normal file */
00201 #define PR_NOT_DIRECTORY_ERROR                   (-5949L)
00202 
00203 /* Cannot write to a read-only file system */
00204 #define PR_READ_ONLY_FILESYSTEM_ERROR            (-5948L)
00205 
00206 /* Cannot delete a directory that is not empty */
00207 #define PR_DIRECTORY_NOT_EMPTY_ERROR             (-5947L)
00208 
00209 /* Cannot delete or rename a file object while the file system is busy */
00210 #define PR_FILESYSTEM_MOUNTED_ERROR              (-5946L)
00211 
00212 /* Cannot rename a file to a file system on another device */
00213 #define PR_NOT_SAME_DEVICE_ERROR                 (-5945L)
00214 
00215 /* The directory object in the file system is corrupted */
00216 #define PR_DIRECTORY_CORRUPTED_ERROR             (-5944L)
00217 
00218 /* Cannot create or rename a filename that already exists */
00219 #define PR_FILE_EXISTS_ERROR                     (-5943L)
00220 
00221 /* Directory is full.  No additional filenames may be added */
00222 #define PR_MAX_DIRECTORY_ENTRIES_ERROR           (-5942L)
00223 
00224 /* The required device was in an invalid state */
00225 #define PR_INVALID_DEVICE_STATE_ERROR            (-5941L)
00226 
00227 /* The device is locked */
00228 #define PR_DEVICE_IS_LOCKED_ERROR                (-5940L)
00229 
00230 /* No more entries in the directory */
00231 #define PR_NO_MORE_FILES_ERROR                   (-5939L)
00232 
00233 /* Encountered end of file */
00234 #define PR_END_OF_FILE_ERROR                     (-5938L)
00235 
00236 /* Seek error */
00237 #define PR_FILE_SEEK_ERROR                       (-5937L)
00238 
00239 /* The file is busy */
00240 #define PR_FILE_IS_BUSY_ERROR                    (-5936L)
00241 
00242 /* The I/O operation was aborted */
00243 #define PR_OPERATION_ABORTED_ERROR               (-5935L)
00244 
00245 /* Operation is still in progress (probably a non-blocking connect) */
00246 #define PR_IN_PROGRESS_ERROR                     (-5934L)
00247 
00248 /* Operation has already been initiated (probably a non-blocking connect) */
00249 #define PR_ALREADY_INITIATED_ERROR               (-5933L)
00250 
00251 /* The wait group is empty */
00252 #define PR_GROUP_EMPTY_ERROR                     (-5932L)
00253 
00254 /* Object state improper for request */
00255 #define PR_INVALID_STATE_ERROR                   (-5931L)
00256 
00257 /* Network is down */
00258 #define PR_NETWORK_DOWN_ERROR                    (-5930L)
00259 
00260 /* Socket shutdown */
00261 #define PR_SOCKET_SHUTDOWN_ERROR                 (-5929L)
00262 
00263 /* Connection aborted */
00264 #define PR_CONNECT_ABORTED_ERROR                 (-5928L)
00265 
00266 /* Host is unreachable */
00267 #define PR_HOST_UNREACHABLE_ERROR                (-5927L)
00268 
00269 /* The library is not loaded */
00270 #define PR_LIBRARY_NOT_LOADED_ERROR              (-5926L)
00271 
00272 /* Placeholder for the end of the list */
00273 #define PR_MAX_ERROR                             (-5925L)
00274 
00275 extern void nspr_InitializePRErrorTable(void);
00276 #define ERROR_TABLE_BASE_nspr (-6000L)
00277 
00278 #endif /* prerr_h___ */