| 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 * Internal header file included in pk11wrap dir, or in softoken | |
| 6 */ | |
| 7 #ifndef _PK11_INIT_H_ | |
| 8 #define _PK11_INIT_H_ 1 | |
| 9 | |
| 10 /* hold slot default flags until we initialize a slot. This structure is only | |
| 11 * useful between the time we define a module (either by hand or from the | |
| 12 * database) and the time the module is loaded. Not reference counted */ | |
| 13 struct PK11PreSlotInfoStr { | |
| 14 CK_SLOT_ID slotID; /* slot these flags are for */ | |
| 15 unsigned long defaultFlags; /* bit mask of default implementation this slot | |
| 16 * provides */ | |
| 17 int askpw; /* slot specific password bits */ | |
| 18 long timeout; /* slot specific timeout value */ | |
| 19 char hasRootCerts; /* is this the root cert PKCS #11 module? */ | |
| 20 char hasRootTrust; /* is this the root cert PKCS #11 module? */ | |
| 21 }; | |
| 22 | |
| 23 #endif /* _PK11_INIT_H_ 1 */ | |
| OLD | NEW |