| OLD | NEW |
| 1 /* This Source Code Form is subject to the terms of the Mozilla Public | 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 | 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/. */ | 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 4 /* | 4 /* |
| 5 * pkix_pl_common.h | 5 * pkix_pl_common.h |
| 6 * | 6 * |
| 7 * Common central header file included by all PL source files | 7 * Common central header file included by all PL source files |
| 8 * | 8 * |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 #include "pkcs11.h" | 31 #include "pkcs11.h" |
| 32 #include "pkcs11t.h" | 32 #include "pkcs11t.h" |
| 33 #include "prio.h" | 33 #include "prio.h" |
| 34 | 34 |
| 35 /* NSPR headers */ | 35 /* NSPR headers */ |
| 36 #include "nspr.h" | 36 #include "nspr.h" |
| 37 | 37 |
| 38 /* private PKIX_PL_NSS system headers */ | 38 /* private PKIX_PL_NSS system headers */ |
| 39 #include "pkix_pl_object.h" | 39 #include "pkix_pl_object.h" |
| 40 #include "pkix_pl_string.h" | 40 #include "pkix_pl_string.h" |
| 41 #ifndef NSS_PKIX_NO_LDAP |
| 41 #include "pkix_pl_ldapt.h" | 42 #include "pkix_pl_ldapt.h" |
| 43 #endif /* !NSS_PKIX_NO_LDAP */ |
| 42 #include "pkix_pl_aiamgr.h" | 44 #include "pkix_pl_aiamgr.h" |
| 43 #include "pkix_pl_bigint.h" | 45 #include "pkix_pl_bigint.h" |
| 44 #include "pkix_pl_oid.h" | 46 #include "pkix_pl_oid.h" |
| 45 #include "pkix_pl_x500name.h" | 47 #include "pkix_pl_x500name.h" |
| 46 #include "pkix_pl_generalname.h" | 48 #include "pkix_pl_generalname.h" |
| 47 #include "pkix_pl_publickey.h" | 49 #include "pkix_pl_publickey.h" |
| 48 #include "pkix_pl_bytearray.h" | 50 #include "pkix_pl_bytearray.h" |
| 49 #include "pkix_pl_date.h" | 51 #include "pkix_pl_date.h" |
| 50 #include "pkix_pl_primhash.h" | 52 #include "pkix_pl_primhash.h" |
| 51 #include "pkix_pl_basicconstraints.h" | 53 #include "pkix_pl_basicconstraints.h" |
| 52 #include "pkix_pl_bytearray.h" | 54 #include "pkix_pl_bytearray.h" |
| 53 #include "pkix_pl_cert.h" | 55 #include "pkix_pl_cert.h" |
| 54 #include "pkix_pl_certpolicyinfo.h" | 56 #include "pkix_pl_certpolicyinfo.h" |
| 55 #include "pkix_pl_certpolicymap.h" | 57 #include "pkix_pl_certpolicymap.h" |
| 56 #include "pkix_pl_certpolicyqualifier.h" | 58 #include "pkix_pl_certpolicyqualifier.h" |
| 57 #include "pkix_pl_crldp.h" | 59 #include "pkix_pl_crldp.h" |
| 58 #include "pkix_pl_crl.h" | 60 #include "pkix_pl_crl.h" |
| 59 #include "pkix_pl_crlentry.h" | 61 #include "pkix_pl_crlentry.h" |
| 60 #include "pkix_pl_nameconstraints.h" | 62 #include "pkix_pl_nameconstraints.h" |
| 61 #include "pkix_pl_ocsprequest.h" | 63 #include "pkix_pl_ocsprequest.h" |
| 62 #include "pkix_pl_ocspresponse.h" | 64 #include "pkix_pl_ocspresponse.h" |
| 63 #include "pkix_pl_pk11certstore.h" | 65 #include "pkix_pl_pk11certstore.h" |
| 64 #include "pkix_pl_socket.h" | 66 #include "pkix_pl_socket.h" |
| 67 #ifndef NSS_PKIX_NO_LDAP |
| 65 #include "pkix_pl_ldapcertstore.h" | 68 #include "pkix_pl_ldapcertstore.h" |
| 66 #include "pkix_pl_ldaprequest.h" | 69 #include "pkix_pl_ldaprequest.h" |
| 67 #include "pkix_pl_ldapresponse.h" | 70 #include "pkix_pl_ldapresponse.h" |
| 71 #endif /* !NSS_PKIX_NO_LDAP */ |
| 68 #include "pkix_pl_nsscontext.h" | 72 #include "pkix_pl_nsscontext.h" |
| 69 #include "pkix_pl_httpcertstore.h" | 73 #include "pkix_pl_httpcertstore.h" |
| 70 #include "pkix_pl_httpdefaultclient.h" | 74 #include "pkix_pl_httpdefaultclient.h" |
| 71 #include "pkix_pl_infoaccess.h" | 75 #include "pkix_pl_infoaccess.h" |
| 72 #include "pkix_sample_modules.h" | 76 #include "pkix_sample_modules.h" |
| 73 | 77 |
| 74 #define MAX_DIGITS_32 (PKIX_UInt32) 10 | 78 #define MAX_DIGITS_32 (PKIX_UInt32) 10 |
| 75 | 79 |
| 76 #define PKIX_PL_NSSCALL(type, func, args) \ | 80 #define PKIX_PL_NSSCALL(type, func, args) \ |
| 77 PKIX_ ## type ## _DEBUG_ARG("( Calling %s).\n", #func); \ | 81 PKIX_ ## type ## _DEBUG_ARG("( Calling %s).\n", #func); \ |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 | 150 |
| 147 PKIX_Error * | 151 PKIX_Error * |
| 148 pkix_UTF8_to_UTF16( | 152 pkix_UTF8_to_UTF16( |
| 149 const void *utf8Source, | 153 const void *utf8Source, |
| 150 PKIX_UInt32 utf8Length, | 154 PKIX_UInt32 utf8Length, |
| 151 void **pDest, | 155 void **pDest, |
| 152 PKIX_UInt32 *pLength, | 156 PKIX_UInt32 *pLength, |
| 153 void *plContext); | 157 void *plContext); |
| 154 | 158 |
| 155 #endif /* _PKIX_PL_COMMON_H */ | 159 #endif /* _PKIX_PL_COMMON_H */ |
| OLD | NEW |