1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/security/nss/lib/pk11wrap/dev3hack.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,30 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +#ifndef DEVNSS3HACK_H 1.9 +#define DEVNSS3HACK_H 1.10 + 1.11 +#include "cert.h" 1.12 + 1.13 +PR_BEGIN_EXTERN_C 1.14 + 1.15 +NSS_EXTERN NSSToken * 1.16 +nssToken_CreateFromPK11SlotInfo(NSSTrustDomain *td, PK11SlotInfo *nss3slot); 1.17 + 1.18 +NSS_EXTERN void 1.19 +nssToken_UpdateName(NSSToken *); 1.20 + 1.21 +NSS_EXTERN PRStatus 1.22 +nssToken_Refresh(NSSToken *); 1.23 + 1.24 +NSSTrustDomain * 1.25 +nssToken_GetTrustDomain(NSSToken *token); 1.26 + 1.27 +void PK11Slot_SetNSSToken(PK11SlotInfo *sl, NSSToken *nsst); 1.28 + 1.29 +NSSToken * PK11Slot_GetNSSToken(PK11SlotInfo *sl); 1.30 + 1.31 +PR_END_EXTERN_C 1.32 + 1.33 +#endif /* DEVNSS3HACK_H */