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 #ifndef DEVNSS3HACK_H | 5 #ifndef DEVNSS3HACK_H |
6 #define DEVNSS3HACK_H | 6 #define DEVNSS3HACK_H |
7 | 7 |
8 #ifdef DEBUG | |
9 static const char DEVNSS3HACK_CVS_ID[] = "@(#) $RCSfile$ $Revision$ $Date$"; | |
10 #endif /* DEBUG */ | |
11 | |
12 #include "cert.h" | 8 #include "cert.h" |
13 | 9 |
14 PR_BEGIN_EXTERN_C | 10 PR_BEGIN_EXTERN_C |
15 | 11 |
16 NSS_EXTERN NSSToken * | 12 NSS_EXTERN NSSToken * |
17 nssToken_CreateFromPK11SlotInfo(NSSTrustDomain *td, PK11SlotInfo *nss3slot); | 13 nssToken_CreateFromPK11SlotInfo(NSSTrustDomain *td, PK11SlotInfo *nss3slot); |
18 | 14 |
19 NSS_EXTERN void | 15 NSS_EXTERN void |
20 nssToken_UpdateName(NSSToken *); | 16 nssToken_UpdateName(NSSToken *); |
21 | 17 |
22 NSS_EXTERN PRStatus | 18 NSS_EXTERN PRStatus |
23 nssToken_Refresh(NSSToken *); | 19 nssToken_Refresh(NSSToken *); |
24 | 20 |
25 NSSTrustDomain * | 21 NSSTrustDomain * |
26 nssToken_GetTrustDomain(NSSToken *token); | 22 nssToken_GetTrustDomain(NSSToken *token); |
27 | 23 |
28 void PK11Slot_SetNSSToken(PK11SlotInfo *sl, NSSToken *nsst); | 24 void PK11Slot_SetNSSToken(PK11SlotInfo *sl, NSSToken *nsst); |
29 | 25 |
30 NSSToken * PK11Slot_GetNSSToken(PK11SlotInfo *sl); | 26 NSSToken * PK11Slot_GetNSSToken(PK11SlotInfo *sl); |
31 | 27 |
32 PR_END_EXTERN_C | 28 PR_END_EXTERN_C |
33 | 29 |
34 #endif /* DEVNSS3HACK_H */ | 30 #endif /* DEVNSS3HACK_H */ |
OLD | NEW |