Upstream version 11.39.266.0
[platform/framework/web/crosswalk.git] / src / third_party / npapi / npspy / extern / nspr / prerr.h
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* 
3  * The contents of this file are subject to the Mozilla Public
4  * License Version 1.1 (the "License"); you may not use this file
5  * except in compliance with the License. You may obtain a copy of
6  * the License at http://www.mozilla.org/MPL/
7  * 
8  * Software distributed under the License is distributed on an "AS
9  * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
10  * implied. See the License for the specific language governing
11  * rights and limitations under the License.
12  * 
13  * The Original Code is the Netscape Portable Runtime (NSPR).
14  * 
15  * The Initial Developer of the Original Code is Netscape
16  * Communications Corporation.  Portions created by Netscape are 
17  * Copyright (C) 1998-2000 Netscape Communications Corporation.  All
18  * Rights Reserved.
19  * 
20  * Contributor(s):
21  * 
22  * Alternatively, the contents of this file may be used under the
23  * terms of the GNU General Public License Version 2 or later (the
24  * "GPL"), in which case the provisions of the GPL are applicable 
25  * instead of those above.  If you wish to allow use of your 
26  * version of this file only under the terms of the GPL and not to
27  * allow others to use your version of this file under the MPL,
28  * indicate your decision by deleting the provisions above and
29  * replace them with the notice and other provisions required by
30  * the GPL.  If you do not delete the provisions above, a recipient
31  * may use your version of this file under either the MPL or the
32  * GPL.
33  */
34
35 #ifndef prerr_h___
36 #define prerr_h___
37
38 /*
39  *
40  * prerr.h
41  * This file is automatically generated; please do not edit it.
42  */
43
44 /* Memory allocation attempt failed */
45 #define PR_OUT_OF_MEMORY_ERROR                   (-6000L)
46
47 /* Invalid file descriptor */
48 #define PR_BAD_DESCRIPTOR_ERROR                  (-5999L)
49
50 /* The operation would have blocked */
51 #define PR_WOULD_BLOCK_ERROR                     (-5998L)
52
53 /* Invalid memory address argument */
54 #define PR_ACCESS_FAULT_ERROR                    (-5997L)
55
56 /* Invalid function for file type */
57 #define PR_INVALID_METHOD_ERROR                  (-5996L)
58
59 /* Invalid memory address argument */
60 #define PR_ILLEGAL_ACCESS_ERROR                  (-5995L)
61
62 /* Some unknown error has occurred */
63 #define PR_UNKNOWN_ERROR                         (-5994L)
64
65 /* Operation interrupted by another thread */
66 #define PR_PENDING_INTERRUPT_ERROR               (-5993L)
67
68 /* function not implemented */
69 #define PR_NOT_IMPLEMENTED_ERROR                 (-5992L)
70
71 /* I/O function error */
72 #define PR_IO_ERROR                              (-5991L)
73
74 /* I/O operation timed out */
75 #define PR_IO_TIMEOUT_ERROR                      (-5990L)
76
77 /* I/O operation on busy file descriptor */
78 #define PR_IO_PENDING_ERROR                      (-5989L)
79
80 /* The directory could not be opened */
81 #define PR_DIRECTORY_OPEN_ERROR                  (-5988L)
82
83 /* Invalid function argument */
84 #define PR_INVALID_ARGUMENT_ERROR                (-5987L)
85
86 /* Network address not available (in use?) */
87 #define PR_ADDRESS_NOT_AVAILABLE_ERROR           (-5986L)
88
89 /* Network address type not supported */
90 #define PR_ADDRESS_NOT_SUPPORTED_ERROR           (-5985L)
91
92 /* Already connected */
93 #define PR_IS_CONNECTED_ERROR                    (-5984L)
94
95 /* Network address is invalid */
96 #define PR_BAD_ADDRESS_ERROR                     (-5983L)
97
98 /* Local Network address is in use */
99 #define PR_ADDRESS_IN_USE_ERROR                  (-5982L)
100
101 /* Connection refused by peer */
102 #define PR_CONNECT_REFUSED_ERROR                 (-5981L)
103
104 /* Network address is presently unreachable */
105 #define PR_NETWORK_UNREACHABLE_ERROR             (-5980L)
106
107 /* Connection attempt timed out */
108 #define PR_CONNECT_TIMEOUT_ERROR                 (-5979L)
109
110 /* Network file descriptor is not connected */
111 #define PR_NOT_CONNECTED_ERROR                   (-5978L)
112
113 /* Failure to load dynamic library */
114 #define PR_LOAD_LIBRARY_ERROR                    (-5977L)
115
116 /* Failure to unload dynamic library */
117 #define PR_UNLOAD_LIBRARY_ERROR                  (-5976L)
118
119 /* Symbol not found in any of the loaded dynamic libraries */
120 #define PR_FIND_SYMBOL_ERROR                     (-5975L)
121
122 /* Insufficient system resources */
123 #define PR_INSUFFICIENT_RESOURCES_ERROR          (-5974L)
124
125 /* A directory lookup on a network address has failed */
126 #define PR_DIRECTORY_LOOKUP_ERROR                (-5973L)
127
128 /* Attempt to access a TPD key that is out of range */
129 #define PR_TPD_RANGE_ERROR                       (-5972L)
130
131 /* Process open FD table is full */
132 #define PR_PROC_DESC_TABLE_FULL_ERROR            (-5971L)
133
134 /* System open FD table is full */
135 #define PR_SYS_DESC_TABLE_FULL_ERROR             (-5970L)
136
137 /* Network operation attempted on non-network file descriptor */
138 #define PR_NOT_SOCKET_ERROR                      (-5969L)
139
140 /* TCP-specific function attempted on a non-TCP file descriptor */
141 #define PR_NOT_TCP_SOCKET_ERROR                  (-5968L)
142
143 /* TCP file descriptor is already bound */
144 #define PR_SOCKET_ADDRESS_IS_BOUND_ERROR         (-5967L)
145
146 /* Access Denied */
147 #define PR_NO_ACCESS_RIGHTS_ERROR                (-5966L)
148
149 /* The requested operation is not supported by the platform */
150 #define PR_OPERATION_NOT_SUPPORTED_ERROR         (-5965L)
151
152 /* The host operating system does not support the protocol requested */
153 #define PR_PROTOCOL_NOT_SUPPORTED_ERROR          (-5964L)
154
155 /* Access to the remote file has been severed */
156 #define PR_REMOTE_FILE_ERROR                     (-5963L)
157
158 /* The value requested is too large to be stored in the data buffer provided */
159 #define PR_BUFFER_OVERFLOW_ERROR                 (-5962L)
160
161 /* TCP connection reset by peer */
162 #define PR_CONNECT_RESET_ERROR                   (-5961L)
163
164 /* Unused */
165 #define PR_RANGE_ERROR                           (-5960L)
166
167 /* The operation would have deadlocked */
168 #define PR_DEADLOCK_ERROR                        (-5959L)
169
170 /* The file is already locked */
171 #define PR_FILE_IS_LOCKED_ERROR                  (-5958L)
172
173 /* Write would result in file larger than the system allows */
174 #define PR_FILE_TOO_BIG_ERROR                    (-5957L)
175
176 /* The device for storing the file is full */
177 #define PR_NO_DEVICE_SPACE_ERROR                 (-5956L)
178
179 /* Unused */
180 #define PR_PIPE_ERROR                            (-5955L)
181
182 /* Unused */
183 #define PR_NO_SEEK_DEVICE_ERROR                  (-5954L)
184
185 /* Cannot perform a normal file operation on a directory */
186 #define PR_IS_DIRECTORY_ERROR                    (-5953L)
187
188 /* Symbolic link loop */
189 #define PR_LOOP_ERROR                            (-5952L)
190
191 /* File name is too long */
192 #define PR_NAME_TOO_LONG_ERROR                   (-5951L)
193
194 /* File not found */
195 #define PR_FILE_NOT_FOUND_ERROR                  (-5950L)
196
197 /* Cannot perform directory operation on a normal file */
198 #define PR_NOT_DIRECTORY_ERROR                   (-5949L)
199
200 /* Cannot write to a read-only file system */
201 #define PR_READ_ONLY_FILESYSTEM_ERROR            (-5948L)
202
203 /* Cannot delete a directory that is not empty */
204 #define PR_DIRECTORY_NOT_EMPTY_ERROR             (-5947L)
205
206 /* Cannot delete or rename a file object while the file system is busy */
207 #define PR_FILESYSTEM_MOUNTED_ERROR              (-5946L)
208
209 /* Cannot rename a file to a file system on another device */
210 #define PR_NOT_SAME_DEVICE_ERROR                 (-5945L)
211
212 /* The directory object in the file system is corrupted */
213 #define PR_DIRECTORY_CORRUPTED_ERROR             (-5944L)
214
215 /* Cannot create or rename a filename that already exists */
216 #define PR_FILE_EXISTS_ERROR                     (-5943L)
217
218 /* Directory is full.  No additional filenames may be added */
219 #define PR_MAX_DIRECTORY_ENTRIES_ERROR           (-5942L)
220
221 /* The required device was in an invalid state */
222 #define PR_INVALID_DEVICE_STATE_ERROR            (-5941L)
223
224 /* The device is locked */
225 #define PR_DEVICE_IS_LOCKED_ERROR                (-5940L)
226
227 /* No more entries in the directory */
228 #define PR_NO_MORE_FILES_ERROR                   (-5939L)
229
230 /* Encountered end of file */
231 #define PR_END_OF_FILE_ERROR                     (-5938L)
232
233 /* Seek error */
234 #define PR_FILE_SEEK_ERROR                       (-5937L)
235
236 /* The file is busy */
237 #define PR_FILE_IS_BUSY_ERROR                    (-5936L)
238
239 /* The I/O operation was aborted */
240 #define PR_OPERATION_ABORTED_ERROR               (-5935L)
241
242 /* Operation is still in progress (probably a non-blocking connect) */
243 #define PR_IN_PROGRESS_ERROR                     (-5934L)
244
245 /* Operation has already been initiated (probably a non-blocking connect) */
246 #define PR_ALREADY_INITIATED_ERROR               (-5933L)
247
248 /* The wait group is empty */
249 #define PR_GROUP_EMPTY_ERROR                     (-5932L)
250
251 /* Object state improper for request */
252 #define PR_INVALID_STATE_ERROR                   (-5931L)
253
254 /* Network is down */
255 #define PR_NETWORK_DOWN_ERROR                    (-5930L)
256
257 /* Socket shutdown */
258 #define PR_SOCKET_SHUTDOWN_ERROR                 (-5929L)
259
260 /* Connection aborted */
261 #define PR_CONNECT_ABORTED_ERROR                 (-5928L)
262
263 /* Host is unreachable */
264 #define PR_HOST_UNREACHABLE_ERROR                (-5927L)
265
266 /* The library is not loaded */
267 #define PR_LIBRARY_NOT_LOADED_ERROR              (-5926L)
268
269 /* Placeholder for the end of the list */
270 #define PR_MAX_ERROR                             (-5925L)
271
272 extern void nspr_InitializePRErrorTable(void);
273 #define ERROR_TABLE_BASE_nspr (-6000L)
274
275 #endif /* prerr_h___ */