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 /* | 5 /* |
6 * ckhelper.h | 6 * ckhelper.h |
7 * | 7 * |
8 * This file contains some helper utilities for interaction with cryptoki. | 8 * This file contains some helper utilities for interaction with cryptoki. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef CKHELPER_H | 11 #ifndef CKHELPER_H |
12 #define CKHELPER_H | 12 #define CKHELPER_H |
13 | 13 |
14 #ifdef DEBUG | |
15 static const char CKHELPER_CVS_ID[] = "@(#) $RCSfile$ $Revision$ $Date$"; | |
16 #endif /* DEBUG */ | |
17 | |
18 PR_BEGIN_EXTERN_C | 14 PR_BEGIN_EXTERN_C |
19 | 15 |
20 /* Some globals to keep from constantly redeclaring common cryptoki | 16 /* Some globals to keep from constantly redeclaring common cryptoki |
21 * attribute types on the stack. | 17 * attribute types on the stack. |
22 */ | 18 */ |
23 | 19 |
24 /* Boolean values */ | 20 /* Boolean values */ |
25 NSS_EXTERN_DATA const NSSItem g_ck_true; | 21 NSS_EXTERN_DATA const NSSItem g_ck_true; |
26 NSS_EXTERN_DATA const NSSItem g_ck_false; | 22 NSS_EXTERN_DATA const NSSItem g_ck_false; |
27 | 23 |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 NSS_EXTERN PRBool | 148 NSS_EXTERN PRBool |
153 nssCKObject_IsTokenObjectTemplate | 149 nssCKObject_IsTokenObjectTemplate |
154 ( | 150 ( |
155 CK_ATTRIBUTE_PTR objectTemplate, | 151 CK_ATTRIBUTE_PTR objectTemplate, |
156 CK_ULONG otsize | 152 CK_ULONG otsize |
157 ); | 153 ); |
158 | 154 |
159 PR_END_EXTERN_C | 155 PR_END_EXTERN_C |
160 | 156 |
161 #endif /* CKHELPER_H */ | 157 #endif /* CKHELPER_H */ |
OLD | NEW |