1 | /** @file
|
---|
2 | * IPRT - Status Codes.
|
---|
3 | */
|
---|
4 |
|
---|
5 | /*
|
---|
6 | * Copyright (C) 2006-2019 Oracle Corporation
|
---|
7 | *
|
---|
8 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
9 | * available from http://www.virtualbox.org. This file is free software;
|
---|
10 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
11 | * General Public License (GPL) as published by the Free Software
|
---|
12 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
13 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
14 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
15 | *
|
---|
16 | * The contents of this file may alternatively be used under the terms
|
---|
17 | * of the Common Development and Distribution License Version 1.0
|
---|
18 | * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
|
---|
19 | * VirtualBox OSE distribution, in which case the provisions of the
|
---|
20 | * CDDL are applicable instead of those of the GPL.
|
---|
21 | *
|
---|
22 | * You may elect to license modified versions of this file under the
|
---|
23 | * terms and conditions of either the GPL or the CDDL or both.
|
---|
24 | */
|
---|
25 |
|
---|
26 | #ifndef IPRT_INCLUDED_err_h
|
---|
27 | #define IPRT_INCLUDED_err_h
|
---|
28 | #ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
29 | # pragma once
|
---|
30 | #endif
|
---|
31 |
|
---|
32 | #include <iprt/errcore.h>
|
---|
33 |
|
---|
34 |
|
---|
35 | /** @defgroup grp_rt_err RTErr - Status Codes
|
---|
36 | * @ingroup grp_rt
|
---|
37 | *
|
---|
38 | * The IPRT status codes are in two ranges: {0..999} and {22000..32766}. The
|
---|
39 | * IPRT users are free to use the range {1000..21999}. See RTERR_RANGE1_FIRST,
|
---|
40 | * RTERR_RANGE1_LAST, RTERR_RANGE2_FIRST, RTERR_RANGE2_LAST, RTERR_USER_FIRST
|
---|
41 | * and RTERR_USER_LAST.
|
---|
42 | *
|
---|
43 | * @{
|
---|
44 | */
|
---|
45 |
|
---|
46 | /** @name Status Code Ranges
|
---|
47 | * @{ */
|
---|
48 | /** The first status code in the primary IPRT range. */
|
---|
49 | #define RTERR_RANGE1_FIRST 0
|
---|
50 | /** The last status code in the primary IPRT range. */
|
---|
51 | #define RTERR_RANGE1_LAST 999
|
---|
52 |
|
---|
53 | /** The first status code in the secondary IPRT range. */
|
---|
54 | #define RTERR_RANGE2_FIRST 22000
|
---|
55 | /** The last status code in the secondary IPRT range. */
|
---|
56 | #define RTERR_RANGE2_LAST 32766
|
---|
57 |
|
---|
58 | /** The first status code in the user range. */
|
---|
59 | #define RTERR_USER_FIRST 1000
|
---|
60 | /** The last status code in the user range. */
|
---|
61 | #define RTERR_USER_LAST 21999
|
---|
62 | /** @} */
|
---|
63 |
|
---|
64 |
|
---|
65 | /* SED-START */
|
---|
66 |
|
---|
67 | /** Success. */
|
---|
68 | #define VINF_SUCCESS 0
|
---|
69 |
|
---|
70 | /** @name Misc. Status Codes
|
---|
71 | * @{
|
---|
72 | */
|
---|
73 | /** General failure - DON'T USE THIS!!! */
|
---|
74 | #define VERR_GENERAL_FAILURE (-1)
|
---|
75 | /** Invalid parameter. */
|
---|
76 | #define VERR_INVALID_PARAMETER (-2)
|
---|
77 | /** Invalid parameter. */
|
---|
78 | #define VWRN_INVALID_PARAMETER 2
|
---|
79 | /** Invalid magic or cookie. */
|
---|
80 | #define VERR_INVALID_MAGIC (-3)
|
---|
81 | /** Invalid magic or cookie. */
|
---|
82 | #define VWRN_INVALID_MAGIC 3
|
---|
83 | /** Invalid loader handle. */
|
---|
84 | #define VERR_INVALID_HANDLE (-4)
|
---|
85 | /** Invalid loader handle. */
|
---|
86 | #define VWRN_INVALID_HANDLE 4
|
---|
87 | /** Failed to lock the address range. */
|
---|
88 | #define VERR_LOCK_FAILED (-5)
|
---|
89 | /** Invalid memory pointer. */
|
---|
90 | #define VERR_INVALID_POINTER (-6)
|
---|
91 | /** Failed to patch the IDT. */
|
---|
92 | #define VERR_IDT_FAILED (-7)
|
---|
93 | /** Memory allocation failed. */
|
---|
94 | #define VERR_NO_MEMORY (-8)
|
---|
95 | /** Already loaded. */
|
---|
96 | #define VERR_ALREADY_LOADED (-9)
|
---|
97 | /** Permission denied. */
|
---|
98 | #define VERR_PERMISSION_DENIED (-10)
|
---|
99 | /** Permission denied. */
|
---|
100 | #define VINF_PERMISSION_DENIED 10
|
---|
101 | /** Version mismatch. */
|
---|
102 | #define VERR_VERSION_MISMATCH (-11)
|
---|
103 | /** The request function is not implemented. */
|
---|
104 | #define VERR_NOT_IMPLEMENTED (-12)
|
---|
105 | /** The request function is not implemented. */
|
---|
106 | #define VINF_NOT_IMPLEMENTED 12
|
---|
107 | /** Invalid flags was given. */
|
---|
108 | #define VERR_INVALID_FLAGS (-13)
|
---|
109 |
|
---|
110 | /** Not equal. */
|
---|
111 | #define VERR_NOT_EQUAL (-18)
|
---|
112 | /** The specified path does not point at a symbolic link. */
|
---|
113 | #define VERR_NOT_SYMLINK (-19)
|
---|
114 | /** Failed to allocate temporary memory. */
|
---|
115 | #define VERR_NO_TMP_MEMORY (-20)
|
---|
116 | /** Invalid file mode mask (RTFMODE). */
|
---|
117 | #define VERR_INVALID_FMODE (-21)
|
---|
118 | /** Incorrect call order. */
|
---|
119 | #define VERR_WRONG_ORDER (-22)
|
---|
120 | /** There is no TLS (thread local storage) available for storing the current thread. */
|
---|
121 | #define VERR_NO_TLS_FOR_SELF (-23)
|
---|
122 | /** Failed to set the TLS (thread local storage) entry which points to our thread structure. */
|
---|
123 | #define VERR_FAILED_TO_SET_SELF_TLS (-24)
|
---|
124 | /** Not able to allocate contiguous memory. */
|
---|
125 | #define VERR_NO_CONT_MEMORY (-26)
|
---|
126 | /** No memory available for page table or page directory. */
|
---|
127 | #define VERR_NO_PAGE_MEMORY (-27)
|
---|
128 | /** Already initialized. */
|
---|
129 | #define VINF_ALREADY_INITIALIZED 28
|
---|
130 | /** The specified thread is dead. */
|
---|
131 | #define VERR_THREAD_IS_DEAD (-29)
|
---|
132 | /** The specified thread is not waitable. */
|
---|
133 | #define VERR_THREAD_NOT_WAITABLE (-30)
|
---|
134 | /** Pagetable not present. */
|
---|
135 | #define VERR_PAGE_TABLE_NOT_PRESENT (-31)
|
---|
136 | /** Invalid context.
|
---|
137 | * Typically an API was used by the wrong thread. */
|
---|
138 | #define VERR_INVALID_CONTEXT (-32)
|
---|
139 | /** The per process timer is busy. */
|
---|
140 | #define VERR_TIMER_BUSY (-33)
|
---|
141 | /** Address conflict. */
|
---|
142 | #define VERR_ADDRESS_CONFLICT (-34)
|
---|
143 | /** Unresolved (unknown) host platform error. */
|
---|
144 | #define VERR_UNRESOLVED_ERROR (-35)
|
---|
145 | /** Invalid function. */
|
---|
146 | #define VERR_INVALID_FUNCTION (-36)
|
---|
147 | /** Not supported. */
|
---|
148 | #define VERR_NOT_SUPPORTED (-37)
|
---|
149 | /** Not supported. */
|
---|
150 | #define VINF_NOT_SUPPORTED 37
|
---|
151 | /** Access denied. */
|
---|
152 | #define VERR_ACCESS_DENIED (-38)
|
---|
153 | /** Call interrupted. */
|
---|
154 | #define VERR_INTERRUPTED (-39)
|
---|
155 | /** Call interrupted. */
|
---|
156 | #define VINF_INTERRUPTED 39
|
---|
157 | /** Timeout. */
|
---|
158 | #define VERR_TIMEOUT (-40)
|
---|
159 | /** Timeout. */
|
---|
160 | #define VINF_TIMEOUT 40
|
---|
161 | /** Buffer too small to save result. */
|
---|
162 | #define VERR_BUFFER_OVERFLOW (-41)
|
---|
163 | /** Buffer too small to save result. */
|
---|
164 | #define VINF_BUFFER_OVERFLOW 41
|
---|
165 | /** Data size overflow. */
|
---|
166 | #define VERR_TOO_MUCH_DATA (-42)
|
---|
167 | /** Max threads number reached. */
|
---|
168 | #define VERR_MAX_THRDS_REACHED (-43)
|
---|
169 | /** Max process number reached. */
|
---|
170 | #define VERR_MAX_PROCS_REACHED (-44)
|
---|
171 | /** The recipient process has refused the signal. */
|
---|
172 | #define VERR_SIGNAL_REFUSED (-45)
|
---|
173 | /** A signal is already pending. */
|
---|
174 | #define VERR_SIGNAL_PENDING (-46)
|
---|
175 | /** The signal being posted is not correct. */
|
---|
176 | #define VERR_SIGNAL_INVALID (-47)
|
---|
177 | /** The state changed.
|
---|
178 | * This is a generic error message and needs a context to make sense. */
|
---|
179 | #define VERR_STATE_CHANGED (-48)
|
---|
180 | /** Warning, the state changed.
|
---|
181 | * This is a generic error message and needs a context to make sense. */
|
---|
182 | #define VWRN_STATE_CHANGED 48
|
---|
183 | /** Error while parsing UUID string */
|
---|
184 | #define VERR_INVALID_UUID_FORMAT (-49)
|
---|
185 | /** The specified process was not found. */
|
---|
186 | #define VERR_PROCESS_NOT_FOUND (-50)
|
---|
187 | /** The process specified to a non-block wait had not exited. */
|
---|
188 | #define VERR_PROCESS_RUNNING (-51)
|
---|
189 | /** Retry the operation. */
|
---|
190 | #define VERR_TRY_AGAIN (-52)
|
---|
191 | /** Retry the operation. */
|
---|
192 | #define VINF_TRY_AGAIN 52
|
---|
193 | /** Generic parse error. */
|
---|
194 | #define VERR_PARSE_ERROR (-53)
|
---|
195 | /** Value out of range. */
|
---|
196 | #define VERR_OUT_OF_RANGE (-54)
|
---|
197 | /** A numeric conversion encountered a value which was too big for the target. */
|
---|
198 | #define VERR_NUMBER_TOO_BIG (-55)
|
---|
199 | /** A numeric conversion encountered a value which was too big for the target. */
|
---|
200 | #define VWRN_NUMBER_TOO_BIG 55
|
---|
201 | /** The number begin converted (string) contained no digits. */
|
---|
202 | #define VERR_NO_DIGITS (-56)
|
---|
203 | /** The number begin converted (string) contained no digits. */
|
---|
204 | #define VWRN_NO_DIGITS 56
|
---|
205 | /** Encountered a '-' during conversion to an unsigned value. */
|
---|
206 | #define VERR_NEGATIVE_UNSIGNED (-57)
|
---|
207 | /** Encountered a '-' during conversion to an unsigned value. */
|
---|
208 | #define VWRN_NEGATIVE_UNSIGNED 57
|
---|
209 | /** Error while characters translation (unicode and so). */
|
---|
210 | #define VERR_NO_TRANSLATION (-58)
|
---|
211 | /** Error while characters translation (unicode and so). */
|
---|
212 | #define VWRN_NO_TRANSLATION 58
|
---|
213 | /** Encountered unicode code point which is reserved for use as endian indicator (0xffff or 0xfffe). */
|
---|
214 | #define VERR_CODE_POINT_ENDIAN_INDICATOR (-59)
|
---|
215 | /** Encountered unicode code point in the surrogate range (0xd800 to 0xdfff). */
|
---|
216 | #define VERR_CODE_POINT_SURROGATE (-60)
|
---|
217 | /** A string claiming to be UTF-8 is incorrectly encoded. */
|
---|
218 | #define VERR_INVALID_UTF8_ENCODING (-61)
|
---|
219 | /** A string claiming to be in UTF-16 is incorrectly encoded. */
|
---|
220 | #define VERR_INVALID_UTF16_ENCODING (-62)
|
---|
221 | /** Encountered a unicode code point which cannot be represented as UTF-16. */
|
---|
222 | #define VERR_CANT_RECODE_AS_UTF16 (-63)
|
---|
223 | /** Got an out of memory condition trying to allocate a string. */
|
---|
224 | #define VERR_NO_STR_MEMORY (-64)
|
---|
225 | /** Got an out of memory condition trying to allocate a UTF-16 (/UCS-2) string. */
|
---|
226 | #define VERR_NO_UTF16_MEMORY (-65)
|
---|
227 | /** Get an out of memory condition trying to allocate a code point array. */
|
---|
228 | #define VERR_NO_CODE_POINT_MEMORY (-66)
|
---|
229 | /** Can't free the memory because it's used in mapping. */
|
---|
230 | #define VERR_MEMORY_BUSY (-67)
|
---|
231 | /** The timer can't be started because it's already active. */
|
---|
232 | #define VERR_TIMER_ACTIVE (-68)
|
---|
233 | /** The timer can't be stopped because it's already suspended. */
|
---|
234 | #define VERR_TIMER_SUSPENDED (-69)
|
---|
235 | /** The operation was cancelled by the user (copy) or another thread (local ipc). */
|
---|
236 | #define VERR_CANCELLED (-70)
|
---|
237 | /** Failed to initialize a memory object.
|
---|
238 | * Exactly what this means is OS specific. */
|
---|
239 | #define VERR_MEMOBJ_INIT_FAILED (-71)
|
---|
240 | /** Out of memory condition when allocating memory with low physical backing. */
|
---|
241 | #define VERR_NO_LOW_MEMORY (-72)
|
---|
242 | /** Out of memory condition when allocating physical memory (without mapping). */
|
---|
243 | #define VERR_NO_PHYS_MEMORY (-73)
|
---|
244 | /** The address (virtual or physical) is too big. */
|
---|
245 | #define VERR_ADDRESS_TOO_BIG (-74)
|
---|
246 | /** Failed to map a memory object. */
|
---|
247 | #define VERR_MAP_FAILED (-75)
|
---|
248 | /** Trailing characters. */
|
---|
249 | #define VERR_TRAILING_CHARS (-76)
|
---|
250 | /** Trailing characters. */
|
---|
251 | #define VWRN_TRAILING_CHARS 76
|
---|
252 | /** Trailing spaces. */
|
---|
253 | #define VERR_TRAILING_SPACES (-77)
|
---|
254 | /** Trailing spaces. */
|
---|
255 | #define VWRN_TRAILING_SPACES 77
|
---|
256 | /** Generic not found error. */
|
---|
257 | #define VERR_NOT_FOUND (-78)
|
---|
258 | /** Generic not found warning. */
|
---|
259 | #define VWRN_NOT_FOUND 78
|
---|
260 | /** Generic invalid state error. */
|
---|
261 | #define VERR_INVALID_STATE (-79)
|
---|
262 | /** Generic invalid state warning. */
|
---|
263 | #define VWRN_INVALID_STATE 79
|
---|
264 | /** Generic out of resources error. */
|
---|
265 | #define VERR_OUT_OF_RESOURCES (-80)
|
---|
266 | /** Generic out of resources warning. */
|
---|
267 | #define VWRN_OUT_OF_RESOURCES 80
|
---|
268 | /** No more handles available, too many open handles. */
|
---|
269 | #define VERR_NO_MORE_HANDLES (-81)
|
---|
270 | /** Preemption is disabled.
|
---|
271 | * The requested operation can only be performed when preemption is enabled. */
|
---|
272 | #define VERR_PREEMPT_DISABLED (-82)
|
---|
273 | /** End of string. */
|
---|
274 | #define VERR_END_OF_STRING (-83)
|
---|
275 | /** End of string. */
|
---|
276 | #define VINF_END_OF_STRING 83
|
---|
277 | /** A page count is out of range. */
|
---|
278 | #define VERR_PAGE_COUNT_OUT_OF_RANGE (-84)
|
---|
279 | /** Generic object destroyed status. */
|
---|
280 | #define VERR_OBJECT_DESTROYED (-85)
|
---|
281 | /** Generic object was destroyed by the call status. */
|
---|
282 | #define VINF_OBJECT_DESTROYED 85
|
---|
283 | /** Generic dangling objects status. */
|
---|
284 | #define VERR_DANGLING_OBJECTS (-86)
|
---|
285 | /** Generic dangling objects status. */
|
---|
286 | #define VWRN_DANGLING_OBJECTS 86
|
---|
287 | /** Invalid Base64 encoding. */
|
---|
288 | #define VERR_INVALID_BASE64_ENCODING (-87)
|
---|
289 | /** Return instigated by a callback or similar. */
|
---|
290 | #define VERR_CALLBACK_RETURN (-88)
|
---|
291 | /** Return instigated by a callback or similar. */
|
---|
292 | #define VINF_CALLBACK_RETURN 88
|
---|
293 | /** Authentication failure. */
|
---|
294 | #define VERR_AUTHENTICATION_FAILURE (-89)
|
---|
295 | /** Not a power of two. */
|
---|
296 | #define VERR_NOT_POWER_OF_TWO (-90)
|
---|
297 | /** Status code, typically given as a parameter, that isn't supposed to be used. */
|
---|
298 | #define VERR_IGNORED (-91)
|
---|
299 | /** Concurrent access to the object is not allowed. */
|
---|
300 | #define VERR_CONCURRENT_ACCESS (-92)
|
---|
301 | /** The caller does not have a reference to the object.
|
---|
302 | * This status is used when two threads is caught sharing the same object
|
---|
303 | * reference. */
|
---|
304 | #define VERR_CALLER_NO_REFERENCE (-93)
|
---|
305 | /** Generic no change error. */
|
---|
306 | #define VERR_NO_CHANGE (-95)
|
---|
307 | /** Generic no change info. */
|
---|
308 | #define VINF_NO_CHANGE 95
|
---|
309 | /** Out of memory condition when allocating executable memory. */
|
---|
310 | #define VERR_NO_EXEC_MEMORY (-96)
|
---|
311 | /** The alignment is not supported. */
|
---|
312 | #define VERR_UNSUPPORTED_ALIGNMENT (-97)
|
---|
313 | /** The alignment is not really supported, however we got lucky with this
|
---|
314 | * allocation. */
|
---|
315 | #define VINF_UNSUPPORTED_ALIGNMENT 97
|
---|
316 | /** Duplicate something. */
|
---|
317 | #define VERR_DUPLICATE (-98)
|
---|
318 | /** Something is missing. */
|
---|
319 | #define VERR_MISSING (-99)
|
---|
320 | /** An unexpected (/unknown) exception was caught. */
|
---|
321 | #define VERR_UNEXPECTED_EXCEPTION (-22400)
|
---|
322 | /** Buffer underflow. */
|
---|
323 | #define VERR_BUFFER_UNDERFLOW (-22401)
|
---|
324 | /** Buffer underflow. */
|
---|
325 | #define VINF_BUFFER_UNDERFLOW 22401
|
---|
326 | /** Uneven input. */
|
---|
327 | #define VERR_UNEVEN_INPUT (-22402)
|
---|
328 | /** Something is not available or not working properly. */
|
---|
329 | #define VERR_NOT_AVAILABLE (-22403)
|
---|
330 | /** The RTPROC_FLAGS_DETACHED flag isn't supported. */
|
---|
331 | #define VERR_PROC_DETACH_NOT_SUPPORTED (-22404)
|
---|
332 | /** An account is restricted in a certain way. */
|
---|
333 | #define VERR_ACCOUNT_RESTRICTED (-22405)
|
---|
334 | /** An account is restricted in a certain way. */
|
---|
335 | #define VINF_ACCOUNT_RESTRICTED 22405
|
---|
336 | /** Not able satisfy all the requirements of the request. */
|
---|
337 | #define VERR_UNABLE_TO_SATISFY_REQUIREMENTS (-22406)
|
---|
338 | /** Not able satisfy all the requirements of the request. */
|
---|
339 | #define VWRN_UNABLE_TO_SATISFY_REQUIREMENTS 22406
|
---|
340 | /** The requested allocation is too big. */
|
---|
341 | #define VERR_ALLOCATION_TOO_BIG (-22407)
|
---|
342 | /** Mismatch. */
|
---|
343 | #define VERR_MISMATCH (-22408)
|
---|
344 | /** Wrong type. */
|
---|
345 | #define VERR_WRONG_TYPE (-22409)
|
---|
346 | /** Wrong type. */
|
---|
347 | #define VWRN_WRONG_TYPE (22409)
|
---|
348 | /** This indicates that the process does not have sufficient privileges to
|
---|
349 | * perform the operation. */
|
---|
350 | #define VERR_PRIVILEGE_NOT_HELD (-22410)
|
---|
351 | /** Process does not have the trusted code base (TCB) privilege needed for user
|
---|
352 | * authentication or/and process creation as a given user. TCB is also called
|
---|
353 | * 'Act as part of the operating system'. */
|
---|
354 | #define VERR_PROC_TCB_PRIV_NOT_HELD (-22411)
|
---|
355 | /** Process does not have the assign primary token (APT) privilege needed
|
---|
356 | * for creating process as a given user. APT is also called 'Replace a process
|
---|
357 | * level token'. */
|
---|
358 | #define VERR_PROC_APT_PRIV_NOT_HELD (-22412)
|
---|
359 | /** Process does not have the increase quota (IQ) privilege needed for
|
---|
360 | * creating a process as a given user. IQ is also called 'Increase quotas'. */
|
---|
361 | #define VERR_PROC_IQ_PRIV_NOT_HELD (-22413)
|
---|
362 | /** The system has too many CPUs. */
|
---|
363 | #define VERR_MP_TOO_MANY_CPUS (-22414)
|
---|
364 | /** Wrong parameter count. */
|
---|
365 | #define VERR_WRONG_PARAMETER_COUNT (-22415)
|
---|
366 | /** Wrong parameter type. */
|
---|
367 | #define VERR_WRONG_PARAMETER_TYPE (-22416)
|
---|
368 | /** Invalid client ID. */
|
---|
369 | #define VERR_INVALID_CLIENT_ID (-22417)
|
---|
370 | /** Invalid session ID. */
|
---|
371 | #define VERR_INVALID_SESSION_ID (-22418)
|
---|
372 | /** Requires process elevation (UAC). */
|
---|
373 | #define VERR_PROC_ELEVATION_REQUIRED (-22419)
|
---|
374 | /** Incompatible configuration requested. */
|
---|
375 | #define VERR_INCOMPATIBLE_CONFIG (-22420)
|
---|
376 | /** String is not terminated within the buffer bounds. */
|
---|
377 | #define VERR_NO_STRING_TERMINATOR (-22421)
|
---|
378 | /** Empty string. */
|
---|
379 | #define VERR_EMPTY_STRING (-22422)
|
---|
380 | /** Too many references to an object. */
|
---|
381 | #define VERR_TOO_MANY_REFERENCES (-22423)
|
---|
382 | /** @} */
|
---|
383 |
|
---|
384 |
|
---|
385 | /** @name Common File/Disk/Pipe/etc Status Codes
|
---|
386 | * @{
|
---|
387 | */
|
---|
388 | /** Unresolved (unknown) file i/o error. */
|
---|
389 | #define VERR_FILE_IO_ERROR (-100)
|
---|
390 | /** File/Device open failed. */
|
---|
391 | #define VERR_OPEN_FAILED (-101)
|
---|
392 | /** File not found. */
|
---|
393 | #define VERR_FILE_NOT_FOUND (-102)
|
---|
394 | /** Path not found. */
|
---|
395 | #define VERR_PATH_NOT_FOUND (-103)
|
---|
396 | /** Invalid (malformed) file/path name. */
|
---|
397 | #define VERR_INVALID_NAME (-104)
|
---|
398 | /** The object in question already exists. */
|
---|
399 | #define VERR_ALREADY_EXISTS (-105)
|
---|
400 | /** The object in question already exists. */
|
---|
401 | #define VWRN_ALREADY_EXISTS 105
|
---|
402 | /** Too many open files. */
|
---|
403 | #define VERR_TOO_MANY_OPEN_FILES (-106)
|
---|
404 | /** Seek error. */
|
---|
405 | #define VERR_SEEK (-107)
|
---|
406 | /** Seek below file start. */
|
---|
407 | #define VERR_NEGATIVE_SEEK (-108)
|
---|
408 | /** Trying to seek on device. */
|
---|
409 | #define VERR_SEEK_ON_DEVICE (-109)
|
---|
410 | /** Reached the end of the file. */
|
---|
411 | #define VERR_EOF (-110)
|
---|
412 | /** Reached the end of the file. */
|
---|
413 | #define VINF_EOF 110
|
---|
414 | /** Generic file read error. */
|
---|
415 | #define VERR_READ_ERROR (-111)
|
---|
416 | /** Generic file write error. */
|
---|
417 | #define VERR_WRITE_ERROR (-112)
|
---|
418 | /** Write protect error. */
|
---|
419 | #define VERR_WRITE_PROTECT (-113)
|
---|
420 | /** Sharing violation, file is being used by another process. */
|
---|
421 | #define VERR_SHARING_VIOLATION (-114)
|
---|
422 | /** Unable to lock a region of a file. */
|
---|
423 | #define VERR_FILE_LOCK_FAILED (-115)
|
---|
424 | /** File access error, another process has locked a portion of the file. */
|
---|
425 | #define VERR_FILE_LOCK_VIOLATION (-116)
|
---|
426 | /** File or directory can't be created. */
|
---|
427 | #define VERR_CANT_CREATE (-117)
|
---|
428 | /** Directory can't be deleted. */
|
---|
429 | #define VERR_CANT_DELETE_DIRECTORY (-118)
|
---|
430 | /** Can't move file to another disk. */
|
---|
431 | #define VERR_NOT_SAME_DEVICE (-119)
|
---|
432 | /** The filename or extension is too long. */
|
---|
433 | #define VERR_FILENAME_TOO_LONG (-120)
|
---|
434 | /** Media not present in drive. */
|
---|
435 | #define VERR_MEDIA_NOT_PRESENT (-121)
|
---|
436 | /** The type of media was not recognized. Not formatted? */
|
---|
437 | #define VERR_MEDIA_NOT_RECOGNIZED (-122)
|
---|
438 | /** Can't unlock - region was not locked. */
|
---|
439 | #define VERR_FILE_NOT_LOCKED (-123)
|
---|
440 | /** Unrecoverable error: lock was lost. */
|
---|
441 | #define VERR_FILE_LOCK_LOST (-124)
|
---|
442 | /** Can't delete directory with files. */
|
---|
443 | #define VERR_DIR_NOT_EMPTY (-125)
|
---|
444 | /** A directory operation was attempted on a non-directory object. */
|
---|
445 | #define VERR_NOT_A_DIRECTORY (-126)
|
---|
446 | /** A non-directory operation was attempted on a directory object. */
|
---|
447 | #define VERR_IS_A_DIRECTORY (-127)
|
---|
448 | /** Tried to grow a file beyond the limit imposed by the process or the filesystem. */
|
---|
449 | #define VERR_FILE_TOO_BIG (-128)
|
---|
450 | /** No pending request the aio context has to wait for completion. */
|
---|
451 | #define VERR_FILE_AIO_NO_REQUEST (-129)
|
---|
452 | /** The request could not be canceled or prepared for another transfer
|
---|
453 | * because it is still in progress. */
|
---|
454 | #define VERR_FILE_AIO_IN_PROGRESS (-130)
|
---|
455 | /** The request could not be canceled because it already completed. */
|
---|
456 | #define VERR_FILE_AIO_COMPLETED (-131)
|
---|
457 | /** The I/O context couldn't be destroyed because there are still pending requests. */
|
---|
458 | #define VERR_FILE_AIO_BUSY (-132)
|
---|
459 | /** The requests couldn't be submitted because that would exceed the capacity of the context. */
|
---|
460 | #define VERR_FILE_AIO_LIMIT_EXCEEDED (-133)
|
---|
461 | /** The request was canceled. */
|
---|
462 | #define VERR_FILE_AIO_CANCELED (-134)
|
---|
463 | /** The request wasn't submitted so it can't be canceled. */
|
---|
464 | #define VERR_FILE_AIO_NOT_SUBMITTED (-135)
|
---|
465 | /** A request was not prepared and thus could not be submitted. */
|
---|
466 | #define VERR_FILE_AIO_NOT_PREPARED (-136)
|
---|
467 | /** Not all requests could be submitted due to resource shortage. */
|
---|
468 | #define VERR_FILE_AIO_INSUFFICIENT_RESSOURCES (-137)
|
---|
469 | /** Device or resource is busy. */
|
---|
470 | #define VERR_RESOURCE_BUSY (-138)
|
---|
471 | /** A file operation was attempted on a non-file object. */
|
---|
472 | #define VERR_NOT_A_FILE (-139)
|
---|
473 | /** A non-file operation was attempted on a file object. */
|
---|
474 | #define VERR_IS_A_FILE (-140)
|
---|
475 | /** Unexpected filesystem object type. */
|
---|
476 | #define VERR_UNEXPECTED_FS_OBJ_TYPE (-141)
|
---|
477 | /** A path does not start with a root specification. */
|
---|
478 | #define VERR_PATH_DOES_NOT_START_WITH_ROOT (-142)
|
---|
479 | /** A path is relative, expected an absolute path. */
|
---|
480 | #define VERR_PATH_IS_RELATIVE (-143)
|
---|
481 | /** A path is not relative (start with root), expected an relative path. */
|
---|
482 | #define VERR_PATH_IS_NOT_RELATIVE (-144)
|
---|
483 | /** Zero length path. */
|
---|
484 | #define VERR_PATH_ZERO_LENGTH (-145)
|
---|
485 | /** There are not enough events available on the host to create the I/O context.
|
---|
486 | * This exact meaning is host platform dependent. */
|
---|
487 | #define VERR_FILE_AIO_INSUFFICIENT_EVENTS (-146)
|
---|
488 | /** @} */
|
---|
489 |
|
---|
490 |
|
---|
491 | /** @name Generic Filesystem I/O Status Codes
|
---|
492 | * @{
|
---|
493 | */
|
---|
494 | /** Unresolved (unknown) disk i/o error. */
|
---|
495 | #define VERR_DISK_IO_ERROR (-150)
|
---|
496 | /** Invalid drive number. */
|
---|
497 | #define VERR_INVALID_DRIVE (-151)
|
---|
498 | /** Disk is full. */
|
---|
499 | #define VERR_DISK_FULL (-152)
|
---|
500 | /** Disk was changed. */
|
---|
501 | #define VERR_DISK_CHANGE (-153)
|
---|
502 | /** Drive is locked. */
|
---|
503 | #define VERR_DRIVE_LOCKED (-154)
|
---|
504 | /** The specified disk or diskette cannot be accessed. */
|
---|
505 | #define VERR_DISK_INVALID_FORMAT (-155)
|
---|
506 | /** Too many symbolic links. */
|
---|
507 | #define VERR_TOO_MANY_SYMLINKS (-156)
|
---|
508 | /** The OS does not support setting the time stamps on a symbolic link. */
|
---|
509 | #define VERR_NS_SYMLINK_SET_TIME (-157)
|
---|
510 | /** The OS does not support changing the owner of a symbolic link. */
|
---|
511 | #define VERR_NS_SYMLINK_CHANGE_OWNER (-158)
|
---|
512 | /** Symbolic link not allowed. */
|
---|
513 | #define VERR_SYMLINK_NOT_ALLOWED (-159)
|
---|
514 | /** Is a symbolic link. */
|
---|
515 | #define VERR_IS_A_SYMLINK (-160)
|
---|
516 | /** Is a FIFO. */
|
---|
517 | #define VERR_IS_A_FIFO (-161)
|
---|
518 | /** Is a socket. */
|
---|
519 | #define VERR_IS_A_SOCKET (-162)
|
---|
520 | /** Is a block device. */
|
---|
521 | #define VERR_IS_A_BLOCK_DEVICE (-163)
|
---|
522 | /** Is a character device. */
|
---|
523 | #define VERR_IS_A_CHAR_DEVICE (-164)
|
---|
524 | /** No media in drive. */
|
---|
525 | #define VERR_DRIVE_IS_EMPTY (-165)
|
---|
526 | /** @} */
|
---|
527 |
|
---|
528 |
|
---|
529 | /** @name Generic Directory Enumeration Status Codes
|
---|
530 | * @{
|
---|
531 | */
|
---|
532 | /** Unresolved (unknown) search error. */
|
---|
533 | #define VERR_SEARCH_ERROR (-200)
|
---|
534 | /** No more files found. */
|
---|
535 | #define VERR_NO_MORE_FILES (-201)
|
---|
536 | /** No more search handles available. */
|
---|
537 | #define VERR_NO_MORE_SEARCH_HANDLES (-202)
|
---|
538 | /** RTDirReadEx() failed to retrieve the extra data which was requested. */
|
---|
539 | #define VWRN_NO_DIRENT_INFO 203
|
---|
540 | /** @} */
|
---|
541 |
|
---|
542 |
|
---|
543 | /** @name Internal Processing Errors
|
---|
544 | * @{
|
---|
545 | */
|
---|
546 | /** Internal error - this should never happen. */
|
---|
547 | #define VERR_INTERNAL_ERROR (-225)
|
---|
548 | /** Internal error no. 2. */
|
---|
549 | #define VERR_INTERNAL_ERROR_2 (-226)
|
---|
550 | /** Internal error no. 3. */
|
---|
551 | #define VERR_INTERNAL_ERROR_3 (-227)
|
---|
552 | /** Internal error no. 4. */
|
---|
553 | #define VERR_INTERNAL_ERROR_4 (-228)
|
---|
554 | /** Internal error no. 5. */
|
---|
555 | #define VERR_INTERNAL_ERROR_5 (-229)
|
---|
556 | /** Internal error: Unexpected status code. */
|
---|
557 | #define VERR_IPE_UNEXPECTED_STATUS (-230)
|
---|
558 | /** Internal error: Unexpected status code. */
|
---|
559 | #define VERR_IPE_UNEXPECTED_INFO_STATUS (-231)
|
---|
560 | /** Internal error: Unexpected status code. */
|
---|
561 | #define VERR_IPE_UNEXPECTED_ERROR_STATUS (-232)
|
---|
562 | /** Internal error: Uninitialized status code.
|
---|
563 | * @remarks This is used by value elsewhere. */
|
---|
564 | #define VERR_IPE_UNINITIALIZED_STATUS (-233)
|
---|
565 | /** Internal error: Supposedly unreachable default case in a switch. */
|
---|
566 | #define VERR_IPE_NOT_REACHED_DEFAULT_CASE (-234)
|
---|
567 | /** @} */
|
---|
568 |
|
---|
569 |
|
---|
570 | /** @name Generic Device I/O Status Codes
|
---|
571 | * @{
|
---|
572 | */
|
---|
573 | /** Unresolved (unknown) device i/o error. */
|
---|
574 | #define VERR_DEV_IO_ERROR (-250)
|
---|
575 | /** Device i/o: Bad unit. */
|
---|
576 | #define VERR_IO_BAD_UNIT (-251)
|
---|
577 | /** Device i/o: Not ready. */
|
---|
578 | #define VERR_IO_NOT_READY (-252)
|
---|
579 | /** Device i/o: Bad command. */
|
---|
580 | #define VERR_IO_BAD_COMMAND (-253)
|
---|
581 | /** Device i/o: CRC error. */
|
---|
582 | #define VERR_IO_CRC (-254)
|
---|
583 | /** Device i/o: Bad length. */
|
---|
584 | #define VERR_IO_BAD_LENGTH (-255)
|
---|
585 | /** Device i/o: Sector not found. */
|
---|
586 | #define VERR_IO_SECTOR_NOT_FOUND (-256)
|
---|
587 | /** Device i/o: General failure. */
|
---|
588 | #define VERR_IO_GEN_FAILURE (-257)
|
---|
589 | /** @} */
|
---|
590 |
|
---|
591 |
|
---|
592 | /** @name Generic Pipe I/O Status Codes
|
---|
593 | * @{
|
---|
594 | */
|
---|
595 | /** Unresolved (unknown) pipe i/o error. */
|
---|
596 | #define VERR_PIPE_IO_ERROR (-300)
|
---|
597 | /** Broken pipe. */
|
---|
598 | #define VERR_BROKEN_PIPE (-301)
|
---|
599 | /** Bad pipe. */
|
---|
600 | #define VERR_BAD_PIPE (-302)
|
---|
601 | /** Pipe is busy. */
|
---|
602 | #define VERR_PIPE_BUSY (-303)
|
---|
603 | /** No data in pipe. */
|
---|
604 | #define VERR_NO_DATA (-304)
|
---|
605 | /** Pipe is not connected. */
|
---|
606 | #define VERR_PIPE_NOT_CONNECTED (-305)
|
---|
607 | /** More data available in pipe. */
|
---|
608 | #define VERR_MORE_DATA (-306)
|
---|
609 | /** Expected read pipe, got a write pipe instead. */
|
---|
610 | #define VERR_PIPE_NOT_READ (-307)
|
---|
611 | /** Expected write pipe, got a read pipe instead. */
|
---|
612 | #define VERR_PIPE_NOT_WRITE (-308)
|
---|
613 | /** @} */
|
---|
614 |
|
---|
615 |
|
---|
616 | /** @name Generic Semaphores Status Codes
|
---|
617 | * @{
|
---|
618 | */
|
---|
619 | /** Unresolved (unknown) semaphore error. */
|
---|
620 | #define VERR_SEM_ERROR (-350)
|
---|
621 | /** Too many semaphores. */
|
---|
622 | #define VERR_TOO_MANY_SEMAPHORES (-351)
|
---|
623 | /** Exclusive semaphore is owned by another process. */
|
---|
624 | #define VERR_EXCL_SEM_ALREADY_OWNED (-352)
|
---|
625 | /** The semaphore is set and cannot be closed. */
|
---|
626 | #define VERR_SEM_IS_SET (-353)
|
---|
627 | /** The semaphore cannot be set again. */
|
---|
628 | #define VERR_TOO_MANY_SEM_REQUESTS (-354)
|
---|
629 | /** Attempt to release mutex not owned by caller. */
|
---|
630 | #define VERR_NOT_OWNER (-355)
|
---|
631 | /** The semaphore has been opened too many times. */
|
---|
632 | #define VERR_TOO_MANY_OPENS (-356)
|
---|
633 | /** The maximum posts for the event semaphore has been reached. */
|
---|
634 | #define VERR_TOO_MANY_POSTS (-357)
|
---|
635 | /** The event semaphore has already been posted. */
|
---|
636 | #define VERR_ALREADY_POSTED (-358)
|
---|
637 | /** The event semaphore has already been reset. */
|
---|
638 | #define VERR_ALREADY_RESET (-359)
|
---|
639 | /** The semaphore is in use. */
|
---|
640 | #define VERR_SEM_BUSY (-360)
|
---|
641 | /** The previous ownership of this semaphore has ended. */
|
---|
642 | #define VERR_SEM_OWNER_DIED (-361)
|
---|
643 | /** Failed to open semaphore by name - not found. */
|
---|
644 | #define VERR_SEM_NOT_FOUND (-362)
|
---|
645 | /** Semaphore destroyed while waiting. */
|
---|
646 | #define VERR_SEM_DESTROYED (-363)
|
---|
647 | /** Nested ownership requests are not permitted for this semaphore type. */
|
---|
648 | #define VERR_SEM_NESTED (-364)
|
---|
649 | /** The release call only release a semaphore nesting, i.e. the caller is still
|
---|
650 | * holding the semaphore. */
|
---|
651 | #define VINF_SEM_NESTED (364)
|
---|
652 | /** Deadlock detected. */
|
---|
653 | #define VERR_DEADLOCK (-365)
|
---|
654 | /** Ping-Pong listen or speak out of turn error. */
|
---|
655 | #define VERR_SEM_OUT_OF_TURN (-366)
|
---|
656 | /** Tried to take a semaphore in a bad context. */
|
---|
657 | #define VERR_SEM_BAD_CONTEXT (-367)
|
---|
658 | /** Don't spin for the semaphore, but it is safe to try grab it. */
|
---|
659 | #define VINF_SEM_BAD_CONTEXT (367)
|
---|
660 | /** Wrong locking order detected. */
|
---|
661 | #define VERR_SEM_LV_WRONG_ORDER (-368)
|
---|
662 | /** Wrong release order detected. */
|
---|
663 | #define VERR_SEM_LV_WRONG_RELEASE_ORDER (-369)
|
---|
664 | /** Attempt to recursively enter a non-recursive lock. */
|
---|
665 | #define VERR_SEM_LV_NESTED (-370)
|
---|
666 | /** Invalid parameters passed to the lock validator. */
|
---|
667 | #define VERR_SEM_LV_INVALID_PARAMETER (-371)
|
---|
668 | /** The lock validator detected a deadlock. */
|
---|
669 | #define VERR_SEM_LV_DEADLOCK (-372)
|
---|
670 | /** The lock validator detected an existing deadlock.
|
---|
671 | * The deadlock was not caused by the current operation, but existed already. */
|
---|
672 | #define VERR_SEM_LV_EXISTING_DEADLOCK (-373)
|
---|
673 | /** Not the lock owner according our records. */
|
---|
674 | #define VERR_SEM_LV_NOT_OWNER (-374)
|
---|
675 | /** An illegal lock upgrade was attempted. */
|
---|
676 | #define VERR_SEM_LV_ILLEGAL_UPGRADE (-375)
|
---|
677 | /** The thread is not a valid signaller of the event. */
|
---|
678 | #define VERR_SEM_LV_NOT_SIGNALLER (-376)
|
---|
679 | /** Internal error in the lock validator or related components. */
|
---|
680 | #define VERR_SEM_LV_INTERNAL_ERROR (-377)
|
---|
681 | /** @} */
|
---|
682 |
|
---|
683 |
|
---|
684 | /** @name Generic Network I/O Status Codes
|
---|
685 | * @{
|
---|
686 | */
|
---|
687 | /** Unresolved (unknown) network error. */
|
---|
688 | #define VERR_NET_IO_ERROR (-400)
|
---|
689 | /** The network is busy or is out of resources. */
|
---|
690 | #define VERR_NET_OUT_OF_RESOURCES (-401)
|
---|
691 | /** Net host name not found. */
|
---|
692 | #define VERR_NET_HOST_NOT_FOUND (-402)
|
---|
693 | /** Network path not found. */
|
---|
694 | #define VERR_NET_PATH_NOT_FOUND (-403)
|
---|
695 | /** General network printing error. */
|
---|
696 | #define VERR_NET_PRINT_ERROR (-404)
|
---|
697 | /** The machine is not on the network. */
|
---|
698 | #define VERR_NET_NO_NETWORK (-405)
|
---|
699 | /** Name is not unique on the network. */
|
---|
700 | #define VERR_NET_NOT_UNIQUE_NAME (-406)
|
---|
701 |
|
---|
702 | /* These are BSD networking error codes - numbers correspond, don't mess! */
|
---|
703 | /** Operation in progress. */
|
---|
704 | #define VERR_NET_IN_PROGRESS (-436)
|
---|
705 | /** Operation already in progress. */
|
---|
706 | #define VERR_NET_ALREADY_IN_PROGRESS (-437)
|
---|
707 | /** Attempted socket operation with a non-socket handle.
|
---|
708 | * (This includes closed handles.) */
|
---|
709 | #define VERR_NET_NOT_SOCKET (-438)
|
---|
710 | /** Destination address required. */
|
---|
711 | #define VERR_NET_DEST_ADDRESS_REQUIRED (-439)
|
---|
712 | /** Message too long. */
|
---|
713 | #define VERR_NET_MSG_SIZE (-440)
|
---|
714 | /** Protocol wrong type for socket. */
|
---|
715 | #define VERR_NET_PROTOCOL_TYPE (-441)
|
---|
716 | /** Protocol not available. */
|
---|
717 | #define VERR_NET_PROTOCOL_NOT_AVAILABLE (-442)
|
---|
718 | /** Protocol not supported. */
|
---|
719 | #define VERR_NET_PROTOCOL_NOT_SUPPORTED (-443)
|
---|
720 | /** Socket type not supported. */
|
---|
721 | #define VERR_NET_SOCKET_TYPE_NOT_SUPPORTED (-444)
|
---|
722 | /** Operation not supported. */
|
---|
723 | #define VERR_NET_OPERATION_NOT_SUPPORTED (-445)
|
---|
724 | /** Protocol family not supported. */
|
---|
725 | #define VERR_NET_PROTOCOL_FAMILY_NOT_SUPPORTED (-446)
|
---|
726 | /** Address family not supported by protocol family. */
|
---|
727 | #define VERR_NET_ADDRESS_FAMILY_NOT_SUPPORTED (-447)
|
---|
728 | /** Address already in use. */
|
---|
729 | #define VERR_NET_ADDRESS_IN_USE (-448)
|
---|
730 | /** Can't assign requested address. */
|
---|
731 | #define VERR_NET_ADDRESS_NOT_AVAILABLE (-449)
|
---|
732 | /** Network is down. */
|
---|
733 | #define VERR_NET_DOWN (-450)
|
---|
734 | /** Network is unreachable. */
|
---|
735 | #define VERR_NET_UNREACHABLE (-451)
|
---|
736 | /** Network dropped connection on reset. */
|
---|
737 | #define VERR_NET_CONNECTION_RESET (-452)
|
---|
738 | /** Software caused connection abort. */
|
---|
739 | #define VERR_NET_CONNECTION_ABORTED (-453)
|
---|
740 | /** Connection reset by peer. */
|
---|
741 | #define VERR_NET_CONNECTION_RESET_BY_PEER (-454)
|
---|
742 | /** No buffer space available. */
|
---|
743 | #define VERR_NET_NO_BUFFER_SPACE (-455)
|
---|
744 | /** Socket is already connected. */
|
---|
745 | #define VERR_NET_ALREADY_CONNECTED (-456)
|
---|
746 | /** Socket is not connected. */
|
---|
747 | #define VERR_NET_NOT_CONNECTED (-457)
|
---|
748 | /** Can't send after socket shutdown. */
|
---|
749 | #define VERR_NET_SHUTDOWN (-458)
|
---|
750 | /** Too many references: can't splice. */
|
---|
751 | #define VERR_NET_TOO_MANY_REFERENCES (-459)
|
---|
752 | /** Too many references: can't splice. */
|
---|
753 | #define VERR_NET_CONNECTION_TIMED_OUT (-460)
|
---|
754 | /** Connection refused. */
|
---|
755 | #define VERR_NET_CONNECTION_REFUSED (-461)
|
---|
756 | /* ELOOP is not net. */
|
---|
757 | /* ENAMETOOLONG is not net. */
|
---|
758 | /** Host is down. */
|
---|
759 | #define VERR_NET_HOST_DOWN (-464)
|
---|
760 | /** No route to host. */
|
---|
761 | #define VERR_NET_HOST_UNREACHABLE (-465)
|
---|
762 | /** Protocol error. */
|
---|
763 | #define VERR_NET_PROTOCOL_ERROR (-466)
|
---|
764 | /** Incomplete packet was submitted by guest. */
|
---|
765 | #define VERR_NET_INCOMPLETE_TX_PACKET (-467)
|
---|
766 | /** Winsock init error. */
|
---|
767 | #define VERR_NET_INIT_FAILED (-468)
|
---|
768 | /** Trying to use too new winsock API. */
|
---|
769 | #define VERR_NET_NOT_UNSUPPORTED (-469)
|
---|
770 | /** @} */
|
---|
771 |
|
---|
772 |
|
---|
773 | /** @name TCP Status Codes
|
---|
774 | * @{
|
---|
775 | */
|
---|
776 | /** Stop the TCP server. */
|
---|
777 | #define VERR_TCP_SERVER_STOP (-500)
|
---|
778 | /** The server was stopped. */
|
---|
779 | #define VINF_TCP_SERVER_STOP 500
|
---|
780 | /** The TCP server was shut down using RTTcpServerShutdown. */
|
---|
781 | #define VERR_TCP_SERVER_SHUTDOWN (-501)
|
---|
782 | /** The TCP server was destroyed. */
|
---|
783 | #define VERR_TCP_SERVER_DESTROYED (-502)
|
---|
784 | /** The TCP server has no client associated with it. */
|
---|
785 | #define VINF_TCP_SERVER_NO_CLIENT 503
|
---|
786 | /** @} */
|
---|
787 |
|
---|
788 |
|
---|
789 | /** @name UDP Status Codes
|
---|
790 | * @{
|
---|
791 | */
|
---|
792 | /** Stop the UDP server. */
|
---|
793 | #define VERR_UDP_SERVER_STOP (-520)
|
---|
794 | /** The server was stopped. */
|
---|
795 | #define VINF_UDP_SERVER_STOP 520
|
---|
796 | /** The UDP server was shut down using RTUdpServerShutdown. */
|
---|
797 | #define VERR_UDP_SERVER_SHUTDOWN (-521)
|
---|
798 | /** The UDP server was destroyed. */
|
---|
799 | #define VERR_UDP_SERVER_DESTROYED (-522)
|
---|
800 | /** The UDP server has no client associated with it. */
|
---|
801 | #define VINF_UDP_SERVER_NO_CLIENT 523
|
---|
802 | /** @} */
|
---|
803 |
|
---|
804 |
|
---|
805 | /** @name L4 Specific Status Codes
|
---|
806 | * @{
|
---|
807 | */
|
---|
808 | /** Invalid offset in an L4 dataspace */
|
---|
809 | #define VERR_L4_INVALID_DS_OFFSET (-550)
|
---|
810 | /** IPC error */
|
---|
811 | #define VERR_IPC (-551)
|
---|
812 | /** Item already used */
|
---|
813 | #define VERR_RESOURCE_IN_USE (-552)
|
---|
814 | /** Source/destination not found */
|
---|
815 | #define VERR_IPC_PROCESS_NOT_FOUND (-553)
|
---|
816 | /** Receive timeout */
|
---|
817 | #define VERR_IPC_RECEIVE_TIMEOUT (-554)
|
---|
818 | /** Send timeout */
|
---|
819 | #define VERR_IPC_SEND_TIMEOUT (-555)
|
---|
820 | /** Receive cancelled */
|
---|
821 | #define VERR_IPC_RECEIVE_CANCELLED (-556)
|
---|
822 | /** Send cancelled */
|
---|
823 | #define VERR_IPC_SEND_CANCELLED (-557)
|
---|
824 | /** Receive aborted */
|
---|
825 | #define VERR_IPC_RECEIVE_ABORTED (-558)
|
---|
826 | /** Send aborted */
|
---|
827 | #define VERR_IPC_SEND_ABORTED (-559)
|
---|
828 | /** Couldn't map pages during receive */
|
---|
829 | #define VERR_IPC_RECEIVE_MAP_FAILED (-560)
|
---|
830 | /** Couldn't map pages during send */
|
---|
831 | #define VERR_IPC_SEND_MAP_FAILED (-561)
|
---|
832 | /** Send pagefault timeout in receive */
|
---|
833 | #define VERR_IPC_RECEIVE_SEND_PF_TIMEOUT (-562)
|
---|
834 | /** Send pagefault timeout in send */
|
---|
835 | #define VERR_IPC_SEND_SEND_PF_TIMEOUT (-563)
|
---|
836 | /** (One) receive buffer was too small, or too few buffers */
|
---|
837 | #define VINF_IPC_RECEIVE_MSG_CUT 564
|
---|
838 | /** (One) send buffer was too small, or too few buffers */
|
---|
839 | #define VINF_IPC_SEND_MSG_CUT 565
|
---|
840 | /** Dataspace manager server not found */
|
---|
841 | #define VERR_L4_DS_MANAGER_NOT_FOUND (-566)
|
---|
842 | /** @} */
|
---|
843 |
|
---|
844 |
|
---|
845 | /** @name Loader Status Codes.
|
---|
846 | * @{
|
---|
847 | */
|
---|
848 | /** Invalid executable signature. */
|
---|
849 | #define VERR_INVALID_EXE_SIGNATURE (-600)
|
---|
850 | /** The iprt loader recognized a ELF image, but doesn't support loading it. */
|
---|
851 | #define VERR_ELF_EXE_NOT_SUPPORTED (-601)
|
---|
852 | /** The iprt loader recognized a PE image, but doesn't support loading it. */
|
---|
853 | #define VERR_PE_EXE_NOT_SUPPORTED (-602)
|
---|
854 | /** The iprt loader recognized a LX image, but doesn't support loading it. */
|
---|
855 | #define VERR_LX_EXE_NOT_SUPPORTED (-603)
|
---|
856 | /** The iprt loader recognized a LE image, but doesn't support loading it. */
|
---|
857 | #define VERR_LE_EXE_NOT_SUPPORTED (-604)
|
---|
858 | /** The iprt loader recognized a NE image, but doesn't support loading it. */
|
---|
859 | #define VERR_NE_EXE_NOT_SUPPORTED (-605)
|
---|
860 | /** The iprt loader recognized a MZ image, but doesn't support loading it. */
|
---|
861 | #define VERR_MZ_EXE_NOT_SUPPORTED (-606)
|
---|
862 | /** The iprt loader recognized an a.out image, but doesn't support loading it. */
|
---|
863 | #define VERR_AOUT_EXE_NOT_SUPPORTED (-607)
|
---|
864 | /** Bad executable. */
|
---|
865 | #define VERR_BAD_EXE_FORMAT (-608)
|
---|
866 | /** Symbol (export) not found. */
|
---|
867 | #define VERR_SYMBOL_NOT_FOUND (-609)
|
---|
868 | /** Module not found. */
|
---|
869 | #define VERR_MODULE_NOT_FOUND (-610)
|
---|
870 | /** The loader resolved an external symbol to an address to big for the image format. */
|
---|
871 | #define VERR_SYMBOL_VALUE_TOO_BIG (-611)
|
---|
872 | /** The image is too big. */
|
---|
873 | #define VERR_IMAGE_TOO_BIG (-612)
|
---|
874 | /** The image base address is to high for this image type. */
|
---|
875 | #define VERR_IMAGE_BASE_TOO_HIGH (-614)
|
---|
876 | /** Mismatching architecture. */
|
---|
877 | #define VERR_LDR_ARCH_MISMATCH (-615)
|
---|
878 | /** Mismatch between IPRT and native loader. */
|
---|
879 | #define VERR_LDR_MISMATCH_NATIVE (-616)
|
---|
880 | /** Failed to resolve an imported (external) symbol. */
|
---|
881 | #define VERR_LDR_IMPORTED_SYMBOL_NOT_FOUND (-617)
|
---|
882 | /** Generic loader failure. */
|
---|
883 | #define VERR_LDR_GENERAL_FAILURE (-618)
|
---|
884 | /** Code signing error. */
|
---|
885 | #define VERR_LDR_IMAGE_HASH (-619)
|
---|
886 | /** The PE loader encountered delayed imports, a feature which hasn't been implemented yet. */
|
---|
887 | #define VERR_LDRPE_DELAY_IMPORT (-620)
|
---|
888 | /** The PE loader encountered a malformed certificate. */
|
---|
889 | #define VERR_LDRPE_CERT_MALFORMED (-621)
|
---|
890 | /** The PE loader encountered a certificate with an unsupported type or structure revision. */
|
---|
891 | #define VERR_LDRPE_CERT_UNSUPPORTED (-622)
|
---|
892 | /** The PE loader doesn't know how to deal with the global pointer data directory entry yet. */
|
---|
893 | #define VERR_LDRPE_GLOBALPTR (-623)
|
---|
894 | /** The PE loader doesn't support the TLS data directory yet. */
|
---|
895 | #define VERR_LDRPE_TLS (-624)
|
---|
896 | /** The PE loader doesn't grok the COM descriptor data directory entry. */
|
---|
897 | #define VERR_LDRPE_COM_DESCRIPTOR (-625)
|
---|
898 | /** The PE loader encountered an unknown load config directory/header size. */
|
---|
899 | #define VERR_LDRPE_LOAD_CONFIG_SIZE (-626)
|
---|
900 | /** The PE loader encountered a lock prefix table, a feature which hasn't been implemented yet. */
|
---|
901 | #define VERR_LDRPE_LOCK_PREFIX_TABLE (-627)
|
---|
902 | /** The PE loader encountered some Guard CF stuff in the load config. */
|
---|
903 | #define VERR_LDRPE_GUARD_CF_STUFF (-628)
|
---|
904 | /** The ELF loader doesn't handle foreign endianness. */
|
---|
905 | #define VERR_LDRELF_ODD_ENDIAN (-630)
|
---|
906 | /** The ELF image is 'dynamic', the ELF loader can only deal with 'relocatable' images at present. */
|
---|
907 | #define VERR_LDRELF_DYN (-631)
|
---|
908 | /** The ELF image is 'executable', the ELF loader can only deal with 'relocatable' images at present. */
|
---|
909 | #define VERR_LDRELF_EXEC (-632)
|
---|
910 | /** The ELF image was created for an unsupported target machine type. */
|
---|
911 | #define VERR_LDRELF_MACHINE (-633)
|
---|
912 | /** The ELF version is not supported. */
|
---|
913 | #define VERR_LDRELF_VERSION (-634)
|
---|
914 | /** The ELF loader cannot handle multiple SYMTAB sections. */
|
---|
915 | #define VERR_LDRELF_MULTIPLE_SYMTABS (-635)
|
---|
916 | /** The ELF loader encountered a relocation type which is not implemented. */
|
---|
917 | #define VERR_LDRELF_RELOCATION_NOT_SUPPORTED (-636)
|
---|
918 | /** The ELF loader encountered a bad symbol index. */
|
---|
919 | #define VERR_LDRELF_INVALID_SYMBOL_INDEX (-637)
|
---|
920 | /** The ELF loader encountered an invalid symbol name offset. */
|
---|
921 | #define VERR_LDRELF_INVALID_SYMBOL_NAME_OFFSET (-638)
|
---|
922 | /** The ELF loader encountered an invalid relocation offset. */
|
---|
923 | #define VERR_LDRELF_INVALID_RELOCATION_OFFSET (-639)
|
---|
924 | /** The ELF loader didn't find the symbol/string table for the image. */
|
---|
925 | #define VERR_LDRELF_NO_SYMBOL_OR_NO_STRING_TABS (-640)
|
---|
926 | /** The ELF loader encountered an unterminated string table. */
|
---|
927 | #define VERR_LDRELF_UNTERMINATED_STRING_TAB (-641)
|
---|
928 | /** Invalid link address. */
|
---|
929 | #define VERR_LDR_INVALID_LINK_ADDRESS (-647)
|
---|
930 | /** Invalid image relative virtual address. */
|
---|
931 | #define VERR_LDR_INVALID_RVA (-648)
|
---|
932 | /** Invalid segment:offset address. */
|
---|
933 | #define VERR_LDR_INVALID_SEG_OFFSET (-649)
|
---|
934 | /** @}*/
|
---|
935 |
|
---|
936 | /** @name Debug Info Reader Status Codes.
|
---|
937 | * @{
|
---|
938 | */
|
---|
939 | /** The module contains no line number information. */
|
---|
940 | #define VERR_DBG_NO_LINE_NUMBERS (-650)
|
---|
941 | /** The module contains no symbol information. */
|
---|
942 | #define VERR_DBG_NO_SYMBOLS (-651)
|
---|
943 | /** The specified segment:offset address was invalid. Typically an attempt at
|
---|
944 | * addressing outside the segment boundary. */
|
---|
945 | #define VERR_DBG_INVALID_ADDRESS (-652)
|
---|
946 | /** Invalid segment index. */
|
---|
947 | #define VERR_DBG_INVALID_SEGMENT_INDEX (-653)
|
---|
948 | /** Invalid segment offset. */
|
---|
949 | #define VERR_DBG_INVALID_SEGMENT_OFFSET (-654)
|
---|
950 | /** Invalid image relative virtual address. */
|
---|
951 | #define VERR_DBG_INVALID_RVA (-655)
|
---|
952 | /** Invalid image relative virtual address. */
|
---|
953 | #define VERR_DBG_SPECIAL_SEGMENT (-656)
|
---|
954 | /** Address conflict within a module/segment.
|
---|
955 | * Attempted to add a segment, symbol or line number that fully or partially
|
---|
956 | * overlaps with an existing one. */
|
---|
957 | #define VERR_DBG_ADDRESS_CONFLICT (-657)
|
---|
958 | /** Duplicate symbol within the module.
|
---|
959 | * Attempted to add a symbol which name already exists within the module. */
|
---|
960 | #define VERR_DBG_DUPLICATE_SYMBOL (-658)
|
---|
961 | /** The segment index specified when adding a new segment is already in use. */
|
---|
962 | #define VERR_DBG_SEGMENT_INDEX_CONFLICT (-659)
|
---|
963 | /** No line number was found for the specified address/ordinal/whatever. */
|
---|
964 | #define VERR_DBG_LINE_NOT_FOUND (-660)
|
---|
965 | /** The length of the symbol name is out of range.
|
---|
966 | * This means it is an empty string or that it's greater or equal to
|
---|
967 | * RTDBG_SYMBOL_NAME_LENGTH. */
|
---|
968 | #define VERR_DBG_SYMBOL_NAME_OUT_OF_RANGE (-661)
|
---|
969 | /** The length of the file name is out of range.
|
---|
970 | * This means it is an empty string or that it's greater or equal to
|
---|
971 | * RTDBG_FILE_NAME_LENGTH. */
|
---|
972 | #define VERR_DBG_FILE_NAME_OUT_OF_RANGE (-662)
|
---|
973 | /** The length of the segment name is out of range.
|
---|
974 | * This means it is an empty string or that it is greater or equal to
|
---|
975 | * RTDBG_SEGMENT_NAME_LENGTH. */
|
---|
976 | #define VERR_DBG_SEGMENT_NAME_OUT_OF_RANGE (-663)
|
---|
977 | /** The specified address range wraps around. */
|
---|
978 | #define VERR_DBG_ADDRESS_WRAP (-664)
|
---|
979 | /** The file is not a valid NM map file. */
|
---|
980 | #define VERR_DBG_NOT_NM_MAP_FILE (-665)
|
---|
981 | /** The file is not a valid /proc/kallsyms file. */
|
---|
982 | #define VERR_DBG_NOT_LINUX_KALLSYMS (-666)
|
---|
983 | /** No debug module interpreter matching the debug info. */
|
---|
984 | #define VERR_DBG_NO_MATCHING_INTERPRETER (-667)
|
---|
985 | /** Bad DWARF line number header. */
|
---|
986 | #define VERR_DWARF_BAD_LINE_NUMBER_HEADER (-668)
|
---|
987 | /** Unexpected end of DWARF unit. */
|
---|
988 | #define VERR_DWARF_UNEXPECTED_END (-669)
|
---|
989 | /** DWARF LEB value overflows the decoder type. */
|
---|
990 | #define VERR_DWARF_LEB_OVERFLOW (-670)
|
---|
991 | /** Bad DWARF extended line number opcode. */
|
---|
992 | #define VERR_DWARF_BAD_LNE (-671)
|
---|
993 | /** Bad DWARF string. */
|
---|
994 | #define VERR_DWARF_BAD_STRING (-672)
|
---|
995 | /** Bad DWARF position. */
|
---|
996 | #define VERR_DWARF_BAD_POS (-673)
|
---|
997 | /** Bad DWARF info. */
|
---|
998 | #define VERR_DWARF_BAD_INFO (-674)
|
---|
999 | /** Bad DWARF abbreviation data. */
|
---|
1000 | #define VERR_DWARF_BAD_ABBREV (-675)
|
---|
1001 | /** A DWARF abbreviation was not found. */
|
---|
1002 | #define VERR_DWARF_ABBREV_NOT_FOUND (-676)
|
---|
1003 | /** Encountered an unknown attribute form. */
|
---|
1004 | #define VERR_DWARF_UNKNOWN_FORM (-677)
|
---|
1005 | /** Encountered an unexpected attribute form. */
|
---|
1006 | #define VERR_DWARF_UNEXPECTED_FORM (-678)
|
---|
1007 | /** Unfinished code. */
|
---|
1008 | #define VERR_DWARF_TODO (-679)
|
---|
1009 | /** Unknown location opcode. */
|
---|
1010 | #define VERR_DWARF_UNKNOWN_LOC_OPCODE (-680)
|
---|
1011 | /** Expression stack overflow. */
|
---|
1012 | #define VERR_DWARF_STACK_OVERFLOW (-681)
|
---|
1013 | /** Expression stack underflow. */
|
---|
1014 | #define VERR_DWARF_STACK_UNDERFLOW (-682)
|
---|
1015 | /** Internal processing error in the DWARF code. */
|
---|
1016 | #define VERR_DWARF_IPE (-683)
|
---|
1017 | /** Invalid configuration property value. */
|
---|
1018 | #define VERR_DBG_CFG_INVALID_VALUE (-684)
|
---|
1019 | /** Not an integer property. */
|
---|
1020 | #define VERR_DBG_CFG_NOT_UINT_PROP (-685)
|
---|
1021 | /** Deferred loading of information failed. */
|
---|
1022 | #define VERR_DBG_DEFERRED_LOAD_FAILED (-686)
|
---|
1023 | /** Unfinished debug info reader code. */
|
---|
1024 | #define VERR_DBG_TODO (-687)
|
---|
1025 | /** Found file, but it didn't match the search criteria. */
|
---|
1026 | #define VERR_DBG_FILE_MISMATCH (-688)
|
---|
1027 | /** Internal processing error in the debug module reader code. */
|
---|
1028 | #define VERR_DBG_MOD_IPE (-689)
|
---|
1029 | /** The symbol size was adjusted while adding it. */
|
---|
1030 | #define VINF_DBG_ADJUSTED_SYM_SIZE 690
|
---|
1031 | /** Unable to parse the CodeView debug information. */
|
---|
1032 | #define VERR_CV_BAD_FORMAT (-691)
|
---|
1033 | /** Unfinished CodeView debug information feature. */
|
---|
1034 | #define VERR_CV_TODO (-692)
|
---|
1035 | /** Internal processing error the CodeView debug information reader. */
|
---|
1036 | #define VERR_CV_IPE (-693)
|
---|
1037 | /** No unwind information was found. */
|
---|
1038 | #define VERR_DBG_NO_UNWIND_INFO (-694)
|
---|
1039 | /** No unwind information for the specified location. */
|
---|
1040 | #define VERR_DBG_UNWIND_INFO_NOT_FOUND (-695)
|
---|
1041 | /** Malformed unwind information. */
|
---|
1042 | #define VERR_DBG_MALFORMED_UNWIND_INFO (-696)
|
---|
1043 | /** @} */
|
---|
1044 |
|
---|
1045 | /** @name Request Packet Status Codes.
|
---|
1046 | * @{
|
---|
1047 | */
|
---|
1048 | /** Invalid RT request type.
|
---|
1049 | * For the RTReqAlloc() case, the caller just specified an illegal enmType. For
|
---|
1050 | * all the other occurrences it means indicates corruption, broken logic, or stupid
|
---|
1051 | * interface user. */
|
---|
1052 | #define VERR_RT_REQUEST_INVALID_TYPE (-700)
|
---|
1053 | /** Invalid RT request state.
|
---|
1054 | * The state of the request packet was not the expected and accepted one(s). Either
|
---|
1055 | * the interface user screwed up, or we've got corruption/broken logic. */
|
---|
1056 | #define VERR_RT_REQUEST_STATE (-701)
|
---|
1057 | /** Invalid RT request packet.
|
---|
1058 | * One or more of the RT controlled packet members didn't contain the correct
|
---|
1059 | * values. Some thing's broken. */
|
---|
1060 | #define VERR_RT_REQUEST_INVALID_PACKAGE (-702)
|
---|
1061 | /** The status field has not been updated yet as the request is still
|
---|
1062 | * pending completion. Someone queried the iStatus field before the request
|
---|
1063 | * has been fully processed. */
|
---|
1064 | #define VERR_RT_REQUEST_STATUS_STILL_PENDING (-703)
|
---|
1065 | /** The request has been freed, don't read the status now.
|
---|
1066 | * Someone is reading the iStatus field of a freed request packet. */
|
---|
1067 | #define VERR_RT_REQUEST_STATUS_FREED (-704)
|
---|
1068 | /** @} */
|
---|
1069 |
|
---|
1070 | /** @name Environment Status Code
|
---|
1071 | * @{
|
---|
1072 | */
|
---|
1073 | /** The specified environment variable was not found. (RTEnvGetEx) */
|
---|
1074 | #define VERR_ENV_VAR_NOT_FOUND (-750)
|
---|
1075 | /** The specified environment variable was not found. (RTEnvUnsetEx) */
|
---|
1076 | #define VINF_ENV_VAR_NOT_FOUND (750)
|
---|
1077 | /** Unable to translate all the variables in the default environment due to
|
---|
1078 | * codeset issues (LANG / LC_ALL / LC_CTYPE). */
|
---|
1079 | #define VWRN_ENV_NOT_FULLY_TRANSLATED (751)
|
---|
1080 | /** Invalid environment variable name. */
|
---|
1081 | #define VERR_ENV_INVALID_VAR_NAME (-752)
|
---|
1082 | /** The environment variable is an unset record. */
|
---|
1083 | #define VINF_ENV_VAR_UNSET (753)
|
---|
1084 | /** The environment variable has been recorded as being unset. */
|
---|
1085 | #define VERR_ENV_VAR_UNSET (-753)
|
---|
1086 | /** @} */
|
---|
1087 |
|
---|
1088 | /** @name Multiprocessor Status Codes.
|
---|
1089 | * @{
|
---|
1090 | */
|
---|
1091 | /** The specified cpu is offline. */
|
---|
1092 | #define VERR_CPU_OFFLINE (-800)
|
---|
1093 | /** The specified cpu was not found. */
|
---|
1094 | #define VERR_CPU_NOT_FOUND (-801)
|
---|
1095 | /** Not all of the requested CPUs showed up in the PFNRTMPWORKER. */
|
---|
1096 | #define VERR_NOT_ALL_CPUS_SHOWED (-802)
|
---|
1097 | /** Internal processing error in the RTMp code.*/
|
---|
1098 | #define VERR_CPU_IPE_1 (-803)
|
---|
1099 | /** @} */
|
---|
1100 |
|
---|
1101 | /** @name RTGetOpt status codes
|
---|
1102 | * @{ */
|
---|
1103 | /** RTGetOpt: Command line option not recognized. */
|
---|
1104 | #define VERR_GETOPT_UNKNOWN_OPTION (-825)
|
---|
1105 | /** RTGetOpt: Command line option needs argument. */
|
---|
1106 | #define VERR_GETOPT_REQUIRED_ARGUMENT_MISSING (-826)
|
---|
1107 | /** RTGetOpt: Command line option has argument with bad format. */
|
---|
1108 | #define VERR_GETOPT_INVALID_ARGUMENT_FORMAT (-827)
|
---|
1109 | /** RTGetOpt: Not an option. */
|
---|
1110 | #define VINF_GETOPT_NOT_OPTION 828
|
---|
1111 | /** RTGetOpt: Command line option needs an index. */
|
---|
1112 | #define VERR_GETOPT_INDEX_MISSING (-829)
|
---|
1113 | /** @} */
|
---|
1114 |
|
---|
1115 | /** @name RTCache status codes
|
---|
1116 | * @{ */
|
---|
1117 | /** RTCache: cache is full. */
|
---|
1118 | #define VERR_CACHE_FULL (-850)
|
---|
1119 | /** RTCache: cache is empty. */
|
---|
1120 | #define VERR_CACHE_EMPTY (-851)
|
---|
1121 | /** @} */
|
---|
1122 |
|
---|
1123 | /** @name RTMemCache status codes
|
---|
1124 | * @{ */
|
---|
1125 | /** Reached the max cache size. */
|
---|
1126 | #define VERR_MEM_CACHE_MAX_SIZE (-855)
|
---|
1127 | /** @} */
|
---|
1128 |
|
---|
1129 | /** @name RTS3 status codes
|
---|
1130 | * @{ */
|
---|
1131 | /** Access denied error. */
|
---|
1132 | #define VERR_S3_ACCESS_DENIED (-875)
|
---|
1133 | /** The bucket/key wasn't found. */
|
---|
1134 | #define VERR_S3_NOT_FOUND (-876)
|
---|
1135 | /** Bucket already exists. */
|
---|
1136 | #define VERR_S3_BUCKET_ALREADY_EXISTS (-877)
|
---|
1137 | /** Can't delete bucket with keys. */
|
---|
1138 | #define VERR_S3_BUCKET_NOT_EMPTY (-878)
|
---|
1139 | /** The current operation was canceled. */
|
---|
1140 | #define VERR_S3_CANCELED (-879)
|
---|
1141 | /** @} */
|
---|
1142 |
|
---|
1143 | /** @name HTTP status codes
|
---|
1144 | * @{ */
|
---|
1145 | /** HTTP Internal Server Error. */
|
---|
1146 | #define VERR_HTTP_STATUS_SERVER_ERROR (-884)
|
---|
1147 | /** HTTP initialization failed. */
|
---|
1148 | #define VERR_HTTP_INIT_FAILED (-885)
|
---|
1149 | /** The server has not found anything matching the URI given. */
|
---|
1150 | #define VERR_HTTP_NOT_FOUND (-886)
|
---|
1151 | /** The request is for something forbidden. Authorization will not help. */
|
---|
1152 | #define VERR_HTTP_ACCESS_DENIED (-887)
|
---|
1153 | /** The server did not understand the request due to bad syntax. */
|
---|
1154 | #define VERR_HTTP_BAD_REQUEST (-888)
|
---|
1155 | /** Couldn't connect to the server (proxy?). */
|
---|
1156 | #define VERR_HTTP_COULDNT_CONNECT (-889)
|
---|
1157 | /** SSL connection error. */
|
---|
1158 | #define VERR_HTTP_SSL_CONNECT_ERROR (-890)
|
---|
1159 | /** CAcert is missing or has the wrong format. */
|
---|
1160 | #define VERR_HTTP_CACERT_WRONG_FORMAT (-891)
|
---|
1161 | /** Certificate cannot be authenticated with the given CA certificates. */
|
---|
1162 | #define VERR_HTTP_CACERT_CANNOT_AUTHENTICATE (-892)
|
---|
1163 | /** The current HTTP request was forcefully aborted */
|
---|
1164 | #define VERR_HTTP_ABORTED (-893)
|
---|
1165 | /** Request was redirected. */
|
---|
1166 | #define VERR_HTTP_REDIRECTED (-894)
|
---|
1167 | /** Proxy couldn't be resolved. */
|
---|
1168 | #define VERR_HTTP_PROXY_NOT_FOUND (-895)
|
---|
1169 | /** The remote host couldn't be resolved. */
|
---|
1170 | #define VERR_HTTP_HOST_NOT_FOUND (-896)
|
---|
1171 | /** Unexpected cURL error configure the proxy. */
|
---|
1172 | #define VERR_HTTP_CURL_PROXY_CONFIG (-897)
|
---|
1173 | /** Generic CURL error. */
|
---|
1174 | #define VERR_HTTP_CURL_ERROR (-899)
|
---|
1175 | /** @} */
|
---|
1176 |
|
---|
1177 | /** @name RTManifest status codes
|
---|
1178 | * @{ */
|
---|
1179 | /** A digest type used in the manifest file isn't supported. */
|
---|
1180 | #define VERR_MANIFEST_UNSUPPORTED_DIGEST_TYPE (-900)
|
---|
1181 | /** An entry in the manifest file couldn't be interpreted correctly. */
|
---|
1182 | #define VERR_MANIFEST_WRONG_FILE_FORMAT (-901)
|
---|
1183 | /** A digest doesn't match the corresponding file. */
|
---|
1184 | #define VERR_MANIFEST_DIGEST_MISMATCH (-902)
|
---|
1185 | /** The file list doesn't match to the content of the manifest file. */
|
---|
1186 | #define VERR_MANIFEST_FILE_MISMATCH (-903)
|
---|
1187 | /** The specified attribute (name) was not found in the manifest. */
|
---|
1188 | #define VERR_MANIFEST_ATTR_NOT_FOUND (-904)
|
---|
1189 | /** The attribute type did not match. */
|
---|
1190 | #define VERR_MANIFEST_ATTR_TYPE_MISMATCH (-905)
|
---|
1191 | /** No attribute of the specified types was found. */
|
---|
1192 | #define VERR_MANIFEST_ATTR_TYPE_NOT_FOUND (-906)
|
---|
1193 | /** @} */
|
---|
1194 |
|
---|
1195 | /** @name RTTar status codes
|
---|
1196 | * @{ */
|
---|
1197 | /** The checksum of a tar header record doesn't match. */
|
---|
1198 | #define VERR_TAR_CHKSUM_MISMATCH (-925)
|
---|
1199 | /** The tar end of file record was read. */
|
---|
1200 | #define VERR_TAR_END_OF_FILE (-926)
|
---|
1201 | /** The tar file ended unexpectedly. */
|
---|
1202 | #define VERR_TAR_UNEXPECTED_EOS (-927)
|
---|
1203 | /** The tar termination records was encountered without reaching the end of
|
---|
1204 | * the input stream. */
|
---|
1205 | #define VERR_TAR_EOS_MORE_INPUT (-928)
|
---|
1206 | /** A number tar header field was malformed. */
|
---|
1207 | #define VERR_TAR_BAD_NUM_FIELD (-929)
|
---|
1208 | /** A numeric tar header field was not terminated correctly. */
|
---|
1209 | #define VERR_TAR_BAD_NUM_FIELD_TERM (-930)
|
---|
1210 | /** A number tar header field was encoded using base-256 which this
|
---|
1211 | * tar implementation currently does not support. */
|
---|
1212 | #define VERR_TAR_BASE_256_NOT_SUPPORTED (-931)
|
---|
1213 | /** A number tar header field yielded a value too large for the internal
|
---|
1214 | * variable of the tar interpreter. */
|
---|
1215 | #define VERR_TAR_NUM_VALUE_TOO_LARGE (-932)
|
---|
1216 | /** The combined minor and major device number type is too small to hold the
|
---|
1217 | * value stored in the tar header. */
|
---|
1218 | #define VERR_TAR_DEV_VALUE_TOO_LARGE (-933)
|
---|
1219 | /** The mode field in a tar header is bad. */
|
---|
1220 | #define VERR_TAR_BAD_MODE_FIELD (-934)
|
---|
1221 | /** The mode field should not include the type. */
|
---|
1222 | #define VERR_TAR_MODE_WITH_TYPE (-935)
|
---|
1223 | /** The size field should be zero for links and symlinks. */
|
---|
1224 | #define VERR_TAR_SIZE_NOT_ZERO (-936)
|
---|
1225 | /** Encountered an unknown type flag. */
|
---|
1226 | #define VERR_TAR_UNKNOWN_TYPE_FLAG (-937)
|
---|
1227 | /** The tar header is all zeros. */
|
---|
1228 | #define VERR_TAR_ZERO_HEADER (-938)
|
---|
1229 | /** Not a uniform standard tape v0.0 archive header. */
|
---|
1230 | #define VERR_TAR_NOT_USTAR_V00 (-939)
|
---|
1231 | /** The name is empty. */
|
---|
1232 | #define VERR_TAR_EMPTY_NAME (-940)
|
---|
1233 | /** A non-directory entry has a name ending with a slash. */
|
---|
1234 | #define VERR_TAR_NON_DIR_ENDS_WITH_SLASH (-941)
|
---|
1235 | /** Encountered an unsupported portable archive exchange (pax) header. */
|
---|
1236 | #define VERR_TAR_UNSUPPORTED_PAX_TYPE (-942)
|
---|
1237 | /** Encountered an unsupported Solaris Tar extension. */
|
---|
1238 | #define VERR_TAR_UNSUPPORTED_SOLARIS_HDR_TYPE (-943)
|
---|
1239 | /** Encountered an unsupported GNU Tar extension. */
|
---|
1240 | #define VERR_TAR_UNSUPPORTED_GNU_HDR_TYPE (-944)
|
---|
1241 | /** Malformed checksum field in the tar header. */
|
---|
1242 | #define VERR_TAR_BAD_CHKSUM_FIELD (-945)
|
---|
1243 | /** Malformed checksum field in the tar header. */
|
---|
1244 | #define VERR_TAR_MALFORMED_GNU_LONGXXXX (-946)
|
---|
1245 | /** Too long name or link string. */
|
---|
1246 | #define VERR_TAR_NAME_TOO_LONG (-947)
|
---|
1247 | /** A directory entry in the archive. */
|
---|
1248 | #define VINF_TAR_DIR_PATH (948)
|
---|
1249 | /** @} */
|
---|
1250 |
|
---|
1251 | /** @name RTPoll status codes
|
---|
1252 | * @{ */
|
---|
1253 | /** The handle is not pollable. */
|
---|
1254 | #define VERR_POLL_HANDLE_NOT_POLLABLE (-950)
|
---|
1255 | /** The handle ID is already present in the poll set. */
|
---|
1256 | #define VERR_POLL_HANDLE_ID_EXISTS (-951)
|
---|
1257 | /** The handle ID was not found in the set. */
|
---|
1258 | #define VERR_POLL_HANDLE_ID_NOT_FOUND (-952)
|
---|
1259 | /** The poll set is full. */
|
---|
1260 | #define VERR_POLL_SET_IS_FULL (-953)
|
---|
1261 | /** @} */
|
---|
1262 |
|
---|
1263 | /** @name Pkzip status codes
|
---|
1264 | * @{ */
|
---|
1265 | /** No end of central directory record found. */
|
---|
1266 | #define VERR_PKZIP_NO_EOCB (-960)
|
---|
1267 | /** Too long name string. */
|
---|
1268 | #define VERR_PKZIP_NAME_TOO_LONG (-961)
|
---|
1269 | /** Local file header corrupt. */
|
---|
1270 | #define VERR_PKZIP_BAD_LF_HEADER (-962)
|
---|
1271 | /** Central directory file header corrupt. */
|
---|
1272 | #define VERR_PKZIP_BAD_CDF_HEADER (-963)
|
---|
1273 | /** Encountered an unknown type flag. */
|
---|
1274 | #define VERR_PKZIP_UNKNOWN_TYPE_FLAG (-964)
|
---|
1275 | /** Found a ZIP64 Extra Information Field in a ZIP32 file. */
|
---|
1276 | #define VERR_PKZIP_ZIP64EX_IN_ZIP32 (-965)
|
---|
1277 |
|
---|
1278 |
|
---|
1279 | /** @name RTZip status codes
|
---|
1280 | * @{ */
|
---|
1281 | /** Generic zip error. */
|
---|
1282 | #define VERR_ZIP_ERROR (-22000)
|
---|
1283 | /** The compressed data was corrupted. */
|
---|
1284 | #define VERR_ZIP_CORRUPTED (-22001)
|
---|
1285 | /** Ran out of memory while compressing or uncompressing. */
|
---|
1286 | #define VERR_ZIP_NO_MEMORY (-22002)
|
---|
1287 | /** The compression format version is unsupported. */
|
---|
1288 | #define VERR_ZIP_UNSUPPORTED_VERSION (-22003)
|
---|
1289 | /** The compression method is unsupported. */
|
---|
1290 | #define VERR_ZIP_UNSUPPORTED_METHOD (-22004)
|
---|
1291 | /** The compressed data started with a bad header. */
|
---|
1292 | #define VERR_ZIP_BAD_HEADER (-22005)
|
---|
1293 | /** @} */
|
---|
1294 |
|
---|
1295 | /** @name RTVfs status codes
|
---|
1296 | * @{ */
|
---|
1297 | /** The VFS chain specification does not have a valid prefix. */
|
---|
1298 | #define VERR_VFS_CHAIN_NO_PREFIX (-22100)
|
---|
1299 | /** The VFS chain specification is empty. */
|
---|
1300 | #define VERR_VFS_CHAIN_EMPTY (-22101)
|
---|
1301 | /** Expected an element. */
|
---|
1302 | #define VERR_VFS_CHAIN_EXPECTED_ELEMENT (-22102)
|
---|
1303 | /** The VFS object type is not known. */
|
---|
1304 | #define VERR_VFS_CHAIN_UNKNOWN_TYPE (-22103)
|
---|
1305 | /** Expected a left parentheses. */
|
---|
1306 | #define VERR_VFS_CHAIN_EXPECTED_LEFT_PARENTHESES (-22104)
|
---|
1307 | /** Expected a right parentheses. */
|
---|
1308 | #define VERR_VFS_CHAIN_EXPECTED_RIGHT_PARENTHESES (-22105)
|
---|
1309 | /** Expected a provider name. */
|
---|
1310 | #define VERR_VFS_CHAIN_EXPECTED_PROVIDER_NAME (-22106)
|
---|
1311 | /** Expected an element separator (| or :). */
|
---|
1312 | #define VERR_VFS_CHAIN_EXPECTED_SEPARATOR (-22107)
|
---|
1313 | /** Leading element separator not permitted. */
|
---|
1314 | #define VERR_VFS_CHAIN_LEADING_SEPARATOR (-22108)
|
---|
1315 | /** Trailing element separator not permitted. */
|
---|
1316 | #define VERR_VFS_CHAIN_TRAILING_SEPARATOR (-22109)
|
---|
1317 | /** The provider is only allowed as the first element. */
|
---|
1318 | #define VERR_VFS_CHAIN_MUST_BE_FIRST_ELEMENT (-22110)
|
---|
1319 | /** The provider cannot be the first element. */
|
---|
1320 | #define VERR_VFS_CHAIN_CANNOT_BE_FIRST_ELEMENT (-22111)
|
---|
1321 | /** VFS object cast failed. */
|
---|
1322 | #define VERR_VFS_CHAIN_CAST_FAILED (-22112)
|
---|
1323 | /** Internal error in the VFS chain code. */
|
---|
1324 | #define VERR_VFS_CHAIN_IPE (-22113)
|
---|
1325 | /** VFS chain element provider not found. */
|
---|
1326 | #define VERR_VFS_CHAIN_PROVIDER_NOT_FOUND (-22114)
|
---|
1327 | /** VFS chain does not terminate with the desired object type. */
|
---|
1328 | #define VERR_VFS_CHAIN_FINAL_TYPE_MISMATCH (-22115)
|
---|
1329 | /** VFS chain element takes no arguments. */
|
---|
1330 | #define VERR_VFS_CHAIN_NO_ARGS (-22116)
|
---|
1331 | /** VFS chain element takes exactly one argument. */
|
---|
1332 | #define VERR_VFS_CHAIN_ONE_ARG (-22117)
|
---|
1333 | /** VFS chain element expected at most one argument. */
|
---|
1334 | #define VERR_VFS_CHAIN_AT_MOST_ONE_ARG (-22118)
|
---|
1335 | /** VFS chain element expected at least one argument. */
|
---|
1336 | #define VERR_VFS_CHAIN_AT_LEAST_ONE_ARG (-22119)
|
---|
1337 | /** VFS chain element takes exactly two arguments. */
|
---|
1338 | #define VERR_VFS_CHAIN_TWO_ARGS (-22120)
|
---|
1339 | /** VFS chain element expected at least two arguments. */
|
---|
1340 | #define VERR_VFS_CHAIN_AT_LEAST_TWO_ARGS (-22121)
|
---|
1341 | /** VFS chain element expected at most two arguments. */
|
---|
1342 | #define VERR_VFS_CHAIN_AT_MOST_TWO_ARGS (-22122)
|
---|
1343 | /** VFS chain element takes exactly three arguments. */
|
---|
1344 | #define VERR_VFS_CHAIN_THREE_ARGS (-22123)
|
---|
1345 | /** VFS chain element expected at least three arguments. */
|
---|
1346 | #define VERR_VFS_CHAIN_AT_LEAST_THREE_ARGS (-22124)
|
---|
1347 | /** VFS chain element expected at most three arguments. */
|
---|
1348 | #define VERR_VFS_CHAIN_AT_MOST_THREE_ARGS (-22125)
|
---|
1349 | /** VFS chain element takes exactly four arguments. */
|
---|
1350 | #define VERR_VFS_CHAIN_FOUR_ARGS (-22126)
|
---|
1351 | /** VFS chain element expected at least four arguments. */
|
---|
1352 | #define VERR_VFS_CHAIN_AT_LEAST_FOUR_ARGS (-22127)
|
---|
1353 | /** VFS chain element expected at most four arguments. */
|
---|
1354 | #define VERR_VFS_CHAIN_AT_MOST_FOUR_ARGS (-22128)
|
---|
1355 | /** VFS chain element takes exactly five arguments. */
|
---|
1356 | #define VERR_VFS_CHAIN_FIVE_ARGS (-22129)
|
---|
1357 | /** VFS chain element expected at least five arguments. */
|
---|
1358 | #define VERR_VFS_CHAIN_AT_LEAST_FIVE_ARGS (-22130)
|
---|
1359 | /** VFS chain element expected at most five arguments. */
|
---|
1360 | #define VERR_VFS_CHAIN_AT_MOST_FIVE_ARGS (-22131)
|
---|
1361 | /** VFS chain element takes exactly six arguments. */
|
---|
1362 | #define VERR_VFS_CHAIN_SIX_ARGS (-22132)
|
---|
1363 | /** VFS chain element expected at least six arguments. */
|
---|
1364 | #define VERR_VFS_CHAIN_AT_LEAST_SIX_ARGS (-22133)
|
---|
1365 | /** VFS chain element expected at most six arguments. */
|
---|
1366 | #define VERR_VFS_CHAIN_AT_MOST_SIX_ARGS (-22134)
|
---|
1367 | /** VFS chain element expected at most six arguments. */
|
---|
1368 | #define VERR_VFS_CHAIN_TOO_FEW_ARGS (-22135)
|
---|
1369 | /** VFS chain element expected at most six arguments. */
|
---|
1370 | #define VERR_VFS_CHAIN_TOO_MANY_ARGS (-22136)
|
---|
1371 | /** VFS chain element expected non-empty argument. */
|
---|
1372 | #define VERR_VFS_CHAIN_EMPTY_ARG (-22137)
|
---|
1373 | /** Invalid argument to VFS chain element. */
|
---|
1374 | #define VERR_VFS_CHAIN_INVALID_ARGUMENT (-22138)
|
---|
1375 | /** VFS chain element only provides file and I/O stream (ios) objects. */
|
---|
1376 | #define VERR_VFS_CHAIN_ONLY_FILE_OR_IOS (-22139)
|
---|
1377 | /** VFS chain element only provides I/O stream (ios) objects. */
|
---|
1378 | #define VERR_VFS_CHAIN_ONLY_IOS (-22140)
|
---|
1379 | /** VFS chain element only provides directory (dir) objects. */
|
---|
1380 | #define VERR_VFS_CHAIN_ONLY_DIR (-22141)
|
---|
1381 | /** VFS chain element only provides file system stream (fss) objects. */
|
---|
1382 | #define VERR_VFS_CHAIN_ONLY_FSS (-22142)
|
---|
1383 | /** VFS chain element only provides file system (vfs) objects. */
|
---|
1384 | #define VERR_VFS_CHAIN_ONLY_VFS (-22143)
|
---|
1385 | /** VFS chain element only provides file, I/O stream (ios), or
|
---|
1386 | * directory (dir) objects. */
|
---|
1387 | #define VERR_VFS_CHAIN_ONLY_FILE_OR_IOS_OR_DIR (-22144)
|
---|
1388 | /** VFS chain element only provides file, I/O stream (ios), or
|
---|
1389 | * directory (dir) objects. */
|
---|
1390 | #define VERR_VFS_CHAIN_ONLY_DIR_OR_VFS (-22145)
|
---|
1391 | /** VFS chain element takes a file object as input. */
|
---|
1392 | #define VERR_VFS_CHAIN_TAKES_FILE (-22146)
|
---|
1393 | /** VFS chain element takes a file or I/O stream (ios) object as input. */
|
---|
1394 | #define VERR_VFS_CHAIN_TAKES_FILE_OR_IOS (-22147)
|
---|
1395 | /** VFS chain element takes a directory (dir) object as input. */
|
---|
1396 | #define VERR_VFS_CHAIN_TAKES_DIR (-22148)
|
---|
1397 | /** VFS chain element takes a file system stream (fss) object as input. */
|
---|
1398 | #define VERR_VFS_CHAIN_TAKES_FSS (-22149)
|
---|
1399 | /** VFS chain element takes a file system (vfs) object as input. */
|
---|
1400 | #define VERR_VFS_CHAIN_TAKES_VFS (-22150)
|
---|
1401 | /** VFS chain element takes a directory (dir) or file system (vfs)
|
---|
1402 | * object as input. */
|
---|
1403 | #define VERR_VFS_CHAIN_TAKES_DIR_OR_VFS (-22151)
|
---|
1404 | /** VFS chain element takes a directory (dir), file system stream (fss),
|
---|
1405 | * or file system (vfs) object as input. */
|
---|
1406 | #define VERR_VFS_CHAIN_TAKES_DIR_OR_FSS_OR_VFS (-22152)
|
---|
1407 | /** VFS chain element only provides a read-only I/O stream, while the chain
|
---|
1408 | * requires write access. */
|
---|
1409 | #define VERR_VFS_CHAIN_READ_ONLY_IOS (-22153)
|
---|
1410 | /** VFS chain element only provides a read-only I/O stream, while the chain
|
---|
1411 | * read access. */
|
---|
1412 | #define VERR_VFS_CHAIN_WRITE_ONLY_IOS (-22154)
|
---|
1413 | /** VFS chain only has a single element and it is just a path, need to be
|
---|
1414 | * treated as a normal file system request. */
|
---|
1415 | #define VERR_VFS_CHAIN_PATH_ONLY (-22155)
|
---|
1416 | /** VFS chain element preceding the final path needs to be a directory, file
|
---|
1417 | * system or file system stream. */
|
---|
1418 | #define VERR_VFS_CHAIN_TYPE_MISMATCH_PATH_ONLY (-22156)
|
---|
1419 | /** VFS chain doesn't end with a path only element. */
|
---|
1420 | #define VERR_VFS_CHAIN_NOT_PATH_ONLY (-22157)
|
---|
1421 | /** The path only element at the end of the VFS chain is too short to make out
|
---|
1422 | * the parent directory. */
|
---|
1423 | #define VERR_VFS_CHAIN_TOO_SHORT_FOR_PARENT (-22158)
|
---|
1424 | /** @} */
|
---|
1425 |
|
---|
1426 | /** @name RTDvm status codes
|
---|
1427 | * @{ */
|
---|
1428 | /** The volume map doesn't contain any valid volume. */
|
---|
1429 | #define VERR_DVM_MAP_EMPTY (-22200)
|
---|
1430 | /** There is no volume behind the current one. */
|
---|
1431 | #define VERR_DVM_MAP_NO_VOLUME (-22201)
|
---|
1432 | /** @} */
|
---|
1433 |
|
---|
1434 | /** @name Logger status codes
|
---|
1435 | * @{ */
|
---|
1436 | /** The internal logger revision did not match. */
|
---|
1437 | #define VERR_LOG_REVISION_MISMATCH (-22300)
|
---|
1438 | /** @} */
|
---|
1439 |
|
---|
1440 | /* see above, 22400..22499 is used for misc codes! */
|
---|
1441 |
|
---|
1442 | /** @name Logger status codes
|
---|
1443 | * @{ */
|
---|
1444 | /** Power off is not supported by the hardware or the OS. */
|
---|
1445 | #define VERR_SYS_CANNOT_POWER_OFF (-22500)
|
---|
1446 | /** The halt action was requested, but the OS may actually power
|
---|
1447 | * off the machine. */
|
---|
1448 | #define VINF_SYS_MAY_POWER_OFF (22501)
|
---|
1449 | /** Shutdown failed. */
|
---|
1450 | #define VERR_SYS_SHUTDOWN_FAILED (-22502)
|
---|
1451 | /** @} */
|
---|
1452 |
|
---|
1453 | /** @name Filesystem status codes
|
---|
1454 | * @{ */
|
---|
1455 | /** Filesystem can't be opened because it is corrupt. */
|
---|
1456 | #define VERR_FILESYSTEM_CORRUPT (-22600)
|
---|
1457 | /** @} */
|
---|
1458 |
|
---|
1459 | /** @name RTZipXar status codes.
|
---|
1460 | * @{ */
|
---|
1461 | /** Wrong magic value. */
|
---|
1462 | #define VERR_XAR_WRONG_MAGIC (-22700)
|
---|
1463 | /** Bad header size. */
|
---|
1464 | #define VERR_XAR_BAD_HDR_SIZE (-22701)
|
---|
1465 | /** Unsupported version. */
|
---|
1466 | #define VERR_XAR_UNSUPPORTED_VERSION (-22702)
|
---|
1467 | /** Unsupported hashing function. */
|
---|
1468 | #define VERR_XAR_UNSUPPORTED_HASH_FUNCTION (-22703)
|
---|
1469 | /** The table of content (TOC) is too small and therefore can't be valid. */
|
---|
1470 | #define VERR_XAR_TOC_TOO_SMALL (-22704)
|
---|
1471 | /** The table of content (TOC) is too big. */
|
---|
1472 | #define VERR_XAR_TOC_TOO_BIG (-22705)
|
---|
1473 | /** The compressed table of content is too big. */
|
---|
1474 | #define VERR_XAR_TOC_TOO_BIG_COMPRESSED (-22706)
|
---|
1475 | /** The uncompressed table of content size in the header didn't match what
|
---|
1476 | * ZLib returned. */
|
---|
1477 | #define VERR_XAR_TOC_UNCOMP_SIZE_MISMATCH (-22707)
|
---|
1478 | /** The table of content string length didn't match the size specified in the
|
---|
1479 | * header. */
|
---|
1480 | #define VERR_XAR_TOC_STRLEN_MISMATCH (-22708)
|
---|
1481 | /** The table of content isn't valid UTF-8. */
|
---|
1482 | #define VERR_XAR_TOC_UTF8_ENCODING (-22709)
|
---|
1483 | /** XML error while parsing the table of content. */
|
---|
1484 | #define VERR_XAR_TOC_XML_PARSE_ERROR (-22710)
|
---|
1485 | /** The table of content XML document does not have a toc element. */
|
---|
1486 | #define VERR_XML_TOC_ELEMENT_MISSING (-22711)
|
---|
1487 | /** The table of content XML element (toc) has siblings, we expected it to be
|
---|
1488 | * an only child or the root element (xar). */
|
---|
1489 | #define VERR_XML_TOC_ELEMENT_HAS_SIBLINGS (-22712)
|
---|
1490 | /** The XAR table of content digest doesn't match. */
|
---|
1491 | #define VERR_XAR_TOC_DIGEST_MISMATCH (-22713)
|
---|
1492 | /** Bad or missing XAR checksum element. */
|
---|
1493 | #define VERR_XAR_BAD_CHECKSUM_ELEMENT (-22714)
|
---|
1494 | /** The hash function in the header doesn't match the one in the table of
|
---|
1495 | * content. */
|
---|
1496 | #define VERR_XAR_HASH_FUNCTION_MISMATCH (-22715)
|
---|
1497 | /** Bad digest length encountered in the table of content. */
|
---|
1498 | #define VERR_XAR_BAD_DIGEST_LENGTH (-22716)
|
---|
1499 | /** The order of elements in the XAR file does not lend it self to expansion
|
---|
1500 | * from via an I/O stream. */
|
---|
1501 | #define VERR_XAR_NOT_STREAMBLE_ELEMENT_ORDER (-22717)
|
---|
1502 | /** Missing offset element in table of content sub-element. */
|
---|
1503 | #define VERR_XAR_MISSING_OFFSET_ELEMENT (-22718)
|
---|
1504 | /** Bad offset element in table of content sub-element. */
|
---|
1505 | #define VERR_XAR_BAD_OFFSET_ELEMENT (-22719)
|
---|
1506 | /** Missing size element in table of content sub-element. */
|
---|
1507 | #define VERR_XAR_MISSING_SIZE_ELEMENT (-22720)
|
---|
1508 | /** Bad size element in table of content sub-element. */
|
---|
1509 | #define VERR_XAR_BAD_SIZE_ELEMENT (-22721)
|
---|
1510 | /** Missing length element in table of content sub-element. */
|
---|
1511 | #define VERR_XAR_MISSING_LENGTH_ELEMENT (-22722)
|
---|
1512 | /** Bad length element in table of content sub-element. */
|
---|
1513 | #define VERR_XAR_BAD_LENGTH_ELEMENT (-22723)
|
---|
1514 | /** Bad file element in XAR table of content. */
|
---|
1515 | #define VERR_XAR_BAD_FILE_ELEMENT (-22724)
|
---|
1516 | /** Missing data element for XAR file. */
|
---|
1517 | #define VERR_XAR_MISSING_DATA_ELEMENT (-22725)
|
---|
1518 | /** Unknown XAR file type value. */
|
---|
1519 | #define VERR_XAR_UNKNOWN_FILE_TYPE (-22726)
|
---|
1520 | /** Missing encoding element for XAR data stream. */
|
---|
1521 | #define VERR_XAR_NO_ENCODING (-22727)
|
---|
1522 | /** Bad timestamp for XAR file. */
|
---|
1523 | #define VERR_XAR_BAD_FILE_TIMESTAMP (-22728)
|
---|
1524 | /** Bad file mode for XAR file. */
|
---|
1525 | #define VERR_XAR_BAD_FILE_MODE (-22729)
|
---|
1526 | /** Bad file user id for XAR file. */
|
---|
1527 | #define VERR_XAR_BAD_FILE_UID (-22730)
|
---|
1528 | /** Bad file group id for XAR file. */
|
---|
1529 | #define VERR_XAR_BAD_FILE_GID (-22731)
|
---|
1530 | /** Bad file inode device number for XAR file. */
|
---|
1531 | #define VERR_XAR_BAD_FILE_DEVICE_NO (-22732)
|
---|
1532 | /** Bad file inode number for XAR file. */
|
---|
1533 | #define VERR_XAR_BAD_FILE_INODE (-22733)
|
---|
1534 | /** Invalid name for XAR file. */
|
---|
1535 | #define VERR_XAR_INVALID_FILE_NAME (-22734)
|
---|
1536 | /** The message digest of the extracted data does not match the one supplied. */
|
---|
1537 | #define VERR_XAR_EXTRACTED_HASH_MISMATCH (-22735)
|
---|
1538 | /** The extracted data has exceeded the expected size. */
|
---|
1539 | #define VERR_XAR_EXTRACTED_SIZE_EXCEEDED (-22736)
|
---|
1540 | /** The message digest of the archived data does not match the one supplied. */
|
---|
1541 | #define VERR_XAR_ARCHIVED_HASH_MISMATCH (-22737)
|
---|
1542 | /** The decompressor completed without using all the input data. */
|
---|
1543 | #define VERR_XAR_UNUSED_ARCHIVED_DATA (-22738)
|
---|
1544 | /** Expected the archived and extracted XAR data sizes to be the same for
|
---|
1545 | * uncompressed data. */
|
---|
1546 | #define VERR_XAR_ARCHIVED_AND_EXTRACTED_SIZES_MISMATCH (-22739)
|
---|
1547 | /** @} */
|
---|
1548 |
|
---|
1549 | /** @name RTX509 status codes
|
---|
1550 | * @{ */
|
---|
1551 | /** Error reading a certificate in PEM format from BIO. */
|
---|
1552 | #define VERR_X509_READING_CERT_FROM_BIO (-23100)
|
---|
1553 | /** Error extracting a public key from the certificate. */
|
---|
1554 | #define VERR_X509_EXTRACT_PUBKEY_FROM_CERT (-23101)
|
---|
1555 | /** Error extracting RSA from the public key. */
|
---|
1556 | #define VERR_X509_EXTRACT_RSA_FROM_PUBLIC_KEY (-23102)
|
---|
1557 | /** Signature verification failed. */
|
---|
1558 | #define VERR_X509_RSA_VERIFICATION_FUILURE (-23103)
|
---|
1559 | /** Basic constraints were not found. */
|
---|
1560 | #define VERR_X509_NO_BASIC_CONSTARAINTS (-23104)
|
---|
1561 | /** Error getting extensions from the certificate. */
|
---|
1562 | #define VERR_X509_GETTING_EXTENSION_FROM_CERT (-23105)
|
---|
1563 | /** Error getting a data from the extension. */
|
---|
1564 | #define VERR_X509_GETTING_DATA_FROM_EXTENSION (-23106)
|
---|
1565 | /** Error formatting an extension. */
|
---|
1566 | #define VERR_X509_PRINT_EXTENSION_TO_BIO (-23107)
|
---|
1567 | /** X509 certificate verification error. */
|
---|
1568 | #define VERR_X509_CERTIFICATE_VERIFICATION_FAILURE (-23108)
|
---|
1569 | /** X509 certificate isn't self signed. */
|
---|
1570 | #define VERR_X509_NOT_SELFSIGNED_CERTIFICATE (-23109)
|
---|
1571 | /** Warning X509 certificate isn't self signed. */
|
---|
1572 | #define VINF_X509_NOT_SELFSIGNED_CERTIFICATE 23109
|
---|
1573 | /** @} */
|
---|
1574 |
|
---|
1575 | /** @name RTAsn1 status codes
|
---|
1576 | * @{ */
|
---|
1577 | /** Temporary place holder. */
|
---|
1578 | #define VERR_ASN1_ERROR (-22800)
|
---|
1579 | /** Encountered an ASN.1 string type that is not supported. */
|
---|
1580 | #define VERR_ASN1_STRING_TYPE_NOT_IMPLEMENTED (-22801)
|
---|
1581 | /** Invalid ASN.1 UTF-8 STRING encoding. */
|
---|
1582 | #define VERR_ASN1_INVALID_UTF8_STRING_ENCODING (-22802)
|
---|
1583 | /** Invalid ASN.1 NUMERIC STRING encoding. */
|
---|
1584 | #define VERR_ASN1_INVALID_NUMERIC_STRING_ENCODING (-22803)
|
---|
1585 | /** Invalid ASN.1 PRINTABLE STRING encoding. */
|
---|
1586 | #define VERR_ASN1_INVALID_PRINTABLE_STRING_ENCODING (-22804)
|
---|
1587 | /** Invalid ASN.1 T61/TELETEX STRING encoding. */
|
---|
1588 | #define VERR_ASN1_INVALID_T61_STRING_ENCODING (-22805)
|
---|
1589 | /** Invalid ASN.1 VIDEOTEX STRING encoding. */
|
---|
1590 | #define VERR_ASN1_INVALID_VIDEOTEX_STRING_ENCODING (-22806)
|
---|
1591 | /** Invalid ASN.1 IA5 STRING encoding. */
|
---|
1592 | #define VERR_ASN1_INVALID_IA5_STRING_ENCODING (-22807)
|
---|
1593 | /** Invalid ASN.1 GRAPHIC STRING encoding. */
|
---|
1594 | #define VERR_ASN1_INVALID_GRAPHIC_STRING_ENCODING (-22808)
|
---|
1595 | /** Invalid ASN.1 ISO-646/VISIBLE STRING encoding. */
|
---|
1596 | #define VERR_ASN1_INVALID_VISIBLE_STRING_ENCODING (-22809)
|
---|
1597 | /** Invalid ASN.1 GENERAL STRING encoding. */
|
---|
1598 | #define VERR_ASN1_INVALID_GENERAL_STRING_ENCODING (-22810)
|
---|
1599 | /** Invalid ASN.1 UNIVERSAL STRING encoding. */
|
---|
1600 | #define VERR_ASN1_INVALID_UNIVERSAL_STRING_ENCODING (-22811)
|
---|
1601 | /** Invalid ASN.1 BMP STRING encoding. */
|
---|
1602 | #define VERR_ASN1_INVALID_BMP_STRING_ENCODING (-22812)
|
---|
1603 | /** Invalid ASN.1 OBJECT IDENTIFIER encoding. */
|
---|
1604 | #define VERR_ASN1_INVALID_OBJID_ENCODING (-22813)
|
---|
1605 | /** A component value of an ASN.1 OBJECT IDENTIFIER is too big for our
|
---|
1606 | * internal representation (32-bits). */
|
---|
1607 | #define VERR_ASN1_OBJID_COMPONENT_TOO_BIG (-22814)
|
---|
1608 | /** Too many components in an ASN.1 OBJECT IDENTIFIER for our internal
|
---|
1609 | * representation. */
|
---|
1610 | #define VERR_ASN1_OBJID_TOO_MANY_COMPONENTS (-22815)
|
---|
1611 | /** The dotted-string representation of an ASN.1 OBJECT IDENTIFIER would be too
|
---|
1612 | * long for our internal representation. */
|
---|
1613 | #define VERR_ASN1_OBJID_TOO_LONG_STRING_FORM (-22816)
|
---|
1614 | /** Invalid dotted string. */
|
---|
1615 | #define VERR_ASN1_OBJID_INVALID_DOTTED_STRING (-22817)
|
---|
1616 | /** Constructed string type not implemented. */
|
---|
1617 | #define VERR_ASN1_CONSTRUCTED_STRING_NOT_IMPL (-22818)
|
---|
1618 | /** Expected a different string tag. */
|
---|
1619 | #define VERR_ASN1_STRING_TAG_MISMATCH (-22819)
|
---|
1620 | /** Expected a different time tag. */
|
---|
1621 | #define VERR_ASN1_TIME_TAG_MISMATCH (-22820)
|
---|
1622 | /** More unconsumed data available. */
|
---|
1623 | #define VINF_ASN1_MORE_DATA (22821)
|
---|
1624 | /** RTAsnEncodeWriteHeader return code indicating that nothing was written
|
---|
1625 | * and the content should be skipped as well. */
|
---|
1626 | #define VINF_ASN1_NOT_ENCODED (22822)
|
---|
1627 | /** Unknown escape sequence encountered in TeletexString. */
|
---|
1628 | #define VERR_ASN1_TELETEX_UNKNOWN_ESC_SEQ (-22823)
|
---|
1629 | /** Unsupported escape sequence encountered in TeletexString. */
|
---|
1630 | #define VERR_ASN1_TELETEX_UNSUPPORTED_ESC_SEQ (-22824)
|
---|
1631 | /** Unsupported character set. */
|
---|
1632 | #define VERR_ASN1_TELETEX_UNSUPPORTED_CHARSET (-22825)
|
---|
1633 | /** ASN.1 object has no virtual method table. */
|
---|
1634 | #define VERR_ASN1_NO_VTABLE (-22826)
|
---|
1635 | /** ASN.1 object has no pfnCheckSanity method. */
|
---|
1636 | #define VERR_ASN1_NO_CHECK_SANITY_METHOD (-22827)
|
---|
1637 | /** ASN.1 object is not present */
|
---|
1638 | #define VERR_ASN1_NOT_PRESENT (-22828)
|
---|
1639 | /** There are unconsumed bytes after decoding an ASN.1 object. */
|
---|
1640 | #define VERR_ASN1_CURSOR_NOT_AT_END (-22829)
|
---|
1641 | /** Long ASN.1 tag form is not implemented. */
|
---|
1642 | #define VERR_ASN1_CURSOR_LONG_TAG (-22830)
|
---|
1643 | /** Bad ASN.1 object length encoding. */
|
---|
1644 | #define VERR_ASN1_CURSOR_BAD_LENGTH_ENCODING (-22831)
|
---|
1645 | /** Indefinite length form is against the rules. */
|
---|
1646 | #define VERR_ASN1_CURSOR_ILLEGAL_INDEFINITE_LENGTH (-22832)
|
---|
1647 | /** Malformed indefinite length encoding. */
|
---|
1648 | #define VERR_ASN1_CURSOR_BAD_INDEFINITE_LENGTH (-22833)
|
---|
1649 | /** ASN.1 object length goes beyond the end of the byte stream being decoded. */
|
---|
1650 | #define VERR_ASN1_CURSOR_BAD_LENGTH (-22834)
|
---|
1651 | /** Not more data in ASN.1 byte stream. */
|
---|
1652 | #define VERR_ASN1_CURSOR_NO_MORE_DATA (-22835)
|
---|
1653 | /** Too little data in ASN.1 byte stream. */
|
---|
1654 | #define VERR_ASN1_CURSOR_TOO_LITTLE_DATA_LEFT (-22836)
|
---|
1655 | /** Constructed string is not according to the encoding rules. */
|
---|
1656 | #define VERR_ASN1_CURSOR_ILLEGAL_CONSTRUCTED_STRING (-22837)
|
---|
1657 | /** Unexpected ASN.1 tag encountered while decoding. */
|
---|
1658 | #define VERR_ASN1_CURSOR_TAG_MISMATCH (-22838)
|
---|
1659 | /** Unexpected ASN.1 tag class/flag encountered while decoding. */
|
---|
1660 | #define VERR_ASN1_CURSOR_TAG_FLAG_CLASS_MISMATCH (-22839)
|
---|
1661 | /** ASN.1 bit string object is out of bounds. */
|
---|
1662 | #define VERR_ASN1_BITSTRING_OUT_OF_BOUNDS (-22840)
|
---|
1663 | /** Bad ASN.1 time object. */
|
---|
1664 | #define VERR_ASN1_TIME_BAD_NORMALIZE_INPUT (-22841)
|
---|
1665 | /** Failed to normalize ASN.1 time object. */
|
---|
1666 | #define VERR_ASN1_TIME_NORMALIZE_ERROR (-22842)
|
---|
1667 | /** Normalization of ASN.1 time object didn't work out. */
|
---|
1668 | #define VERR_ASN1_TIME_NORMALIZE_MISMATCH (-22843)
|
---|
1669 | /** Invalid ASN.1 UTC TIME encoding. */
|
---|
1670 | #define VERR_ASN1_INVALID_UTC_TIME_ENCODING (-22844)
|
---|
1671 | /** Invalid ASN.1 GENERALIZED TIME encoding. */
|
---|
1672 | #define VERR_ASN1_INVALID_GENERALIZED_TIME_ENCODING (-22845)
|
---|
1673 | /** Invalid ASN.1 BOOLEAN encoding. */
|
---|
1674 | #define VERR_ASN1_INVALID_BOOLEAN_ENCODING (-22846)
|
---|
1675 | /** Invalid ASN.1 NULL encoding. */
|
---|
1676 | #define VERR_ASN1_INVALID_NULL_ENCODING (-22847)
|
---|
1677 | /** Invalid ASN.1 BIT STRING encoding. */
|
---|
1678 | #define VERR_ASN1_INVALID_BITSTRING_ENCODING (-22848)
|
---|
1679 | /** Unimplemented ASN.1 tag reached the RTAsn1DynType code. */
|
---|
1680 | #define VERR_ASN1_DYNTYPE_TAG_NOT_IMPL (-22849)
|
---|
1681 | /** ASN.1 tag and flags/class mismatch in RTAsn1DynType code. */
|
---|
1682 | #define VERR_ASN1_DYNTYPE_BAD_TAG (-22850)
|
---|
1683 | /** Unexpected ASN.1 fake/dummy object. */
|
---|
1684 | #define VERR_ASN1_DUMMY_OBJECT (-22851)
|
---|
1685 | /** ASN.1 object is too long. */
|
---|
1686 | #define VERR_ASN1_TOO_LONG (-22852)
|
---|
1687 | /** Expected primitive ASN.1 object. */
|
---|
1688 | #define VERR_ASN1_EXPECTED_PRIMITIVE (-22853)
|
---|
1689 | /** Expected valid data pointer for ASN.1 object. */
|
---|
1690 | #define VERR_ASN1_INVALID_DATA_POINTER (-22854)
|
---|
1691 | /** The ASN.1 encoding is too deeply nested for the decoder. */
|
---|
1692 | #define VERR_ASN1_TOO_DEEPLY_NESTED (-22855)
|
---|
1693 | /** Generic unexpected object ID error. */
|
---|
1694 | #define VERR_ASN1_UNEXPECTED_OBJ_ID (-22856)
|
---|
1695 | /** Invalid ASN.1 INTEGER encoding. */
|
---|
1696 | #define VERR_ASN1_INVALID_INTEGER_ENCODING (-22857)
|
---|
1697 |
|
---|
1698 | /** ANS.1 internal error 1. */
|
---|
1699 | #define VERR_ASN1_INTERNAL_ERROR_1 (-22895)
|
---|
1700 | /** ANS.1 internal error 2. */
|
---|
1701 | #define VERR_ASN1_INTERNAL_ERROR_2 (-22896)
|
---|
1702 | /** ANS.1 internal error 3. */
|
---|
1703 | #define VERR_ASN1_INTERNAL_ERROR_3 (-22897)
|
---|
1704 | /** ANS.1 internal error 4. */
|
---|
1705 | #define VERR_ASN1_INTERNAL_ERROR_4 (-22898)
|
---|
1706 | /** ANS.1 internal error 5. */
|
---|
1707 | #define VERR_ASN1_INTERNAL_ERROR_5 (-22899)
|
---|
1708 | /** @} */
|
---|
1709 |
|
---|
1710 | /** @name More RTLdr status codes.
|
---|
1711 | * @{ */
|
---|
1712 | /** Image Verification Failure: No Authenticode Signature. */
|
---|
1713 | #define VERR_LDRVI_NOT_SIGNED (-22900)
|
---|
1714 | /** Image Verification Warning: No Authenticode Signature, but on whitelist. */
|
---|
1715 | #define VINF_LDRVI_NOT_SIGNED (22900)
|
---|
1716 | /** Image Verification Failure: Error reading image headers. */
|
---|
1717 | #define VERR_LDRVI_READ_ERROR_HDR (-22901)
|
---|
1718 | /** Image Verification Failure: Error reading section headers. */
|
---|
1719 | #define VERR_LDRVI_READ_ERROR_SHDRS (-22902)
|
---|
1720 | /** Image Verification Failure: Error reading authenticode signature data. */
|
---|
1721 | #define VERR_LDRVI_READ_ERROR_SIGNATURE (-22903)
|
---|
1722 | /** Image Verification Failure: Error reading file for hashing. */
|
---|
1723 | #define VERR_LDRVI_READ_ERROR_HASH (-22904)
|
---|
1724 | /** Image Verification Failure: Error determining the file length. */
|
---|
1725 | #define VERR_LDRVI_FILE_LENGTH_ERROR (-22905)
|
---|
1726 | /** Image Verification Failure: Error allocating memory for state data. */
|
---|
1727 | #define VERR_LDRVI_NO_MEMORY_STATE (-22906)
|
---|
1728 | /** Image Verification Failure: Error allocating memory for authenticode
|
---|
1729 | * signature data. */
|
---|
1730 | #define VERR_LDRVI_NO_MEMORY_SIGNATURE (-22907)
|
---|
1731 | /** Image Verification Failure: Error allocating memory for section headers. */
|
---|
1732 | #define VERR_LDRVI_NO_MEMORY_SHDRS (-22908)
|
---|
1733 | /** Image Verification Failure: Authenticode parsing output. */
|
---|
1734 | #define VERR_LDRVI_NO_MEMORY_PARSE_OUTPUT (-22909)
|
---|
1735 | /** Image Verification Failure: Invalid security directory entry. */
|
---|
1736 | #define VERR_LDRVI_INVALID_SECURITY_DIR_ENTRY (-22910)
|
---|
1737 | /** Image Verification Failure: */
|
---|
1738 | #define VERR_LDRVI_BAD_CERT_HDR_LENGTH (-22911)
|
---|
1739 | /** Image Verification Failure: */
|
---|
1740 | #define VERR_LDRVI_BAD_CERT_HDR_REVISION (-22912)
|
---|
1741 | /** Image Verification Failure: */
|
---|
1742 | #define VERR_LDRVI_BAD_CERT_HDR_TYPE (-22913)
|
---|
1743 | /** Image Verification Failure: More than one certificate table entry. */
|
---|
1744 | #define VERR_LDRVI_BAD_CERT_MULTIPLE (-22914)
|
---|
1745 |
|
---|
1746 | /** Image Verification Failure: */
|
---|
1747 | #define VERR_LDRVI_BAD_MZ_OFFSET (-22915)
|
---|
1748 | /** Image Verification Failure: Invalid section count. */
|
---|
1749 | #define VERR_LDRVI_INVALID_SECTION_COUNT (-22916)
|
---|
1750 | /** Image Verification Failure: Raw data offsets and sizes are out of range. */
|
---|
1751 | #define VERR_LDRVI_SECTION_RAW_DATA_VALUES (-22917)
|
---|
1752 | /** Optional header magic and target machine does not match. */
|
---|
1753 | #define VERR_LDRVI_MACHINE_OPT_HDR_MAGIC_MISMATCH (-22918)
|
---|
1754 | /** Unsupported image target architecture. */
|
---|
1755 | #define VERR_LDRVI_UNSUPPORTED_ARCH (-22919)
|
---|
1756 |
|
---|
1757 | /** Image Verification Failure: Internal error in signature parser. */
|
---|
1758 | #define VERR_LDRVI_PARSE_IPE (-22921)
|
---|
1759 | /** Generic BER parse error. Will be refined later. */
|
---|
1760 | #define VERR_LDRVI_PARSE_BER_ERROR (-22922)
|
---|
1761 |
|
---|
1762 | /** Expected the signed data content to be the object ID of
|
---|
1763 | * SpcIndirectDataContent, found something else instead. */
|
---|
1764 | #define VERR_LDRVI_EXPECTED_INDIRECT_DATA_CONTENT_OID (-22923)
|
---|
1765 | /** Page hash table size overflow. */
|
---|
1766 | #define VERR_LDRVI_PAGE_HASH_TAB_SIZE_OVERFLOW (-22924)
|
---|
1767 | /** Page hash table is too long (covers signature data, i.e. itself). */
|
---|
1768 | #define VERR_LDRVI_PAGE_HASH_TAB_TOO_LONG (-22925)
|
---|
1769 | /** The page hash table is not strictly ordered by offset. */
|
---|
1770 | #define VERR_LDRVI_PAGE_HASH_TAB_NOT_STRICTLY_SORTED (-22926)
|
---|
1771 | /** The page hash table hashes data outside the defined and implicit sections. */
|
---|
1772 | #define VERR_PAGE_HASH_TAB_HASHES_NON_SECTION_DATA (-22927)
|
---|
1773 | /** Page hash mismatch. */
|
---|
1774 | #define VERR_LDRVI_PAGE_HASH_MISMATCH (-22928)
|
---|
1775 | /** Image hash mismatch. */
|
---|
1776 | #define VERR_LDRVI_IMAGE_HASH_MISMATCH (-22929)
|
---|
1777 | /** Malformed code signing structure. */
|
---|
1778 | #define VERR_LDRVI_BAD_CERT_FORMAT (-22930)
|
---|
1779 |
|
---|
1780 | /** Cannot resolve symbol because it's a forwarder. */
|
---|
1781 | #define VERR_LDR_FORWARDER (-22950)
|
---|
1782 | /** The symbol is not a forwarder. */
|
---|
1783 | #define VERR_LDR_NOT_FORWARDER (-22951)
|
---|
1784 | /** Malformed forwarder entry. */
|
---|
1785 | #define VERR_LDR_BAD_FORWARDER (-22952)
|
---|
1786 | /** Too long forwarder chain or there is a loop. */
|
---|
1787 | #define VERR_LDR_FORWARDER_CHAIN_TOO_LONG (-22953)
|
---|
1788 | /** Support for forwarders has not been implemented. */
|
---|
1789 | #define VERR_LDR_FORWARDERS_NOT_SUPPORTED (-22954)
|
---|
1790 | /** Only native endian Mach-O files are supported. */
|
---|
1791 | #define VERR_LDRMACHO_OTHER_ENDIAN_NOT_SUPPORTED (-22955)
|
---|
1792 | /** The Mach-O header is bad or contains new and unsupported features. */
|
---|
1793 | #define VERR_LDRMACHO_BAD_HEADER (-22956)
|
---|
1794 | /** The file type isn't supported. */
|
---|
1795 | #define VERR_LDRMACHO_UNSUPPORTED_FILE_TYPE (-22957)
|
---|
1796 | /** The machine (cputype / cpusubtype combination) isn't supported. */
|
---|
1797 | #define VERR_LDRMACHO_UNSUPPORTED_MACHINE (-22958)
|
---|
1798 | /** Bad load command(s). */
|
---|
1799 | #define VERR_LDRMACHO_BAD_LOAD_COMMAND (-22959)
|
---|
1800 | /** Encountered an unknown load command.*/
|
---|
1801 | #define VERR_LDRMACHO_UNKNOWN_LOAD_COMMAND (-22960)
|
---|
1802 | /** Encountered a load command that's not implemented.*/
|
---|
1803 | #define VERR_LDRMACHO_UNSUPPORTED_LOAD_COMMAND (-22961)
|
---|
1804 | /** Bad section. */
|
---|
1805 | #define VERR_LDRMACHO_BAD_SECTION (-22962)
|
---|
1806 | /** Encountered a section type that's not implemented.*/
|
---|
1807 | #define VERR_LDRMACHO_UNSUPPORTED_SECTION (-22963)
|
---|
1808 | /** Encountered a init function section. */
|
---|
1809 | #define VERR_LDRMACHO_UNSUPPORTED_INIT_SECTION (-22964)
|
---|
1810 | /** Encountered a term function section. */
|
---|
1811 | #define VERR_LDRMACHO_UNSUPPORTED_TERM_SECTION (-22965)
|
---|
1812 | /** Encountered a section type that's not known to the loader. (probably invalid) */
|
---|
1813 | #define VERR_LDRMACHO_UNKNOWN_SECTION (-22966)
|
---|
1814 | /** The sections aren't ordered by segment as expected by the loader. */
|
---|
1815 | #define VERR_LDRMACHO_BAD_SECTION_ORDER (-22967)
|
---|
1816 | /** The image is 32-bit and contains 64-bit load commands or vise versa. */
|
---|
1817 | #define VERR_LDRMACHO_BIT_MIX (-22968)
|
---|
1818 | /** Bad MH_OBJECT file. */
|
---|
1819 | #define VERR_LDRMACHO_BAD_OBJECT_FILE (-22969)
|
---|
1820 | /** Bad symbol table entry. */
|
---|
1821 | #define VERR_LDRMACHO_BAD_SYMBOL (-22970)
|
---|
1822 | /** Unsupported fixup type. */
|
---|
1823 | #define VERR_LDRMACHO_UNSUPPORTED_FIXUP_TYPE (-22971)
|
---|
1824 | /** Both debug and non-debug sections in segment. */
|
---|
1825 | #define VERR_LDRMACHO_MIXED_DEBUG_SECTION_FLAGS (-22972)
|
---|
1826 | /** The segment bits are non-contiguous in the file. */
|
---|
1827 | #define VERR_LDRMACHO_NON_CONT_SEG_BITS (-22973)
|
---|
1828 | /** Hit a todo in the mach-o loader. */
|
---|
1829 | #define VERR_LDRMACHO_TODO (-22974)
|
---|
1830 | /** Bad symbol table size in Mach-O image. */
|
---|
1831 | #define VERR_LDRMACHO_BAD_SYMTAB_SIZE (-22975)
|
---|
1832 | /** Duplicate segment name. */
|
---|
1833 | #define VERR_LDR_DUPLICATE_SEGMENT_NAME (-22976)
|
---|
1834 | /** No image UUID. */
|
---|
1835 | #define VERR_LDR_NO_IMAGE_UUID (-22977)
|
---|
1836 | /** Bad image relocation. */
|
---|
1837 | #define VERR_LDR_BAD_FIXUP (-22978)
|
---|
1838 | /** Address overflow. */
|
---|
1839 | #define VERR_LDR_ADDRESS_OVERFLOW (-22979)
|
---|
1840 | /** validation of LX header failed. */
|
---|
1841 | #define VERR_LDRLX_BAD_HEADER (-22980)
|
---|
1842 | /** validation of the loader section (in the LX header) failed. */
|
---|
1843 | #define VERR_LDRLX_BAD_LOADER_SECTION (-22981)
|
---|
1844 | /** validation of the fixup section (in the LX header) failed. */
|
---|
1845 | #define VERR_LDRLX_BAD_FIXUP_SECTION (-22982)
|
---|
1846 | /** validation of the LX object table failed. */
|
---|
1847 | #define VERR_LDRLX_BAD_OBJECT_TABLE (-22983)
|
---|
1848 | /** A bad page map entry was encountered. */
|
---|
1849 | #define VERR_LDRLX_BAD_PAGE_MAP (-22984)
|
---|
1850 | /** Bad iterdata (EXEPACK) data. */
|
---|
1851 | #define VERR_LDRLX_BAD_ITERDATA (-22985)
|
---|
1852 | /** Bad iterdata2 (EXEPACK2) data. */
|
---|
1853 | #define VERR_LDRLX_BAD_ITERDATA2 (-22986)
|
---|
1854 | /** Bad bundle data. */
|
---|
1855 | #define VERR_LDRLX_BAD_BUNDLE (-22987)
|
---|
1856 | /** No soname. */
|
---|
1857 | #define VERR_LDRLX_NO_SONAME (-22988)
|
---|
1858 | /** Bad soname. */
|
---|
1859 | #define VERR_LDRLX_BAD_SONAME (-22989)
|
---|
1860 | /** Bad forwarder entry. */
|
---|
1861 | #define VERR_LDRLX_BAD_FORWARDER (-22990)
|
---|
1862 | /** internal fixup chain isn't implemented yet. */
|
---|
1863 | #define VERR_LDRLX_NRICHAIN_NOT_SUPPORTED (-22991)
|
---|
1864 | /** Import module ordinal is out of bounds. */
|
---|
1865 | #define VERR_LDRLX_IMPORT_ORDINAL_OUT_OF_BOUNDS (-22992)
|
---|
1866 | /** @} */
|
---|
1867 |
|
---|
1868 | /** @name RTCrX509 status codes.
|
---|
1869 | * @{ */
|
---|
1870 | /** Generic X.509 error. */
|
---|
1871 | #define VERR_CR_X509_GENERIC_ERROR (-23000)
|
---|
1872 | /** Internal error in the X.509 code. */
|
---|
1873 | #define VERR_CR_X509_INTERNAL_ERROR (-23001)
|
---|
1874 | /** Internal error in the X.509 certificate path building and verification
|
---|
1875 | * code. */
|
---|
1876 | #define VERR_CR_X509_CERTPATHS_INTERNAL_ERROR (-23002)
|
---|
1877 | /** Path not verified yet. */
|
---|
1878 | #define VERR_CR_X509_NOT_VERIFIED (-23003)
|
---|
1879 | /** The certificate path has no trust anchor. */
|
---|
1880 | #define VERR_CR_X509_NO_TRUST_ANCHOR (-23004)
|
---|
1881 | /** Unknown X.509 certificate signature algorithm. */
|
---|
1882 | #define VERR_CR_X509_UNKNOWN_CERT_SIGN_ALGO (-23005)
|
---|
1883 | /** Certificate signature algorithm mismatch. */
|
---|
1884 | #define VERR_CR_X509_CERT_SIGN_ALGO_MISMATCH (-23006)
|
---|
1885 | /** The signature algorithm in the to-be-signed certificate part does not match
|
---|
1886 | * the one associated with the signature. */
|
---|
1887 | #define VERR_CR_X509_CERT_TBS_SIGN_ALGO_MISMATCH (-23007)
|
---|
1888 | /** Certificate extensions requires certificate version 3 or later. */
|
---|
1889 | #define VERR_CR_X509_TBSCERT_EXTS_REQ_V3 (-23008)
|
---|
1890 | /** Unique issuer and subject IDs require version certificate 2. */
|
---|
1891 | #define VERR_CR_X509_TBSCERT_UNIQUE_IDS_REQ_V2 (-23009)
|
---|
1892 | /** Certificate serial number length is out of bounds. */
|
---|
1893 | #define VERR_CR_X509_TBSCERT_SERIAL_NUMBER_OUT_OF_BOUNDS (-23010)
|
---|
1894 | /** Unsupported X.509 certificate version. */
|
---|
1895 | #define VERR_CR_X509_TBSCERT_UNSUPPORTED_VERSION (-23011)
|
---|
1896 | /** Public key is too small. */
|
---|
1897 | #define VERR_CR_X509_PUBLIC_KEY_TOO_SMALL (-23012)
|
---|
1898 | /** Invalid string tag for a X.509 name object. */
|
---|
1899 | #define VERR_CR_X509_INVALID_NAME_STRING_TAG (-23013)
|
---|
1900 | /** Empty string in X.509 name object. */
|
---|
1901 | #define VERR_CR_X509_NAME_EMPTY_STRING (-23014)
|
---|
1902 | /** Non-string object inside X.509 name object. */
|
---|
1903 | #define VERR_CR_X509_NAME_NOT_STRING (-23015)
|
---|
1904 | /** Empty set inside X.509 name. */
|
---|
1905 | #define VERR_CR_X509_NAME_EMPTY_SET (-23016)
|
---|
1906 | /** Empty sub-string set inside X.509 name. */
|
---|
1907 | #define VERR_CR_X509_NAME_EMPTY_SUB_SET (-23017)
|
---|
1908 | /** The NotBefore and NotAfter values of an X.509 Validity object seems to
|
---|
1909 | * have been swapped around. */
|
---|
1910 | #define VERR_CR_X509_VALIDITY_SWAPPED (-23018)
|
---|
1911 | /** Duplicate certificate extension. */
|
---|
1912 | #define VERR_CR_X509_TBSCERT_DUPLICATE_EXTENSION (-23019)
|
---|
1913 | /** Missing relative distinguished name map entry. */
|
---|
1914 | #define VERR_CR_X509_NAME_MISSING_RDN_MAP_ENTRY (-23020)
|
---|
1915 | /** Certificate path validator: No trusted certificate paths. */
|
---|
1916 | #define VERR_CR_X509_CPV_NO_TRUSTED_PATHS (-23021)
|
---|
1917 | /** Certificate path validator: No valid certificate policy. */
|
---|
1918 | #define VERR_CR_X509_CPV_NO_VALID_POLICY (-23022)
|
---|
1919 | /** Certificate path validator: Unknown critical certificate extension. */
|
---|
1920 | #define VERR_CR_X509_CPV_UNKNOWN_CRITICAL_EXTENSION (-23023)
|
---|
1921 | /** Certificate path validator: Intermediate certificate is missing the
|
---|
1922 | * KeyCertSign usage flag. */
|
---|
1923 | #define VERR_CR_X509_CPV_MISSING_KEY_CERT_SIGN (-23024)
|
---|
1924 | /** Certificate path validator: Hit the max certificate path length before
|
---|
1925 | * reaching trust anchor. */
|
---|
1926 | #define VERR_CR_X509_CPV_MAX_PATH_LENGTH (-23025)
|
---|
1927 | /** Certificate path validator: Intermediate certificate is not marked as a
|
---|
1928 | * certificate authority (CA). */
|
---|
1929 | #define VERR_CR_X509_CPV_NOT_CA_CERT (-23026)
|
---|
1930 | /** Certificate path validator: Intermediate certificate is not a version 3
|
---|
1931 | * certificate. */
|
---|
1932 | #define VERR_CR_X509_CPV_NOT_V3_CERT (-23027)
|
---|
1933 | /** Certificate path validator: Invalid policy mapping (to/from anyPolicy). */
|
---|
1934 | #define VERR_CR_X509_CPV_INVALID_POLICY_MAPPING (-23028)
|
---|
1935 | /** Certificate path validator: Name constraints permits no names. */
|
---|
1936 | #define VERR_CR_X509_CPV_NO_PERMITTED_NAMES (-23029)
|
---|
1937 | /** Certificate path validator: Name constraints does not permits the
|
---|
1938 | * certificate name. */
|
---|
1939 | #define VERR_CR_X509_CPV_NAME_NOT_PERMITTED (-23030)
|
---|
1940 | /** Certificate path validator: Name constraints does not permits the
|
---|
1941 | * alternative certificate name. */
|
---|
1942 | #define VERR_CR_X509_CPV_ALT_NAME_NOT_PERMITTED (-23031)
|
---|
1943 | /** Certificate path validator: Intermediate certificate subject does not
|
---|
1944 | * match child issuer property. */
|
---|
1945 | #define VERR_CR_X509_CPV_ISSUER_MISMATCH (-23032)
|
---|
1946 | /** Certificate path validator: The certificate is not valid at the
|
---|
1947 | * specified time. */
|
---|
1948 | #define VERR_CR_X509_CPV_NOT_VALID_AT_TIME (-23033)
|
---|
1949 | /** Certificate path validator: Unexpected choice found in general subtree
|
---|
1950 | * object (name constraints). */
|
---|
1951 | #define VERR_CR_X509_CPV_UNEXP_GENERAL_SUBTREE_CHOICE (-23034)
|
---|
1952 | /** Certificate path validator: Unexpected minimum value found in general
|
---|
1953 | * subtree object (name constraints). */
|
---|
1954 | #define VERR_CR_X509_CPV_UNEXP_GENERAL_SUBTREE_MIN (-23035)
|
---|
1955 | /** Certificate path validator: Unexpected maximum value found in
|
---|
1956 | * general subtree object (name constraints). */
|
---|
1957 | #define VERR_CR_X509_CPV_UNEXP_GENERAL_SUBTREE_MAX (-23036)
|
---|
1958 | /** Certificate path builder: Encountered bad certificate context. */
|
---|
1959 | #define VERR_CR_X509_CPB_BAD_CERT_CTX (-23037)
|
---|
1960 | /** OpenSSL d2i_X509 failed. */
|
---|
1961 | #define VERR_CR_X509_OSSL_D2I_FAILED (-23090)
|
---|
1962 | /** @} */
|
---|
1963 |
|
---|
1964 | /** @name RTCrPkcs7 status codes.
|
---|
1965 | * @{ */
|
---|
1966 | /** Generic PKCS \#7 error. */
|
---|
1967 | #define VERR_CR_PKCS7_GENERIC_ERROR (-23300)
|
---|
1968 | /** Signed data verification failed because there are zero signer infos. */
|
---|
1969 | #define VERR_CR_PKCS7_NO_SIGNER_INFOS (-23301)
|
---|
1970 | /** Signed data certificate not found. */
|
---|
1971 | #define VERR_CR_PKCS7_SIGNED_DATA_CERT_NOT_FOUND (-23302)
|
---|
1972 | /** Signed data verification failed due to key usage issues. */
|
---|
1973 | #define VERR_CR_PKCS7_KEY_USAGE_MISMATCH (-23303)
|
---|
1974 | /** Signed data verification failed because of missing (or duplicate)
|
---|
1975 | * authenticated content-type attribute. */
|
---|
1976 | #define VERR_CR_PKCS7_MISSING_CONTENT_TYPE_ATTRIB (-23304)
|
---|
1977 | /** Signed data verification failed because of the authenticated content-type
|
---|
1978 | * attribute did not match. */
|
---|
1979 | #define VERR_CR_PKCS7_CONTENT_TYPE_ATTRIB_MISMATCH (-23305)
|
---|
1980 | /** Signed data verification failed because of a malformed authenticated
|
---|
1981 | * content-type attribute. */
|
---|
1982 | #define VERR_CR_PKCS7_BAD_CONTENT_TYPE_ATTRIB (-23306)
|
---|
1983 | /** Signed data verification failed because of missing (or duplicate)
|
---|
1984 | * authenticated message-digest attribute. */
|
---|
1985 | #define VERR_CR_PKCS7_MISSING_MESSAGE_DIGEST_ATTRIB (-23307)
|
---|
1986 | /** Signed data verification failed because the authenticated message-digest
|
---|
1987 | * attribute did not match. */
|
---|
1988 | #define VERR_CR_PKCS7_MESSAGE_DIGEST_ATTRIB_MISMATCH (-23308)
|
---|
1989 | /** Signed data verification failed because of a malformed authenticated
|
---|
1990 | * message-digest attribute. */
|
---|
1991 | #define VERR_CR_PKCS7_BAD_MESSAGE_DIGEST_ATTRIB (-23309)
|
---|
1992 | /** Signature verification failed. */
|
---|
1993 | #define VERR_CR_PKCS7_SIGNATURE_VERIFICATION_FAILED (-23310)
|
---|
1994 | /** Internal PKCS \#7 error. */
|
---|
1995 | #define VERR_CR_PKCS7_INTERNAL_ERROR (-22311)
|
---|
1996 | /** OpenSSL d2i_PKCS7 failed. */
|
---|
1997 | #define VERR_CR_PKCS7_OSSL_D2I_FAILED (-22312)
|
---|
1998 | /** OpenSSL PKCS \#7 verification failed. */
|
---|
1999 | #define VERR_CR_PKCS7_OSSL_VERIFY_FAILED (-22313)
|
---|
2000 | /** Digest algorithm parameters are not supported by the PKCS \#7 code. */
|
---|
2001 | #define VERR_CR_PKCS7_DIGEST_PARAMS_NOT_IMPL (-22314)
|
---|
2002 | /** The digest algorithm of a signer info entry was not found in the list of
|
---|
2003 | * digest algorithms in the signed data. */
|
---|
2004 | #define VERR_CR_PKCS7_DIGEST_ALGO_NOT_FOUND_IN_LIST (-22315)
|
---|
2005 | /** The PKCS \#7 content is not signed data. */
|
---|
2006 | #define VERR_CR_PKCS7_NOT_SIGNED_DATA (-22316)
|
---|
2007 | /** No digest algorithms listed in PKCS \#7 signed data. */
|
---|
2008 | #define VERR_CR_PKCS7_NO_DIGEST_ALGORITHMS (-22317)
|
---|
2009 | /** Too many digest algorithms used by PKCS \#7 signed data. This is an
|
---|
2010 | * internal limitation of the code that aims at saving kernel stack space. */
|
---|
2011 | #define VERR_CR_PKCS7_TOO_MANY_DIGEST_ALGORITHMS (-22318)
|
---|
2012 | /** Error creating digest algorithm calculator. */
|
---|
2013 | #define VERR_CR_PKCS7_DIGEST_CREATE_ERROR (-22319)
|
---|
2014 | /** Error while calculating a digest for a PKCS \#7 verification operation. */
|
---|
2015 | #define VERR_CR_PKCS7_DIGEST_CALC_ERROR (-22320)
|
---|
2016 | /** Unsupported PKCS \#7 signed data version. */
|
---|
2017 | #define VERR_CR_PKCS7_SIGNED_DATA_VERSION (-22350)
|
---|
2018 | /** PKCS \#7 signed data has no digest algorithms listed. */
|
---|
2019 | #define VERR_CR_PKCS7_SIGNED_DATA_NO_DIGEST_ALGOS (-22351)
|
---|
2020 | /** Unknown digest algorithm used by PKCS \#7 object. */
|
---|
2021 | #define VERR_CR_PKCS7_UNKNOWN_DIGEST_ALGORITHM (-22352)
|
---|
2022 | /** Expected PKCS \#7 object to ship at least one certificate. */
|
---|
2023 | #define VERR_CR_PKCS7_NO_CERTIFICATES (-22353)
|
---|
2024 | /** Expected PKCS \#7 object to not contain any CRLs. */
|
---|
2025 | #define VERR_CR_PKCS7_EXPECTED_NO_CRLS (-22354)
|
---|
2026 | /** Expected PKCS \#7 object to contain exactly on signer info entry. */
|
---|
2027 | #define VERR_CR_PKCS7_EXPECTED_ONE_SIGNER_INFO (-22355)
|
---|
2028 | /** Unsupported PKCS \#7 signer info version. */
|
---|
2029 | #define VERR_CR_PKCS7_SIGNER_INFO_VERSION (-22356)
|
---|
2030 | /** PKCS \#7 singer info contains no issuer serial number. */
|
---|
2031 | #define VERR_CR_PKCS7_SIGNER_INFO_NO_ISSUER_SERIAL_NO (-22357)
|
---|
2032 | /** Expected PKCS \#7 object to ship the signer certificate(s). */
|
---|
2033 | #define VERR_CR_PKCS7_SIGNER_CERT_NOT_SHIPPED (-22358)
|
---|
2034 | /** The encrypted digest algorithm does not match the one in the certificate. */
|
---|
2035 | #define VERR_CR_PKCS7_SIGNER_INFO_DIGEST_ENCRYPT_MISMATCH (-22359)
|
---|
2036 | /** The PKCS \#7 content is not data. */
|
---|
2037 | #define VERR_CR_PKCS7_NOT_DATA (-22360)
|
---|
2038 | /** @} */
|
---|
2039 |
|
---|
2040 | /** @name RTCrSpc status codes.
|
---|
2041 | * @{ */
|
---|
2042 | /** Generic SPC error. */
|
---|
2043 | #define VERR_CR_SPC_GENERIC_ERROR (-23400)
|
---|
2044 | /** SPC requires there to be exactly one SignerInfo entry. */
|
---|
2045 | #define VERR_CR_SPC_NOT_EXACTLY_ONE_SIGNER_INFOS (-23401)
|
---|
2046 | /** There shall be exactly one digest algorithm to go with the single
|
---|
2047 | * SingerInfo entry required by SPC. */
|
---|
2048 | #define VERR_CR_SPC_NOT_EXACTLY_ONE_DIGEST_ALGO (-23402)
|
---|
2049 | /** The digest algorithm in the SignerInfo does not match the one in the
|
---|
2050 | * indirect data. */
|
---|
2051 | #define VERR_CR_SPC_SIGNED_IND_DATA_DIGEST_ALGO_MISMATCH (-23403)
|
---|
2052 | /** The digest algorithm in the indirect data was not found in the list of
|
---|
2053 | * digest algorithms in the signed data structure. */
|
---|
2054 | #define VERR_CR_SPC_IND_DATA_DIGEST_ALGO_NOT_IN_DIGEST_ALGOS (-23404)
|
---|
2055 | /** The digest algorithm is not known to us. */
|
---|
2056 | #define VERR_CR_SPC_UNKNOWN_DIGEST_ALGO (-23405)
|
---|
2057 | /** The indirect data digest size does not match the digest algorithm. */
|
---|
2058 | #define VERR_CR_SPC_IND_DATA_DIGEST_SIZE_MISMATCH (-23406)
|
---|
2059 | /** Expected PE image data inside indirect data object. */
|
---|
2060 | #define VERR_CR_SPC_EXPECTED_PE_IMAGE_DATA (-23407)
|
---|
2061 | /** Internal SPC error: The PE image data is missing. */
|
---|
2062 | #define VERR_CR_SPC_PEIMAGE_DATA_NOT_PRESENT (-23408)
|
---|
2063 | /** Bad SPC object moniker UUID field. */
|
---|
2064 | #define VERR_CR_SPC_BAD_MONIKER_UUID (-23409)
|
---|
2065 | /** Unknown SPC object moniker UUID. */
|
---|
2066 | #define VERR_CR_SPC_UNKNOWN_MONIKER_UUID (-23410)
|
---|
2067 | /** Internal SPC error: Bad object moniker choice value. */
|
---|
2068 | #define VERR_CR_SPC_BAD_MONIKER_CHOICE (-23411)
|
---|
2069 | /** Internal SPC error: Bad object moniker data pointer. */
|
---|
2070 | #define VERR_CR_SPC_MONIKER_BAD_DATA (-23412)
|
---|
2071 | /** Multiple PE image page hash tables. */
|
---|
2072 | #define VERR_CR_SPC_PEIMAGE_MULTIPLE_HASH_TABS (-23413)
|
---|
2073 | /** Unknown SPC PE image attribute. */
|
---|
2074 | #define VERR_CR_SPC_PEIMAGE_UNKNOWN_ATTRIBUTE (-23414)
|
---|
2075 | /** URL not expected in SPC PE image data. */
|
---|
2076 | #define VERR_CR_SPC_PEIMAGE_URL_UNEXPECTED (-23415)
|
---|
2077 | /** PE image data without any valid content was not expected. */
|
---|
2078 | #define VERR_CR_SPC_PEIMAGE_NO_CONTENT (-23416)
|
---|
2079 | /** @} */
|
---|
2080 |
|
---|
2081 | /** @name RTCrPkix status codes.
|
---|
2082 | * @{ */
|
---|
2083 | /** Generic PKCS \#7 error. */
|
---|
2084 | #define VERR_CR_PKIX_GENERIC_ERROR (-23500)
|
---|
2085 | /** Parameters was presented to a signature schema that does not take any. */
|
---|
2086 | #define VERR_CR_PKIX_SIGNATURE_TAKES_NO_PARAMETERS (-23501)
|
---|
2087 | /** Unknown hash digest type. */
|
---|
2088 | #define VERR_CR_PKIX_UNKNOWN_DIGEST_TYPE (-23502)
|
---|
2089 | /** Internal error. */
|
---|
2090 | #define VERR_CR_PKIX_INTERNAL_ERROR (-23503)
|
---|
2091 | /** The hash is too long for the key used when signing/verifying. */
|
---|
2092 | #define VERR_CR_PKIX_HASH_TOO_LONG_FOR_KEY (-23504)
|
---|
2093 | /** The signature is too long for the scratch buffer. */
|
---|
2094 | #define VERR_CR_PKIX_SIGNATURE_TOO_LONG (-23505)
|
---|
2095 | /** The signature is greater than or equal to the key. */
|
---|
2096 | #define VERR_CR_PKIX_SIGNATURE_GE_KEY (-23506)
|
---|
2097 | /** The signature is negative. */
|
---|
2098 | #define VERR_CR_PKIX_SIGNATURE_NEGATIVE (-23507)
|
---|
2099 | /** Invalid signature length. */
|
---|
2100 | #define VERR_CR_PKIX_INVALID_SIGNATURE_LENGTH (-23508)
|
---|
2101 | /** PKIX signature no does not match up to the current data. */
|
---|
2102 | #define VERR_CR_PKIX_SIGNATURE_MISMATCH (-23509)
|
---|
2103 | /** PKIX cipher algorithm parameters are not implemented. */
|
---|
2104 | #define VERR_CR_PKIX_CIPHER_ALGO_PARAMS_NOT_IMPL (-23510)
|
---|
2105 | /** Cipher algorithm is not known to us. */
|
---|
2106 | #define VERR_CR_PKIX_CIPHER_ALGO_NOT_KNOWN (-23511)
|
---|
2107 | /** PKIX cipher algorithm is not known to OpenSSL. */
|
---|
2108 | #define VERR_CR_PKIX_OSSL_CIPHER_ALGO_NOT_KNOWN (-23512)
|
---|
2109 | /** PKIX cipher algorithm is not known to OpenSSL EVP API. */
|
---|
2110 | #define VERR_CR_PKIX_OSSL_CIPHER_ALGO_NOT_KNOWN_EVP (-23513)
|
---|
2111 | /** OpenSSL failed to init PKIX cipher algorithm context. */
|
---|
2112 | #define VERR_CR_PKIX_OSSL_CIPHER_ALOG_INIT_FAILED (-23514)
|
---|
2113 | /** Final OpenSSL PKIX verification failed. */
|
---|
2114 | #define VERR_CR_PKIX_OSSL_VERIFY_FINAL_FAILED (-23515)
|
---|
2115 | /** OpenSSL failed to decode the public key. */
|
---|
2116 | #define VERR_CR_PKIX_OSSL_D2I_PUBLIC_KEY_FAILED (-23516)
|
---|
2117 | /** The EVP_PKEY_type API in OpenSSL failed. */
|
---|
2118 | #define VERR_CR_PKIX_OSSL_EVP_PKEY_TYPE_ERROR (-23517)
|
---|
2119 | /** OpenSSL failed to decode the public key. */
|
---|
2120 | #define VERR_CR_PKIX_OSSL_D2I_PRIVATE_KEY_FAILED (-23518)
|
---|
2121 | /** The EVP_PKEY_CTX_set_rsa_padding API in OpenSSL failed. */
|
---|
2122 | #define VERR_CR_PKIX_OSSL_EVP_PKEY_RSA_PAD_ERROR (-23519)
|
---|
2123 | /** Final OpenSSL PKIX signing failed. */
|
---|
2124 | #define VERR_CR_PKIX_OSSL_SIGN_FINAL_FAILED (-23520)
|
---|
2125 | /** OpenSSL and IPRT disagree on the signature size. */
|
---|
2126 | #define VERR_CR_PKIX_OSSL_VS_IPRT_SIGNATURE_SIZE (-23521)
|
---|
2127 | /** OpenSSL and IPRT disagree on the signature. */
|
---|
2128 | #define VERR_CR_PKIX_OSSL_VS_IPRT_SIGNATURE (-23522)
|
---|
2129 | /** Expected RSA private key. */
|
---|
2130 | #define VERR_CR_PKIX_NOT_RSA_PRIVATE_KEY (-23523)
|
---|
2131 | /** Expected RSA public key. */
|
---|
2132 | #define VERR_CR_PKIX_NOT_RSA_PUBLIC_KEY (-23524)
|
---|
2133 | /** @} */
|
---|
2134 |
|
---|
2135 | /** @name RTCrStore status codes.
|
---|
2136 | * @{ */
|
---|
2137 | /** Generic store error. */
|
---|
2138 | #define VERR_CR_STORE_GENERIC_ERROR (-23700)
|
---|
2139 | /** @} */
|
---|
2140 |
|
---|
2141 | /** @name RTCrKey status codes.
|
---|
2142 | * @{ */
|
---|
2143 | /** Could not recognize the key type. */
|
---|
2144 | #define VERR_CR_KEY_UNKNOWN_TYPE (-23800)
|
---|
2145 | /** Unsupported key format. */
|
---|
2146 | #define VERR_CR_KEY_FORMAT_NOT_SUPPORTED (-23801)
|
---|
2147 | /** Key encrypted but no password was given. */
|
---|
2148 | #define VERR_CR_KEY_ENCRYPTED (-23802)
|
---|
2149 | /** The key was marked as encrypted by no DEK-Info field with the encryption
|
---|
2150 | * algortihms was found. */
|
---|
2151 | #define VERR_CR_KEY_NO_DEK_INFO (-23803)
|
---|
2152 | /** The algorithms part of the DEK-Info field is too long. */
|
---|
2153 | #define VERR_CR_KEY_DEK_INFO_TOO_LONG (-23804)
|
---|
2154 | /** Key decryption is not supported. */
|
---|
2155 | #define VERR_CR_KEY_DECRYPTION_NOT_SUPPORTED (-23805)
|
---|
2156 | /** Unsupported key encryption cipher. */
|
---|
2157 | #define VERR_CR_KEY_UNSUPPORTED_CIPHER (-23806)
|
---|
2158 | /** Found unexpected cipher parameters for encrypted key. */
|
---|
2159 | #define VERR_CR_KEY_UNEXPECTED_CIPHER_PARAMS (-23807)
|
---|
2160 | /** Missing ciper parameters for encrypted key. */
|
---|
2161 | #define VERR_CR_KEY_MISSING_CIPHER_PARAMS (-23808)
|
---|
2162 | /** To short initialization vector for encrypted key ciper. */
|
---|
2163 | #define VERR_CR_KEY_TOO_SHORT_CIPHER_IV (-23809)
|
---|
2164 | /** Malformed initialization vector for encrypted key ciper. */
|
---|
2165 | #define VERR_CR_KEY_MALFORMED_CIPHER_IV (-23810)
|
---|
2166 | /** Error encoding the password for key decryption. */
|
---|
2167 | #define VERR_CR_KEY_PASSWORD_ENCODING (-23811)
|
---|
2168 | /** EVP_DecryptInit_ex failed. */
|
---|
2169 | #define VERR_CR_KEY_OSSL_DECRYPT_INIT_ERROR (-23812)
|
---|
2170 | /** Key decryption failed, perhaps due to an incorrect password. */
|
---|
2171 | #define VERR_CR_KEY_DECRYPTION_FAILED (-23813)
|
---|
2172 | /** The key was decrypted. */
|
---|
2173 | #define VINF_CR_KEY_WAS_DECRYPTED (23814)
|
---|
2174 | /** Failed to generate RSA key. */
|
---|
2175 | #define VERR_CR_KEY_GEN_FAILED_RSA (-23815)
|
---|
2176 | /** @} */
|
---|
2177 |
|
---|
2178 | /** @name RTCrRsa status codes.
|
---|
2179 | * @{ */
|
---|
2180 | /** Generic RSA error. */
|
---|
2181 | #define VERR_CR_RSA_GENERIC_ERROR (-23900)
|
---|
2182 | /** @} */
|
---|
2183 |
|
---|
2184 | /** @name RTBigNum status codes.
|
---|
2185 | * @{ */
|
---|
2186 | /** Sensitive input requires the result(s) to be initialized as sensitive. */
|
---|
2187 | #define VERR_BIGNUM_SENSITIVE_INPUT (-24000)
|
---|
2188 | /** Attempt to divide by zero. */
|
---|
2189 | #define VERR_BIGNUM_DIV_BY_ZERO (-24001)
|
---|
2190 | /** Negative exponent makes no sense to integer math. */
|
---|
2191 | #define VERR_BIGNUM_NEGATIVE_EXPONENT (-24002)
|
---|
2192 |
|
---|
2193 | /** @} */
|
---|
2194 |
|
---|
2195 | /** @name RTCrDigest status codes.
|
---|
2196 | * @{ */
|
---|
2197 | /** OpenSSL failed to initialize the digest algorithm context. */
|
---|
2198 | #define VERR_CR_DIGEST_OSSL_DIGEST_INIT_ERROR (-24200)
|
---|
2199 | /** OpenSSL failed to clone the digest algorithm context. */
|
---|
2200 | #define VERR_CR_DIGEST_OSSL_DIGEST_CTX_COPY_ERROR (-24201)
|
---|
2201 | /** Deprecated digest. */
|
---|
2202 | #define VINF_CR_DIGEST_DEPRECATED (24202)
|
---|
2203 | /** Deprecated digest. */
|
---|
2204 | #define VERR_CR_DIGEST_DEPRECATED (-24202)
|
---|
2205 | /** Compromised digest. */
|
---|
2206 | #define VINF_CR_DIGEST_COMPROMISED (24203)
|
---|
2207 | /** Compromised digest. */
|
---|
2208 | #define VERR_CR_DIGEST_COMPROMISED (-24203)
|
---|
2209 | /** Severely compromised digest. */
|
---|
2210 | #define VINF_CR_DIGEST_SEVERELY_COMPROMISED (24204)
|
---|
2211 | /** Severely compromised digest. */
|
---|
2212 | #define VERR_CR_DIGEST_SEVERELY_COMPROMISED (-24204)
|
---|
2213 | /** Specified digest not supported in this context. */
|
---|
2214 | #define VERR_CR_DIGEST_NOT_SUPPORTED (-24205)
|
---|
2215 | /** @} */
|
---|
2216 |
|
---|
2217 | /** @name RTCr misc status codes.
|
---|
2218 | * @{ */
|
---|
2219 | /** Failed to derivate key from password. */
|
---|
2220 | #define VERR_CR_PASSWORD_2_KEY_DERIVIATION_FAILED (-24396)
|
---|
2221 | /** Failed getting cryptographically strong random bytes. */
|
---|
2222 | #define VERR_CR_RANDOM_SETUP_FAILED (-24397)
|
---|
2223 | /** Failed getting cryptographically strong random bytes. */
|
---|
2224 | #define VERR_CR_RANDOM_FAILED (-24398)
|
---|
2225 | /** Malformed or failed to parse PEM formatted data. */
|
---|
2226 | #define VERR_CR_MALFORMED_PEM_HEADER (-24399)
|
---|
2227 | /** @} */
|
---|
2228 |
|
---|
2229 | /** @name RTPath status codes.
|
---|
2230 | * @{ */
|
---|
2231 | /** Unknown glob variable. */
|
---|
2232 | #define VERR_PATH_MATCH_UNKNOWN_VARIABLE (-24400)
|
---|
2233 | /** The specified glob variable must be first in the pattern. */
|
---|
2234 | #define VERR_PATH_MATCH_VARIABLE_MUST_BE_FIRST (-24401)
|
---|
2235 | /** Hit unimplemented glob pattern matching feature. */
|
---|
2236 | #define VERR_PATH_MATCH_FEATURE_NOT_IMPLEMENTED (-24402)
|
---|
2237 | /** Unknown character class in glob pattern. */
|
---|
2238 | #define VERR_PATH_GLOB_UNKNOWN_CHAR_CLASS (-24403)
|
---|
2239 | /** @} */
|
---|
2240 |
|
---|
2241 | /** @name RTUri status codes.
|
---|
2242 | * @{ */
|
---|
2243 | /** The URI is empty */
|
---|
2244 | #define VERR_URI_EMPTY (-24600)
|
---|
2245 | /** The URI is too short to be a valid URI. */
|
---|
2246 | #define VERR_URI_TOO_SHORT (-24601)
|
---|
2247 | /** Invalid scheme. */
|
---|
2248 | #define VERR_URI_INVALID_SCHEME (-24602)
|
---|
2249 | /** Invalid port number. */
|
---|
2250 | #define VERR_URI_INVALID_PORT_NUMBER (-24603)
|
---|
2251 | /** Invalid escape sequence. */
|
---|
2252 | #define VERR_URI_INVALID_ESCAPE_SEQ (-24604)
|
---|
2253 | /** Escape URI char decodes as zero (the C string terminator). */
|
---|
2254 | #define VERR_URI_ESCAPED_ZERO (-24605)
|
---|
2255 | /** Escaped URI characters does not decode to valid UTF-8. */
|
---|
2256 | #define VERR_URI_ESCAPED_CHARS_NOT_VALID_UTF8 (-24606)
|
---|
2257 | /** Escaped URI character is not a valid UTF-8 lead byte. */
|
---|
2258 | #define VERR_URI_INVALID_ESCAPED_UTF8_LEAD_BYTE (-24607)
|
---|
2259 | /** Escaped URI character sequence with invalid UTF-8 continutation byte. */
|
---|
2260 | #define VERR_URI_INVALID_ESCAPED_UTF8_CONTINUATION_BYTE (-24608)
|
---|
2261 | /** Missing UTF-8 continutation in escaped URI character sequence. */
|
---|
2262 | #define VERR_URI_MISSING_UTF8_CONTINUATION_BYTE (-24609)
|
---|
2263 | /** Expected URI using the 'file:' scheme. */
|
---|
2264 | #define VERR_URI_NOT_FILE_SCHEME (-24610)
|
---|
2265 | /** @} */
|
---|
2266 |
|
---|
2267 | /** @name RTJson status codes.
|
---|
2268 | * @{ */
|
---|
2269 | /** The called method does not work with the value type of the given JSON value. */
|
---|
2270 | #define VERR_JSON_VALUE_INVALID_TYPE (-24700)
|
---|
2271 | /** The iterator reached the end. */
|
---|
2272 | #define VERR_JSON_ITERATOR_END (-24701)
|
---|
2273 | /** The JSON document is malformed. */
|
---|
2274 | #define VERR_JSON_MALFORMED (-24702)
|
---|
2275 | /** Object or array is empty. */
|
---|
2276 | #define VERR_JSON_IS_EMPTY (-24703)
|
---|
2277 | /** Invalid UTF-16 escape sequence. */
|
---|
2278 | #define VERR_JSON_INVALID_UTF16_ESCAPE_SEQUENCE (-24704)
|
---|
2279 | /** Missing UTF-16 surrogate pair. */
|
---|
2280 | #define VERR_JSON_MISSING_SURROGATE_PAIR (-24705)
|
---|
2281 | /** Bad UTF-16 surrogate pair sequence. */
|
---|
2282 | #define VERR_JSON_BAD_SURROGATE_PAIR_SEQUENCE (-24706)
|
---|
2283 | /** Invalid codepoint. */
|
---|
2284 | #define VERR_JSON_INVALID_CODEPOINT (-24707)
|
---|
2285 | /** @} */
|
---|
2286 |
|
---|
2287 | /** @name RTVfs status codes.
|
---|
2288 | * @{ */
|
---|
2289 | /** Unknown file system format. */
|
---|
2290 | #define VERR_VFS_UNKNOWN_FORMAT (-24800)
|
---|
2291 | /** Found bogus values in the file system. */
|
---|
2292 | #define VERR_VFS_BOGUS_FORMAT (-24801)
|
---|
2293 | /** Found bogus offset in the file system. */
|
---|
2294 | #define VERR_VFS_BOGUS_OFFSET (-24802)
|
---|
2295 | /** Unsupported file system format. */
|
---|
2296 | #define VERR_VFS_UNSUPPORTED_FORMAT (-24803)
|
---|
2297 | /** Unsupported create type in an RTVfsObjOpen or RTVfsDirOpenObj call. */
|
---|
2298 | #define VERR_VFS_UNSUPPORTED_CREATE_TYPE (-24804)
|
---|
2299 | /** @} */
|
---|
2300 |
|
---|
2301 | /** @name RTFsIsoMaker status codes.
|
---|
2302 | * @{ */
|
---|
2303 | /** No validation entry in the boot catalog. */
|
---|
2304 | #define VERR_ISOMK_BOOT_CAT_NO_VALIDATION_ENTRY (-25000)
|
---|
2305 | /** No default entry in the boot catalog. */
|
---|
2306 | #define VERR_ISOMK_BOOT_CAT_NO_DEFAULT_ENTRY (-25001)
|
---|
2307 | /** Expected section header. */
|
---|
2308 | #define VERR_ISOMK_BOOT_CAT_EXPECTED_SECTION_HEADER (-25002)
|
---|
2309 | /** Entry in a boot catalog section is empty. */
|
---|
2310 | #define VERR_ISOMK_BOOT_CAT_EMPTY_ENTRY (-25003)
|
---|
2311 | /** Entry in a boot catalog section is another section. */
|
---|
2312 | #define VERR_ISOMK_BOOT_CAT_INVALID_SECTION_SIZE (-25004)
|
---|
2313 | /** Unsectioned boot catalog entry. */
|
---|
2314 | #define VERR_ISOMK_BOOT_CAT_ERRATIC_ENTRY (-25005)
|
---|
2315 | /** The file is too big for the current ISO level (4GB+ sized files
|
---|
2316 | * requires ISO level 3). */
|
---|
2317 | #define VERR_ISOMK_FILE_TOO_BIG_REQ_ISO_LEVEL_3 (-25006)
|
---|
2318 | /** Cannot add symbolic link to namespace which isn't configured to support it. */
|
---|
2319 | #define VERR_ISOMK_SYMLINK_REQ_ROCK_RIDGE (-25007)
|
---|
2320 | /** Cannot add symbolic link to one of the selected namespaces. */
|
---|
2321 | #define VINF_ISOMK_SYMLINK_REQ_ROCK_RIDGE (25007)
|
---|
2322 | /** Cannot add symbolic link because no namespace is configured to support it. */
|
---|
2323 | #define VERR_ISOMK_SYMLINK_SUPPORT_DISABLED (-25008)
|
---|
2324 | /** No space for rock ridge 'CE' entry in directory record. */
|
---|
2325 | #define VERR_ISOMK_RR_NO_SPACE_FOR_CE (-25009)
|
---|
2326 | /** Internal ISO maker error: Rock ridge read problem. */
|
---|
2327 | #define VERR_ISOMK_IPE_RR_READ (-25010)
|
---|
2328 | /** Internal ISO maker error: Buggy namespace table. */
|
---|
2329 | #define VERR_ISOMK_IPE_TABLE (-25011)
|
---|
2330 | /** Internal ISO maker error: Namespace problem \#1. */
|
---|
2331 | #define VERR_ISOMK_IPE_NAMESPACE_1 (-25012)
|
---|
2332 | /** Internal ISO maker error: Namespace problem \#2. */
|
---|
2333 | #define VERR_ISOMK_IPE_NAMESPACE_2 (-25013)
|
---|
2334 | /** Internal ISO maker error: Namespace problem \#3. */
|
---|
2335 | #define VERR_ISOMK_IPE_NAMESPACE_3 (-25014)
|
---|
2336 | /** Internal ISO maker error: Namespace problem \#4. */
|
---|
2337 | #define VERR_ISOMK_IPE_NAMESPACE_4 (-25015)
|
---|
2338 | /** Internal ISO maker error: Namespace problem \#5. */
|
---|
2339 | #define VERR_ISOMK_IPE_NAMESPACE_5 (-25016)
|
---|
2340 | /** Internal ISO maker error: Namespace problem \#6. */
|
---|
2341 | #define VERR_ISOMK_IPE_NAMESPACE_6 (-25017)
|
---|
2342 | /** Internal ISO maker error: Empty path. */
|
---|
2343 | #define VERR_ISOMK_IPE_EMPTY_PATH (-25018)
|
---|
2344 | /** Internal ISO maker error: Unexpected empty component. */
|
---|
2345 | #define VERR_ISOMK_IPE_EMPTY_COMPONENT (-25019)
|
---|
2346 | /** Internal ISO maker error: Expected path to start with root slash. */
|
---|
2347 | #define VERR_ISOMK_IPE_ROOT_SLASH (-25020)
|
---|
2348 | /** Internal ISO maker error: Descriptor miscounting. */
|
---|
2349 | #define VERR_ISOMK_IPE_DESC_COUNT (-25021)
|
---|
2350 | /** Internal ISO maker error: Buffer size. */
|
---|
2351 | #define VERR_ISOMK_IPE_BUFFER_SIZE (-25022)
|
---|
2352 | /** Internal ISO maker error: Boot catalog file handle problem. */
|
---|
2353 | #define VERR_ISOMK_IPE_BOOT_CAT_FILE (-25023)
|
---|
2354 | /** Internal ISO maker error: Inconsistency produing trans.tbl file. */
|
---|
2355 | #define VERR_ISOMK_IPE_PRODUCE_TRANS_TBL (-25024)
|
---|
2356 | /** Internal ISO maker error: Read file data probem \#1. */
|
---|
2357 | #define VERR_ISOMK_IPE_READ_FILE_DATA_1 (-25025)
|
---|
2358 | /** Internal ISO maker error: Read file data probem \#2. */
|
---|
2359 | #define VERR_ISOMK_IPE_READ_FILE_DATA_2 (-25026)
|
---|
2360 | /** Internal ISO maker error: Read file data probem \#3. */
|
---|
2361 | #define VERR_ISOMK_IPE_READ_FILE_DATA_3 (-25027)
|
---|
2362 | /** Internal ISO maker error: Finalization problem \#1. */
|
---|
2363 | #define VERR_ISOMK_IPE_FINALIZE_1 (-25028)
|
---|
2364 | /** The spill file grew larger than 4GB. */
|
---|
2365 | #define VERR_ISOMK_RR_SPILL_FILE_FULL (-25029)
|
---|
2366 |
|
---|
2367 | /** Requested to import an unknown ISO format. */
|
---|
2368 | #define VERR_ISOMK_IMPORT_UNKNOWN_FORMAT (-25100)
|
---|
2369 | /** Too many volume descriptors in the import ISO. */
|
---|
2370 | #define VERR_ISOMK_IMPORT_TOO_MANY_VOL_DESCS (-25101)
|
---|
2371 | /** Import ISO contains a bad volume descriptor header. */
|
---|
2372 | #define VERR_ISOMK_IMPORT_INVALID_VOL_DESC_HDR (-25102)
|
---|
2373 | /** Import ISO contains more than one primary volume descriptor. */
|
---|
2374 | #define VERR_ISOMK_IMPORT_MULTIPLE_PRIMARY_VOL_DESCS (-25103)
|
---|
2375 | /** Import ISO contains more than one el torito descriptor. */
|
---|
2376 | #define VERR_ISOMK_IMPORT_MULTIPLE_EL_TORITO_DESCS (-25104)
|
---|
2377 | /** Import ISO contains more than one joliet volume descriptor. */
|
---|
2378 | #define VERR_ISOMK_IMPORT_MULTIPLE_JOLIET_VOL_DESCS (-25105)
|
---|
2379 | /** Import ISO starts with supplementary volume descriptor before any
|
---|
2380 | * primary ones. */
|
---|
2381 | #define VERR_ISOMK_IMPORT_SUPPLEMENTARY_BEFORE_PRIMARY (-25106)
|
---|
2382 | /** Import ISO contains an unsupported primary volume descriptor version. */
|
---|
2383 | #define VERR_IOSMK_IMPORT_PRIMARY_VOL_DESC_VER (-25107)
|
---|
2384 | /** Import ISO contains a bad primary volume descriptor. */
|
---|
2385 | #define VERR_ISOMK_IMPORT_BAD_PRIMARY_VOL_DESC (-25108)
|
---|
2386 | /** Import ISO contains an unsupported supplementary volume descriptor
|
---|
2387 | * version. */
|
---|
2388 | #define VERR_IOSMK_IMPORT_SUP_VOL_DESC_VER (-25109)
|
---|
2389 | /** Import ISO contains a bad supplementary volume descriptor. */
|
---|
2390 | #define VERR_ISOMK_IMPORT_BAD_SUP_VOL_DESC (-25110)
|
---|
2391 | /** Import ISO uses a logical block size other than 2KB. */
|
---|
2392 | #define VERR_ISOMK_IMPORT_LOGICAL_BLOCK_SIZE_NOT_2KB (-25111)
|
---|
2393 | /** Import ISO contains more than volume. */
|
---|
2394 | #define VERR_ISOMK_IMPORT_MORE_THAN_ONE_VOLUME_IN_SET (-25112)
|
---|
2395 | /** Import ISO uses invalid volume sequence number. */
|
---|
2396 | #define VERR_ISOMK_IMPORT_INVALID_VOLUMNE_SEQ_NO (-25113)
|
---|
2397 | /** Import ISO has different volume space sizes of primary and supplementary
|
---|
2398 | * volume descriptors. */
|
---|
2399 | #define VERR_ISOMK_IMPORT_VOLUME_SPACE_SIZE_MISMATCH (-25114)
|
---|
2400 | /** Import ISO has different volume set sizes of primary and supplementary
|
---|
2401 | * volume descriptors. */
|
---|
2402 | #define VERR_ISOMK_IMPORT_VOLUME_IN_SET_MISMATCH (-25115)
|
---|
2403 | /** Import ISO contains a bad root directory record. */
|
---|
2404 | #define VERR_ISOMK_IMPORT_BAD_ROOT_DIR_REC (-25116)
|
---|
2405 | /** Import ISO contains a zero sized root directory. */
|
---|
2406 | #define VERR_ISOMK_IMPORT_ZERO_SIZED_ROOT_DIR (-25117)
|
---|
2407 | /** Import ISO contains a root directory with a mismatching volume sequence
|
---|
2408 | * number. */
|
---|
2409 | #define VERR_ISOMK_IMPORT_ROOT_VOLUME_SEQ_NO (-25118)
|
---|
2410 | /** Import ISO contains a root directory with an out of bounds data extent. */
|
---|
2411 | #define VERR_ISOMK_IMPORT_ROOT_DIR_EXTENT_OUT_OF_BOUNDS (-25119)
|
---|
2412 | /** Import ISO contains a root directory with a bad record length. */
|
---|
2413 | #define VERR_ISOMK_IMPORT_BAD_ROOT_DIR_REC_LENGTH (-25120)
|
---|
2414 | /** Import ISO contains a root directory without the directory flag set. */
|
---|
2415 | #define VERR_ISOMK_IMPORT_ROOT_DIR_WITHOUT_DIR_FLAG (-25121)
|
---|
2416 | /** Import ISO contains a root directory with multiple extents. */
|
---|
2417 | #define VERR_ISOMK_IMPORT_ROOT_DIR_IS_MULTI_EXTENT (-25122)
|
---|
2418 | /** Import ISO contains a too deep directory subtree. */
|
---|
2419 | #define VERR_ISOMK_IMPORT_TOO_DEEP_DIR_TREE (-25123)
|
---|
2420 | /** Import ISO contains a bad directory record. */
|
---|
2421 | #define VERR_ISOMK_IMPORT_BAD_DIR_REC (-25124)
|
---|
2422 | /** Import ISO contains a directory record with a mismatching volume sequence
|
---|
2423 | * number. */
|
---|
2424 | #define VERR_ISOMK_IMPORT_DIR_REC_VOLUME_SEQ_NO (-25125)
|
---|
2425 | /** Import ISO contains a directory with an extent that is out of bounds. */
|
---|
2426 | #define VERR_ISOMK_IMPORT_DIR_REC_EXTENT_OUT_OF_BOUNDS (-25126)
|
---|
2427 | /** Import ISO contains a directory with a bad record length. */
|
---|
2428 | #define VERR_ISOMK_IMPORT_BAD_DIR_REC_LENGTH (-25127)
|
---|
2429 | /** Import ISO contains a '.' or '..' directory record with a bad name
|
---|
2430 | * length. */
|
---|
2431 | #define VERR_ISOMK_IMPORT_DOT_DIR_REC_BAD_NAME_LENGTH (-25128)
|
---|
2432 | /** Import ISO contains a '.' or '..' directory record with a bad name. */
|
---|
2433 | #define VERR_ISOMK_IMPORT_DOT_DIR_REC_BAD_NAME (-25129)
|
---|
2434 | /** Import ISO contains a directory with a more than one extent, that's
|
---|
2435 | * currently not supported. */
|
---|
2436 | #define VERR_ISOMK_IMPORT_DIR_WITH_MORE_EXTENTS (-25130)
|
---|
2437 | /** Import ISO contains a multi-extent directory record that differs
|
---|
2438 | * significantly from first record. */
|
---|
2439 | #define VERR_ISOMK_IMPORT_MISMATCHING_MULTI_EXTENT_REC (-25131)
|
---|
2440 | /** Import ISO contains a non-final multi-extent directory record with a
|
---|
2441 | * size that isn't block aligned. */
|
---|
2442 | #define VERR_ISOMK_IMPORT_MISALIGNED_MULTI_EXTENT (-25132)
|
---|
2443 | /** Import ISO contains a non-contigiuous multi-extent data, this is
|
---|
2444 | * currently not supported. */
|
---|
2445 | #define VERR_ISOMK_IMPORT_NON_CONTIGUOUS_MULTI_EXTENT (-25133)
|
---|
2446 |
|
---|
2447 | /** The boot catalog block in the import ISO is out of bounds. */
|
---|
2448 | #define VERR_ISOMK_IMPORT_BOOT_CAT_BAD_OUT_OF_BOUNDS (-25140)
|
---|
2449 | /** The boot catalog block in the import ISO has an incorrect validation
|
---|
2450 | * header ID. */
|
---|
2451 | #define VERR_ISOMK_IMPORT_BOOT_CAT_BAD_VALIDATION_HEADER_ID (-25141)
|
---|
2452 | /** The boot catalog validation entry in the import ISO has incorrect keys. */
|
---|
2453 | #define VERR_ISOMK_IMPORT_BOOT_CAT_BAD_VALIDATION_KEYS (-25142)
|
---|
2454 | /** The boot catalog validation entry in the import ISO has an incorrect checksum. */
|
---|
2455 | #define VERR_ISOMK_IMPORT_BOOT_CAT_BAD_VALIDATION_CHECKSUM (-25143)
|
---|
2456 | /** A boot catalog entry in the import ISO has an unknown type. */
|
---|
2457 | #define VERR_ISOMK_IMPORT_BOOT_CAT_UNKNOWN_HEADER_ID (-25144)
|
---|
2458 | /** A boot catalog entry in the import ISO has an invalid boot media type. */
|
---|
2459 | #define VERR_ISOMK_IMPORT_BOOT_CAT_INVALID_BOOT_MEDIA_TYPE (-25145)
|
---|
2460 | /** The default boot catalog entry in the import ISO has invalid flags set. */
|
---|
2461 | #define VERR_ISOMK_IMPORT_BOOT_CAT_DEF_ENTRY_INVALID_FLAGS (-25146)
|
---|
2462 | /** A boot catalog entry in the import ISO has reserved flag set. */
|
---|
2463 | #define VERR_ISOMK_IMPORT_BOOT_CAT_ENTRY_RESERVED_FLAG (-25147)
|
---|
2464 | /** A boot catalog entry in the import ISO is using the unused field. */
|
---|
2465 | #define VERR_ISOMK_IMPORT_BOOT_CAT_ENTRY_USES_UNUSED_FIELD (-25148)
|
---|
2466 | /** A boot catalog entry in the import ISO points to a block after the end of
|
---|
2467 | * the image input file. */
|
---|
2468 | #define VERR_ISOMK_IMPORT_BOOT_CAT_ENTRY_IMAGE_OUT_OF_BOUNDS (-25149)
|
---|
2469 | /** A boot catalog entry in the import ISO has an image with an
|
---|
2470 | * indeterminate size. */
|
---|
2471 | #define VERR_ISOMK_IMPORT_BOOT_CAT_ENTRY_UNKNOWN_IMAGE_SIZE (-25150)
|
---|
2472 | /** The boot catalog in the import ISO is larger than a sector or it is
|
---|
2473 | * missing the final section header entry. */
|
---|
2474 | #define VERR_ISOMK_IMPORT_BOOT_CAT_MISSING_FINAL_OR_TOO_BIG (-25151)
|
---|
2475 | /** The default boot catalog entry in the import ISO an invalid boot
|
---|
2476 | * indicator value. */
|
---|
2477 | #define VERR_ISOMK_IMPORT_BOOT_CAT_DEF_ENTRY_INVALID_BOOT_IND (-25152)
|
---|
2478 | /** A boot catalog extension entry in the import ISO was either flagged
|
---|
2479 | * incorrectly in the previous entry or has an invalid header ID. */
|
---|
2480 | #define VERR_ISOMK_IMPORT_BOOT_CAT_EXT_ENTRY_INVALID_ID (-25153)
|
---|
2481 | /** A boot catalog extension entry in the import ISO uses undefined flags
|
---|
2482 | * which will be lost. */
|
---|
2483 | #define VERR_ISOMK_IMPORT_BOOT_CAT_EXT_ENTRY_UNDEFINED_FLAGS (-25154)
|
---|
2484 | /** A boot catalog extension entry in the import ISO indicates more entries when
|
---|
2485 | * we reached the end of the boot catalog sector. */
|
---|
2486 | #define VERR_ISOMK_IMPORT_BOOT_CAT_EXT_ENTRY_END_OF_SECTOR (-25155)
|
---|
2487 | /** A boot catalog entry in the import ISO sets the continuation flag when using
|
---|
2488 | * NONE as the selection criteria type. */
|
---|
2489 | #define VERR_ISOMK_IMPORT_BOOT_CAT_ENTRY_CONTINUATION_WITH_NONE (-25156)
|
---|
2490 | /** A boot catalog entry in the import ISO sets the continuation flag when
|
---|
2491 | * we reached the ned of the boot catalog secotr. */
|
---|
2492 | #define VERR_ISOMK_IMPORT_BOOT_CAT_ENTRY_CONTINUATION_EOS (-25157)
|
---|
2493 |
|
---|
2494 | /** @} */
|
---|
2495 |
|
---|
2496 |
|
---|
2497 | /** @name RTFsIsoVol status codes
|
---|
2498 | * @{ */
|
---|
2499 | /** Descriptor tag is all zeros. */
|
---|
2500 | #define VERR_ISOFS_TAG_IS_ALL_ZEROS (-25300)
|
---|
2501 | /** Unsupported descriptor tag version. */
|
---|
2502 | #define VERR_ISOFS_UNSUPPORTED_TAG_VERSION (-25301)
|
---|
2503 | /** Bad descriptor tag checksum. */
|
---|
2504 | #define VERR_ISOFS_BAD_TAG_CHECKSUM (-25302)
|
---|
2505 | /** Descriptor tag sector number mismatch. */
|
---|
2506 | #define VERR_ISOFS_TAG_SECTOR_MISMATCH (-25303)
|
---|
2507 | /** Descriptor CRC mismatch. */
|
---|
2508 | #define VERR_ISOFS_DESC_CRC_MISMATCH (-25304)
|
---|
2509 | /** Insufficient data to check descriptor CRC. */
|
---|
2510 | #define VERR_ISOFS_INSUFFICIENT_DATA_FOR_DESC_CRC (-25305)
|
---|
2511 | /** Unexpected/unknown/bad descriptor in volume descriptor sequence. */
|
---|
2512 | #define VERR_ISOFS_UNEXPECTED_VDS_DESC (-25306)
|
---|
2513 | /** Too many primary volume descriptors. */
|
---|
2514 | #define VERR_ISOFS_TOO_MANY_PVDS (-25307)
|
---|
2515 | /** Too many logical volume descriptors. */
|
---|
2516 | #define VERR_ISOFS_TOO_MANY_LVDS (-25308)
|
---|
2517 | /** Too many partition descriptors. */
|
---|
2518 | #define VERR_ISOFS_TOO_MANY_PDS (-25309)
|
---|
2519 | /** The logical volume descriptor has a too big partition map. */
|
---|
2520 | #define VERR_ISOFS_TOO_BIT_PARTMAP_IN_LVD (-25310)
|
---|
2521 | /** No primary volume descriptors found. */
|
---|
2522 | #define VERR_ISOFS_NO_PVD (-25311)
|
---|
2523 | /** No logical volume descriptors found. */
|
---|
2524 | #define VERR_ISOFS_NO_LVD (-25312)
|
---|
2525 | /** No partition descriptors found. */
|
---|
2526 | #define VERR_ISOFS_NO_PD (-25313)
|
---|
2527 | /** Multiple primary volume descriptors found, we can only deal with one. */
|
---|
2528 | #define VERR_ISOFS_MULTIPLE_PVDS (-25314)
|
---|
2529 | /** Multiple logical volume descriptors found, we can only deal with one. */
|
---|
2530 | #define VERR_ISOFS_MULTIPLE_LVDS (-25315)
|
---|
2531 | /** Too many partition maps in the logical volume descriptor. */
|
---|
2532 | #define VERR_ISOFS_TOO_MANY_PART_MAPS (-25316)
|
---|
2533 | /** Malformed partition map table in the logical volume descriptor. */
|
---|
2534 | #define VERR_ISOFS_MALFORMED_PART_MAP_TABLE (-25317)
|
---|
2535 | /** Unable to find partition descriptor for a partition map table entry. */
|
---|
2536 | #define VERR_ISOFS_PARTITION_NOT_FOUND (-25318)
|
---|
2537 | /** Partition mapping table is shorted than described. */
|
---|
2538 | #define VERR_ISOFS_INCOMPLETE_PART_MAP_TABLE (-25319)
|
---|
2539 | /** Unknown partition map entry type. */
|
---|
2540 | #define VERR_ISOFS_UNKNOWN_PART_MAP_ENTRY_TYPE (-25320)
|
---|
2541 | /** Unkonwn paritition ID found in the partition map table. */
|
---|
2542 | #define VERR_ISOFS_UNKNOWN_PART_MAP_TYPE_ID (-25321)
|
---|
2543 | /** Support for virtual partitions as not yet been implemented. */
|
---|
2544 | #define VERR_ISOFS_VPM_NOT_SUPPORTED (-25322)
|
---|
2545 | /** Support for sparable partitions as not yet been implemented. */
|
---|
2546 | #define VERR_ISOFS_SPM_NOT_SUPPORTED (-25323)
|
---|
2547 | /** Support for metadata partitions as not yet been implemented. */
|
---|
2548 | #define VERR_ISOFS_MPM_NOT_SUPPORTED (-25324)
|
---|
2549 | /** Invalid or unsupported logical block size. */
|
---|
2550 | #define VERR_ISOFS_UNSUPPORTED_LOGICAL_BLOCK_SIZE (-25325)
|
---|
2551 | /** Unsupported domain ID in logical volume descriptor. */
|
---|
2552 | #define VERR_ISOFS_BAD_LVD_DOMAIN_ID (-25326)
|
---|
2553 | /** Malformed or invalid file set descriptor location. */
|
---|
2554 | #define VERR_ISOFS_BAD_LVD_FILE_SET_DESC_LOCATION (-25327)
|
---|
2555 | /** Non-standard descriptor character set in the logical volume descriptor. */
|
---|
2556 | #define VERR_ISOFS_BAD_LVD_DESC_CHAR_SET (-25329)
|
---|
2557 | /** Invalid partition index in a location. */
|
---|
2558 | #define VERR_ISOFS_INVALID_PARTITION_INDEX (-25330)
|
---|
2559 | /** Unsupported file system charset. */
|
---|
2560 | #define VERR_ISOFS_FSD_UNSUPPORTED_CHAR_SET (-25331)
|
---|
2561 | /** File set descriptor has an zero length or invalid root dir extent. */
|
---|
2562 | #define VERR_ISOFS_FSD_ZERO_ROOT_DIR (-25332)
|
---|
2563 | /** File set descriptor has a next extent member. */
|
---|
2564 | #define VERR_ISOFS_FSD_NEXT_EXTENT (-25333)
|
---|
2565 | /** The ICB for is too big. */
|
---|
2566 | #define VERR_ISOFS_ICB_TOO_BIG (-25334)
|
---|
2567 | /** The ICB for is too small. */
|
---|
2568 | #define VERR_ISOFS_ICB_TOO_SMALL (-25335)
|
---|
2569 | /** No direct ICB entries found. */
|
---|
2570 | #define VERR_ISOFS_NO_DIRECT_ICB_ENTRIES (-25336)
|
---|
2571 | /** Too many ICB indirections, possibly a loop. */
|
---|
2572 | #define VERR_ISOFS_TOO_MANY_ICB_INDIRECTIONS (-25337)
|
---|
2573 | /** Too deep ICB recursion. */
|
---|
2574 | #define VERR_ISOFS_TOO_DEEP_ICB_RECURSION (-25338)
|
---|
2575 | /** ICB is too small to contain anything useful. */
|
---|
2576 | #define VERR_ISOFS_ICB_ENTRY_TOO_SMALL (-25339)
|
---|
2577 | /** Unsupported tag encountered in ICB. */
|
---|
2578 | #define VERR_ISOFS_UNSUPPORTED_ICB (-25340)
|
---|
2579 | /** Bad file entry (ICB). */
|
---|
2580 | #define VERR_ISOFS_BAD_FILE_ENTRY (-25341)
|
---|
2581 | /** Unknown allocation descriptor type. */
|
---|
2582 | #define VERR_ISO_FS_UNKNOWN_AD_TYPE (-25342)
|
---|
2583 | /** Malformed extended allocation descriptor. */
|
---|
2584 | #define VERR_ISOFS_BAD_EXTAD (-25343)
|
---|
2585 | /** Wrong file type. */
|
---|
2586 | #define VERR_ISOFS_WRONG_FILE_TYPE (-25344)
|
---|
2587 | /** Unknow file type. */
|
---|
2588 | #define VERR_ISOFS_UNKNOWN_FILE_TYPE (-25345)
|
---|
2589 |
|
---|
2590 | /** Not implemented for UDF. */
|
---|
2591 | #define VERR_ISOFS_UDF_NOT_IMPLEMENTED (-25390)
|
---|
2592 | /** Internal processing error \#1. */
|
---|
2593 | #define VERR_ISOFS_IPE_1 (-25391)
|
---|
2594 | /** Internal processing error \#2. */
|
---|
2595 | #define VERR_ISOFS_IPE_2 (-25392)
|
---|
2596 | /** Internal processing error \#3. */
|
---|
2597 | #define VERR_ISOFS_IPE_3 (-25393)
|
---|
2598 | /** Internal processing error \#4. */
|
---|
2599 | #define VERR_ISOFS_IPE_4 (-25394)
|
---|
2600 | /** Internal processing error \#5. */
|
---|
2601 | #define VERR_ISOFS_IPE_5 (-25395)
|
---|
2602 | /** @} */
|
---|
2603 |
|
---|
2604 |
|
---|
2605 | /** @name RTSerialPort status codes
|
---|
2606 | * @{ */
|
---|
2607 | /** A break was detected until all requested data could be received. */
|
---|
2608 | #define VERR_SERIALPORT_BREAK_DETECTED (-25500)
|
---|
2609 | /** The chosen baudrate is invalid or not supported by the given serial port. */
|
---|
2610 | #define VERR_SERIALPORT_INVALID_BAUDRATE (-25501)
|
---|
2611 | /** @} */
|
---|
2612 |
|
---|
2613 |
|
---|
2614 | /** @name RTCRest status codes
|
---|
2615 | * @{ */
|
---|
2616 | /** Do not know how to handle the content type in the server response. */
|
---|
2617 | #define VERR_REST_RESPONSE_CONTENT_TYPE_NOT_SUPPORTED (-25700)
|
---|
2618 | /** Invalid UTF-8 encoding in the response. */
|
---|
2619 | #define VERR_REST_RESPONSE_INVALID_UTF8_ENCODING (-25701)
|
---|
2620 | /** Server response contains embedded zero character(s). */
|
---|
2621 | #define VERR_REST_RESPONSE_EMBEDDED_ZERO_CHAR (-25702)
|
---|
2622 | /** Server response contains unexpected repetitive header field. */
|
---|
2623 | #define VERR_REST_RESPONSE_REPEAT_HEADER_FIELD (-25703)
|
---|
2624 | /** Unable to decode date value. */
|
---|
2625 | #define VWRN_REST_UNABLE_TO_DECODE_DATE (25704)
|
---|
2626 | /** Unable to decode date value. */
|
---|
2627 | #define VERR_REST_UNABLE_TO_DECODE_DATE (-25704)
|
---|
2628 | /** Wrong JSON type for bool value. */
|
---|
2629 | #define VERR_REST_WRONG_JSON_TYPE_FOR_BOOL (-25705)
|
---|
2630 | /** Wrong JSON type for integer value. */
|
---|
2631 | #define VERR_REST_WRONG_JSON_TYPE_FOR_INTEGER (-25706)
|
---|
2632 | /** Wrong JSON type for double value. */
|
---|
2633 | #define VERR_REST_WRONG_JSON_TYPE_FOR_DOUBLE (-25707)
|
---|
2634 | /** Wrong JSON type for string value. */
|
---|
2635 | #define VERR_REST_WRONG_JSON_TYPE_FOR_STRING (-25708)
|
---|
2636 | /** Wrong JSON type for date value. */
|
---|
2637 | #define VERR_REST_WRONG_JSON_TYPE_FOR_DATE (-25709)
|
---|
2638 | /** Unable to parse string as bool. */
|
---|
2639 | #define VERR_REST_UNABLE_TO_PARSE_STRING_AS_BOOL (-25710)
|
---|
2640 | /** A path parameter was not set. */
|
---|
2641 | #define VERR_REST_PATH_PARAMETER_NOT_SET (-25711)
|
---|
2642 | /** A required query parameter was not set. */
|
---|
2643 | #define VERR_REST_REQUIRED_QUERY_PARAMETER_NOT_SET (-25712)
|
---|
2644 | /** A required header parmaeter was not set. */
|
---|
2645 | #define VERR_REST_REQUIRED_HEADER_PARAMETER_NOT_SET (-25713)
|
---|
2646 |
|
---|
2647 | /** Internal error \#1. */
|
---|
2648 | #define VERR_REST_INTERNAL_ERROR_1 (-25791)
|
---|
2649 | /** Internal error \#2. */
|
---|
2650 | #define VERR_REST_INTERNAL_ERROR_2 (-25792)
|
---|
2651 | /** Internal error \#3. */
|
---|
2652 | #define VERR_REST_INTERNAL_ERROR_3 (-25793)
|
---|
2653 | /** Internal error \#4. */
|
---|
2654 | #define VERR_REST_INTERNAL_ERROR_4 (-25794)
|
---|
2655 | /** Internal error \#5. */
|
---|
2656 | #define VERR_REST_INTERNAL_ERROR_5 (-25795)
|
---|
2657 | /** Internal error \#6. */
|
---|
2658 | #define VERR_REST_INTERNAL_ERROR_6 (-25796)
|
---|
2659 | /** Internal error \#7. */
|
---|
2660 | #define VERR_REST_INTERNAL_ERROR_7 (-25797)
|
---|
2661 | /** Internal error \#8. */
|
---|
2662 | #define VERR_REST_INTERNAL_ERROR_8 (-25798)
|
---|
2663 | /** Internal error \#9. */
|
---|
2664 | #define VERR_REST_INTERNAL_ERROR_9 (-25799)
|
---|
2665 | /** @} */
|
---|
2666 |
|
---|
2667 |
|
---|
2668 | /** @name RTCrCipher status codes
|
---|
2669 | * @{ */
|
---|
2670 | /** Unsupported cipher. */
|
---|
2671 | #define VERR_CR_CIPHER_NOT_SUPPORTED (-25800)
|
---|
2672 | /** EVP_EncryptInit failed. */
|
---|
2673 | #define VERR_CR_CIPHER_OSSL_ENCRYPT_INIT_FAILED (-25801)
|
---|
2674 | /** EVP_EncryptUpdate failed. */
|
---|
2675 | #define VERR_CR_CIPHER_OSSL_ENCRYPT_UPDATE_FAILED (-25802)
|
---|
2676 | /** EVP_EncryptFinal failed. */
|
---|
2677 | #define VERR_CR_CIPHER_OSSL_ENCRYPT_FINAL_FAILED (-25803)
|
---|
2678 | /** EVP_DecryptInit failed. */
|
---|
2679 | #define VERR_CR_CIPHER_OSSL_DECRYPT_INIT_FAILED (-25804)
|
---|
2680 | /** EVP_DecryptUpdate failed. */
|
---|
2681 | #define VERR_CR_CIPHER_OSSL_DECRYPT_UPDATE_FAILED (-25805)
|
---|
2682 | /** EVP_DecryptFinal failed. */
|
---|
2683 | #define VERR_CR_CIPHER_OSSL_DECRYPT_FINAL_FAILED (-25806)
|
---|
2684 | /** Invalid key length. */
|
---|
2685 | #define VERR_CR_CIPHER_INVALID_KEY_LENGTH (-25807)
|
---|
2686 | /** Invalid initialization vector length. */
|
---|
2687 | #define VERR_CR_CIPHER_INVALID_INITIALIZATION_VECTOR_LENGTH (-25808)
|
---|
2688 | /** @} */
|
---|
2689 |
|
---|
2690 |
|
---|
2691 | /** @name RTShMem status codes
|
---|
2692 | * @{ */
|
---|
2693 | /** Maximum number of mappings reached. */
|
---|
2694 | #define VERR_SHMEM_MAXIMUM_MAPPINGS_REACHED (-26000)
|
---|
2695 | /** @} */
|
---|
2696 |
|
---|
2697 |
|
---|
2698 | /** @name RTIoQueue status codes
|
---|
2699 | * @{ */
|
---|
2700 | /** The handle was not registered for use with the I/O queue. */
|
---|
2701 | #define VERR_IOQUEUE_HANDLE_NOT_REGISTERED (-26200)
|
---|
2702 | /** The I/O queue is full and can't accept more requests. */
|
---|
2703 | #define VERR_IOQUEUE_FULL (-26201)
|
---|
2704 | /** The I/O queue doesn't contain any prepared requests to commit or wait for completion. */
|
---|
2705 | #define VERR_IOQUEUE_EMPTY (-26202)
|
---|
2706 | /** The I/O queue has requests pending which need complete first. */
|
---|
2707 | #define VERR_IOQUEUE_BUSY (-26203)
|
---|
2708 | /** @} */
|
---|
2709 |
|
---|
2710 | /* SED-END */
|
---|
2711 |
|
---|
2712 | /** @} */
|
---|
2713 |
|
---|
2714 | #endif /* !IPRT_INCLUDED_err_h */
|
---|
2715 |
|
---|