| OLD | NEW |
| (Empty) |
| 1 /* This Source Code Form is subject to the terms of the Mozilla Public | |
| 2 * License, v. 2.0. If a copy of the MPL was not distributed with this | |
| 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
| 4 | |
| 5 #ifdef DEBUG | |
| 6 static const char CVS_ID[] = "@(#) $RCSfile: errorval.c,v $ $Revision: 1.13 $ $D
ate: 2012/04/25 14:49:26 $"; | |
| 7 #endif /* DEBUG */ | |
| 8 | |
| 9 /* | |
| 10 * errorval.c | |
| 11 * | |
| 12 * This file contains the actual error constants used in NSS. | |
| 13 */ | |
| 14 | |
| 15 #ifndef NSSBASET_H | |
| 16 #include "nssbaset.h" | |
| 17 #endif /* NSSBASET_H */ | |
| 18 | |
| 19 const NSSError NSS_ERROR_NO_ERROR = 0; | |
| 20 const NSSError NSS_ERROR_INTERNAL_ERROR = 1; | |
| 21 const NSSError NSS_ERROR_NO_MEMORY = 2; | |
| 22 const NSSError NSS_ERROR_INVALID_POINTER = 3; | |
| 23 const NSSError NSS_ERROR_INVALID_ARENA = 4; | |
| 24 const NSSError NSS_ERROR_INVALID_ARENA_MARK = 5; | |
| 25 const NSSError NSS_ERROR_DUPLICATE_POINTER = 6; | |
| 26 const NSSError NSS_ERROR_POINTER_NOT_REGISTERED = 7; | |
| 27 const NSSError NSS_ERROR_TRACKER_NOT_EMPTY = 8; | |
| 28 const NSSError NSS_ERROR_TRACKER_NOT_INITIALIZED = 9; | |
| 29 const NSSError NSS_ERROR_ARENA_MARKED_BY_ANOTHER_THREAD = 10; | |
| 30 const NSSError NSS_ERROR_VALUE_TOO_LARGE = 11; | |
| 31 const NSSError NSS_ERROR_UNSUPPORTED_TYPE = 12; | |
| 32 const NSSError NSS_ERROR_BUFFER_TOO_SHORT = 13; | |
| 33 const NSSError NSS_ERROR_INVALID_ATOB_CONTEXT = 14; | |
| 34 const NSSError NSS_ERROR_INVALID_BASE64 = 15; | |
| 35 const NSSError NSS_ERROR_INVALID_BTOA_CONTEXT = 16; | |
| 36 const NSSError NSS_ERROR_INVALID_ITEM = 17; | |
| 37 const NSSError NSS_ERROR_INVALID_STRING = 18; | |
| 38 const NSSError NSS_ERROR_INVALID_ASN1ENCODER = 19; | |
| 39 const NSSError NSS_ERROR_INVALID_ASN1DECODER = 20; | |
| 40 | |
| 41 const NSSError NSS_ERROR_INVALID_BER = 21; | |
| 42 const NSSError NSS_ERROR_INVALID_ATAV = 22; | |
| 43 const NSSError NSS_ERROR_INVALID_ARGUMENT = 23; | |
| 44 const NSSError NSS_ERROR_INVALID_UTF8 = 24; | |
| 45 const NSSError NSS_ERROR_INVALID_NSSOID = 25; | |
| 46 const NSSError NSS_ERROR_UNKNOWN_ATTRIBUTE = 26; | |
| 47 | |
| 48 const NSSError NSS_ERROR_NOT_FOUND = 27; | |
| 49 | |
| 50 const NSSError NSS_ERROR_INVALID_PASSWORD = 28; | |
| 51 const NSSError NSS_ERROR_USER_CANCELED = 29; | |
| 52 | |
| 53 const NSSError NSS_ERROR_MAXIMUM_FOUND = 30; | |
| 54 | |
| 55 const NSSError NSS_ERROR_CERTIFICATE_ISSUER_NOT_FOUND = 31; | |
| 56 | |
| 57 const NSSError NSS_ERROR_CERTIFICATE_IN_CACHE = 32; | |
| 58 | |
| 59 const NSSError NSS_ERROR_HASH_COLLISION = 33; | |
| 60 const NSSError NSS_ERROR_DEVICE_ERROR = 34; | |
| 61 const NSSError NSS_ERROR_INVALID_CERTIFICATE = 35; | |
| 62 const NSSError NSS_ERROR_BUSY = 36; | |
| 63 const NSSError NSS_ERROR_ALREADY_INITIALIZED = 37; | |
| 64 | |
| 65 const NSSError NSS_ERROR_PKCS11 = 38; | |
| 66 | |
| OLD | NEW |